diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-04-25 12:00:01 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-04-25 12:00:01 +0000 |
commit | 564a9527d04e3fc40801b2a972cbde3c122d3569 (patch) | |
tree | f9da20a5bdf10d0acbd3683f9a32f26002c9197a /www-apps | |
parent | version bump wrt security #218625 (diff) | |
download | gentoo-2-564a9527d04e3fc40801b2a972cbde3c122d3569.tar.gz gentoo-2-564a9527d04e3fc40801b2a972cbde3c122d3569.tar.bz2 gentoo-2-564a9527d04e3fc40801b2a972cbde3c122d3569.zip |
version bump wrt security #218752
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/moinmoin/ChangeLog | 7 | ||||
-rw-r--r-- | www-apps/moinmoin/moinmoin-1.6.3.ebuild | 75 |
2 files changed, 81 insertions, 1 deletions
diff --git a/www-apps/moinmoin/ChangeLog b/www-apps/moinmoin/ChangeLog index 96a549c9f336..b6cb28115979 100644 --- a/www-apps/moinmoin/ChangeLog +++ b/www-apps/moinmoin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/moinmoin # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v 1.43 2008/02/26 07:14:12 wrobel Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/ChangeLog,v 1.44 2008/04/25 12:00:01 hollow Exp $ + +*moinmoin-1.6.3 (25 Apr 2008) + + 25 Apr 2008; Benedikt Böhm <hollow@gentoo.org> +moinmoin-1.6.3.ebuild: + version bump wrt security #218752 26 Feb 2008; Gunnar Wrobel <wrobel@gentoo.org> -moinmoin-1.5.8.ebuild: Removed vulnerable version (sec issue #209133) diff --git a/www-apps/moinmoin/moinmoin-1.6.3.ebuild b/www-apps/moinmoin/moinmoin-1.6.3.ebuild new file mode 100644 index 000000000000..a298ef81c545 --- /dev/null +++ b/www-apps/moinmoin/moinmoin-1.6.3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/moinmoin-1.6.3.ebuild,v 1.1 2008/04/25 12:00:01 hollow Exp $ + +MY_PN="moin" +PYTHON_MODNAME="MoinMoin" + +inherit webapp distutils + +WEBAPP_MANUAL_SLOT="yes" + +DESCRIPTION="Python WikiClone" +SRC_URI="http://static.moinmo.in/files/${MY_PN}-${PV}.tar.gz" +HOMEPAGE="http://moinmo.in/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="rss" + +DEPEND=">=dev-lang/python-2.3" +RDEPEND="${DEPEND} + >=dev-python/docutils-0.4 + rss? ( >=dev-python/pyxml-0.8.4 )" + +need_httpd_cgi + +S="${WORKDIR}"/${MY_PN}-${PV} + +src_install() { + webapp_src_preinst + distutils_src_install + + dodoc README docs/CHANGES* docs/HACKS docs/README.migration + dohtml docs/INSTALL.html + rm -rf README docs/ + + cd "${D}"/usr/share/moin + + insinto "${MY_HTDOCSDIR}" + doins -r htdocs/* server/moin.cgi + fperms +x "${MY_HTDOCSDIR}/moin.cgi" + + insinto "${MY_HOSTROOTDIR}"/${PF} + doins -r data underlay config/wikiconfig.py + + insinto "${MY_HOSTROOTDIR}"/${PF}/altconfigs + doins -r config + + insinto "${MY_HOSTROOTDIR}"/${PF}/altserver + doins -r server + + # data needs to be serverowned per moin devs + cd "${D}/${MY_HOSTROOTDIR}"/${PF} + for file in $(find data underlay); do + webapp_serverowned "${MY_HOSTROOTDIR}/${PF}/${file}" + done + + webapp_configfile "${MY_HOSTROOTDIR}"/${PF}/wikiconfig.py + webapp_hook_script "${FILESDIR}"/reconfig-2 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} + +pkg_postinst() { + ewarn + ewarn "If you are upgrading from 1.3.x, please read" + ewarn "README.migration in /usr/share/doc/${PF}" + ewarn "and http://moinmoin.wikiwikiweb.de/HelpOnUpdating" + ewarn + + distutils_pkg_postinst + webapp_pkg_postinst +} |