diff options
author | Tim Harder <radhermit@gentoo.org> | 2015-08-25 01:08:14 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2015-08-25 01:08:53 -0400 |
commit | df356e37be1cc5ca5b88ecb40e1e45c5170a5f23 (patch) | |
tree | 341763dde09f30a461400fd23fb85a0580c293da | |
parent | net-misc/aiccu: Stable for HPPA (bug #557262). (diff) | |
download | gentoo-df356e37be1cc5ca5b88ecb40e1e45c5170a5f23.tar.gz gentoo-df356e37be1cc5ca5b88ecb40e1e45c5170a5f23.tar.bz2 gentoo-df356e37be1cc5ca5b88ecb40e1e45c5170a5f23.zip |
www-apps/mediawiki: remove old and EOL'd versions
-rw-r--r-- | www-apps/mediawiki/Manifest | 6 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.19.23.ebuild | 80 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.19.24.ebuild | 80 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.22.15.ebuild | 80 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.23.9.ebuild | 80 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.24.1.ebuild | 80 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.24.2.ebuild | 80 |
7 files changed, 0 insertions, 486 deletions
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 2d6c1e0138f0..0c08690e5be6 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -1,10 +1,4 @@ -DIST mediawiki-1.19.23.tar.gz 17999153 SHA256 70ef96994e2502742a29ebd9b18d800ebd1d2ce4846bcaa0f40aca19bdf68b7e SHA512 fede22398b5e8608664b36f025b13e62cd7e5e0cbc2875d995ee7a02c3816304c5e0dc729a2303d0fd337d8f565b5c755e6aa90e1c11c72a0086e939c7947119 WHIRLPOOL 83509adebe7fb27ab0d508497182b994929e7aab884d6e57a812e82b9f8abfdbc75867002ea74edb527906af0bbb0186e38f5e7639a3f66304baeced1cc72991 -DIST mediawiki-1.19.24.tar.gz 18670105 SHA256 5cf1e4be7a9b70476cee95fa17304277af37a6242e2e120e7fb4ae97903db34b SHA512 a8c5a42c2722f762b4e46698e6ecac7aaafa6e0d107f0634ffd516953e1c70de329cdc310329c3e9b06b782a6b89687e7db9882927e02fd221e3449184aa8087 WHIRLPOOL 54c8c67f9c9ffe5edd3abf0eac335a666df3e600d3fc7f939104dd42371111ac22c4a68f07078803b74ef637c598d1f52714738a47b90e5bcca233434dfb9dad -DIST mediawiki-1.22.15.tar.gz 19919528 SHA256 c60fe4f2b79a513ec2564c216c4a4bdcc25a0f667c8868a18568df4e88a59318 SHA512 99d5087bc31c0b012af15167bcc804aded4b73be2d05ac643c7240430eda41ba218d9df5ca0a5c8b2adb2bbbc6745398bc759cf03519acf9af9d06ddd1e6f81c WHIRLPOOL d1266e42ab828ec85929b65e6ab160c866d21077dea3fd8acf51c69c0944e6a1c2ef048a141a9752375be5ba54cfe63bf033e458489ad31df0a7e9c12c8a1446 DIST mediawiki-1.23.10.tar.gz 21044267 SHA256 d25a5cfaeb78abe2b86c10404d321f18cfd573754e1e3eaeeea4fa2b41fefda0 SHA512 b660b01513545674ce87fb4d79a82dd269b19f0eb00499ca2f57a72f678447330ea8ae8f8c9c5b081c6871081804d2ace86e241cf4b42dc8d83d116b9f05596d WHIRLPOOL f25f50a4bcfe87fcfa4f4f835e6c092853a5a97c25ab160af0bd5ffcc45f6771ab9792f6800422bf39e1fe48b76f87501c50ff1ef81ef36b6c7a7ef2a6850d2e DIST mediawiki-1.23.8.tar.gz 20010339 SHA256 e7b070ec24a1f3676c1519bc98e20dd5a87d678f4e9f7e0f7a9505c4ff65a34a SHA512 43fb473100ec700e1dc67c21efbefea93ae7e7e615181a80da19132c25dce11c4317a2d2418e90b730c930e85e6e71363267fa457a7d220eb6d7a16792792a3b WHIRLPOOL 31ea4c1831130f40224b0693d94a871e0f1a4d643a30b8ffc5f8360b9374dd2a76d7db9aed88c30dbd3a99d993b44d711694a560e6e2544b903f7c03c6608e18 -DIST mediawiki-1.23.9.tar.gz 20979505 SHA256 14af72b5b01b8c08e62d893db08519440372ba115c94ecf2f622fd77c123f3d0 SHA512 edb8da95132b519dbe5532bc02342427c4c9a5af1210b34909cc0f2459be796e1d3a9ef3fe0fb23452dc5bad087cf7ac2a365a8e44fa4510541679219b947ea2 WHIRLPOOL 5669c1b98922a35b29b83fc35a6daa9f65e0befa4c537b8786c5f8c5d72ab2a556706a2b5ad47e72710c5c46177aa342beb0029e3171dfd9d0fa40044d21f52f -DIST mediawiki-1.24.1.tar.gz 20725572 SHA256 f240749d42dfa830d709be5d2be0503470538e19fd2bf1a7644c74fa8e503eba SHA512 4ae6c2bfe629663394df446e0a74851b0853d4a765049134e12a42b77687605d567f508bef668fcac48a04eb56ff685beac0f46e20c7d448371debcfce7d319f WHIRLPOOL f4b3f0ec4df5d9edcc0ea6cb2b40da02f9103c33dadbcdbf31837a8293d39bfd4bb5422dc3c77c6dd5ab257453cf24a085adfaa82ebffae7d719532b02aee8c4 -DIST mediawiki-1.24.2.tar.gz 21874196 SHA256 01ceb6b6e1df9d6ee99a0221424bd1554e10770993a18df98153c7a298cad3bb SHA512 8ad7cdc6cf655a88a406286f868dbdeebd24046b605d561ba844c09f3850f989fa5e8bce385906a212cde4ef944a0e4278f3d2bbe1e2fe5e3b6ab07d13913554 WHIRLPOOL ccda9d368d2e40ff936e201040e6b42378a3530c1c8b01a8279a9a78e8f00129cae1a13b7011c41a1036d816cc4517883665debea0a16cd4ab2b3c10dfb95e8c DIST mediawiki-1.24.3.tar.gz 21931304 SHA256 15f1d4a245b5d9912b4501e6eaf525cd6225ede37665e2b014a0f6b59f782fb5 SHA512 f7640cb71862218da5585bb5c2364bccc77b73e1466d1b3dde116c003c32b88c33ee9b27eedf87d44f019fe266242d8e4a4aab2a77bfdcb467b60161b62b6c17 WHIRLPOOL 5ed8780ac7e4475347f72e3a7fa20fc22f3749a25c789278bec61369a917397ba401f486fac4e02493e57d6ec7ad3769825b680cf4582bb7b14df76cf8d57043 DIST mediawiki-1.25.2.tar.gz 24018158 SHA256 539fecfe3d0c7de8130b0c3b548fe1f862f60df76396dc54ee0548c87e5f2482 SHA512 a24bd0179f313ddd4c24fcf6920584a7bb7fe78c060d8abd0c616f444da8e595075b336e813da16a997cf2e9aa442b29d23f714c187816f9a39f5b5ac6b45e6b WHIRLPOOL 90e2112a62b73f4fc50504ee8394c86f15549335a35940889e713c4155bc27f2161e28364711fd52eb6d50dc77867faaf003c30d6e2ae1dbcd841bcf0d4fc169 diff --git a/www-apps/mediawiki/mediawiki-1.19.23.ebuild b/www-apps/mediawiki/mediawiki-1.19.23.ebuild deleted file mode 100644 index 13ab977b2411..000000000000 --- a/www-apps/mediawiki/mediawiki-1.19.23.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit webapp versionator - -MY_BRANCH=$(get_version_component_range 1-2) - -DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" -HOMEPAGE="http://www.mediawiki.org" -SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ppc x86" -IUSE="imagemagick mysql postgres sqlite" - -RDEPEND=">=dev-lang/php-5.3[mysql?,postgres?,session,xml,xmlreader] - imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) - !imagemagick? ( dev-lang/php[gd] ) - sqlite? ( - dev-db/sqlite:3[fts3(+)] - >=dev-lang/php-5.3[pdo] - || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) - ) - virtual/httpd-php" - -need_httpd_cgi - -RESTRICT="test" - -src_install() { - webapp_src_preinst - - # First we install docs and then copy everything left into htdocs dir - # to avoid bugs like #236411. - - # We ensure the directories are prepared for writing. The post- - # install instructions guide the user to enable the feature. - local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE" - dodoc ${DOCS} docs/*.txt - docinto php-memcached - dodoc docs/php-memcached/* - - # Clean everything not used at the site... - rm -rf ${DOCS} COPYING tests docs || die - find . -name Makefile -delete || die - # and install - insinto "${MY_HTDOCSDIR}" - doins -r . - - # If imagemagick is enabled then setup for image upload. - # We ensure the directory is prepared for writing. - if use imagemagick ; then - webapp_serverowned "${MY_HTDOCSDIR}"/images - fi - - webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt" - webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - if [[ -n ${REPLACING_VERSIONS} ]]; then - echo - elog "=== Consult the release notes ===" - elog "Before doing anything, stop and consult the release notes" - elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2" - echo - elog "These detail bug fixes, new features and functionality, and any" - elog "particular points that may need to be noted during the upgrade procedure." - echo - ewarn "Back up existing files and the database before upgrade." - ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" - ewarn "provides an overview of the backup process." - echo - fi -} diff --git a/www-apps/mediawiki/mediawiki-1.19.24.ebuild b/www-apps/mediawiki/mediawiki-1.19.24.ebuild deleted file mode 100644 index cbfc69bffa4c..000000000000 --- a/www-apps/mediawiki/mediawiki-1.19.24.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit webapp versionator - -MY_BRANCH=$(get_version_component_range 1-2) - -DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" -HOMEPAGE="http://www.mediawiki.org" -SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~ppc ~x86" -IUSE="imagemagick mysql postgres sqlite" - -RDEPEND=">=dev-lang/php-5.3[mysql?,postgres?,session,xml,xmlreader] - imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) - !imagemagick? ( dev-lang/php[gd] ) - sqlite? ( - dev-db/sqlite:3[fts3(+)] - >=dev-lang/php-5.3[pdo] - || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) - ) - virtual/httpd-php" - -need_httpd_cgi - -RESTRICT="test" - -src_install() { - webapp_src_preinst - - # First we install docs and then copy everything left into htdocs dir - # to avoid bugs like #236411. - - # We ensure the directories are prepared for writing. The post- - # install instructions guide the user to enable the feature. - local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE" - dodoc ${DOCS} docs/*.txt - docinto php-memcached - dodoc docs/php-memcached/* - - # Clean everything not used at the site... - rm -rf ${DOCS} COPYING tests docs || die - find . -name Makefile -delete || die - # and install - insinto "${MY_HTDOCSDIR}" - doins -r . - - # If imagemagick is enabled then setup for image upload. - # We ensure the directory is prepared for writing. - if use imagemagick ; then - webapp_serverowned "${MY_HTDOCSDIR}"/images - fi - - webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt" - webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - if [[ -n ${REPLACING_VERSIONS} ]]; then - echo - elog "=== Consult the release notes ===" - elog "Before doing anything, stop and consult the release notes" - elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2" - echo - elog "These detail bug fixes, new features and functionality, and any" - elog "particular points that may need to be noted during the upgrade procedure." - echo - ewarn "Back up existing files and the database before upgrade." - ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" - ewarn "provides an overview of the backup process." - echo - fi -} diff --git a/www-apps/mediawiki/mediawiki-1.22.15.ebuild b/www-apps/mediawiki/mediawiki-1.22.15.ebuild deleted file mode 100644 index 4993fee2e6c2..000000000000 --- a/www-apps/mediawiki/mediawiki-1.22.15.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit webapp versionator - -MY_BRANCH=$(get_version_component_range 1-2) - -DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" -HOMEPAGE="http://www.mediawiki.org" -SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha amd64 ~arm ppc x86" -IUSE="imagemagick mysql postgres sqlite" - -RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader] - imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) - !imagemagick? ( dev-lang/php[gd] ) - sqlite? ( - dev-db/sqlite:3[fts3(+)] - >=dev-lang/php-5.3.2[pdo] - || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) - ) - virtual/httpd-php" - -need_httpd_cgi - -RESTRICT="test" - -src_install() { - webapp_src_preinst - - # First we install docs and then copy everything left into htdocs dir - # to avoid bugs like #236411. - - # We ensure the directories are prepared for writing. The post- - # install instructions guide the user to enable the feature. - local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE" - dodoc ${DOCS} docs/*.txt - docinto php-memcached - dodoc docs/php-memcached/* - - # Clean everything not used at the site... - rm -rf ${DOCS} COPYING tests docs || die - find . -name Makefile -delete || die - # and install - insinto "${MY_HTDOCSDIR}" - doins -r . - - # If imagemagick is enabled then setup for image upload. - # We ensure the directory is prepared for writing. - if use imagemagick ; then - webapp_serverowned "${MY_HTDOCSDIR}"/images - fi - - webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt" - webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - if [[ -n ${REPLACING_VERSIONS} ]]; then - echo - elog "=== Consult the release notes ===" - elog "Before doing anything, stop and consult the release notes" - elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2" - echo - elog "These detail bug fixes, new features and functionality, and any" - elog "particular points that may need to be noted during the upgrade procedure." - echo - ewarn "Back up existing files and the database before upgrade." - ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" - ewarn "provides an overview of the backup process." - echo - fi -} diff --git a/www-apps/mediawiki/mediawiki-1.23.9.ebuild b/www-apps/mediawiki/mediawiki-1.23.9.ebuild deleted file mode 100644 index 04ef11f53e68..000000000000 --- a/www-apps/mediawiki/mediawiki-1.23.9.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit webapp versionator - -MY_BRANCH=$(get_version_component_range 1-2) - -DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" -HOMEPAGE="http://www.mediawiki.org" -SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86" -IUSE="imagemagick mysql postgres sqlite" - -RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader] - imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) - !imagemagick? ( dev-lang/php[gd] ) - sqlite? ( - dev-db/sqlite:3[fts3(+)] - >=dev-lang/php-5.3.2[pdo] - || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) - ) - virtual/httpd-php" - -need_httpd_cgi - -RESTRICT="test" - -src_install() { - webapp_src_preinst - - # First we install docs and then copy everything left into htdocs dir - # to avoid bugs like #236411. - - # We ensure the directories are prepared for writing. The post- - # install instructions guide the user to enable the feature. - local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE" - dodoc ${DOCS} docs/*.txt - docinto php-memcached - dodoc docs/php-memcached/* - - # Clean everything not used at the site... - rm -rf ${DOCS} COPYING tests docs || die - find . -name Makefile -delete || die - # and install - insinto "${MY_HTDOCSDIR}" - doins -r . - - # If imagemagick is enabled then setup for image upload. - # We ensure the directory is prepared for writing. - if use imagemagick ; then - webapp_serverowned "${MY_HTDOCSDIR}"/images - fi - - webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt" - webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - if [[ -n ${REPLACING_VERSIONS} ]]; then - echo - elog "=== Consult the release notes ===" - elog "Before doing anything, stop and consult the release notes" - elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2" - echo - elog "These detail bug fixes, new features and functionality, and any" - elog "particular points that may need to be noted during the upgrade procedure." - echo - ewarn "Back up existing files and the database before upgrade." - ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" - ewarn "provides an overview of the backup process." - echo - fi -} diff --git a/www-apps/mediawiki/mediawiki-1.24.1.ebuild b/www-apps/mediawiki/mediawiki-1.24.1.ebuild deleted file mode 100644 index aded57a5b293..000000000000 --- a/www-apps/mediawiki/mediawiki-1.24.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit webapp versionator - -MY_BRANCH=$(get_version_component_range 1-2) - -DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" -HOMEPAGE="http://www.mediawiki.org" -SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86" -IUSE="imagemagick mysql postgres sqlite" - -RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader] - imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) - !imagemagick? ( dev-lang/php[gd] ) - sqlite? ( - dev-db/sqlite:3[fts3(+)] - >=dev-lang/php-5.3.2[pdo] - || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) - ) - virtual/httpd-php" - -need_httpd_cgi - -RESTRICT="test" - -src_install() { - webapp_src_preinst - - # First we install docs and then copy everything left into htdocs dir - # to avoid bugs like #236411. - - # We ensure the directories are prepared for writing. The post- - # install instructions guide the user to enable the feature. - local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE" - dodoc ${DOCS} docs/*.txt - docinto php-memcached - dodoc docs/php-memcached/* - - # Clean everything not used at the site... - rm -rf ${DOCS} COPYING tests docs || die - find . -name Makefile -delete || die - # and install - insinto "${MY_HTDOCSDIR}" - doins -r . - - # If imagemagick is enabled then setup for image upload. - # We ensure the directory is prepared for writing. - if use imagemagick ; then - webapp_serverowned "${MY_HTDOCSDIR}"/images - fi - - webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt" - webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - if [[ -n ${REPLACING_VERSIONS} ]]; then - echo - elog "=== Consult the release notes ===" - elog "Before doing anything, stop and consult the release notes" - elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2" - echo - elog "These detail bug fixes, new features and functionality, and any" - elog "particular points that may need to be noted during the upgrade procedure." - echo - ewarn "Back up existing files and the database before upgrade." - ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" - ewarn "provides an overview of the backup process." - echo - fi -} diff --git a/www-apps/mediawiki/mediawiki-1.24.2.ebuild b/www-apps/mediawiki/mediawiki-1.24.2.ebuild deleted file mode 100644 index aded57a5b293..000000000000 --- a/www-apps/mediawiki/mediawiki-1.24.2.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit webapp versionator - -MY_BRANCH=$(get_version_component_range 1-2) - -DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" -HOMEPAGE="http://www.mediawiki.org" -SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86" -IUSE="imagemagick mysql postgres sqlite" - -RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader] - imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) - !imagemagick? ( dev-lang/php[gd] ) - sqlite? ( - dev-db/sqlite:3[fts3(+)] - >=dev-lang/php-5.3.2[pdo] - || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] ) - ) - virtual/httpd-php" - -need_httpd_cgi - -RESTRICT="test" - -src_install() { - webapp_src_preinst - - # First we install docs and then copy everything left into htdocs dir - # to avoid bugs like #236411. - - # We ensure the directories are prepared for writing. The post- - # install instructions guide the user to enable the feature. - local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE" - dodoc ${DOCS} docs/*.txt - docinto php-memcached - dodoc docs/php-memcached/* - - # Clean everything not used at the site... - rm -rf ${DOCS} COPYING tests docs || die - find . -name Makefile -delete || die - # and install - insinto "${MY_HTDOCSDIR}" - doins -r . - - # If imagemagick is enabled then setup for image upload. - # We ensure the directory is prepared for writing. - if use imagemagick ; then - webapp_serverowned "${MY_HTDOCSDIR}"/images - fi - - webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt" - webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - if [[ -n ${REPLACING_VERSIONS} ]]; then - echo - elog "=== Consult the release notes ===" - elog "Before doing anything, stop and consult the release notes" - elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2" - echo - elog "These detail bug fixes, new features and functionality, and any" - elog "particular points that may need to be noted during the upgrade procedure." - echo - ewarn "Back up existing files and the database before upgrade." - ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" - ewarn "provides an overview of the backup process." - echo - fi -} |