diff options
author | Renat Lumpau <rl03@gentoo.org> | 2006-05-04 14:04:13 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2006-05-04 14:04:13 +0000 |
commit | d07f0610160db7b78106a966dd8ecc15581d3a98 (patch) | |
tree | fd3166725f02afb8d46021bdccff69a1e5c26b02 /www-apps | |
parent | delete (diff) | |
download | gentoo-2-d07f0610160db7b78106a966dd8ecc15581d3a98.tar.gz gentoo-2-d07f0610160db7b78106a966dd8ecc15581d3a98.tar.bz2 gentoo-2-d07f0610160db7b78106a966dd8ecc15581d3a98.zip |
Version bump
(Portage version: 2.1_pre9-r5)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/tikiwiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/tikiwiki/files/digest-tikiwiki-1.9.3.1 | 3 | ||||
-rw-r--r-- | www-apps/tikiwiki/tikiwiki-1.9.3.1.ebuild | 83 |
3 files changed, 93 insertions, 1 deletions
diff --git a/www-apps/tikiwiki/ChangeLog b/www-apps/tikiwiki/ChangeLog index 3ed8cf7df30e..8fcd4188b7ad 100644 --- a/www-apps/tikiwiki/ChangeLog +++ b/www-apps/tikiwiki/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/tikiwiki # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/ChangeLog,v 1.26 2006/04/30 14:48:46 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/ChangeLog,v 1.27 2006/05/04 14:04:13 rl03 Exp $ + +*tikiwiki-1.9.3.1 (04 May 2006) + + 04 May 2006; Renat Lumpau <rl03@gentoo.org> -tikiwiki-1.9.3.ebuild, + +tikiwiki-1.9.3.1.ebuild: + Version bump *tikiwiki-1.9.3 (30 Apr 2006) diff --git a/www-apps/tikiwiki/files/digest-tikiwiki-1.9.3.1 b/www-apps/tikiwiki/files/digest-tikiwiki-1.9.3.1 new file mode 100644 index 000000000000..7d3037af407f --- /dev/null +++ b/www-apps/tikiwiki/files/digest-tikiwiki-1.9.3.1 @@ -0,0 +1,3 @@ +MD5 5dd3de3822d75e766594ad64d11f0203 tikiwiki-1.9.3.1.tar.bz2 6522147 +RMD160 a4eddb549dc41ade0465f664120538877ba0c475 tikiwiki-1.9.3.1.tar.bz2 6522147 +SHA256 0e7c8c56424017609064dc5a45ca573cf47e773bdb6b5d3e457f89cd690ea7a4 tikiwiki-1.9.3.1.tar.bz2 6522147 diff --git a/www-apps/tikiwiki/tikiwiki-1.9.3.1.ebuild b/www-apps/tikiwiki/tikiwiki-1.9.3.1.ebuild new file mode 100644 index 000000000000..f0f0115229d5 --- /dev/null +++ b/www-apps/tikiwiki/tikiwiki-1.9.3.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.9.3.1.ebuild,v 1.1 2006/05/04 14:04:13 rl03 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 + mysql? ( >=dev-db/mysql-4 ) + postgres? ( dev-db/postgresql ) + 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() { + einfo "Type in your MySQL root password to create an empty tiki database:" + mysqladmin -u root -p create tikiwiki +} + +pkg_postinst() { + einfo "To setup a MySQL database, run:" + einfo "\"emerge --config =${PF}\"" + einfo "If you are using PostgreSQL, consult your documentation" + webapp_pkg_postinst +} |