diff options
author | Renat Lumpau <rl03@gentoo.org> | 2007-01-22 00:19:56 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2007-01-22 00:19:56 +0000 |
commit | ed06cd733fd9f4ba7c874181945c0dea585db86e (patch) | |
tree | 7d003af1fa5518ba49b4f46e68b3071610c365f5 /www-apps/twiki | |
parent | Version bump. (diff) | |
download | gentoo-2-ed06cd733fd9f4ba7c874181945c0dea585db86e.tar.gz gentoo-2-ed06cd733fd9f4ba7c874181945c0dea585db86e.tar.bz2 gentoo-2-ed06cd733fd9f4ba7c874181945c0dea585db86e.zip |
Version bump
(Portage version: 2.1.2_rc4-r4)
Diffstat (limited to 'www-apps/twiki')
-rw-r--r-- | www-apps/twiki/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/twiki/files/digest-twiki-4.1.0 | 3 | ||||
-rw-r--r-- | www-apps/twiki/twiki-4.1.0.ebuild | 83 |
3 files changed, 94 insertions, 2 deletions
diff --git a/www-apps/twiki/ChangeLog b/www-apps/twiki/ChangeLog index 86d733539d7f..2ea3543cb684 100644 --- a/www-apps/twiki/ChangeLog +++ b/www-apps/twiki/ChangeLog @@ -1,6 +1,12 @@ # 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.39 2006/12/11 02:06:48 rl03 Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/ChangeLog,v 1.40 2007/01/22 00:19:56 rl03 Exp $ + +*twiki-4.1.0 (22 Jan 2007) + + 22 Jan 2007; Renat Lumpau <rl03@gentoo.org> -twiki-4.0.5.ebuild, + +twiki-4.1.0.ebuild: + Version bump 11 Dec 2006; Renat Lumpau <rl03@gentoo.org> twiki-4.0.5.ebuild: Bug #157671. diff --git a/www-apps/twiki/files/digest-twiki-4.1.0 b/www-apps/twiki/files/digest-twiki-4.1.0 new file mode 100644 index 000000000000..3dd9451c0f9a --- /dev/null +++ b/www-apps/twiki/files/digest-twiki-4.1.0 @@ -0,0 +1,3 @@ +MD5 fd5bb7b6d26f2c5d78a64d1449ef291e TWiki-4.1.0.tgz 4637237 +RMD160 ab4f239a6b5752b228cf7ebf721a5b565638d647 TWiki-4.1.0.tgz 4637237 +SHA256 63df752f2f0c4725e242345e915cdb09345f738133d2409a4a0cad929c094338 TWiki-4.1.0.tgz 4637237 diff --git a/www-apps/twiki/twiki-4.1.0.ebuild b/www-apps/twiki/twiki-4.1.0.ebuild new file mode 100644 index 000000000000..550ad9a56fd5 --- /dev/null +++ b/www-apps/twiki/twiki-4.1.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/twiki/twiki-4.1.0.ebuild,v 1.1 2007/01/22 00:19:56 rl03 Exp $ + +inherit webapp eutils + +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-3.20 + virtual/perl-File-Spec + dev-perl/Text-Diff + virtual/perl-Time-Local + dev-perl/CGI-Session + virtual/perl-digest-base + dev-perl/Digest-SHA1 + dev-perl/locale-maketext-lexicon + virtual/perl-libnet + dev-perl/URI + virtual/cron + dev-perl/HTML-Parser + 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 INSTALL.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/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 + elog "webapp-config will not be run automatically" + elog "Run webapp-config -I -h <host> -d ${PN} ${PN} ${PVR} to install" + elog + # webapp_pkg_postinst +} |