1 |
commit: 048a63342e6281fc052df6a411cf3c70703e123b |
2 |
Author: Eray Aslan <eras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 27 07:16:18 2019 +0000 |
4 |
Commit: Eray Aslan <eras <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 27 07:16:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=048a6334 |
7 |
|
8 |
net-mail/mailutils: bump to 3.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
11 |
Signed-off-by: Eray Aslan <eras <AT> gentoo.org> |
12 |
|
13 |
net-mail/mailutils/Manifest | 1 + |
14 |
net-mail/mailutils/mailutils-3.7.ebuild | 134 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 135 insertions(+) |
16 |
|
17 |
diff --git a/net-mail/mailutils/Manifest b/net-mail/mailutils/Manifest |
18 |
index 726cd73f543..22a6799b2dc 100644 |
19 |
--- a/net-mail/mailutils/Manifest |
20 |
+++ b/net-mail/mailutils/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST mailutils-3.4.tar.xz 2619672 BLAKE2B 3a49c319a7171b2659477e6892ae222a342243e84ed2ee93e6d77353e1871d57d101a3a6ee3d2442709adbfb090e4931e134369661e8e8aa407061c1eccdf862 SHA512 548d97a4a036ef0ef5a429c82ffa43dd377b210b4c4d3844e7e5dded0f963060e3733b7766821c06ccf4dc1135002608658bcd6420e75b4ca1f4f17cfc8e2573 |
23 |
DIST mailutils-3.5.tar.xz 2742824 BLAKE2B ca14597114203234912cf4cfaa4c63e682561deb28d9d0825373c69de267c215d12b9db662cfd60024228e119433fb40a136d65cfd04385f881ba4b0384c8328 SHA512 6aa2de352be637295a8ab53207a8065f5c10655acc299ac0a2190937ec4decb515ac1044c9a7465b08764ca45be569012cce1046b40d748f6e4f31644f056a53 |
24 |
DIST mailutils-3.6.tar.xz 2813412 BLAKE2B fa2cde98287f84745c1ccc213d2ee824857b9c64d493677ed817ae53d49576382d22784ad25faa644ca43528637ed629aa4e9a78a3b1040fd51658e54b369399 SHA512 f07b8dc570abf345d45439f4994173d2415f94d72291aac46528842e339aaa7925baf776ccfc8f8901cf0e08a13cbfdf09596dd6c448bf012af002ef5ce2fe0e |
25 |
+DIST mailutils-3.7.tar.xz 2846864 BLAKE2B d407d370a4823972c060ea6c6a6e16eefe46598fee8302159f9d44fe150ace32b6915e7e3d4ddaca63ed5d5a5cffce48514f7f6297413a97692eb609a295622d SHA512 aa93ee1cde76392808f492dae6c69625ab124a2c31a296449ba217fc26f292871b4d04f8720bf20377177eab33c01cbfe195d6ac3674c35e1db53157a6916a4d |
26 |
|
27 |
diff --git a/net-mail/mailutils/mailutils-3.7.ebuild b/net-mail/mailutils/mailutils-3.7.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..9a796c2d5cd |
30 |
--- /dev/null |
31 |
+++ b/net-mail/mailutils/mailutils-3.7.ebuild |
32 |
@@ -0,0 +1,134 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
38 |
+ |
39 |
+inherit autotools elisp-common eutils flag-o-matic python-single-r1 toolchain-funcs |
40 |
+ |
41 |
+DESCRIPTION="A useful collection of mail servers, clients, and filters" |
42 |
+HOMEPAGE="https://www.gnu.org/software/mailutils/mailutils.html" |
43 |
+SRC_URI="mirror://gnu/mailutils/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="GPL-2 LGPL-2.1" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos" |
48 |
+IUSE="berkdb bidi +clients emacs gdbm sasl guile ipv6 kerberos kyotocabinet \ |
49 |
+ ldap mysql nls pam postgres python servers ssl static-libs +threads tcpd \ |
50 |
+ tokyocabinet" |
51 |
+ |
52 |
+RDEPEND="!mail-client/nmh |
53 |
+ !mail-filter/libsieve |
54 |
+ !mail-client/mailx |
55 |
+ !mail-client/nail |
56 |
+ sys-libs/ncurses:= |
57 |
+ sys-libs/readline:= |
58 |
+ dev-libs/libltdl:0 |
59 |
+ virtual/mta |
60 |
+ berkdb? ( sys-libs/db:= ) |
61 |
+ bidi? ( dev-libs/fribidi ) |
62 |
+ emacs? ( virtual/emacs ) |
63 |
+ gdbm? ( sys-libs/gdbm ) |
64 |
+ guile? ( dev-scheme/guile:12/2.2-1 ) |
65 |
+ kerberos? ( virtual/krb5 ) |
66 |
+ kyotocabinet? ( dev-db/kyotocabinet ) |
67 |
+ ldap? ( net-nds/openldap ) |
68 |
+ mysql? ( dev-db/mysql-connector-c ) |
69 |
+ nls? ( sys-devel/gettext ) |
70 |
+ pam? ( virtual/pam ) |
71 |
+ postgres? ( dev-db/postgresql:= ) |
72 |
+ python? ( ${PYTHON_DEPS} ) |
73 |
+ sasl? ( virtual/gsasl ) |
74 |
+ servers? ( virtual/libiconv dev-libs/libunistring ) |
75 |
+ ssl? ( net-libs/gnutls:= ) |
76 |
+ tcpd? ( sys-apps/tcp-wrappers ) |
77 |
+ tokyocabinet? ( dev-db/tokyocabinet )" |
78 |
+ |
79 |
+DEPEND="${RDEPEND} |
80 |
+ virtual/pkgconfig" |
81 |
+ |
82 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
83 |
+ servers? ( tcpd ldap )" |
84 |
+ |
85 |
+DOCS=( ABOUT-NLS AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL NEWS README THANKS TODO ) |
86 |
+PATCHES=( "${FILESDIR}/${PN}-3.5-add-include.patch" \ |
87 |
+ "${FILESDIR}/${PN}-3.6-underlinking.patch" ) |
88 |
+ |
89 |
+pkg_setup() { |
90 |
+ use python && python-single-r1_pkg_setup |
91 |
+} |
92 |
+ |
93 |
+src_prepare() { |
94 |
+ default |
95 |
+ if use mysql; then |
96 |
+ sed -i -e /^INCLUDES/"s:$:$(mysql_config --include):" \ |
97 |
+ sql/Makefile.am || die |
98 |
+ fi |
99 |
+ eautoreconf |
100 |
+} |
101 |
+ |
102 |
+src_configure() { |
103 |
+ append-flags -fno-strict-aliasing |
104 |
+ |
105 |
+ # maildir is the Gentoo default |
106 |
+ econf MU_DEFAULT_SCHEME=maildir \ |
107 |
+ CURSES_LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" \ |
108 |
+ $(use_with berkdb berkeley-db) \ |
109 |
+ $(use_with bidi fribidi) \ |
110 |
+ $(use_enable ipv6) \ |
111 |
+ $(use_with gdbm) \ |
112 |
+ $(use_with sasl gsasl) \ |
113 |
+ $(use_with guile) \ |
114 |
+ $(use_with kerberos gssapi) \ |
115 |
+ $(use_with ldap) \ |
116 |
+ $(use_with mysql) \ |
117 |
+ $(use_enable nls) \ |
118 |
+ $(use_enable pam) \ |
119 |
+ $(use_with postgres) \ |
120 |
+ $(use_enable python) \ |
121 |
+ $(use_with ssl gnutls) \ |
122 |
+ $(use_enable static-libs static) \ |
123 |
+ $(use_enable threads pthread) \ |
124 |
+ $(use_with tokyocabinet) \ |
125 |
+ $(use_with kyotocabinet) \ |
126 |
+ $(use_with tcpd tcp-wrappers) \ |
127 |
+ $(use_enable servers build-servers) \ |
128 |
+ $(use_with servers unistring ) \ |
129 |
+ $(use_enable clients build-clients) \ |
130 |
+ EMACS=$(usex emacs emacs no) \ |
131 |
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ |
132 |
+ --with-mail-spool=/var/spool/mail \ |
133 |
+ --with-readline \ |
134 |
+ --enable-sendmail \ |
135 |
+ --disable-debug |
136 |
+} |
137 |
+ |
138 |
+src_install() { |
139 |
+ default |
140 |
+ emake DESTDIR="${D}" install |
141 |
+ |
142 |
+ insinto /etc |
143 |
+ # bug 613112 |
144 |
+ newins "${FILESDIR}/mailutils.rc" mailutils.conf |
145 |
+ keepdir /etc/mailutils.d/ |
146 |
+ insinto /etc/mailutils.d |
147 |
+ doins "${FILESDIR}/mail" |
148 |
+ |
149 |
+ if use python; then |
150 |
+ python_optimize |
151 |
+ if use static-libs; then |
152 |
+ rm -r "${D}$(python_get_sitedir)/mailutils"/*.{a,la} || die |
153 |
+ fi |
154 |
+ fi |
155 |
+ |
156 |
+ if use servers; then |
157 |
+ newinitd "${FILESDIR}"/imap4d.initd imap4d |
158 |
+ newinitd "${FILESDIR}"/pop3d.initd pop3d |
159 |
+ newinitd "${FILESDIR}"/comsatd.initd comsatd |
160 |
+ fi |
161 |
+ |
162 |
+ # compatibility link |
163 |
+ use clients && dosym /usr/bin/mail /bin/mail |
164 |
+ |
165 |
+ use static-libs || find "${D}" -name "*.la" -delete |
166 |
+} |