diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2007-09-15 13:29:00 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2007-09-15 13:29:00 +0000 |
commit | 7cd3cffcd0ee333e1e9ebccc7e5add3f0a268118 (patch) | |
tree | 6105920c78e4e6b4b42bc27732194ab0a58910d3 | |
parent | removed older version (diff) | |
download | gentoo-2-7cd3cffcd0ee333e1e9ebccc7e5add3f0a268118.tar.gz gentoo-2-7cd3cffcd0ee333e1e9ebccc7e5add3f0a268118.tar.bz2 gentoo-2-7cd3cffcd0ee333e1e9ebccc7e5add3f0a268118.zip |
Added tikiwiki 1.9.8 to the tree. Closes sec issue #190680.
-rw-r--r-- | www-apps/tikiwiki/Manifest | 18 | ||||
-rw-r--r-- | www-apps/tikiwiki/files/digest-tikiwiki-1.9.8 | 3 | ||||
-rw-r--r-- | www-apps/tikiwiki/tikiwiki-1.9.8.ebuild | 81 |
3 files changed, 92 insertions, 10 deletions
diff --git a/www-apps/tikiwiki/Manifest b/www-apps/tikiwiki/Manifest index 04c7f0b40fbb..713ad1b3a4a4 100644 --- a/www-apps/tikiwiki/Manifest +++ b/www-apps/tikiwiki/Manifest @@ -1,12 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX postinstall-en.txt 1396 RMD160 151da6a1f93f1df11d8d0ebac08bf22ec258612e SHA1 efd2d6aff5b8d57f8350cc4072555fa4f634eef4 SHA256 2b6d9b93ab840a7368810b76486050b54b260d40671b36b22a85c2cc6540f8ea MD5 250716051f339a0b1315218e13485039 files/postinstall-en.txt 1396 RMD160 151da6a1f93f1df11d8d0ebac08bf22ec258612e files/postinstall-en.txt 1396 SHA256 2b6d9b93ab840a7368810b76486050b54b260d40671b36b22a85c2cc6540f8ea files/postinstall-en.txt 1396 DIST tikiwiki-1.9.6.tar.bz2 6016006 RMD160 744f086889e3b379cb2b5fdb27bd75fa5936bd51 SHA1 1f25831cad97076fa78d738e53cf7c088694f791 SHA256 1231c2ea15e9dc47b94f19a269fbf6f6068d2e84c532cd6d0f78ec98e6119771 DIST tikiwiki-1.9.7.tar.bz2 6271170 RMD160 981046fdab5b7731eea060fed02216505efda2b8 SHA1 77f043f5f03da865e0e19b3419c720db20447d7e SHA256 07984898640c695421c827fca9d7ffa66f555154d4efcf35c9d7c5c13adb42c9 +DIST tikiwiki-1.9.8.tar.bz2 6498849 RMD160 e54cda54754d20760c526187f3f4709826f8766d SHA1 61686f47e9bccddce52396ba811c01647eac4cf3 SHA256 70c9e28cb384eca6e278716f3aa2c1a5f0905e85fac9947dfc274fc4426d901a EBUILD tikiwiki-1.9.6.ebuild 2281 RMD160 ed850e30b3e53390e9deaae129c528bf39bb777e SHA1 704d9af84c1a6a3a879677a04f7de81c2f17d3b9 SHA256 c3d7812afedf33ec5dfb50d3505b5d7c979c25b0194e657346556e362bcc3e93 MD5 47ab16b0524fca9bab7e761544c9d4b8 tikiwiki-1.9.6.ebuild 2281 RMD160 ed850e30b3e53390e9deaae129c528bf39bb777e tikiwiki-1.9.6.ebuild 2281 @@ -15,6 +13,10 @@ EBUILD tikiwiki-1.9.7.ebuild 2282 RMD160 cf872f4bfc36f8935c9e1c74d2055b6107b6062 MD5 9234ed2a0f3635ab2427d15db3b553fa tikiwiki-1.9.7.ebuild 2282 RMD160 cf872f4bfc36f8935c9e1c74d2055b6107b60624 tikiwiki-1.9.7.ebuild 2282 SHA256 810fe3d96d5954c6db271bf3d5f68400fa002c266c46544fdf11da1b673d7d54 tikiwiki-1.9.7.ebuild 2282 +EBUILD tikiwiki-1.9.8.ebuild 2282 RMD160 cf872f4bfc36f8935c9e1c74d2055b6107b60624 SHA1 844d2bd7ef259c0f2bbdf6e17323eaf20e2f2c31 SHA256 810fe3d96d5954c6db271bf3d5f68400fa002c266c46544fdf11da1b673d7d54 +MD5 9234ed2a0f3635ab2427d15db3b553fa tikiwiki-1.9.8.ebuild 2282 +RMD160 cf872f4bfc36f8935c9e1c74d2055b6107b60624 tikiwiki-1.9.8.ebuild 2282 +SHA256 810fe3d96d5954c6db271bf3d5f68400fa002c266c46544fdf11da1b673d7d54 tikiwiki-1.9.8.ebuild 2282 MISC ChangeLog 7864 RMD160 9ed6350239d58c90cbc8699763a381b1696b6745 SHA1 b9cb4eccb363da03bc31b02a574e47900e626fcf SHA256 a8f129630fad67c3bc4d7947007bf0fe73631dbeb67aa6d41609f17900ff4543 MD5 ded40cd8286691353a3b92a2bf2efa32 ChangeLog 7864 RMD160 9ed6350239d58c90cbc8699763a381b1696b6745 ChangeLog 7864 @@ -29,10 +31,6 @@ SHA256 cdfae013d283cf493e82c268db8f3c8a61da2aa74728c787bec90feb432f41b9 files/di MD5 1fcbe6537c3b4c036853c0eaaf67fa5d files/digest-tikiwiki-1.9.7 250 RMD160 de45320fd7a7b89dceaaeb020cb0f74bcb14263f files/digest-tikiwiki-1.9.7 250 SHA256 b25e77a415b13d855c646e48cbd6b7183ddd0776a6b25cf1e7e89b8f2853a6d7 files/digest-tikiwiki-1.9.7 250 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFmuLSEzitwsaoONoRArUNAKCNHvlYYnD5dotv5E8ylpsesSYn3gCg1S6c -e6FJxox4imXnUtsOzO9d5PQ= -=Mhz8 ------END PGP SIGNATURE----- +MD5 043763a87be76e91202303098a75722a files/digest-tikiwiki-1.9.8 250 +RMD160 ae987aacfa27de0b7b63b0915824ef199f11f952 files/digest-tikiwiki-1.9.8 250 +SHA256 15c7a12b2fa9d8fbc80a9f7b0e733a1df712842e5593424bbc9d55621886770b files/digest-tikiwiki-1.9.8 250 diff --git a/www-apps/tikiwiki/files/digest-tikiwiki-1.9.8 b/www-apps/tikiwiki/files/digest-tikiwiki-1.9.8 new file mode 100644 index 000000000000..e4617f005660 --- /dev/null +++ b/www-apps/tikiwiki/files/digest-tikiwiki-1.9.8 @@ -0,0 +1,3 @@ +MD5 e573199da0143b9645521b67571b469f tikiwiki-1.9.8.tar.bz2 6498849 +RMD160 e54cda54754d20760c526187f3f4709826f8766d tikiwiki-1.9.8.tar.bz2 6498849 +SHA256 70c9e28cb384eca6e278716f3aa2c1a5f0905e85fac9947dfc274fc4426d901a tikiwiki-1.9.8.tar.bz2 6498849 diff --git a/www-apps/tikiwiki/tikiwiki-1.9.8.ebuild b/www-apps/tikiwiki/tikiwiki-1.9.8.ebuild new file mode 100644 index 000000000000..799d7cfa0a0b --- /dev/null +++ b/www-apps/tikiwiki/tikiwiki-1.9.8.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.9.8.ebuild,v 1.1 2007/09/15 13:28:59 wrobel Exp $ + +inherit webapp depend.php + +DESCRIPTION="Full-featured Web Content Management System using PHP and Smarty Templates" +HOMEPAGE="http://tikiwiki.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +IUSE="mysql postgres graphviz" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND="virtual/php + graphviz? ( media-gfx/graphviz ) +" +pkg_setup () { + webapp_pkg_setup + use mysql && require_php_with_use mysql + use postgres && require_php_with_use postgres +} + +src_install() { + webapp_src_preinst + + local DIR + local DIRENTRY + local DIRS="backups db dump files img/trackers img/wiki + img/wiki_up modules/cache temp + templates_c templates styles maps whelp mods + lib/Galaxia/processes" + + # Ensure that directories exist, some don't. + # (part of setup.sh) + for DIR in ${DIRS}; do + mkdir -p ${DIR} + done + + # Remove the execute permission from the setup.sh script + # and rename it. Its actions have been incorporated here. + chmod a-x setup.sh + mv setup.sh setup.sh.done + + # Install the minimal doc (points to web page) + # + dodoc doc/readme.txt doc/htaccess doc/htaccess.readme INSTALL README + + # The bulk goes into htdocs + # but don't copy INSTALL and README + cp -pPR [[:lower:]]* ${D}/${MY_HTDOCSDIR} + + # Recursively set server ownership to allow server to write + # This is the rough equivalent of the setup.sh script + # provided in the distribution. + # Note: Cannot use xargs or find -exec here because + # these don't work with shell functions. + # + webapp_serverowned ${MY_HTDOCSDIR} + for DIR in ${DIRS}; do + find ${DIR} | while read DIRENTRY; do + webapp_serverowned ${MY_HTDOCSDIR}/${DIRENTRY} + done + done + webapp_serverowned ${MY_HTDOCSDIR}/tiki-install.php + + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + webapp_src_install +} + +pkg_config() { + elog "Type in your MySQL root password to create an empty tiki database:" + mysqladmin -u root -p create tikiwiki +} + +pkg_postinst() { + elog "To setup a MySQL database, run:" + elog "\"emerge --config =${PF}\"" + elog "If you are using PostgreSQL, consult your documentation" + webapp_pkg_postinst +} |