Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/qmailadmin/
Date: Sun, 03 Jun 2018 02:59:20
Message-Id: 1527994727.ec00c3bb6c1a956db8beb93874c65257e2240d55.bman@gentoo
1 commit: ec00c3bb6c1a956db8beb93874c65257e2240d55
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 3 00:17:03 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 3 02:58:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec00c3bb
7
8 net-mail/qmailadmin: drop old EAPI
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 net-mail/qmailadmin/Manifest | 2 -
13 net-mail/qmailadmin/qmailadmin-1.2.10.ebuild | 96 ----------------------------
14 net-mail/qmailadmin/qmailadmin-1.2.12.ebuild | 87 -------------------------
15 net-mail/qmailadmin/qmailadmin-1.2.15.ebuild | 96 ----------------------------
16 4 files changed, 281 deletions(-)
17
18 diff --git a/net-mail/qmailadmin/Manifest b/net-mail/qmailadmin/Manifest
19 index dfbffffa120..cb0ca8ea7c5 100644
20 --- a/net-mail/qmailadmin/Manifest
21 +++ b/net-mail/qmailadmin/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST qmailadmin-1.2.10.tar.gz 390150 BLAKE2B 0c221e7abef7d2ae73a55598005d8bbd4d0bb96d51603867ff72fe396bc345c6c87a3c533c5f1db1658db17b7fd46630facfc8ae00c8e588bc8a350e0ea5588a SHA512 43dcd55b9b3458896398eada9a7d0b513cce5bde6edecb8ae54b6519509361dfab18c7600a3f94ff141b4a3b824e93b4a88a5db3e5a8980ddabf2e6dda8cfb47
24 -DIST qmailadmin-1.2.12.tar.gz 400144 BLAKE2B 0b4065421cf60bc2328ac11db38294faf9301630927c6955b73604e90fb72db7c924f153e07769689339f1d3937407704d35e8dbf29b0fd5fda935533cad1320 SHA512 9fea49c3cab31606b37b9b827cd21ee852267e8c5555d96c48d52fc8388d7a3a862384cf18211c89c34525b84f866fa371a70a88386309e32dde1d7d8bb5b3ed
25 DIST qmailadmin-1.2.15.tar.gz 385529 BLAKE2B 2bd4f86d157c577f410e44ec8c8c7df25d654b1dbf0621e52c167067bf72ce04bc7b03230c2517e97c14bd4f5bb3354da23d9794faafc7d3d007476c7b98dfdb SHA512 0cf32916bd6ef47fce091d4a92203fb8b80e0c3349cf8af826c047ba778e7992bcb98002023219648c7aa1ab60fbb052d4726f12f44d68647e657fb3760b8347
26 DIST qmailadmin-1.2.16.tar.gz 388689 BLAKE2B 713fbf862eb19940801394b85371f7249ab31528891356b226ba88b55ecd3027f0cdcd08b10a1eb1a4b93355b4bf948dae96d34dbfb3a1df3c3291fe5a8ddb8d SHA512 4afa18461d8bb91e7075f08f00f3e1ef030a01381d049e122d4c234f2b6db9884d4426e9f4c61d5257e55786228741a3b8ded1fbfb925611f536cedb9d61de91
27
28 diff --git a/net-mail/qmailadmin/qmailadmin-1.2.10.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.10.ebuild
29 deleted file mode 100644
30 index 8dfec046d25..00000000000
31 --- a/net-mail/qmailadmin/qmailadmin-1.2.10.ebuild
32 +++ /dev/null
33 @@ -1,96 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=0
38 -
39 -inherit eutils
40 -
41 -# TODO: convert this ebuild to use web-app.
42 -
43 -# the RESTRICT is because the vpopmail lib directory is locked down
44 -# and non-root can't access them.
45 -RESTRICT='userpriv'
46 -
47 -MY_PV="${PV/_rc/-rc}"
48 -MY_P="${PN}-${MY_PV}"
49 -DESCRIPTION="A web interface for managing a qmail system with virtual domains"
50 -HOMEPAGE="http://www.inter7.com/qmailadmin.html"
51 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
52 -
53 -LICENSE="GPL-2"
54 -SLOT="0"
55 -KEYWORDS="amd64 arm ~hppa ppc s390 sh sparc x86"
56 -IUSE="maildrop"
57 -
58 -DEPEND="virtual/qmail
59 - >=net-mail/vpopmail-5.3
60 - net-mail/autorespond
61 - maildrop? ( >=mail-filter/maildrop-2.0.1 )"
62 -RDEPEND="${DEPEND}"
63 -# apache and lighttpd both work, but there's no virtual yet
64 -# www-servers/apache"
65 -
66 -S=${WORKDIR}/${MY_P}
67 -
68 -src_unpack() {
69 - unpack ${A}
70 - cd "${S}"
71 - epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch
72 -}
73 -
74 -src_compile() {
75 - local dir_vpopmail="/var/vpopmail"
76 - local dir_vhost="/var/www/localhost"
77 - local dir_htdocs="${dir_vhost}/htdocs/${PN}"
78 - local dir_htdocs_images="${dir_htdocs}/images"
79 - local url_htdocs_images="/${PN}/images"
80 - local dir_cgibin="${dir_vhost}/cgi-bin"
81 - local url_cgibin="/cgi-bin/${PN}"
82 - local dir_htdocs_htmlib="/usr/share/${PN}/htmllib"
83 - local dir_qmail="/var/qmail"
84 - local dir_true="/bin"
85 - local dir_ezmlm="/usr/bin"
86 - local dir_autorespond="/var/qmail/bin"
87 -
88 - # Pass spam stuff through $@ so we get the quoting right
89 - if use maildrop ; then
90 - set -- --enable-modify-spam \
91 - --enable-spam-command='|preline maildrop /etc/maildroprc'
92 - else
93 - set --
94 - fi
95 -
96 - econf \
97 - --enable-valias \
98 - --enable-vpopmaildir=${dir_vpopmail} \
99 - --enable-htmldir=${dir_htdocs} \
100 - --enable-imageurl=${url_htdocs_images} \
101 - --enable-imagedir=${dir_htdocs_images} \
102 - --enable-htmllibdir=${dir_htdocs_htmlib} \
103 - --enable-qmaildir=${dir_qmail} \
104 - --enable-true-path=${dir_true} \
105 - --enable-ezmlmdir=${dir_ezmlm} \
106 - --enable-cgibindir=${dir_cgibin} \
107 - --enable-cgipath=${url_cgibin} \
108 - --enable-autoresponder-path=${dir_autorespond} \
109 - --enable-domain-autofill \
110 - --enable-modify-quota \
111 - --enable-no-cache \
112 - --enable-maxusersperpage=50 \
113 - --enable-maxaliasesperpage=50 \
114 - --enable-vpopuser=vpopmail \
115 - --enable-vpopgroup=vpopmail \
116 - "$@" \
117 - || die "econf failed"
118 - emake || die
119 -}
120 -
121 -src_install() {
122 - make DESTDIR="${D}" install || die
123 - dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog TRANSLATORS NEWS FAQ README contrib/*
124 -}
125 -
126 -pkg_postinst() {
127 - elog "If you would like support for ezmlm mailing lists inside qmailadmin,"
128 - elog "please emerge some variant of ezmlm-idx."
129 -}
130
131 diff --git a/net-mail/qmailadmin/qmailadmin-1.2.12.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.12.ebuild
132 deleted file mode 100644
133 index 93204d11880..00000000000
134 --- a/net-mail/qmailadmin/qmailadmin-1.2.12.ebuild
135 +++ /dev/null
136 @@ -1,87 +0,0 @@
137 -# Copyright 1999-2018 Gentoo Foundation
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=0
141 -
142 -inherit qmail eutils webapp
143 -
144 -# the RESTRICT is because the vpopmail lib directory is locked down
145 -# and non-root can't access them.
146 -RESTRICT="userpriv"
147 -
148 -MY_P=${P/_rc/-rc}
149 -
150 -DESCRIPTION="A web interface for managing a qmail system with virtual domains"
151 -HOMEPAGE="http://www.inter7.com/qmailadmin.html"
152 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
153 -
154 -LICENSE="GPL-2"
155 -SLOT="0"
156 -WEBAPP_MANUAL_SLOT="yes"
157 -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86"
158 -IUSE="maildrop"
159 -
160 -DEPEND="virtual/qmail
161 - >=net-mail/vpopmail-5.3
162 - net-mail/autorespond
163 - maildrop? ( >=mail-filter/maildrop-2.0.1 )"
164 -
165 -S="${WORKDIR}"/${MY_P}
166 -
167 -src_unpack() {
168 - unpack ${A}
169 - cd "${S}"
170 - epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch
171 -}
172 -
173 -src_compile() {
174 - # Pass spam stuff through $@ so we get the quoting right
175 - if use maildrop ; then
176 - set -- --enable-modify-spam \
177 - --enable-spam-command='|preline maildrop /etc/maildroprc'
178 - else
179 - set --
180 - fi
181 -
182 - econf \
183 - --enable-valias \
184 - --enable-vpopmaildir=/var/vpopmail \
185 - --enable-htmldir="${MY_HTDOCSDIR}" \
186 - --enable-imagedir="${MY_HTDOCSDIR}"/images \
187 - --enable-imageurl=/${PN}/images \
188 - --enable-htmllibdir=/usr/share/${PN}/htmllib \
189 - --enable-cgibindir="${MY_CGIBINDIR}" \
190 - --enable-cgipath=/cgi-bin/${PN} \
191 - --enable-qmaildir="${QMAIL_HOME}" \
192 - --enable-autoresponder-path="${QMAIL_HOME}"/bin \
193 - --enable-true-path=/bin \
194 - --enable-ezmlmdir=/usr/bin \
195 - --enable-domain-autofill \
196 - --enable-modify-quota \
197 - --enable-no-cache \
198 - --enable-maxusersperpage=50 \
199 - --enable-maxaliasesperpage=50 \
200 - --enable-vpopuser=vpopmail \
201 - --enable-vpopgroup=vpopmail \
202 - "$@" \
203 - || die "econf failed"
204 -
205 - emake || die "make failed"
206 -}
207 -
208 -src_install() {
209 - webapp_src_preinst
210 -
211 - make DESTDIR="${D}" install || die "make install failed"
212 -
213 - dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog \
214 - TRANSLATORS NEWS FAQ README contrib/*
215 -
216 - webapp_src_install
217 -}
218 -
219 -pkg_postinst() {
220 - einfo "If you would like support for ezmlm mailing lists inside qmailadmin,"
221 - einfo "please emerge some variant of ezmlm-idx."
222 - webapp_pkg_postinst
223 -}
224
225 diff --git a/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild b/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild
226 deleted file mode 100644
227 index 1725e884bab..00000000000
228 --- a/net-mail/qmailadmin/qmailadmin-1.2.15.ebuild
229 +++ /dev/null
230 @@ -1,96 +0,0 @@
231 -# Copyright 1999-2018 Gentoo Foundation
232 -# Distributed under the terms of the GNU General Public License v2
233 -
234 -EAPI=0
235 -
236 -inherit qmail eutils webapp autotools
237 -
238 -# the RESTRICT is because the vpopmail lib directory is locked down
239 -# and non-root can't access them.
240 -RESTRICT="userpriv"
241 -
242 -MY_P=${P/_rc/-rc}
243 -
244 -DESCRIPTION="A web interface for managing a qmail system with virtual domains"
245 -HOMEPAGE="http://www.inter7.com/qmailadmin.html"
246 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
247 -
248 -LICENSE="GPL-2"
249 -SLOT="0"
250 -WEBAPP_MANUAL_SLOT="yes"
251 -KEYWORDS="amd64 arm ~hppa ppc s390 sh sparc x86"
252 -IUSE="maildrop"
253 -
254 -DEPEND="virtual/qmail
255 - >=net-mail/vpopmail-5.3
256 - net-mail/autorespond
257 - maildrop? ( >=mail-filter/maildrop-2.0.1 )"
258 -
259 -S="${WORKDIR}"/${MY_P}
260 -
261 -src_unpack() {
262 - unpack ${A}
263 - cd "${S}"
264 - epatch "${FILESDIR}"/${PN}-1.2.9-maildir.patch
265 - epatch "${FILESDIR}"/${PN}-1.2.12-quota-overflow.patch
266 - eautoreconf
267 -}
268 -
269 -src_compile() {
270 - # Pass spam stuff through $@ so we get the quoting right
271 - if use maildrop ; then
272 - set -- --enable-modify-spam \
273 - --enable-spam-command='|preline maildrop /etc/maildroprc'
274 - else
275 - set --
276 - fi
277 - # If vpopmail is built with mysql, we need to pick that up.
278 - CFLAGS="${CFLAGS} $(</var/vpopmail/etc/inc_deps)"
279 - LDFLAGS="${LDFLAGS} $(</var/vpopmail/etc/lib_deps)"
280 -
281 - econf \
282 - --enable-valias \
283 - --enable-vpopmaildir=/var/vpopmail \
284 - --enable-htmldir="${MY_HTDOCSDIR}" \
285 - --enable-imagedir="${MY_HTDOCSDIR}"/images \
286 - --enable-imageurl=/${PN}/images \
287 - --enable-htmllibdir=/usr/share/${PN}/htmllib \
288 - --enable-cgibindir="${MY_CGIBINDIR}" \
289 - --enable-cgipath=/cgi-bin/${PN} \
290 - --enable-qmaildir="${QMAIL_HOME}" \
291 - --enable-autoresponder-path="${QMAIL_HOME}"/bin \
292 - --enable-true-path=/bin \
293 - --enable-ezmlmdir=/usr/bin \
294 - --enable-domain-autofill \
295 - --enable-modify-quota \
296 - --enable-no-cache \
297 - --enable-trivial-password \
298 - --enable-catchall \
299 - --enable-maxusersperpage=50 \
300 - --enable-maxaliasesperpage=50 \
301 - --enable-vpopuser=vpopmail \
302 - --enable-vpopgroup=vpopmail \
303 - LDFLAGS="${LDFLAGS}" \
304 - CFLAGS="${CFLAGS}" \
305 - "$@" \
306 - || die "econf failed"
307 -
308 - emake || die "make failed"
309 -}
310 -
311 -src_install() {
312 - webapp_src_preinst
313 -
314 - make DESTDIR="${D}" install || die "make install failed"
315 -
316 - dodoc AUTHORS INSTALL README.hooks BUGS TODO ChangeLog \
317 - TRANSLATORS NEWS FAQ README contrib/*
318 -
319 - webapp_src_install
320 -}
321 -
322 -pkg_postinst() {
323 - einfo "If you would like support for ezmlm mailing lists inside qmailadmin,"
324 - einfo "please emerge some variant of ezmlm-idx."
325 - webapp_pkg_postinst
326 -}