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