1 |
commit: d8d92ef337d829cd5c08c1e1432a34ba1a58aaa3 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 14 10:50:31 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 14 10:50:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d92ef3 |
7 |
|
8 |
net-mail/fetchmail: Version 6.4.0_rc4 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-mail/fetchmail/Manifest | 1 + |
14 |
net-mail/fetchmail/fetchmail-6.4.0_rc4.ebuild | 108 ++++++++++++++++++++++++++ |
15 |
2 files changed, 109 insertions(+) |
16 |
|
17 |
diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest |
18 |
index 142c72d52e4..04e98d92475 100644 |
19 |
--- a/net-mail/fetchmail/Manifest |
20 |
+++ b/net-mail/fetchmail/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST fetchmail-6.3.26.tar.xz 1283816 BLAKE2B dd98d7470b8cb65de90cb1d798a2ed3e6aa723bc8e47bcd4d79ca489bdc439fd7204ffb11fea671e292c06616e5a0ccfd9f2689a4f21a1bbbd70677b0f04133e SHA512 8e0a2484e60eaf6c0231e2599e10fec6d207fa1c0fa02ec99b3ef9aea00b6d87275434e79470a25f06e358cdd4a293f9c46a82dd128fe733a99c85144e6caa63 |
23 |
+DIST fetchmail-6.4.0.rc4.tar.xz 1254560 BLAKE2B 9f80cd0f1aa4ecc215e370154069f9b5fab04c84b1a6c196e5911a1481732568d7e391e2098437217c893ee00900e8980a7e59328dacd4e3faaadcdd242a71b4 SHA512 1085668464534f39c7939fdbe845397ca7f9c709bb0f816655643cb5a7d4adcb63e32a534f10303c5366d786bd7fd4650fd960c21f0346a10e78860e11bbd6fd |
24 |
|
25 |
diff --git a/net-mail/fetchmail/fetchmail-6.4.0_rc4.ebuild b/net-mail/fetchmail/fetchmail-6.4.0_rc4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..c7094062242 |
28 |
--- /dev/null |
29 |
+++ b/net-mail/fetchmail/fetchmail-6.4.0_rc4.ebuild |
30 |
@@ -0,0 +1,108 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python2_7 ) |
36 |
+PYTHON_REQ_USE="tk" |
37 |
+ |
38 |
+inherit python-single-r1 user systemd toolchain-funcs autotools |
39 |
+ |
40 |
+DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" |
41 |
+HOMEPAGE="http://www.fetchmail.info/" |
42 |
+SRC_URI="mirror://sourceforge/${PN}/${P/_/.}.tar.xz" |
43 |
+ |
44 |
+LICENSE="GPL-2 public-domain" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
47 |
+IUSE="ssl nls kerberos tk socks libressl" |
48 |
+REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )" |
49 |
+ |
50 |
+RDEPEND="ssl? ( |
51 |
+ !libressl? ( >=dev-libs/openssl-0.9.6:= ) |
52 |
+ libressl? ( dev-libs/libressl:= ) |
53 |
+ ) |
54 |
+ kerberos? ( |
55 |
+ virtual/krb5 |
56 |
+ !libressl? ( >=dev-libs/openssl-0.9.6:= ) |
57 |
+ libressl? ( dev-libs/libressl:= ) |
58 |
+ ) |
59 |
+ nls? ( virtual/libintl ) |
60 |
+ !elibc_glibc? ( sys-libs/e2fsprogs-libs ) |
61 |
+ socks? ( net-proxy/dante ) |
62 |
+ tk? ( ${PYTHON_DEPS} )" |
63 |
+DEPEND="${RDEPEND} |
64 |
+ app-arch/xz-utils |
65 |
+ sys-devel/flex |
66 |
+ nls? ( sys-devel/gettext )" |
67 |
+ |
68 |
+DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO" |
69 |
+HTML_DOCS="*.html" |
70 |
+PATCHES=( |
71 |
+ "${FILESDIR}"/${PN}-6.3.26-python-optional.patch |
72 |
+) |
73 |
+S=${WORKDIR}/${P/_/.} |
74 |
+ |
75 |
+pkg_setup() { |
76 |
+ enewgroup ${PN} |
77 |
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} |
78 |
+ |
79 |
+ use tk && python-single-r1_pkg_setup |
80 |
+} |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ default |
84 |
+ # don't compile during src_install |
85 |
+ use tk && : > "${S}"/py-compile |
86 |
+ eautoreconf |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ use tk || export PYTHON=: |
91 |
+ |
92 |
+ econf \ |
93 |
+ --enable-RPA \ |
94 |
+ --enable-NTLM \ |
95 |
+ --enable-SDPS \ |
96 |
+ $(use_enable nls) \ |
97 |
+ $(use_with ssl ssl "${EPREFIX}/usr") \ |
98 |
+ $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \ |
99 |
+ $(use_with kerberos gssapi) \ |
100 |
+ $(use_with kerberos kerberos5) \ |
101 |
+ --without-hesiod \ |
102 |
+ $(use_with socks) |
103 |
+} |
104 |
+ |
105 |
+src_compile() { |
106 |
+ emake AR="$(tc-getAR)" |
107 |
+} |
108 |
+ |
109 |
+src_install() { |
110 |
+ # fetchmail's homedir (holds fetchmail's .fetchids) |
111 |
+ keepdir /var/lib/${PN} |
112 |
+ fowners ${PN}:${PN} /var/lib/${PN} |
113 |
+ fperms 700 /var/lib/${PN} |
114 |
+ |
115 |
+ default |
116 |
+ |
117 |
+ newinitd "${FILESDIR}"/fetchmail.initd fetchmail |
118 |
+ newconfd "${FILESDIR}"/fetchmail.confd fetchmail |
119 |
+ |
120 |
+ systemd_dounit "${FILESDIR}"/${PN}.service |
121 |
+ systemd_newunit "${FILESDIR}"/${PN}_at.service "${PN}@.service" |
122 |
+ systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf |
123 |
+ |
124 |
+ docinto contrib |
125 |
+ local f |
126 |
+ for f in contrib/* ; do |
127 |
+ [ -f "${f}" ] && dodoc "${f}" |
128 |
+ done |
129 |
+ |
130 |
+ use tk && python_optimize |
131 |
+} |
132 |
+ |
133 |
+pkg_postinst() { |
134 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
135 |
+ elog "Please see /etc/conf.d/fetchmail if you want to adjust" |
136 |
+ elog "the polling delay used by the fetchmail init script." |
137 |
+ fi |
138 |
+} |