summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2006-04-20 14:37:05 +0000
committerRenat Lumpau <rl03@gentoo.org>2006-04-20 14:37:05 +0000
commitd8f2fa7be26ae515115f115e80bb77c974f974a6 (patch)
treed6a5cbfbc92e8428de07d6c4c7cd784b6d4d0daa /www-apps/twiki
parentamd64 stable, bug 129371 (diff)
downloadgentoo-2-d8f2fa7be26ae515115f115e80bb77c974f974a6.tar.gz
gentoo-2-d8f2fa7be26ae515115f115e80bb77c974f974a6.tar.bz2
gentoo-2-d8f2fa7be26ae515115f115e80bb77c974f974a6.zip
Version bump
(Portage version: 2.1_pre9-r1)
Diffstat (limited to 'www-apps/twiki')
-rw-r--r--www-apps/twiki/ChangeLog7
-rw-r--r--www-apps/twiki/files/digest-twiki-4.0.23
-rw-r--r--www-apps/twiki/twiki-4.0.2.ebuild81
3 files changed, 90 insertions, 1 deletions
diff --git a/www-apps/twiki/ChangeLog b/www-apps/twiki/ChangeLog
index dbe34fe0425e..f17e8a2b646d 100644
--- a/www-apps/twiki/ChangeLog
+++ b/www-apps/twiki/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/twiki
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/ChangeLog,v 1.25 2006/03/27 17:56:24 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/ChangeLog,v 1.26 2006/04/20 14:37:05 rl03 Exp $
+
+*twiki-4.0.2 (20 Apr 2006)
+
+ 20 Apr 2006; Renat Lumpau <rl03@gentoo.org> +twiki-4.0.2.ebuild:
+ Version bump
*twiki-4.0.1-r2 (27 Mar 2006)
diff --git a/www-apps/twiki/files/digest-twiki-4.0.2 b/www-apps/twiki/files/digest-twiki-4.0.2
new file mode 100644
index 000000000000..4485135441bb
--- /dev/null
+++ b/www-apps/twiki/files/digest-twiki-4.0.2
@@ -0,0 +1,3 @@
+MD5 434fd3dd09138c283bc3f1884e84faa5 TWiki-4.0.2.tgz 4014446
+RMD160 41a3e678fa27ad2d9bdf0e94871df2ca2daa58e0 TWiki-4.0.2.tgz 4014446
+SHA256 22c5c2e3fe703ae29ca3a6ec08950c95460ef28aea73ef3708bf59d0185872ed TWiki-4.0.2.tgz 4014446
diff --git a/www-apps/twiki/twiki-4.0.2.ebuild b/www-apps/twiki/twiki-4.0.2.ebuild
new file mode 100644
index 000000000000..6467747cb569
--- /dev/null
+++ b/www-apps/twiki/twiki-4.0.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/twiki-4.0.2.ebuild,v 1.1 2006/04/20 14:37:05 rl03 Exp $
+
+inherit webapp eutils versionator
+
+MY_PN="TWiki"
+
+DESCRIPTION="A Web Based Collaboration Platform"
+HOMEPAGE="http://twiki.org/"
+SRC_URI="http://twiki.org/p/pub/Codev/Release/${MY_PN}-${PV}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="apache2"
+
+S=${WORKDIR}
+
+RDEPEND=">=dev-lang/perl-5.8
+ >=app-text/rcs-5.7
+ sys-apps/diffutils
+ dev-perl/Algorithm-Diff
+ virtual/perl-CGI
+ perl-core/File-Spec
+ dev-perl/Text-Diff
+ perl-core/Time-Local
+ dev-perl/CGI-Session
+ perl-core/digest-base
+ dev-perl/Digest-SHA1
+ dev-perl/locale-maketext-lexicon
+ virtual/perl-libnet
+ dev-perl/URI
+ virtual/cron
+ apache2? ( >=net-www/apache-2.0.54 )
+ !apache2? ( =net-www/apache-1* )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ mv ${S}/bin/LocalLib.cfg.txt ${S}/bin/LocalLib.cfg
+ mv ${S}/lib/LocalSite.cfg.txt ${S}/lib/LocalSite.cfg
+ # change web user to apache
+ cd ${S}/lib/TWiki
+ find . -name '*,v' -exec sed -i 's|nobody:|apache:|g' '{}' ';'
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cp -r . ${D}/${MY_HTDOCSDIR}
+
+ dodoc readme.txt
+ dohtml T*.html
+
+ for file in $(find data pub) lib/LocalSite.cfg; do
+ webapp_serverowned "${MY_HTDOCSDIR}/${file}"
+ done
+
+ for a in bin/setlib.cfg bin/LocalLib.cfg lib/TWiki.cfg lib/LocalSite.cfg; do
+ webapp_configfile ${MY_HTDOCSDIR}/${a}
+ done
+ webapp_hook_script ${FILESDIR}/reconfig
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_postupgrade_txt en ${FILESDIR}/postupgrade-en.txt
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "If you are upgrading from an older version of TWiki, back up your"
+ ewarn "data/ and pub/ directories and any local changes before upgrading!"
+ ewarn
+ ewarn "You are _strongly_ encouraged to to read the upgrade guide:"
+ ewarn "http://twiki.org/cgi-bin/view/TWiki/TWikiDocumentation"
+ ewarn
+ einfo "webapp-config will not be run automatically"
+ einfo
+ # webapp_pkg_postinst
+}