diff options
author | Renat Lumpau <rl03@gentoo.org> | 2004-08-27 22:04:04 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2004-08-27 22:04:04 +0000 |
commit | 59e35813fd2cb22213ee2a089d2be7de1ee945cd (patch) | |
tree | 1d91769ce53e6d0bd97fbc2f57a28496ee687e07 /www-apps | |
parent | stable on ppc64, bug #59381 (diff) | |
download | historical-59e35813fd2cb22213ee2a089d2be7de1ee945cd.tar.gz historical-59e35813fd2cb22213ee2a089d2be7de1ee945cd.tar.bz2 historical-59e35813fd2cb22213ee2a089d2be7de1ee945cd.zip |
Updated to use webapp.eclass. Closes 58381
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/moinmoin/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/moinmoin/Manifest | 6 | ||||
-rw-r--r-- | www-apps/moinmoin/files/digest-moinmoin-1.2.3-r1 | 1 | ||||
-rw-r--r-- | www-apps/moinmoin/files/postinstall-en.txt | 2 | ||||
-rw-r--r-- | www-apps/moinmoin/moinmoin-1.2.3-r1.ebuild | 41 |
5 files changed, 54 insertions, 4 deletions
diff --git a/www-apps/moinmoin/ChangeLog b/www-apps/moinmoin/ChangeLog index d74e29d99c28..751d3c231f8e 100644 --- a/www-apps/moinmoin/ChangeLog +++ b/www-apps/moinmoin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-www/moinmoin # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v 1.2 2004/08/16 19:12:55 g2boojum Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v 1.3 2004/08/27 22:04:04 rl03 Exp $ + +*moinmoin-1.2.3-r1 (27 Aug 2004) + + 27 Aug 2004; Renat Lumpau <rl03@gentoo.org> files/postinstall-en.txt, + +moinmoin-1.2.3-r1.ebuild: + Uses webapp.eclass. Closes #58381, see also 57913. *moinmoin-1.2.3 (16 Aug 2004) diff --git a/www-apps/moinmoin/Manifest b/www-apps/moinmoin/Manifest index ddd0f2d4b8c9..3a39b260e30d 100644 --- a/www-apps/moinmoin/Manifest +++ b/www-apps/moinmoin/Manifest @@ -1,7 +1,9 @@ +MD5 6b985f02a6da2c47e44fcd29ebade830 moinmoin-1.2.3-r1.ebuild 1036 MD5 b06c9778e1309e3eb608b2603e6d7d00 moinmoin-1.2.3.ebuild 1324 -MD5 c25780be9eb4cdd25fb48323e1b247f6 ChangeLog 2049 +MD5 78a61b88c3a64c512d21aae858a8eee7 ChangeLog 2234 MD5 4defd726d2b03decc5b7ff21b0aac1a3 metadata.xml 225 MD5 fed52f08c9db4329e4eaeb3a2d7388be moinmoin-1.2.2.ebuild 1322 -MD5 c7f9a5535e64dcb8a7f4520c1a5fb617 files/postinstall-en.txt 357 +MD5 83ae27d75112afb66a2d5d1319ba9874 files/digest-moinmoin-1.2.3-r1 63 +MD5 87c3c30ece7ca607f5cd419d0e2e9538 files/postinstall-en.txt 353 MD5 9f892950e59827ee9c7a8a082a880bd2 files/digest-moinmoin-1.2.2 63 MD5 83ae27d75112afb66a2d5d1319ba9874 files/digest-moinmoin-1.2.3 63 diff --git a/www-apps/moinmoin/files/digest-moinmoin-1.2.3-r1 b/www-apps/moinmoin/files/digest-moinmoin-1.2.3-r1 new file mode 100644 index 000000000000..4683a0b4b5c8 --- /dev/null +++ b/www-apps/moinmoin/files/digest-moinmoin-1.2.3-r1 @@ -0,0 +1 @@ +MD5 7604429f54468df23abda22d80bec7d1 moin-1.2.3.tar.gz 1267566 diff --git a/www-apps/moinmoin/files/postinstall-en.txt b/www-apps/moinmoin/files/postinstall-en.txt index c459414cd1be..7c8dd0276137 100644 --- a/www-apps/moinmoin/files/postinstall-en.txt +++ b/www-apps/moinmoin/files/postinstall-en.txt @@ -6,7 +6,7 @@ simply # echo "Options ExecCGI" > ${MY_INSTALLDIR}/.htaccess 2. Add the following lines to your Apache configs: -Alias /moinmoin "${MY_INSTALLDIR}" +Alias /wiki "${MY_INSTALLDIR}" ScriptAlias /mymoin "${MY_INSTALLDIR}/moin.cgi" 3. Restart Apache diff --git a/www-apps/moinmoin/moinmoin-1.2.3-r1.ebuild b/www-apps/moinmoin/moinmoin-1.2.3-r1.ebuild new file mode 100644 index 000000000000..0ff48001f257 --- /dev/null +++ b/www-apps/moinmoin/moinmoin-1.2.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/moinmoin-1.2.3-r1.ebuild,v 1.1 2004/08/27 22:04:04 rl03 Exp $ + +inherit webapp + +PN0="moin" +S=${WORKDIR}/${PN0}-${PV} + +DESCRIPTION="Python WikiClone" +SRC_URI="http://download.sourceforge.net/${PN0}/${PN0}-${PV}.tar.gz" +HOMEPAGE="http://moin.sourceforge.net" +KEYWORDS="~x86 ~sparc ~amd64 ~ppc" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=dev-lang/python-2.2" + +src_compile() { + python setup.py build || die "python build failed" +} + +src_install () { + webapp_src_preinst + + python setup.py install --root=${D} --prefix=/usr install || die "python install failed" + + cd ${D}/usr/share/moin + cp -r data htdocs/* cgi-bin/* ${D}/${MY_HTDOCSDIR} + cd ${D}/${MY_HTDOCSDIR} + + # data needs to be serverowned per moin devs + for file in `find data`; do + webapp_serverowned "${MY_HTDOCSDIR}/${file}" + done + chmod +x moin.cgi + + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + + webapp_src_install +} |