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: Thu, 19 Oct 2017 08:03:00
Message-Id: 1508400166.8f710f701bfcf5e4f4122bf960e7c3752d82cb97.eras@gentoo
1 commit: 8f710f701bfcf5e4f4122bf960e7c3752d82cb97
2 Author: Eray Aslan <eras <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 19 08:02:46 2017 +0000
4 Commit: Eray Aslan <eras <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 19 08:02:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f710f70
7
8 net-mail/mailutils: remove old
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 net-mail/mailutils/Manifest | 1 -
13 .../files/mailutils-2.99.98-array_bounds.patch | 11 --
14 net-mail/mailutils/mailutils-2.99.98-r1.ebuild | 127 ---------------------
15 3 files changed, 139 deletions(-)
16
17 diff --git a/net-mail/mailutils/Manifest b/net-mail/mailutils/Manifest
18 index 0f8a3ecb43b..540f6dcd083 100644
19 --- a/net-mail/mailutils/Manifest
20 +++ b/net-mail/mailutils/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST mailutils-2.99.98.tar.xz 2505252 SHA256 62e2c28aed77e451e05ed15e68b5abc3932bcc3d2d6caf9b4a6864258c6a7b1a SHA512 fc20d97b3eed0f0ff7f1d7885e59f8de6ffd5b4646cd06c3636bda4a6bc9f7a0d5acdc7bb3bb573cdc80d63dfdc0be6464033ef2f6d88514bd2190f6611a1083 WHIRLPOOL c0f6f4f9dc2d60074c06a6c8f604fa4d92df4dafd6e205df8c360e97663e96c9b64a02aab9af7eab0659abc39e8aed70bbb0761b7d5a21b5873beabbcd409030
23 DIST mailutils-3.1.1.tar.xz 2759000 SHA256 e5a07994924f63d8f29efe94e63ba6b110ac70b2b7f61ffa6f54ae4c9287bc21 SHA512 68a6f530935118f60503550aff925c799fee4de77377e726548f418e05687b1c8f29210bcb97e1b1033f9414bdbceeaa41e65496b0648a6356c8363554955e8c WHIRLPOOL 37c475e488f1967658e0f204cd9a47d402976f2af31566de6f9b815a4c4e1cace83a9367e8e343eb575a7128653f3e82f114c4966b1b1ac32c7512aa2246baf2
24 DIST mailutils-3.2.tar.xz 2795512 SHA256 96d354e69e93d5ed6dc2e1019bc3ed3c6e322248a2c477d8fc89dbed91ed077e SHA512 48499d64da65653f996257bd920ee6574840ce9872476425c499d2af6dda5f2cd88a6dc89affba5451ab28c347308a2ae1b53ec40679289d63d74775cd722f96 WHIRLPOOL 99eb034c708dcbbc0b2dcb086ea33010c5d90b3cc8b4b7b5eba2c786d042bd5ac517a611d3f185a84084c03f16b62e8c4efd75f1be315dd19df5868d2cfff82d
25 DIST mailutils-3.3.tar.xz 2618632 SHA256 27d7fbdff904abf4eebf008c56ca61f135b110f8304c22bc4926dca4f944b4f6 SHA512 ece4e59ca46e287b8e69e45b9ca1207f9a7ef450ea009212ed9284d5aceaeafe64b0ee6333f42c1edcea2a2c45d414b8436e49bf342938bd78b7157a751bce9c WHIRLPOOL cf78b4d5762c7888c8995603b772d6b9b2485cd48c149d22c2c61a646857cf0f23f80a285a740b5d8ad177999eae302b90eb931d08021ee7fbd813463ce147ab
26
27 diff --git a/net-mail/mailutils/files/mailutils-2.99.98-array_bounds.patch b/net-mail/mailutils/files/mailutils-2.99.98-array_bounds.patch
28 deleted file mode 100644
29 index 8ac418c7c03..00000000000
30 --- a/net-mail/mailutils/files/mailutils-2.99.98-array_bounds.patch
31 +++ /dev/null
32 @@ -1,11 +0,0 @@
33 ---- libmu_auth/ldap.c 2012-03-25 14:02:22.000000000 +0300
34 -+++ libmu_auth/ldap.c 2013-03-22 12:29:19.034880845 +0200
35 -@@ -534,7 +534,7 @@
36 -
37 - env[0] = "user";
38 - env[1] = key;
39 -- env[3] = NULL;
40 -+ env[2] = NULL;
41 -
42 - ws.ws_env = env;
43 - if (mu_wordsplit (filter_pat, &ws,
44
45 diff --git a/net-mail/mailutils/mailutils-2.99.98-r1.ebuild b/net-mail/mailutils/mailutils-2.99.98-r1.ebuild
46 deleted file mode 100644
47 index b42056d47ef..00000000000
48 --- a/net-mail/mailutils/mailutils-2.99.98-r1.ebuild
49 +++ /dev/null
50 @@ -1,127 +0,0 @@
51 -# Copyright 1999-2016 Gentoo Foundation
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=5
55 -PYTHON_COMPAT=( python2_7 )
56 -
57 -inherit autotools eutils flag-o-matic python-single-r1 toolchain-funcs
58 -
59 -DESCRIPTION="A useful collection of mail servers, clients, and filters"
60 -HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html"
61 -#SRC_URI="mirror://gnu/mailutils/${P}.tar.xz"
62 -SRC_URI="mirror://gnu-alpha/mailutils/${P}.tar.xz"
63 -
64 -LICENSE="GPL-2 LGPL-2.1"
65 -SLOT="0"
66 -KEYWORDS="amd64 ~arm64 ~hppa ~ppc x86 ~ppc-macos ~x64-macos ~x86-macos"
67 -IUSE="berkdb bidi +clients gdbm sasl guile ipv6 kerberos ldap mysql nls pam postgres
68 -python servers ssl static-libs +threads tcpd tokyocabinet"
69 -
70 -# Drop the libtool dep once libltdl goes stable.
71 -RDEPEND="!mail-client/nmh
72 - !mail-filter/libsieve
73 - !mail-client/mailx
74 - !mail-client/nail
75 - sys-libs/ncurses:=
76 - sys-libs/readline:=
77 - || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 )
78 - virtual/mta
79 - berkdb? ( sys-libs/db:= )
80 - bidi? ( dev-libs/fribidi )
81 - gdbm? ( sys-libs/gdbm )
82 - guile? ( dev-scheme/guile:= )
83 - kerberos? ( virtual/krb5 )
84 - ldap? ( net-nds/openldap )
85 - mysql? ( virtual/mysql )
86 - nls? ( sys-devel/gettext )
87 - pam? ( virtual/pam )
88 - postgres? ( dev-db/postgresql:= )
89 - python? ( ${PYTHON_DEPS} )
90 - sasl? ( virtual/gsasl )
91 - ssl? ( net-libs/gnutls:= )
92 - tcpd? ( sys-apps/tcp-wrappers )
93 - tokyocabinet? ( dev-db/tokyocabinet )"
94 -
95 -DEPEND="${RDEPEND}
96 - virtual/pkgconfig"
97 -
98 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
99 -
100 -pkg_setup() {
101 - use python && python-single-r1_pkg_setup
102 -}
103 -
104 -src_prepare() {
105 - # Disable bytecompilation of Python modules.
106 - echo "#!/bin/sh" > build-aux/py-compile
107 - epatch "${FILESDIR}/${P}-array_bounds.patch"
108 - epatch "${FILESDIR}/${P}-readline-6.3.patch" #503954
109 - if use mysql; then
110 - sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \
111 - sql/Makefile.am || die
112 - eautoreconf
113 - fi
114 -}
115 -
116 -src_configure() {
117 - append-flags -fno-strict-aliasing
118 -
119 - # maildir is the Gentoo default
120 - # but fails tests. So set it in config file instead.
121 - #econf MU_DEFAULT_SCHEME=maildir \
122 - econf CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \
123 - $(use_with berkdb berkeley-db) \
124 - $(use_with bidi fribidi) \
125 - $(use_enable ipv6) \
126 - $(use_with gdbm) \
127 - $(use_with sasl gsasl) \
128 - $(use_with guile) \
129 - $(use_with kerberos gssapi) \
130 - $(use_with ldap) \
131 - $(use_with mysql) \
132 - $(use_enable nls) \
133 - $(use_enable pam) \
134 - $(use_with postgres) \
135 - $(use_enable python) \
136 - $(use_with ssl gnutls) \
137 - $(use_enable static-libs static) \
138 - $(use_enable threads pthread) \
139 - $(use_with tokyocabinet) \
140 - $(use_enable servers build-servers) \
141 - $(use_enable clients build-clients) \
142 - --with-mail-spool=/var/spool/mail \
143 - --with-readline \
144 - --enable-sendmail \
145 - --disable-debug \
146 - --disable-rpath
147 -}
148 -
149 -src_install() {
150 - emake DESTDIR="${D}" install
151 -
152 - insinto /etc
153 - doins "${FILESDIR}/mailutils.rc"
154 - keepdir /etc/mailutils.d/
155 - insinto /etc/mailutils.d
156 - doins "${FILESDIR}/mail"
157 -
158 - if use python; then
159 - python_optimize
160 - if use static-libs; then
161 - rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die
162 - fi
163 - fi
164 -
165 - if use servers; then
166 - newinitd "${FILESDIR}"/imap4d.initd imap4d
167 - newinitd "${FILESDIR}"/pop3d.initd pop3d
168 - newinitd "${FILESDIR}"/comsatd.initd comsatd
169 - fi
170 -
171 - dodoc AUTHORS ChangeLog NEWS README* THANKS TODO
172 -
173 - # compatibility link
174 - use clients && dosym /usr/bin/mail /bin/mail
175 -
176 - use static-libs || find "${D}" -name "*.la" -delete
177 -}