Opened 14 years ago

Closed 14 years ago

#5030 closed defect (fixed)

NEW PORT: mediawiki

Reported by: joe@… Owned by: joe@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

MediaWiki is the collaborative editing software that runs Wikipedia, the free encyclopedia, and other projects. It's designed to handle a large number of users and pages without imposing too rigid a structure or workflow.

Attachments (4)

Portfile (2.9 KB) - added by joe@… 14 years ago.
Mediawiki 1.4.9 Portfile
Portfile.2 (2.9 KB) - added by joe@… 14 years ago.
Mediawiki 1.4.10 portfile
Portfile.3 (1.7 KB) - added by joe@… 14 years ago.
Mediawiki 1.4.10 portfile
Portfile.4 (1.5 KB) - added by joe@… 14 years ago.
Mediawiki 1.4.10 portfile

Download all attachments as: .zip

Change History (15)

comment:1 Changed 14 years ago by joe@…

(In reply to comment #0)

MediaWiki is the collaborative editing software that runs Wikipedia, the free encyclopedia, and other projects. It's designed to handle a large number of users and pages without imposing too rigid a

structure

or workflow.

Realized that I should probably add some more dependencies. The FreeBSD mediawiki port lists the following dependencies:

Listing the results (+:done / -:ignored / *:skipped / !:failed)

+ lang/perl5.8 (perl-5.8.7) + devel/libltdl15 (libltdl-1.5.20) + graphics/jpeg (jpeg-6b_3) + graphics/jasper (jasper-1.701.0) + graphics/tiff (tiff-3.7.4) + graphics/lcms (lcms-1.14,1) + graphics/libfpx (libfpx-1.2.0.12) + graphics/png (png-1.2.8_2) + print/gsfonts (gsfonts-8.11_2) + converters/libiconv (libiconv-1.9.2_1) + devel/pkgconfig (pkgconfig-0.17.2) + print/freetype2 (freetype2-2.1.10_1) + databases/mysql41-client (mysql-client-4.1.14) + textproc/libxml2 (libxml2-2.6.22) + graphics/jbigkit (jbigkit-1.6) + textproc/expat2 (expat-1.95.8_3) + www/apache13-modssl (apache+mod_ssl-1.3.33+2.8.24_1) + lang/php4 (php4-4.4.0) + devel/php4-pcre (php4-pcre-4.4.0) + converters/php4-iconv (php4-iconv-4.4.0) + www/php4-session (php4-session-4.4.0) + x11-fonts/fontconfig (fontconfig-2.2.3,1) + databases/php4-mysql (php4-mysql-4.4.0) + x11/xorg-libraries (xorg-libraries-6.8.2) + archivers/php4-zlib (php4-zlib-4.4.0) + devel/php4-readline (php4-readline-4.4.0) + multimedia/mpeg2codec (mpeg2codec-1.2_1) + converters/php4-mbstring (php4-mbstring-4.4.0) + textproc/php4-xml (php4-xml-4.4.0) + print/ghostscript-gnu (ghostscript-gnu-7.07_13) + graphics/ImageMagick (ImageMagick-6.2.2.1) + graphics/pecl-imagick (pecl-imagick-0.9.11_2) + www/mediawiki (mediawiki-1.4.9)

Changed 14 years ago by joe@…

Attachment: Portfile added

Mediawiki 1.4.9 Portfile

comment:2 Changed 14 years ago by joe@…

bug_file_loc: http://www.netmusician.org/wiki/index.php/DP_portfiles

comment:3 Changed 14 years ago by joe@…

Realized that I should probably add some more dependencies. The FreeBSD mediawiki port lists the following dependencies:

Listing the results (+:done / -:ignored / *:skipped / !:failed)

+ lang/perl5.8 (perl-5.8.7) + devel/libltdl15 (libltdl-1.5.20) + graphics/jpeg (jpeg-6b_3) + graphics/jasper (jasper-1.701.0) + graphics/tiff (tiff-3.7.4) + graphics/lcms (lcms-1.14,1) + graphics/libfpx (libfpx-1.2.0.12) + graphics/png (png-1.2.8_2) + print/gsfonts (gsfonts-8.11_2) + converters/libiconv (libiconv-1.9.2_1) + devel/pkgconfig (pkgconfig-0.17.2) + print/freetype2 (freetype2-2.1.10_1) + databases/mysql41-client (mysql-client-4.1.14) + textproc/libxml2 (libxml2-2.6.22) + graphics/jbigkit (jbigkit-1.6) + textproc/expat2 (expat-1.95.8_3) + www/apache13-modssl (apache+mod_ssl-1.3.33+2.8.24_1) + lang/php4 (php4-4.4.0) + devel/php4-pcre (php4-pcre-4.4.0) + converters/php4-iconv (php4-iconv-4.4.0) + www/php4-session (php4-session-4.4.0) + x11-fonts/fontconfig (fontconfig-2.2.3,1) + databases/php4-mysql (php4-mysql-4.4.0) + x11/xorg-libraries (xorg-libraries-6.8.2) + archivers/php4-zlib (php4-zlib-4.4.0) + devel/php4-readline (php4-readline-4.4.0) + multimedia/mpeg2codec (mpeg2codec-1.2_1) + converters/php4-mbstring (php4-mbstring-4.4.0) + textproc/php4-xml (php4-xml-4.4.0) + print/ghostscript-gnu (ghostscript-gnu-7.07_13) + graphics/ImageMagick (ImageMagick-6.2.2.1) + graphics/pecl-imagick (pecl-imagick-0.9.11_2) + www/mediawiki (mediawiki-1.4.9)

Added the following dependencies and uploaded my Portfile, I think it is ready to go:

depends_lib port:libiconv \

port:jpeg \ port:jasper \ port:tiff \ port:lcms \ port:libpng \ port:freetype \ port:libxml2 \ port:jbigkit \ port:expat \ port:fontconfig \ port:gnughostscript \ port:ImageMagick \ port:pkgconfig

As new ports are created, I'll add dependencies to this port. For now, there should be enough to handle the vast majority of what Mediawiki will handle.

Changed 14 years ago by joe@…

Attachment: Portfile.2 added

Mediawiki 1.4.10 portfile

comment:4 Changed 14 years ago by joe@…

attachments.isobsolete: 01

comment:5 Changed 14 years ago by joe@…

In case my comments caused some confusion: this port is ready to be reviewed. I think it's ready to go.

comment:6 Changed 14 years ago by mww@…

some comments: *its imho better if you select a good default environment, like mysql4 & php5 and make php4 and mysql3 selectable (also I doubt that using mysql3 meanwhile makes much sense in general) -> make a php4 and mysql3 variant and use php5 & mysql4 & apache2 by default Else this gets much too complicated and confusing (for a very tiny benefit in flexibility in return);

*don't depend on apache layout if you dont have to - the place for html files is $prefix/www regardless how apache is built; the webserver used (be it one from dp or os x) has to get configured to server these files, not the other way round.

comment:7 Changed 14 years ago by joe@…

I've made several changes to this Portfile which I will post soon, but for clarification, Markus, are you referring to this block:

if { [variant_isset apache] } {

set docpath ${destroot}${prefix}/www/data

} elseif { [variant_isset apache2] } {

set docpath ${destroot}${prefix}/apache2/htdocs

}

Are you suggesting that it is better to leave this out, and let the user worry about installing outside of the default /opt/local/www/data? I haven't used apache2 yet, I figured its default is /opt/local/ apache2/htdocs. Is this right?

Changed 14 years ago by joe@…

Attachment: Portfile.3 added

Mediawiki 1.4.10 portfile

comment:8 Changed 14 years ago by joe@…

attachments.isobsolete: 01

comment:9 Changed 14 years ago by mww@…

the best way imho is to put the files inside $prefix/www/$name (or something distinct like that). Apache2 can be configured to serve the files from there.

Changed 14 years ago by joe@…

Attachment: Portfile.4 added

Mediawiki 1.4.10 portfile

comment:10 Changed 14 years ago by joe@…

attachments.isobsolete: 01

comment:11 Changed 14 years ago by mww@…

Resolution: fixed
Status: newclosed

ok, commited!

Note: See TracTickets for help on using tickets.