Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mailutils/, net-mail/mailutils/files/
Date: Mon, 31 May 2021 21:00:36
Message-Id: 1622494612.4f8e0811558ed546c08cc8066df399333584ca6c.mgorny@gentoo
1 commit: 4f8e0811558ed546c08cc8066df399333584ca6c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 31 20:56:52 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 31 20:56:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8e0811
7
8 net-mail/mailutils: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-mail/mailutils/Manifest | 3 -
13 .../files/mailutils-3.6-underlinking.patch | 11 --
14 .../mailutils/files/mailutils-3.8-fix-tests.patch | 48 -------
15 .../mailutils/files/mailutils-3.8-fno-common.patch | 22 ----
16 .../files/mailutils-3.9-python-config.patch | 27 ----
17 .../files/mailutils-3.9-underlinking.patch | 11 --
18 net-mail/mailutils/mailutils-3.11.1.ebuild | 138 --------------------
19 net-mail/mailutils/mailutils-3.12.ebuild | 139 --------------------
20 net-mail/mailutils/mailutils-3.8.ebuild | 141 ---------------------
21 net-mail/mailutils/mailutils-3.9.ebuild | 141 ---------------------
22 10 files changed, 681 deletions(-)
23
24 diff --git a/net-mail/mailutils/Manifest b/net-mail/mailutils/Manifest
25 index e516b435c71..69879191624 100644
26 --- a/net-mail/mailutils/Manifest
27 +++ b/net-mail/mailutils/Manifest
28 @@ -1,4 +1 @@
29 -DIST mailutils-3.11.1.tar.xz 3129416 BLAKE2B f7a13bd1c545b051d213656bea52d9df6409baffe8f1d9755826ef306cc5dc2433b9fd57ea56d5a64d299e8c4babc2dfee8b8f2ee8f1537519c0cb2a568a7717 SHA512 6a1f20d6bf9cda9c90d3bd07a4c23a52d78153a18e89b1cb69682b5efc6c450d7791d430855b47ed97e078e0ec175c4b2732317fd7115767ff01dc808f36145e
30 DIST mailutils-3.12.tar.xz 3134484 BLAKE2B eac7934e9332482adffa3d4b1574d89a65949644ca8dd14e507e9c5f268d485b97f4d61deadf34b2ddcae1b91deee93372e9ebd53c88a0c0092346a0d83fd67e SHA512 a7d681bc7a763b7f09b704c8a536ea1c2444c52ca736eca321ca72fd32e2e62c0e14687ba79654d9162d45189d0621b1c75c639b81e04a79bbf3b3c09b9cebd2
31 -DIST mailutils-3.8.tar.xz 2998596 BLAKE2B 4d09c7b5113129b3d2f3b113808d4460d025d4f0eec00dd1209a95f23abe97683b5d50cfe5229f1e5db48ddd6ca66c73fa6b0c1bfe03b324dbf40b6a26ff76f5 SHA512 4d081ae492beb0f9c1945541d63b52f155f11ca172abaedbe465955ac11097037f440e1aaed8d512cd3aab65f7792b755a7e4b9428a90ad7a833de87b1c4f1f9
32 -DIST mailutils-3.9.tar.xz 3075268 BLAKE2B 43ee5bf297951b3c894b467a46d3983dac3e115c02169da0ee2ccbc23f8b71d7439083093f4b0710f19c78f108df99dee3310f5f6adc5b7c1792a0a7be33aab6 SHA512 1eef9bebeeafbf974e54b87705444ee02b663a86e22442a9ec5db16ade38e6e9a3079ee8a8267393e97d6e9e477917617b2e1d57d3287ab19e4df73b66e5a8d4
33
34 diff --git a/net-mail/mailutils/files/mailutils-3.6-underlinking.patch b/net-mail/mailutils/files/mailutils-3.6-underlinking.patch
35 deleted file mode 100644
36 index 512a05f3a31..00000000000
37 --- a/net-mail/mailutils/files/mailutils-3.6-underlinking.patch
38 +++ /dev/null
39 @@ -1,11 +0,0 @@
40 ---- a/configure.ac 2019-02-26 17:11:29.398115222 +0300
41 -+++ b/configure.ac 2019-02-26 17:14:13.733899654 +0300
42 -@@ -985,7 +985,7 @@
43 - AC_CHECK_LIB(ldap, ldap_bind,[
44 - status_ldap=yes
45 - AC_DEFINE(WITH_LDAP, 1, [Define to 1 if you want to use -lldap])
46 -- MU_AUTHLIBS="$MU_AUTHLIBS -lldap"],
47 -+ MU_AUTHLIBS="$MU_AUTHLIBS -lldap -llber"],
48 - [status_ldap=no])
49 - fi
50 -
51
52 diff --git a/net-mail/mailutils/files/mailutils-3.8-fix-tests.patch b/net-mail/mailutils/files/mailutils-3.8-fix-tests.patch
53 deleted file mode 100644
54 index 90808d88322..00000000000
55 --- a/net-mail/mailutils/files/mailutils-3.8-fix-tests.patch
56 +++ /dev/null
57 @@ -1,48 +0,0 @@
58 -commit 2fe205b5e0b025200150c62581283e99598a80a6
59 -Author: Eray Aslan <eras@g.o>
60 -Date: Fri Nov 8 10:57:43 2019 +0300
61 -
62 - save mailboxes as mbox for make test
63 -
64 - when default mailbox scheme is chosen as maildir, mda tests fail with
65 - messages like:
66 -
67 - sed: read error on spool/root: Is a directory
68 -
69 - make sure we save the test mailboxes as mbox
70 -
71 - Signed-off-by: Eray Aslan <eras@g.o>
72 -
73 -diff --git a/mda/tests/forward.at b/mda/tests/forward.at
74 -index 96170ad6a..75a9d6966 100644
75 ---- a/mda/tests/forward.at
76 -+++ b/mda/tests/forward.at
77 -@@ -19,7 +19,7 @@ AT_KEYWORDS([maidag forward])
78 -
79 - m4_pushdef([TESTMDA_CONF],[cat > testmda.conf <<EOF
80 - mailbox {
81 -- mailbox-pattern "$(pwd)/spool/\${user}";
82 -+ mailbox-pattern "mbox:$(pwd)/spool/\${user}";
83 - }
84 -
85 - mailer {
86 -diff --git a/mda/tests/mda.at b/mda/tests/mda.at
87 -index 6623fb623..083e7c318 100644
88 ---- a/mda/tests/mda.at
89 -+++ b/mda/tests/mda.at
90 -@@ -16,7 +16,7 @@
91 -
92 - m4_pushdef([TESTMDA_CONF],[cat > testmda.conf <<EOF
93 - mailbox {
94 -- mailbox-pattern "$(pwd)/spool/\${user}";
95 -+ mailbox-pattern "mbox:$(pwd)/spool/\${user}";
96 - }
97 - EOF
98 - ])
99 -@@ -56,4 +56,4 @@ cat spool/root
100 -
101 - AT_CLEANUP
102 -
103 --m4_popdef([TESTMDA_CONF])
104 -\ No newline at end of file
105 -+m4_popdef([TESTMDA_CONF])
106
107 diff --git a/net-mail/mailutils/files/mailutils-3.8-fno-common.patch b/net-mail/mailutils/files/mailutils-3.8-fno-common.patch
108 deleted file mode 100644
109 index c7aa72df10e..00000000000
110 --- a/net-mail/mailutils/files/mailutils-3.8-fno-common.patch
111 +++ /dev/null
112 @@ -1,22 +0,0 @@
113 ---- a/imap4d/imap4d.h
114 -+++ b/imap4d/imap4d.h
115 -@@ -229,8 +229,6 @@ extern struct mu_tls_config global_tls_conf;
116 - extern int test_mode;
117 - extern int silent_expunge;
118 -
119 --int tls_available;
120 --
121 - /* Input functions */
122 - extern mu_stream_t iostream;
123 - extern int io_untagged_response (int, const char *, ...) MU_PRINTFLIKE(2,3);
124 ---- a/lib/tcpwrap.h
125 -+++ b/lib/tcpwrap.h
126 -@@ -17,7 +17,7 @@
127 - #include <mailutils/types.h>
128 -
129 - extern int mu_tcp_wrapper_enable;
130 --const char *mu_tcp_wrapper_daemon;
131 -+extern const char *mu_tcp_wrapper_daemon;
132 - extern int mu_tcpwrapper_access (int fd);
133 - extern void mu_tcpwrapper_cfg_init (void);
134 - extern int mu_tcp_wrapper_prefork (int fd,
135
136 diff --git a/net-mail/mailutils/files/mailutils-3.9-python-config.patch b/net-mail/mailutils/files/mailutils-3.9-python-config.patch
137 deleted file mode 100644
138 index 5a2ecdd2aec..00000000000
139 --- a/net-mail/mailutils/files/mailutils-3.9-python-config.patch
140 +++ /dev/null
141 @@ -1,27 +0,0 @@
142 -From 5e3463bf6b5deb8ab5c6dffc6792a0a9a3bd7890 Mon Sep 17 00:00:00 2001
143 -From: Jordi Mallach <jordi@××××××.org>
144 -Date: Sun, 22 Mar 2020 19:58:31 +0100
145 -Subject: Call $PYTHON_CONFIG instead of pyhon-config.
146 -
147 ----
148 - configure.ac | 4 ++--
149 - 1 file changed, 2 insertions(+), 2 deletions(-)
150 -
151 -diff --git a/configure.ac b/configure.ac
152 -index 6946a1aa6..4c089555a 100644
153 ---- a/configure.ac
154 -+++ b/configure.ac
155 -@@ -1218,8 +1218,8 @@ if test "$status_python" = yes; then
156 - esac
157 -
158 - # See https://docs.python.org/dev/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
159 -- PYTHON_LIBS=`python-config --libs --embed 2>/dev/null` || \
160 -- PYTHON_LIBS=`python-config --libs`
161 -+ PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed 2>/dev/null` || \
162 -+ PYTHON_LIBS=`$PYTHON_CONFIG --libs`
163 - PYTHON_INCLUDES=`$PYTHON_CONFIG --includes`
164 - else
165 - status_python=no
166 ---
167 -cgit v1.2.1
168 -
169
170 diff --git a/net-mail/mailutils/files/mailutils-3.9-underlinking.patch b/net-mail/mailutils/files/mailutils-3.9-underlinking.patch
171 deleted file mode 100644
172 index a7992aff946..00000000000
173 --- a/net-mail/mailutils/files/mailutils-3.9-underlinking.patch
174 +++ /dev/null
175 @@ -1,11 +0,0 @@
176 ---- a/configure.ac 2020-03-23 14:09:46.662589298 +0300
177 -+++ b/configure.ac 2020-03-23 14:12:36.191030873 +0300
178 -@@ -958,7 +958,7 @@
179 - AC_CHECK_LIB(ldap, ldap_bind,[
180 - status_ldap=yes
181 - AC_DEFINE(WITH_LDAP, 1, [Define to 1 if you want to use -lldap])
182 -- MU_AUTHLIBS="${MU_AUTHLIBS}${MU_AUTHLIBS:+ }-lldap"],
183 -+ MU_AUTHLIBS="${MU_AUTHLIBS}${MU_AUTHLIBS:+ }-lldap -llber"],
184 - [status_ldap=no])
185 - fi
186 -
187
188 diff --git a/net-mail/mailutils/mailutils-3.11.1.ebuild b/net-mail/mailutils/mailutils-3.11.1.ebuild
189 deleted file mode 100644
190 index 09da4e0a5f0..00000000000
191 --- a/net-mail/mailutils/mailutils-3.11.1.ebuild
192 +++ /dev/null
193 @@ -1,138 +0,0 @@
194 -# Copyright 1999-2021 Gentoo Authors
195 -# Distributed under the terms of the GNU General Public License v2
196 -
197 -EAPI=7
198 -PYTHON_COMPAT=( python3_{7,8,9} )
199 -
200 -inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs
201 -
202 -DESCRIPTION="A useful collection of mail servers, clients, and filters"
203 -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
204 -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
205 -
206 -LICENSE="GPL-2 LGPL-2.1"
207 -SLOT="0"
208 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos"
209 -IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \
210 - ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \
211 - tokyocabinet"
212 -
213 -RDEPEND="!mail-client/nmh
214 - !mail-filter/libsieve
215 - !mail-client/mailx
216 - !mail-client/nail
217 - sys-libs/ncurses:=
218 - sys-libs/readline:=
219 - dev-libs/libltdl:0
220 - virtual/mta
221 - berkdb? ( sys-libs/db:= )
222 - bidi? ( dev-libs/fribidi )
223 - emacs? ( >=app-editors/emacs-23.1:* )
224 - gdbm? ( sys-libs/gdbm:= )
225 - guile? ( dev-scheme/guile:12/2.2-1 )
226 - kerberos? ( virtual/krb5 )
227 - kyotocabinet? ( dev-db/kyotocabinet )
228 - ldap? ( net-nds/openldap )
229 - mysql? ( dev-db/mysql-connector-c )
230 - nls? ( sys-devel/gettext )
231 - pam? ( sys-libs/pam )
232 - postgres? ( dev-db/postgresql:= )
233 - python? ( ${PYTHON_DEPS} )
234 - sasl? ( virtual/gsasl )
235 - servers? ( virtual/libiconv dev-libs/libunistring:= )
236 - ssl? ( net-libs/gnutls:= )
237 - tcpd? ( sys-apps/tcp-wrappers )
238 - tokyocabinet? ( dev-db/tokyocabinet )"
239 -
240 -DEPEND="${RDEPEND}
241 - virtual/pkgconfig"
242 -
243 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
244 - servers? ( tcpd ldap )"
245 -
246 -DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO )
247 -PATCHES=(
248 - "${FILESDIR}"/${PN}-3.5-add-include.patch
249 -)
250 -
251 -pkg_setup() {
252 - use python && python-single-r1_pkg_setup
253 -}
254 -
255 -src_prepare() {
256 - default
257 - if use mysql; then
258 - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
259 - sql/Makefile.am || die
260 - fi
261 - eautoreconf
262 -}
263 -
264 -src_configure() {
265 - append-flags -fno-strict-aliasing
266 -
267 - # maildir is the Gentoo default
268 - econf MU_DEFAULT_SCHEME=maildir \
269 - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
270 - $(use_with berkdb berkeley-db) \
271 - $(use_with bidi fribidi) \
272 - $(use_enable ipv6) \
273 - $(use_with gdbm) \
274 - $(use_with sasl gsasl) \
275 - $(use_with guile) \
276 - $(use_with kerberos gssapi) \
277 - $(use_with ldap) \
278 - $(use_with mysql) \
279 - $(use_enable nls) \
280 - $(use_enable pam) \
281 - $(use_with postgres) \
282 - $(use_enable python) \
283 - $(use_with ssl gnutls) \
284 - $(use_enable static-libs static) \
285 - $(use_enable threads pthread) \
286 - $(use_with tokyocabinet) \
287 - $(use_with kyotocabinet) \
288 - $(use_with tcpd tcp-wrappers) \
289 - $(use_enable servers build-servers) \
290 - $(use_with servers unistring ) \
291 - $(use_enable clients build-clients) \
292 - EMACS=$(usex emacs emacs no) \
293 - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
294 - --with-mail-spool=/var/spool/mail \
295 - --with-readline \
296 - --enable-sendmail \
297 - --disable-debug
298 -}
299 -
300 -src_install() {
301 - default
302 -
303 - insinto /etc
304 - # bug 613112
305 - newins "${FILESDIR}/mailutils.rc" mailutils.conf
306 - keepdir /etc/mailutils.d/
307 - insinto /etc/mailutils.d
308 - doins "${FILESDIR}/mail"
309 -
310 - if use python; then
311 - python_optimize
312 - if use static-libs; then
313 - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die
314 - fi
315 - fi
316 -
317 - if use servers; then
318 - newinitd "${FILESDIR}"/imap4d.initd imap4d
319 - newinitd "${FILESDIR}"/pop3d.initd pop3d
320 - newinitd "${FILESDIR}"/comsatd.initd comsatd
321 - fi
322 -
323 - # compatibility link
324 - if use clients && use split-usr; then
325 - dosym ../usr/bin/mail /bin/mail
326 - fi
327 -
328 - if ! use static-libs; then
329 - find "${D}" -name "*.la" -delete || die
330 - fi
331 -}
332
333 diff --git a/net-mail/mailutils/mailutils-3.12.ebuild b/net-mail/mailutils/mailutils-3.12.ebuild
334 deleted file mode 100644
335 index 3c4f06c8eef..00000000000
336 --- a/net-mail/mailutils/mailutils-3.12.ebuild
337 +++ /dev/null
338 @@ -1,139 +0,0 @@
339 -# Copyright 1999-2021 Gentoo Authors
340 -# Distributed under the terms of the GNU General Public License v2
341 -
342 -EAPI=7
343 -PYTHON_COMPAT=( python3_{7,8,9} )
344 -
345 -inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs
346 -
347 -DESCRIPTION="A useful collection of mail servers, clients, and filters"
348 -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
349 -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
350 -
351 -LICENSE="GPL-2 LGPL-2.1"
352 -SLOT="0"
353 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos"
354 -IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \
355 - ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \
356 - tokyocabinet"
357 -
358 -RDEPEND="!mail-client/nmh
359 - !mail-filter/libsieve
360 - !mail-client/mailx
361 - !mail-client/nail
362 - sys-libs/ncurses:=
363 - sys-libs/readline:=
364 - dev-libs/libltdl:0
365 - virtual/mta
366 - berkdb? ( sys-libs/db:= )
367 - bidi? ( dev-libs/fribidi )
368 - emacs? ( >=app-editors/emacs-23.1:* )
369 - gdbm? ( sys-libs/gdbm:= )
370 - guile? ( dev-scheme/guile:12/2.2-1 )
371 - kerberos? ( virtual/krb5 )
372 - kyotocabinet? ( dev-db/kyotocabinet )
373 - ldap? ( net-nds/openldap )
374 - mysql? ( dev-db/mysql-connector-c )
375 - nls? ( sys-devel/gettext )
376 - pam? ( sys-libs/pam )
377 - postgres? ( dev-db/postgresql:= )
378 - python? ( ${PYTHON_DEPS} )
379 - sasl? ( virtual/gsasl )
380 - servers? ( virtual/libiconv dev-libs/libunistring:= )
381 - ssl? ( net-libs/gnutls:= )
382 - tcpd? ( sys-apps/tcp-wrappers )
383 - tokyocabinet? ( dev-db/tokyocabinet )"
384 -
385 -DEPEND="${RDEPEND}
386 - virtual/pkgconfig"
387 -
388 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
389 - servers? ( tcpd ldap )"
390 -
391 -DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO )
392 -PATCHES=(
393 - "${FILESDIR}"/${PN}-3.5-add-include.patch
394 -)
395 -
396 -pkg_setup() {
397 - use python && python-single-r1_pkg_setup
398 -}
399 -
400 -src_prepare() {
401 - default
402 - if use mysql; then
403 - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
404 - sql/Makefile.am || die
405 - fi
406 - eautoreconf
407 -}
408 -
409 -src_configure() {
410 - append-flags -fno-strict-aliasing
411 -
412 - # maildir is the Gentoo default
413 - econf \
414 - MU_DEFAULT_SCHEME=maildir \
415 - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
416 - $(use_with berkdb berkeley-db) \
417 - $(use_with bidi fribidi) \
418 - $(use_enable ipv6) \
419 - $(use_with gdbm) \
420 - $(use_with sasl gsasl) \
421 - $(use_with guile) \
422 - $(use_with kerberos gssapi) \
423 - $(use_with ldap) \
424 - $(use_with mysql) \
425 - $(use_enable nls) \
426 - $(use_enable pam) \
427 - $(use_with postgres) \
428 - $(use_enable python) \
429 - $(use_with ssl gnutls) \
430 - $(use_enable static-libs static) \
431 - $(use_enable threads pthread) \
432 - $(use_with tokyocabinet) \
433 - $(use_with kyotocabinet) \
434 - $(use_with tcpd tcp-wrappers) \
435 - $(use_enable servers build-servers) \
436 - $(use_with servers unistring ) \
437 - $(use_enable clients build-clients) \
438 - EMACS=$(usex emacs emacs no) \
439 - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
440 - --with-mail-spool=/var/spool/mail \
441 - --with-readline \
442 - --enable-sendmail \
443 - --disable-debug
444 -}
445 -
446 -src_install() {
447 - default
448 -
449 - insinto /etc
450 - # bug 613112
451 - newins "${FILESDIR}/mailutils.rc" mailutils.conf
452 - keepdir /etc/mailutils.d/
453 - insinto /etc/mailutils.d
454 - doins "${FILESDIR}/mail"
455 -
456 - if use python; then
457 - python_optimize
458 - if use static-libs; then
459 - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die
460 - fi
461 - fi
462 -
463 - if use servers; then
464 - newinitd "${FILESDIR}"/imap4d.initd imap4d
465 - newinitd "${FILESDIR}"/pop3d.initd pop3d
466 - newinitd "${FILESDIR}"/comsatd.initd comsatd
467 - fi
468 -
469 - # compatibility link
470 - if use clients && use split-usr; then
471 - dosym ../usr/bin/mail /bin/mail
472 - fi
473 -
474 - if ! use static-libs; then
475 - find "${D}" -name "*.la" -delete || die
476 - fi
477 -}
478
479 diff --git a/net-mail/mailutils/mailutils-3.8.ebuild b/net-mail/mailutils/mailutils-3.8.ebuild
480 deleted file mode 100644
481 index 6aed9177e6c..00000000000
482 --- a/net-mail/mailutils/mailutils-3.8.ebuild
483 +++ /dev/null
484 @@ -1,141 +0,0 @@
485 -# Copyright 1999-2021 Gentoo Authors
486 -# Distributed under the terms of the GNU General Public License v2
487 -
488 -EAPI=7
489 -PYTHON_COMPAT=( python3_7 )
490 -
491 -inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs
492 -
493 -DESCRIPTION="A useful collection of mail servers, clients, and filters"
494 -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
495 -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
496 -
497 -LICENSE="GPL-2 LGPL-2.1"
498 -SLOT="0"
499 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~ppc-macos ~x64-macos"
500 -IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \
501 - ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \
502 - tokyocabinet"
503 -
504 -RDEPEND="!mail-client/nmh
505 - !mail-filter/libsieve
506 - !mail-client/mailx
507 - !mail-client/nail
508 - sys-libs/ncurses:=
509 - sys-libs/readline:=
510 - dev-libs/libltdl:0
511 - virtual/mta
512 - berkdb? ( sys-libs/db:= )
513 - bidi? ( dev-libs/fribidi )
514 - emacs? ( >=app-editors/emacs-23.1:* )
515 - gdbm? ( sys-libs/gdbm )
516 - guile? ( dev-scheme/guile:12/2.2-1 )
517 - kerberos? ( virtual/krb5 )
518 - kyotocabinet? ( dev-db/kyotocabinet )
519 - ldap? ( net-nds/openldap )
520 - mysql? ( dev-db/mysql-connector-c )
521 - nls? ( sys-devel/gettext )
522 - pam? ( sys-libs/pam )
523 - postgres? ( dev-db/postgresql:= )
524 - python? ( ${PYTHON_DEPS} )
525 - sasl? ( virtual/gsasl )
526 - servers? ( virtual/libiconv dev-libs/libunistring:= )
527 - ssl? ( net-libs/gnutls:= )
528 - tcpd? ( sys-apps/tcp-wrappers )
529 - tokyocabinet? ( dev-db/tokyocabinet )"
530 -
531 -DEPEND="${RDEPEND}
532 - virtual/pkgconfig"
533 -
534 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
535 - servers? ( tcpd ldap )"
536 -
537 -DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO )
538 -PATCHES=(
539 - "${FILESDIR}"/${PN}-3.5-add-include.patch
540 - "${FILESDIR}"/${PN}-3.6-underlinking.patch
541 - "${FILESDIR}"/${PN}-3.8-fix-tests.patch
542 - "${FILESDIR}"/${PN}-3.8-fno-common.patch
543 -)
544 -
545 -pkg_setup() {
546 - use python && python-single-r1_pkg_setup
547 -}
548 -
549 -src_prepare() {
550 - default
551 - if use mysql; then
552 - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
553 - sql/Makefile.am || die
554 - fi
555 - eautoreconf
556 -}
557 -
558 -src_configure() {
559 - append-flags -fno-strict-aliasing
560 -
561 - # maildir is the Gentoo default
562 - econf MU_DEFAULT_SCHEME=maildir \
563 - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
564 - $(use_with berkdb berkeley-db) \
565 - $(use_with bidi fribidi) \
566 - $(use_enable ipv6) \
567 - $(use_with gdbm) \
568 - $(use_with sasl gsasl) \
569 - $(use_with guile) \
570 - $(use_with kerberos gssapi) \
571 - $(use_with ldap) \
572 - $(use_with mysql) \
573 - $(use_enable nls) \
574 - $(use_enable pam) \
575 - $(use_with postgres) \
576 - $(use_enable python) \
577 - $(use_with ssl gnutls) \
578 - $(use_enable static-libs static) \
579 - $(use_enable threads pthread) \
580 - $(use_with tokyocabinet) \
581 - $(use_with kyotocabinet) \
582 - $(use_with tcpd tcp-wrappers) \
583 - $(use_enable servers build-servers) \
584 - $(use_with servers unistring ) \
585 - $(use_enable clients build-clients) \
586 - EMACS=$(usex emacs emacs no) \
587 - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
588 - --with-mail-spool=/var/spool/mail \
589 - --with-readline \
590 - --enable-sendmail \
591 - --disable-debug
592 -}
593 -
594 -src_install() {
595 - default
596 -
597 - insinto /etc
598 - # bug 613112
599 - newins "${FILESDIR}/mailutils.rc" mailutils.conf
600 - keepdir /etc/mailutils.d/
601 - insinto /etc/mailutils.d
602 - doins "${FILESDIR}/mail"
603 -
604 - if use python; then
605 - python_optimize
606 - if use static-libs; then
607 - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die
608 - fi
609 - fi
610 -
611 - if use servers; then
612 - newinitd "${FILESDIR}"/imap4d.initd imap4d
613 - newinitd "${FILESDIR}"/pop3d.initd pop3d
614 - newinitd "${FILESDIR}"/comsatd.initd comsatd
615 - fi
616 -
617 - # compatibility link
618 - if use clients && use split-usr; then
619 - dosym ../usr/bin/mail /bin/mail
620 - fi
621 -
622 - if ! use static-libs; then
623 - find "${D}" -name "*.la" -delete || die
624 - fi
625 -}
626
627 diff --git a/net-mail/mailutils/mailutils-3.9.ebuild b/net-mail/mailutils/mailutils-3.9.ebuild
628 deleted file mode 100644
629 index 812b2d9dc8d..00000000000
630 --- a/net-mail/mailutils/mailutils-3.9.ebuild
631 +++ /dev/null
632 @@ -1,141 +0,0 @@
633 -# Copyright 1999-2021 Gentoo Authors
634 -# Distributed under the terms of the GNU General Public License v2
635 -
636 -EAPI=7
637 -PYTHON_COMPAT=( python3_{7,8} )
638 -
639 -inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs
640 -
641 -DESCRIPTION="A useful collection of mail servers, clients, and filters"
642 -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
643 -SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
644 -
645 -LICENSE="GPL-2 LGPL-2.1"
646 -SLOT="0"
647 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc x86 ~ppc-macos ~x64-macos"
648 -IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \
649 - ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \
650 - tokyocabinet"
651 -
652 -RDEPEND="!mail-client/nmh
653 - !mail-filter/libsieve
654 - !mail-client/mailx
655 - !mail-client/nail
656 - sys-libs/ncurses:=
657 - sys-libs/readline:=
658 - dev-libs/libltdl:0
659 - virtual/mta
660 - berkdb? ( sys-libs/db:= )
661 - bidi? ( dev-libs/fribidi )
662 - emacs? ( >=app-editors/emacs-23.1:* )
663 - gdbm? ( sys-libs/gdbm:= )
664 - guile? ( dev-scheme/guile:12/2.2-1 )
665 - kerberos? ( virtual/krb5 )
666 - kyotocabinet? ( dev-db/kyotocabinet )
667 - ldap? ( net-nds/openldap )
668 - mysql? ( dev-db/mysql-connector-c )
669 - nls? ( sys-devel/gettext )
670 - pam? ( sys-libs/pam )
671 - postgres? ( dev-db/postgresql:= )
672 - python? ( ${PYTHON_DEPS} )
673 - sasl? ( virtual/gsasl )
674 - servers? ( virtual/libiconv dev-libs/libunistring:= )
675 - ssl? ( net-libs/gnutls:= )
676 - tcpd? ( sys-apps/tcp-wrappers )
677 - tokyocabinet? ( dev-db/tokyocabinet )"
678 -
679 -DEPEND="${RDEPEND}
680 - virtual/pkgconfig"
681 -
682 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
683 - servers? ( tcpd ldap )"
684 -
685 -DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO )
686 -PATCHES=(
687 - "${FILESDIR}"/${PN}-3.5-add-include.patch
688 - "${FILESDIR}"/${PN}-3.9-underlinking.patch
689 - "${FILESDIR}"/${PN}-3.8-fno-common.patch
690 - "${FILESDIR}"/${PN}-3.9-python-config.patch
691 -)
692 -
693 -pkg_setup() {
694 - use python && python-single-r1_pkg_setup
695 -}
696 -
697 -src_prepare() {
698 - default
699 - if use mysql; then
700 - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
701 - sql/Makefile.am || die
702 - fi
703 - eautoreconf
704 -}
705 -
706 -src_configure() {
707 - append-flags -fno-strict-aliasing
708 -
709 - # maildir is the Gentoo default
710 - econf MU_DEFAULT_SCHEME=maildir \
711 - CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
712 - $(use_with berkdb berkeley-db) \
713 - $(use_with bidi fribidi) \
714 - $(use_enable ipv6) \
715 - $(use_with gdbm) \
716 - $(use_with sasl gsasl) \
717 - $(use_with guile) \
718 - $(use_with kerberos gssapi) \
719 - $(use_with ldap) \
720 - $(use_with mysql) \
721 - $(use_enable nls) \
722 - $(use_enable pam) \
723 - $(use_with postgres) \
724 - $(use_enable python) \
725 - $(use_with ssl gnutls) \
726 - $(use_enable static-libs static) \
727 - $(use_enable threads pthread) \
728 - $(use_with tokyocabinet) \
729 - $(use_with kyotocabinet) \
730 - $(use_with tcpd tcp-wrappers) \
731 - $(use_enable servers build-servers) \
732 - $(use_with servers unistring ) \
733 - $(use_enable clients build-clients) \
734 - EMACS=$(usex emacs emacs no) \
735 - --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
736 - --with-mail-spool=/var/spool/mail \
737 - --with-readline \
738 - --enable-sendmail \
739 - --disable-debug
740 -}
741 -
742 -src_install() {
743 - default
744 -
745 - insinto /etc
746 - # bug 613112
747 - newins "${FILESDIR}/mailutils.rc" mailutils.conf
748 - keepdir /etc/mailutils.d/
749 - insinto /etc/mailutils.d
750 - doins "${FILESDIR}/mail"
751 -
752 - if use python; then
753 - python_optimize
754 - if use static-libs; then
755 - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die
756 - fi
757 - fi
758 -
759 - if use servers; then
760 - newinitd "${FILESDIR}"/imap4d.initd imap4d
761 - newinitd "${FILESDIR}"/pop3d.initd pop3d
762 - newinitd "${FILESDIR}"/comsatd.initd comsatd
763 - fi
764 -
765 - # compatibility link
766 - if use clients && use split-usr; then
767 - dosym ../usr/bin/mail /bin/mail
768 - fi
769 -
770 - if ! use static-libs; then
771 - find "${D}" -name "*.la" -delete || die
772 - fi
773 -}