Gentoo Archives: gentoo-commits

From: Eray Aslan <eras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mailutils/, net-mail/mailutils/files/
Date: Tue, 26 Feb 2019 14:54:48
Message-Id: 1551192877.be3e45e534fb46bd51ef8ccc4655578143f93131.eras@gentoo
1 commit: be3e45e534fb46bd51ef8ccc4655578143f93131
2 Author: Eray Aslan <eras <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 26 14:54:19 2019 +0000
4 Commit: Eray Aslan <eras <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 26 14:54:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3e45e5
7
8 net-mail/mailutils: remove old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Eray Aslan <eras <AT> gentoo.org>
12
13 net-mail/mailutils/Manifest | 1 -
14 .../files/mailutils-2.99.98-readline-6.3.patch | 39 ------
15 net-mail/mailutils/mailutils-3.1.1.ebuild | 134 ---------------------
16 net-mail/mailutils/mailutils-3.4-r1.ebuild | 133 --------------------
17 net-mail/mailutils/mailutils-3.4.ebuild | 132 --------------------
18 5 files changed, 439 deletions(-)
19
20 diff --git a/net-mail/mailutils/Manifest b/net-mail/mailutils/Manifest
21 index 2edacc73018..726cd73f543 100644
22 --- a/net-mail/mailutils/Manifest
23 +++ b/net-mail/mailutils/Manifest
24 @@ -1,4 +1,3 @@
25 -DIST mailutils-3.1.1.tar.xz 2759000 BLAKE2B 146dbc17f222f5f6293c88861fbe75679bde9497d1e9db577441290a2946632ee946ba726cd618363c3f6c1e3bfc87cbd9e94f701ca90f794e6182370bc35ac3 SHA512 68a6f530935118f60503550aff925c799fee4de77377e726548f418e05687b1c8f29210bcb97e1b1033f9414bdbceeaa41e65496b0648a6356c8363554955e8c
26 DIST mailutils-3.4.tar.xz 2619672 BLAKE2B 3a49c319a7171b2659477e6892ae222a342243e84ed2ee93e6d77353e1871d57d101a3a6ee3d2442709adbfb090e4931e134369661e8e8aa407061c1eccdf862 SHA512 548d97a4a036ef0ef5a429c82ffa43dd377b210b4c4d3844e7e5dded0f963060e3733b7766821c06ccf4dc1135002608658bcd6420e75b4ca1f4f17cfc8e2573
27 DIST mailutils-3.5.tar.xz 2742824 BLAKE2B ca14597114203234912cf4cfaa4c63e682561deb28d9d0825373c69de267c215d12b9db662cfd60024228e119433fb40a136d65cfd04385f881ba4b0384c8328 SHA512 6aa2de352be637295a8ab53207a8065f5c10655acc299ac0a2190937ec4decb515ac1044c9a7465b08764ca45be569012cce1046b40d748f6e4f31644f056a53
28 DIST mailutils-3.6.tar.xz 2813412 BLAKE2B fa2cde98287f84745c1ccc213d2ee824857b9c64d493677ed817ae53d49576382d22784ad25faa644ca43528637ed629aa4e9a78a3b1040fd51658e54b369399 SHA512 f07b8dc570abf345d45439f4994173d2415f94d72291aac46528842e339aaa7925baf776ccfc8f8901cf0e08a13cbfdf09596dd6c448bf012af002ef5ce2fe0e
29
30 diff --git a/net-mail/mailutils/files/mailutils-2.99.98-readline-6.3.patch b/net-mail/mailutils/files/mailutils-2.99.98-readline-6.3.patch
31 deleted file mode 100644
32 index de9a487aaaf..00000000000
33 --- a/net-mail/mailutils/files/mailutils-2.99.98-readline-6.3.patch
34 +++ /dev/null
35 @@ -1,39 +0,0 @@
36 -https://bugs.gentoo.org/503954
37 -
38 -fix build w/readline-6.3
39 -
40 -patch by Martin von Gagern
41 -
42 ---- mailutils-2.99.98/mu/shell.c
43 -+++ mailutils-2.99.98/mu/shell.c
44 -@@ -336,7 +336,7 @@ mutool_initialize_readline (const char *
45 - {
46 - /* Allow conditional parsing of the ~/.inputrc file. */
47 - rl_readline_name = (char *) name;
48 -- rl_attempted_completion_function = (CPPFunction *) shell_completion;
49 -+ rl_attempted_completion_function = shell_completion;
50 - rl_getc_function = _shell_getc;
51 - read_history (get_history_file_name ());
52 - }
53 ---- mailutils-2.99.98/mail/mailline.c
54 -+++ mailutils-2.99.98/mail/mailline.c
55 -@@ -93,7 +93,7 @@ ml_readline_init ()
56 -
57 - #ifdef WITH_READLINE
58 - rl_readline_name = "mail";
59 -- rl_attempted_completion_function = (CPPFunction*)ml_command_completion;
60 -+ rl_attempted_completion_function = ml_command_completion;
61 - rl_getc_function = ml_getc;
62 - #endif
63 - #ifdef HAVE_SIGACTION
64 ---- mailutils-2.99.98/examples/nntpclient.c
65 -+++ mailutils-2.99.98/examples/nntpclient.c
66 -@@ -163,7 +163,7 @@ initialize_readline ()
67 - rl_readline_name = (char *) "nntp";
68 -
69 - /* Tell the completer that we want a crack first. */
70 -- rl_attempted_completion_function = (CPPFunction *) nntp_completion;
71 -+ rl_attempted_completion_function = nntp_completion;
72 - }
73 -
74 - /* Attempt to complete on the contents of TEXT. START and END bound the
75
76 diff --git a/net-mail/mailutils/mailutils-3.1.1.ebuild b/net-mail/mailutils/mailutils-3.1.1.ebuild
77 deleted file mode 100644
78 index b07d4d2835e..00000000000
79 --- a/net-mail/mailutils/mailutils-3.1.1.ebuild
80 +++ /dev/null
81 @@ -1,134 +0,0 @@
82 -# Copyright 1999-2018 Gentoo Authors
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -EAPI=6
86 -PYTHON_COMPAT=( python2_7 )
87 -
88 -inherit autotools eutils flag-o-matic python-single-r1 toolchain-funcs
89 -
90 -DESCRIPTION="A useful collection of mail servers, clients, and filters"
91 -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
92 -#SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
93 -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
94 -
95 -LICENSE="GPL-2 LGPL-2.1"
96 -SLOT="0"
97 -KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~s390 x86 ~ppc-macos ~x64-macos ~x86-macos"
98 -IUSE="berkdb bidi +clients gdbm sasl guile ipv6 kerberos kyotocabinet ldap \
99 - mysql nls pam postgres python servers ssl static-libs +threads tcpd \
100 - tokyocabinet"
101 -
102 -RDEPEND="!mail-client/nmh
103 - !mail-filter/libsieve
104 - !mail-client/mailx
105 - !mail-client/nail
106 - sys-libs/ncurses:=
107 - sys-libs/readline:=
108 - dev-libs/libltdl:0
109 - virtual/mta
110 - berkdb? ( sys-libs/db:= )
111 - bidi? ( dev-libs/fribidi )
112 - gdbm? ( sys-libs/gdbm )
113 - guile? ( dev-scheme/guile:= )
114 - kerberos? ( virtual/krb5 )
115 - kyotocabinet? ( dev-db/kyotocabinet )
116 - ldap? ( net-nds/openldap )
117 - mysql? ( virtual/mysql )
118 - nls? ( sys-devel/gettext )
119 - pam? ( virtual/pam )
120 - postgres? ( dev-db/postgresql:= )
121 - python? ( ${PYTHON_DEPS} )
122 - sasl? ( virtual/gsasl )
123 - ssl? ( net-libs/gnutls:= )
124 - tcpd? ( sys-apps/tcp-wrappers )
125 - tokyocabinet? ( dev-db/tokyocabinet )"
126 -
127 -DEPEND="${RDEPEND}
128 - virtual/pkgconfig"
129 -
130 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
131 - servers? ( tcpd )"
132 -
133 -pkg_setup() {
134 - use python && python-single-r1_pkg_setup
135 -}
136 -
137 -src_prepare() {
138 - # Disable bytecompilation of Python modules.
139 - echo "#!/bin/sh" > build-aux/py-compile
140 - eapply "${FILESDIR}/${PN}-2.99.98-readline-6.3.patch" #503954
141 - # bug 567976
142 - sed -i -e /AM_GNU_GETTEXT_VERSION/s/0.18/0.19/ configure.ac || die
143 - # add missing tests so that make check doesn't fail
144 - cp "${FILESDIR}"/{hdr,nohdr,twomsg,weed}.at "${S}"/readmsg/tests || die
145 - if use mysql; then
146 - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
147 - sql/Makefile.am || die
148 - fi
149 - eapply_user
150 - eautoreconf
151 -}
152 -
153 -src_configure() {
154 - append-flags -fno-strict-aliasing
155 -
156 - # maildir is the Gentoo default
157 - econf MU_DEFAULT_SCHEME=maildir \
158 - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
159 - $(use_with berkdb berkeley-db) \
160 - $(use_with bidi fribidi) \
161 - $(use_enable ipv6) \
162 - $(use_with gdbm) \
163 - $(use_with sasl gsasl) \
164 - $(use_with guile) \
165 - $(use_with kerberos gssapi) \
166 - $(use_with ldap) \
167 - $(use_with mysql) \
168 - $(use_enable nls) \
169 - $(use_enable pam) \
170 - $(use_with postgres) \
171 - $(use_enable python) \
172 - $(use_with ssl gnutls) \
173 - $(use_enable static-libs static) \
174 - $(use_enable threads pthread) \
175 - $(use_with tokyocabinet) \
176 - $(use_with kyotocabinet) \
177 - $(use_with tcpd tcp-wrappers) \
178 - $(use_enable servers build-servers) \
179 - $(use_enable clients build-clients) \
180 - --with-mail-spool=/var/spool/mail \
181 - --with-readline \
182 - --enable-sendmail \
183 - --disable-debug \
184 - --disable-rpath
185 -}
186 -
187 -src_install() {
188 - emake DESTDIR="${D}" install
189 -
190 - insinto /etc
191 - doins "${FILESDIR}/mailutils.rc"
192 - keepdir /etc/mailutils.d/
193 - insinto /etc/mailutils.d
194 - doins "${FILESDIR}/mail"
195 -
196 - if use python; then
197 - python_optimize
198 - if use static-libs; then
199 - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die
200 - fi
201 - fi
202 -
203 - if use servers; then
204 - newinitd "${FILESDIR}"/imap4d.initd imap4d
205 - newinitd "${FILESDIR}"/pop3d.initd pop3d
206 - newinitd "${FILESDIR}"/comsatd.initd comsatd
207 - fi
208 -
209 - dodoc AUTHORS ChangeLog NEWS README* THANKS TODO
210 -
211 - # compatibility link
212 - use clients && dosym /usr/bin/mail /bin/mail
213 -
214 - use static-libs || find "${D}" -name "*.la" -delete
215 -}
216
217 diff --git a/net-mail/mailutils/mailutils-3.4-r1.ebuild b/net-mail/mailutils/mailutils-3.4-r1.ebuild
218 deleted file mode 100644
219 index 5139756cb96..00000000000
220 --- a/net-mail/mailutils/mailutils-3.4-r1.ebuild
221 +++ /dev/null
222 @@ -1,133 +0,0 @@
223 -# Copyright 1999-2018 Gentoo Authors
224 -# Distributed under the terms of the GNU General Public License v2
225 -
226 -EAPI=6
227 -PYTHON_COMPAT=( python2_7 )
228 -
229 -inherit autotools eutils flag-o-matic python-single-r1 toolchain-funcs
230 -
231 -DESCRIPTION="A useful collection of mail servers, clients, and filters"
232 -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
233 -#SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
234 -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
235 -
236 -LICENSE="GPL-2 LGPL-2.1"
237 -SLOT="0"
238 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~ppc-macos ~x64-macos ~x86-macos"
239 -IUSE="berkdb bidi +clients gdbm sasl guile ipv6 kerberos kyotocabinet ldap \
240 - mysql nls pam postgres python servers ssl static-libs +threads tcpd \
241 - tokyocabinet"
242 -
243 -RDEPEND="!mail-client/nmh
244 - !mail-filter/libsieve
245 - !mail-client/mailx
246 - !mail-client/nail
247 - sys-libs/ncurses:=
248 - sys-libs/readline:=
249 - dev-libs/libltdl:0
250 - virtual/mta
251 - berkdb? ( sys-libs/db:= )
252 - bidi? ( dev-libs/fribidi )
253 - gdbm? ( sys-libs/gdbm )
254 - guile? ( dev-scheme/guile:12/22 )
255 - kerberos? ( virtual/krb5 )
256 - kyotocabinet? ( dev-db/kyotocabinet )
257 - ldap? ( net-nds/openldap )
258 - mysql? ( virtual/mysql )
259 - nls? ( sys-devel/gettext )
260 - pam? ( virtual/pam )
261 - postgres? ( dev-db/postgresql:= )
262 - python? ( ${PYTHON_DEPS} )
263 - sasl? ( virtual/gsasl )
264 - ssl? ( net-libs/gnutls:= )
265 - tcpd? ( sys-apps/tcp-wrappers )
266 - tokyocabinet? ( dev-db/tokyocabinet )"
267 -
268 -DEPEND="${RDEPEND}
269 - virtual/pkgconfig"
270 -
271 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
272 - servers? ( tcpd )"
273 -
274 -pkg_setup() {
275 - use python && python-single-r1_pkg_setup
276 -}
277 -
278 -src_prepare() {
279 - # Disable bytecompilation of Python modules.
280 - echo "#!/bin/sh" > build-aux/py-compile
281 - # add missing tests so that make check doesn't fail
282 - cp "${FILESDIR}"/{hdr,nohdr,twomsg,weed}.at "${S}"/readmsg/tests || die
283 - if use mysql; then
284 - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
285 - sql/Makefile.am || die
286 - fi
287 - eapply "${FILESDIR}/${P}-MH-testsuite.patch"
288 - eapply_user
289 - eautoreconf
290 -}
291 -
292 -src_configure() {
293 - append-flags -fno-strict-aliasing
294 -
295 - # maildir is the Gentoo default
296 - econf MU_DEFAULT_SCHEME=maildir \
297 - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
298 - $(use_with berkdb berkeley-db) \
299 - $(use_with bidi fribidi) \
300 - $(use_enable ipv6) \
301 - $(use_with gdbm) \
302 - $(use_with sasl gsasl) \
303 - $(use_with guile) \
304 - $(use_with kerberos gssapi) \
305 - $(use_with ldap) \
306 - $(use_with mysql) \
307 - $(use_enable nls) \
308 - $(use_enable pam) \
309 - $(use_with postgres) \
310 - $(use_enable python) \
311 - $(use_with ssl gnutls) \
312 - $(use_enable static-libs static) \
313 - $(use_enable threads pthread) \
314 - $(use_with tokyocabinet) \
315 - $(use_with kyotocabinet) \
316 - $(use_with tcpd tcp-wrappers) \
317 - $(use_enable servers build-servers) \
318 - $(use_enable clients build-clients) \
319 - --with-mail-spool=/var/spool/mail \
320 - --with-readline \
321 - --enable-sendmail \
322 - --disable-debug \
323 - --disable-rpath
324 -}
325 -
326 -src_install() {
327 - emake DESTDIR="${D}" install
328 -
329 - insinto /etc
330 - # bug 613112
331 - newins "${FILESDIR}/mailutils.rc" mailutils.conf
332 - keepdir /etc/mailutils.d/
333 - insinto /etc/mailutils.d
334 - doins "${FILESDIR}/mail"
335 -
336 - if use python; then
337 - python_optimize
338 - if use static-libs; then
339 - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die
340 - fi
341 - fi
342 -
343 - if use servers; then
344 - newinitd "${FILESDIR}"/imap4d.initd imap4d
345 - newinitd "${FILESDIR}"/pop3d.initd pop3d
346 - newinitd "${FILESDIR}"/comsatd.initd comsatd
347 - fi
348 -
349 - dodoc AUTHORS ChangeLog NEWS README* THANKS TODO
350 -
351 - # compatibility link
352 - use clients && dosym /usr/bin/mail /bin/mail
353 -
354 - use static-libs || find "${D}" -name "*.la" -delete
355 -}
356
357 diff --git a/net-mail/mailutils/mailutils-3.4.ebuild b/net-mail/mailutils/mailutils-3.4.ebuild
358 deleted file mode 100644
359 index bb0e216c931..00000000000
360 --- a/net-mail/mailutils/mailutils-3.4.ebuild
361 +++ /dev/null
362 @@ -1,132 +0,0 @@
363 -# Copyright 1999-2018 Gentoo Authors
364 -# Distributed under the terms of the GNU General Public License v2
365 -
366 -EAPI=6
367 -PYTHON_COMPAT=( python2_7 )
368 -
369 -inherit autotools eutils flag-o-matic python-single-r1 toolchain-funcs
370 -
371 -DESCRIPTION="A useful collection of mail servers, clients, and filters"
372 -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
373 -#SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
374 -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
375 -
376 -LICENSE="GPL-2 LGPL-2.1"
377 -SLOT="0"
378 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~ppc-macos ~x64-macos ~x86-macos"
379 -IUSE="berkdb bidi +clients gdbm sasl guile ipv6 kerberos kyotocabinet ldap \
380 - mysql nls pam postgres python servers ssl static-libs +threads tcpd \
381 - tokyocabinet"
382 -
383 -RDEPEND="!mail-client/nmh
384 - !mail-filter/libsieve
385 - !mail-client/mailx
386 - !mail-client/nail
387 - sys-libs/ncurses:=
388 - sys-libs/readline:=
389 - dev-libs/libltdl:0
390 - virtual/mta
391 - berkdb? ( sys-libs/db:= )
392 - bidi? ( dev-libs/fribidi )
393 - gdbm? ( sys-libs/gdbm )
394 - guile? ( dev-scheme/guile:= )
395 - kerberos? ( virtual/krb5 )
396 - kyotocabinet? ( dev-db/kyotocabinet )
397 - ldap? ( net-nds/openldap )
398 - mysql? ( virtual/mysql )
399 - nls? ( sys-devel/gettext )
400 - pam? ( virtual/pam )
401 - postgres? ( dev-db/postgresql:= )
402 - python? ( ${PYTHON_DEPS} )
403 - sasl? ( virtual/gsasl )
404 - ssl? ( net-libs/gnutls:= )
405 - tcpd? ( sys-apps/tcp-wrappers )
406 - tokyocabinet? ( dev-db/tokyocabinet )"
407 -
408 -DEPEND="${RDEPEND}
409 - virtual/pkgconfig"
410 -
411 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
412 - servers? ( tcpd )"
413 -
414 -pkg_setup() {
415 - use python && python-single-r1_pkg_setup
416 -}
417 -
418 -src_prepare() {
419 - # Disable bytecompilation of Python modules.
420 - echo "#!/bin/sh" > build-aux/py-compile
421 - # add missing tests so that make check doesn't fail
422 - cp "${FILESDIR}"/{hdr,nohdr,twomsg,weed}.at "${S}"/readmsg/tests || die
423 - if use mysql; then
424 - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
425 - sql/Makefile.am || die
426 - fi
427 - eapply_user
428 - eautoreconf
429 -}
430 -
431 -src_configure() {
432 - append-flags -fno-strict-aliasing
433 -
434 - # maildir is the Gentoo default
435 - econf MU_DEFAULT_SCHEME=maildir \
436 - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
437 - $(use_with berkdb berkeley-db) \
438 - $(use_with bidi fribidi) \
439 - $(use_enable ipv6) \
440 - $(use_with gdbm) \
441 - $(use_with sasl gsasl) \
442 - $(use_with guile) \
443 - $(use_with kerberos gssapi) \
444 - $(use_with ldap) \
445 - $(use_with mysql) \
446 - $(use_enable nls) \
447 - $(use_enable pam) \
448 - $(use_with postgres) \
449 - $(use_enable python) \
450 - $(use_with ssl gnutls) \
451 - $(use_enable static-libs static) \
452 - $(use_enable threads pthread) \
453 - $(use_with tokyocabinet) \
454 - $(use_with kyotocabinet) \
455 - $(use_with tcpd tcp-wrappers) \
456 - $(use_enable servers build-servers) \
457 - $(use_enable clients build-clients) \
458 - --with-mail-spool=/var/spool/mail \
459 - --with-readline \
460 - --enable-sendmail \
461 - --disable-debug \
462 - --disable-rpath
463 -}
464 -
465 -src_install() {
466 - emake DESTDIR="${D}" install
467 -
468 - insinto /etc
469 - # bug 613112
470 - newins "${FILESDIR}/mailutils.rc" mailutils.conf
471 - keepdir /etc/mailutils.d/
472 - insinto /etc/mailutils.d
473 - doins "${FILESDIR}/mail"
474 -
475 - if use python; then
476 - python_optimize
477 - if use static-libs; then
478 - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die
479 - fi
480 - fi
481 -
482 - if use servers; then
483 - newinitd "${FILESDIR}"/imap4d.initd imap4d
484 - newinitd "${FILESDIR}"/pop3d.initd pop3d
485 - newinitd "${FILESDIR}"/comsatd.initd comsatd
486 - fi
487 -
488 - dodoc AUTHORS ChangeLog NEWS README* THANKS TODO
489 -
490 - # compatibility link
491 - use clients && dosym /usr/bin/mail /bin/mail
492 -
493 - use static-libs || find "${D}" -name "*.la" -delete
494 -}