Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/moinmoin/files/, profiles/, www-apps/moinmoin/
Date: Tue, 04 Dec 2018 12:18:25
Message-Id: 1543925886.06243ab947dbf0693ddeee53cef81d5fc53b396e.vdupras@gentoo
1 commit: 06243ab947dbf0693ddeee53cef81d5fc53b396e
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 4 12:16:56 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 4 12:18:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06243ab9
7
8 www-apps/moinmoin: remove last-rited package
9
10 Closes: https://bugs.gentoo.org/550188
11 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
12
13 profiles/package.mask | 5 --
14 www-apps/moinmoin/Manifest | 1 -
15 www-apps/moinmoin/files/postinstall-en-1.9.4.txt | 16 ----
16 www-apps/moinmoin/files/reconfig-1.9.4 | 17 ----
17 www-apps/moinmoin/metadata.xml | 8 --
18 www-apps/moinmoin/moinmoin-1.9.7-r1.ebuild | 105 -----------------------
19 6 files changed, 152 deletions(-)
20
21 diff --git a/profiles/package.mask b/profiles/package.mask
22 index 0a7a576a151..00400ce3dd2 100644
23 --- a/profiles/package.mask
24 +++ b/profiles/package.mask
25 @@ -348,11 +348,6 @@ app-crypt/tinyca
26 # provide a live ebuild. Removal in a month.
27 app-benchmarks/os-autoinst
28
29 -# Pacho Ramos <pacho@g.o> (04 Nov 2018)
30 -# Pending version bumps (with security fixes) for a long time (#550188,
31 -# #544568, #227993). Removal in a month.
32 -www-apps/moinmoin
33 -
34 # Pacho Ramos <pacho@g.o> (04 Nov 2018)
35 # Nobody willing to update and maintain this for years (#556306, #554488).
36 # Removal in a month.
37
38 diff --git a/www-apps/moinmoin/Manifest b/www-apps/moinmoin/Manifest
39 deleted file mode 100644
40 index 01f07495c49..00000000000
41 --- a/www-apps/moinmoin/Manifest
42 +++ /dev/null
43 @@ -1 +0,0 @@
44 -DIST moin-1.9.7.tar.gz 36911772 BLAKE2B 26e0896a68692054c7a40da3e4ccb85a947e5335fde1387f47d6cc39f4c43e1e7421a4143ded9a1659596a2137cd68091967acd8a95630fe8263904e98d0d275 SHA512 5cb6c205fb0c18b83fe7cee83bf88098bfbbc357c89004f8b7cf484bd7efd35af4ace78d0e80df71b01f70861e8bbb63aeefdd831768989d5b7f511ca24fb60c
45
46 diff --git a/www-apps/moinmoin/files/postinstall-en-1.9.4.txt b/www-apps/moinmoin/files/postinstall-en-1.9.4.txt
47 deleted file mode 100644
48 index 6a6baf764ea..00000000000
49 --- a/www-apps/moinmoin/files/postinstall-en-1.9.4.txt
50 +++ /dev/null
51 @@ -1,16 +0,0 @@
52 -Now please read the installation manual at
53 -/usr/share/doc/${PF}/html
54 -
55 -MoinMoin can work with a variety of webservers. Simple Apache instructions
56 -are given below:
57 -
58 -1. ExecCGI needs to be enabled in your Moinmoin directory by doing:
59 -# echo "Options ExecCGI" > ${MY_INSTALLDIR}/.htaccess
60 -# echo "AddHandler cgi-script .cgi" >> ${MY_INSTALLDIR}/.htaccess
61 -
62 -2. Add the following lines to your Apache configs:
63 -ScriptAlias /mywiki "${MY_INSTALLDIR}/moin.cgi"
64 -
65 -3. Restart Apache
66 -
67 -4. Go to http://${VHOST_HOSTNAME}/mywiki/ and follow the instructions there.
68
69 diff --git a/www-apps/moinmoin/files/reconfig-1.9.4 b/www-apps/moinmoin/files/reconfig-1.9.4
70 deleted file mode 100644
71 index 698da419fdb..00000000000
72 --- a/www-apps/moinmoin/files/reconfig-1.9.4
73 +++ /dev/null
74 @@ -1,17 +0,0 @@
75 -#!/bin/bash
76 -
77 -die() {
78 - echo "#####"
79 - echo $1
80 - echo "#####"
81 - exit 1
82 -}
83 -
84 -if [ $1 = "install" ]; then
85 - sed -e "s|^#\(.*\)/path/to/wikiconfigdir|\1${VHOST_ROOT}/${PN}-${PVR}|g" -i ${MY_INSTALLDIR}/moin.cgi || die "sed failed"
86 - sed -e "s|#url_prefix_static|url_prefix_static|" -i ${VHOST_ROOT}/${PN}-${PVR}/wikiconfig.py || die "sed failed"
87 - sed -e "s|//|/|" -i ${VHOST_ROOT}/${PN}-${PVR}/wikiconfig.py || die "sed failed"
88 -
89 -elif [ $1 = "clean" ]; then
90 - echo $1
91 -fi
92
93 diff --git a/www-apps/moinmoin/metadata.xml b/www-apps/moinmoin/metadata.xml
94 deleted file mode 100644
95 index f2f2ba9e282..00000000000
96 --- a/www-apps/moinmoin/metadata.xml
97 +++ /dev/null
98 @@ -1,8 +0,0 @@
99 -<?xml version="1.0" encoding="UTF-8"?>
100 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
101 -<pkgmetadata>
102 -<maintainer type="project">
103 - <email>web-apps@g.o</email>
104 - <name>Gentoo Webapps</name>
105 -</maintainer>
106 -</pkgmetadata>
107
108 diff --git a/www-apps/moinmoin/moinmoin-1.9.7-r1.ebuild b/www-apps/moinmoin/moinmoin-1.9.7-r1.ebuild
109 deleted file mode 100644
110 index 27ad731eec9..00000000000
111 --- a/www-apps/moinmoin/moinmoin-1.9.7-r1.ebuild
112 +++ /dev/null
113 @@ -1,105 +0,0 @@
114 -# Copyright 1999-2015 Gentoo Foundation
115 -# Distributed under the terms of the GNU General Public License v2
116 -
117 -EAPI=5
118 -PYTHON_COMPAT=( python2_7 )
119 -PYTHON_REQ_USE="xml"
120 -DISTUTILS_SINGLE_IMPL=1
121 -
122 -inherit eutils distutils-r1 webapp
123 -
124 -MY_PN="moin"
125 -
126 -DESCRIPTION="Python WikiClone"
127 -HOMEPAGE="http://moinmo.in/"
128 -SRC_URI="http://static.moinmo.in/files/${MY_PN}-${PV}.tar.gz"
129 -
130 -LICENSE="GPL-2"
131 -SLOT="0"
132 -KEYWORDS="amd64 ~arm ppc x86"
133 -
134 -RDEPEND=">=dev-python/docutils-0.4[${PYTHON_USEDEP}]
135 - >=dev-python/flup-1.0.2[${PYTHON_USEDEP}]
136 - >=dev-python/pygments-1.1.1[${PYTHON_USEDEP}]
137 - >=dev-python/werkzeug-0.7.0[${PYTHON_USEDEP}]"
138 -
139 -need_httpd_cgi
140 -
141 -S=${WORKDIR}/${MY_PN}-${PV}
142 -
143 -WEBAPP_MANUAL_SLOT="yes"
144 -
145 -pkg_setup() {
146 - if has_version "<www-apps/moinmoin-1.9" ; then
147 - ewarn
148 - ewarn "You already have a version of moinmoin prior to 1.9 installed."
149 - ewarn "moinmoin-1.9 has a very different configuration than 1.8 (among"
150 - ewarn "other changes, static content is no longer installed under the"
151 - ewarn "htdocs directory)."
152 - ewarn
153 - ewarn "Please read http://moinmo.in/MoinMoinRelease1.9 and"
154 - ewarn "README.migration in /usr/share/doc/${PF}"
155 - ewarn
156 - fi
157 -
158 - webapp_pkg_setup
159 - python-single-r1_pkg_setup
160 -}
161 -
162 -src_prepare() {
163 - # remove bundled -- parsedatetime and xappy not packaged yet
164 - rm -r MoinMoin/support/{pygments,werkzeug,flup} || die
165 - sed -i "/\(flup\|pygments\|werkzeug\)/d" setup.py || die
166 -
167 - # needed for python_fix_shebang
168 - edos2unix MoinMoin/web/static/htdocs/applets/FCKeditor/editor/filemanager/connectors/py/*.py
169 -
170 - distutils-r1_src_prepare
171 -}
172 -
173 -src_install() {
174 - webapp_src_preinst
175 - distutils-r1_src_install
176 -
177 - dodoc README docs/CHANGES* docs/README.migration
178 - dohtml docs/INSTALL.html
179 - rm -rf README docs/
180 -
181 - cd "${D}"/usr/share/moin
182 -
183 - insinto "${MY_HTDOCSDIR}"
184 - doins -r server/moin.cgi
185 - fperms +x "${MY_HTDOCSDIR}/moin.cgi"
186 -
187 - insinto "${MY_HOSTROOTDIR}"/${PF}
188 - doins -r data underlay config/wikiconfig.py
189 -
190 - insinto "${MY_HOSTROOTDIR}"/${PF}/altconfigs
191 - doins -r config
192 -
193 - insinto "${MY_HOSTROOTDIR}"/${PF}/altserver
194 - doins -r server
195 -
196 - # data needs to be server owned per moin devs
197 - cd "${D}/${MY_HOSTROOTDIR}"/${PF}
198 - for file in $(find data underlay); do
199 - webapp_serverowned "${MY_HOSTROOTDIR}/${PF}/${file}"
200 - done
201 -
202 - webapp_configfile "${MY_HOSTROOTDIR}"/${PF}/wikiconfig.py
203 - webapp_hook_script "${FILESDIR}"/reconfig-1.9.4
204 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en-1.9.4.txt
205 -
206 - webapp_src_install
207 -
208 - # bug 466390
209 - python_fix_shebang "${D}"
210 -}
211 -
212 -pkg_postinst() {
213 - ewarn
214 - ewarn "If you are upgrading from an older version, please read"
215 - ewarn "README.migration in /usr/share/doc/${PF}"
216 - ewarn
217 - webapp_pkg_postinst
218 -}