pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/mediawiki MediaWiki is free server-based software ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f405c8af9dce
branches:  trunk
changeset: 550698:f405c8af9dce
user:      martti <martti%pkgsrc.org@localhost>
date:      Wed Nov 26 18:13:18 2008 +0000

description:
MediaWiki is free server-based software which is licensed under the GNU
General Public License (GPL). It's designed to be run on a large server
farm for a website that gets millions of hits per day. MediaWiki is an
extremely powerful, scalable software and a feature-rich wiki implementation,
that uses PHP to process and display data stored in its MySQL database.

diffstat:

 www/mediawiki/DESCR                |     5 +
 www/mediawiki/MESSAGE              |    13 +
 www/mediawiki/Makefile             |    65 +
 www/mediawiki/PLIST                |  1405 ++++++++++++++++++++++++++++++++++++
 www/mediawiki/distinfo             |     5 +
 www/mediawiki/files/mediawiki.conf |    13 +
 6 files changed, 1506 insertions(+), 0 deletions(-)

diffs (truncated from 1530 to 300 lines):

diff -r c0452ed52f9e -r f405c8af9dce www/mediawiki/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mediawiki/DESCR       Wed Nov 26 18:13:18 2008 +0000
@@ -0,0 +1,5 @@
+MediaWiki is free server-based software which is licensed under the GNU
+General Public License (GPL). It's designed to be run on a large server
+farm for a website that gets millions of hits per day. MediaWiki is an
+extremely powerful, scalable software and a feature-rich wiki implementation,
+that uses PHP to process and display data stored in its MySQL database.
diff -r c0452ed52f9e -r f405c8af9dce www/mediawiki/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mediawiki/MESSAGE     Wed Nov 26 18:13:18 2008 +0000
@@ -0,0 +1,13 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2008/11/26 18:13:18 martti Exp $
+
+Add the following line to httpd.conf to make MediaWiki accessible
+through your HTTP server:
+
+       Include ${PKG_SYSCONFDIR}/mediawiki.conf
+
+Your MediaWiki is then accessible through:
+
+       http://www.example.com/mediawiki/
+
+===========================================================================
diff -r c0452ed52f9e -r f405c8af9dce www/mediawiki/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mediawiki/Makefile    Wed Nov 26 18:13:18 2008 +0000
@@ -0,0 +1,65 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/26 18:13:18 martti Exp $
+
+DISTNAME=      mediawiki-${VER}.${PVER}
+CATEGORIES=    www
+MASTER_SITES=  http://download.wikimedia.org/mediawiki/${VER}/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.mediawiki.org/
+COMMENT=       Free software wiki package originally written for Wikipedia
+#LICENSE=      gnu-gpl-v2
+
+DEPENDS+=      ${PHP_PKG_PREFIX}-mysql>=4.3.10:../../databases/php-mysql
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+VER=                   1.13
+PVER=                  2
+
+APACHE_USER?=          www
+APACHE_GROUP?=         www
+BUILD_DEFS+=           APACHE_USER APACHE_GROUP
+
+PKG_SYSCONFSUBDIR?=    httpd
+MESSAGE_SUBST+=                PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+
+EGDIR=                 ${PREFIX}/share/examples/mediawiki
+MEDIAWIKI=             ${PREFIX}/share/mediawiki
+
+CONF_FILES=            ${EGDIR}/mediawiki.conf \
+                       ${PKG_SYSCONFDIR}/mediawiki.conf
+
+NO_CONFIGURE=          YES
+NO_BUILD=              YES
+
+SUBST_CLASSES+=                paths
+SUBST_MESSAGE.paths=   Fixing pathnames in configuration file.
+SUBST_STAGE.paths=     post-patch
+SUBST_FILES.paths=     ../mediawiki.conf
+SUBST_SED.paths=       -e "s,@MEDIAWIKI@,${MEDIAWIKI},g"
+
+SUBST_CLASSES+=                perl
+SUBST_STAGE.perl=      post-patch
+SUBST_MESSAGE.perl=    Fixing path to perl
+SUBST_FILES.perl+=     maintenance/postgres/compare_schemas.pl
+SUBST_FILES.perl+=     maintenance/postgres/mediawiki_mysql2postgres.pl
+SUBST_SED.perl=                -e "s|/usr/bin/perl|${PERL5}|"
+
+post-extract:
+       ${CP} ${FILESDIR}/mediawiki.conf ${WRKDIR}/mediawiki.conf
+
+do-install:
+       ${INSTALL_DATA_DIR} ${MEDIAWIKI}
+       ${INSTALL_DATA_DIR} ${EGDIR}
+       cd ${WRKSRC} && ${FIND} . -type d -exec ${INSTALL_DATA_DIR} \
+         ${MEDIAWIKI}/{} \; -exec ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} \
+         ${MEDIAWIKI}/{} \;
+       cd ${WRKSRC} && ${FIND} . \! -type d -exec ${INSTALL_DATA} {} \
+         ${MEDIAWIKI}/{} \; -exec ${CHOWN} ${APACHE_USER}:${APACHE_GROUP} \
+         ${MEDIAWIKI}/{} \;
+       ${INSTALL_DATA} ${WRKDIR}/mediawiki.conf ${EGDIR}/mediawiki.conf
+
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/apache.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c0452ed52f9e -r f405c8af9dce www/mediawiki/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/mediawiki/PLIST       Wed Nov 26 18:13:18 2008 +0000
@@ -0,0 +1,1405 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/26 18:13:19 martti Exp $
+share/examples/mediawiki/mediawiki.conf
+share/mediawiki/AdminSettings.sample
+share/mediawiki/COPYING
+share/mediawiki/FAQ
+share/mediawiki/HISTORY
+share/mediawiki/INSTALL
+share/mediawiki/Makefile
+share/mediawiki/README
+share/mediawiki/RELEASE-NOTES
+share/mediawiki/StartProfiler.php
+share/mediawiki/UPGRADE
+share/mediawiki/api.php
+share/mediawiki/api.php5
+share/mediawiki/bin/svnstat
+share/mediawiki/bin/ulimit-tvf.sh
+share/mediawiki/bin/ulimit.sh
+share/mediawiki/bin/ulimit4.sh
+share/mediawiki/config/index.php
+share/mediawiki/config/index.php5
+share/mediawiki/docs/README
+share/mediawiki/docs/database.txt
+share/mediawiki/docs/deferred.txt
+share/mediawiki/docs/design.txt
+share/mediawiki/docs/export-0.1.xsd
+share/mediawiki/docs/export-0.2.xsd
+share/mediawiki/docs/export-0.3.xsd
+share/mediawiki/docs/export-demo.xml
+share/mediawiki/docs/globals.txt
+share/mediawiki/docs/hooks.txt
+share/mediawiki/docs/html/README
+share/mediawiki/docs/language.txt
+share/mediawiki/docs/linkcache.txt
+share/mediawiki/docs/magicword.txt
+share/mediawiki/docs/memcached.txt
+share/mediawiki/docs/php-memcached/ChangeLog
+share/mediawiki/docs/php-memcached/Documentation
+share/mediawiki/docs/schema.txt
+share/mediawiki/docs/scripts.txt
+share/mediawiki/docs/skin.txt
+share/mediawiki/docs/title.txt
+share/mediawiki/extensions/README
+share/mediawiki/images/README
+share/mediawiki/img_auth.php
+share/mediawiki/img_auth.php5
+share/mediawiki/includes/.htaccess
+share/mediawiki/includes/AjaxDispatcher.php
+share/mediawiki/includes/AjaxFunctions.php
+share/mediawiki/includes/AjaxResponse.php
+share/mediawiki/includes/Article.php
+share/mediawiki/includes/AuthPlugin.php
+share/mediawiki/includes/AutoLoader.php
+share/mediawiki/includes/Autopromote.php
+share/mediawiki/includes/BagOStuff.php
+share/mediawiki/includes/Block.php
+share/mediawiki/includes/CacheDependency.php
+share/mediawiki/includes/Category.php
+share/mediawiki/includes/CategoryPage.php
+share/mediawiki/includes/Categoryfinder.php
+share/mediawiki/includes/ChangesFeed.php
+share/mediawiki/includes/ChangesList.php
+share/mediawiki/includes/Credits.php
+share/mediawiki/includes/DatabaseFunctions.php
+share/mediawiki/includes/DefaultSettings.php
+share/mediawiki/includes/Defines.php
+share/mediawiki/includes/DifferenceEngine.php
+share/mediawiki/includes/DjVuImage.php
+share/mediawiki/includes/DoubleRedirectJob.php
+share/mediawiki/includes/EditPage.php
+share/mediawiki/includes/EmaillingJob.php
+share/mediawiki/includes/EnotifNotifyJob.php
+share/mediawiki/includes/Exception.php
+share/mediawiki/includes/Exif.php
+share/mediawiki/includes/Export.php
+share/mediawiki/includes/ExternalEdit.php
+share/mediawiki/includes/ExternalStore.php
+share/mediawiki/includes/ExternalStoreDB.php
+share/mediawiki/includes/ExternalStoreHttp.php
+share/mediawiki/includes/FakeTitle.php
+share/mediawiki/includes/Feed.php
+share/mediawiki/includes/FeedUtils.php
+share/mediawiki/includes/FileDeleteForm.php
+share/mediawiki/includes/FileRevertForm.php
+share/mediawiki/includes/FileStore.php
+share/mediawiki/includes/FormOptions.php
+share/mediawiki/includes/GlobalFunctions.php
+share/mediawiki/includes/HTMLCacheUpdate.php
+share/mediawiki/includes/HTMLFileCache.php
+share/mediawiki/includes/HistoryBlob.php
+share/mediawiki/includes/Hooks.php
+share/mediawiki/includes/HttpFunctions.php
+share/mediawiki/includes/IP.php
+share/mediawiki/includes/ImageFunctions.php
+share/mediawiki/includes/ImageGallery.php
+share/mediawiki/includes/ImagePage.php
+share/mediawiki/includes/ImageQueryPage.php
+share/mediawiki/includes/JobQueue.php
+share/mediawiki/includes/Licenses.php
+share/mediawiki/includes/LinkBatch.php
+share/mediawiki/includes/LinkCache.php
+share/mediawiki/includes/LinkFilter.php
+share/mediawiki/includes/Linker.php
+share/mediawiki/includes/LinksUpdate.php
+share/mediawiki/includes/LogEventsList.php
+share/mediawiki/includes/LogPage.php
+share/mediawiki/includes/MacBinary.php
+share/mediawiki/includes/MagicWord.php
+share/mediawiki/includes/Math.php
+share/mediawiki/includes/MediaTransformOutput.php
+share/mediawiki/includes/MemcachedSessions.php
+share/mediawiki/includes/MessageCache.php
+share/mediawiki/includes/Metadata.php
+share/mediawiki/includes/MimeMagic.php
+share/mediawiki/includes/Namespace.php
+share/mediawiki/includes/NamespaceCompat.php
+share/mediawiki/includes/ObjectCache.php
+share/mediawiki/includes/OutputHandler.php
+share/mediawiki/includes/OutputPage.php
+share/mediawiki/includes/PageHistory.php
+share/mediawiki/includes/PageQueryPage.php
+share/mediawiki/includes/Pager.php
+share/mediawiki/includes/PatrolLog.php
+share/mediawiki/includes/PrefixSearch.php
+share/mediawiki/includes/Profiler.php
+share/mediawiki/includes/ProfilerSimple.php
+share/mediawiki/includes/ProfilerSimpleText.php
+share/mediawiki/includes/ProfilerSimpleUDP.php
+share/mediawiki/includes/ProfilerStub.php
+share/mediawiki/includes/ProtectionForm.php
+share/mediawiki/includes/ProxyTools.php
+share/mediawiki/includes/QueryPage.php
+share/mediawiki/includes/RawPage.php
+share/mediawiki/includes/RecentChange.php
+share/mediawiki/includes/RefreshLinksJob.php
+share/mediawiki/includes/Revision.php
+share/mediawiki/includes/Sanitizer.php
+share/mediawiki/includes/SearchEngine.php
+share/mediawiki/includes/SearchMySQL.php
+share/mediawiki/includes/SearchMySQL4.php
+share/mediawiki/includes/SearchOracle.php
+share/mediawiki/includes/SearchPostgres.php
+share/mediawiki/includes/SearchUpdate.php
+share/mediawiki/includes/Setup.php
+share/mediawiki/includes/SiteConfiguration.php
+share/mediawiki/includes/SiteStats.php
+share/mediawiki/includes/Skin.php
+share/mediawiki/includes/SkinTemplate.php
+share/mediawiki/includes/SpecialPage.php
+share/mediawiki/includes/SquidUpdate.php
+share/mediawiki/includes/Status.php
+share/mediawiki/includes/StreamFile.php
+share/mediawiki/includes/StringUtils.php
+share/mediawiki/includes/StubObject.php
+share/mediawiki/includes/Title.php
+share/mediawiki/includes/User.php
+share/mediawiki/includes/UserArray.php
+share/mediawiki/includes/UserMailer.php
+share/mediawiki/includes/UserRightsProxy.php
+share/mediawiki/includes/WatchedItem.php
+share/mediawiki/includes/WatchlistEditor.php
+share/mediawiki/includes/WebRequest.php
+share/mediawiki/includes/WebResponse.php
+share/mediawiki/includes/WebStart.php
+share/mediawiki/includes/Wiki.php
+share/mediawiki/includes/WikiError.php
+share/mediawiki/includes/Xml.php
+share/mediawiki/includes/XmlFunctions.php
+share/mediawiki/includes/XmlTypeCheck.php
+share/mediawiki/includes/ZhClient.php
+share/mediawiki/includes/ZhConversion.php
+share/mediawiki/includes/api/ApiBase.php
+share/mediawiki/includes/api/ApiBlock.php
+share/mediawiki/includes/api/ApiDelete.php
+share/mediawiki/includes/api/ApiEditPage.php
+share/mediawiki/includes/api/ApiEmailUser.php
+share/mediawiki/includes/api/ApiExpandTemplates.php
+share/mediawiki/includes/api/ApiFeedWatchlist.php
+share/mediawiki/includes/api/ApiFormatBase.php
+share/mediawiki/includes/api/ApiFormatDbg.php
+share/mediawiki/includes/api/ApiFormatJson.php
+share/mediawiki/includes/api/ApiFormatJson_json.php
+share/mediawiki/includes/api/ApiFormatPhp.php
+share/mediawiki/includes/api/ApiFormatTxt.php
+share/mediawiki/includes/api/ApiFormatWddx.php
+share/mediawiki/includes/api/ApiFormatXml.php
+share/mediawiki/includes/api/ApiFormatYaml.php
+share/mediawiki/includes/api/ApiFormatYaml_spyc.php
+share/mediawiki/includes/api/ApiHelp.php
+share/mediawiki/includes/api/ApiLogin.php
+share/mediawiki/includes/api/ApiLogout.php
+share/mediawiki/includes/api/ApiMain.php
+share/mediawiki/includes/api/ApiMove.php
+share/mediawiki/includes/api/ApiOpenSearch.php
+share/mediawiki/includes/api/ApiPageSet.php
+share/mediawiki/includes/api/ApiParamInfo.php
+share/mediawiki/includes/api/ApiParse.php
+share/mediawiki/includes/api/ApiProtect.php
+share/mediawiki/includes/api/ApiQuery.php
+share/mediawiki/includes/api/ApiQueryAllCategories.php
+share/mediawiki/includes/api/ApiQueryAllLinks.php
+share/mediawiki/includes/api/ApiQueryAllUsers.php



Home | Main Index | Thread Index | Old Index