1 |
commit: cb86da5550e0b6cd7ca91d79042a91d5af93856d |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 2 20:54:26 2020 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 2 20:56:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb86da55 |
7 |
|
8 |
net-mail/fetchmail: 6.4.11 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
11 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
12 |
|
13 |
net-mail/fetchmail/Manifest | 1 + |
14 |
net-mail/fetchmail/fetchmail-6.4.11.ebuild | 107 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 108 insertions(+) |
16 |
|
17 |
diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest |
18 |
index 5fe97745e7a..f81bfaf5df1 100644 |
19 |
--- a/net-mail/fetchmail/Manifest |
20 |
+++ b/net-mail/fetchmail/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST fetchmail-6.4.11.tar.xz 1302708 BLAKE2B 660f05c54ea9772de2dd3e584d0d2ff9addfdb7927396330a829f85995a7a2cd818c37762f704030ab73aba6750b62862dc79ad4617d45e948e8a96474fe8258 SHA512 aa7961490e34bffffb571bbc67eccec4bdef046da0a959cb2522e511074c275dbf4d797f9d8d019d7f464baae7ca19194cafeef65b5bc258dbf970d58f2dfd16 |
23 |
DIST fetchmail-6.4.8.tar.xz 1282300 BLAKE2B 31b7f9fa31edff534210a2a0764cc6dec461968071a8aa29b1d1e9915ff6b8d2949b128f97d72fafe6d431b06d4e5c6b38d4a3cdba06736bdf8ec1879a991798 SHA512 c1052389baafa3a48186733133130bf69b87c8dda8faa00e82f5947037845b95d3271c8183df729728a351888175174ca11eb18f9adb8b3515860cba95ab8987 |
24 |
|
25 |
diff --git a/net-mail/fetchmail/fetchmail-6.4.11.ebuild b/net-mail/fetchmail/fetchmail-6.4.11.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..9b96312d1c6 |
28 |
--- /dev/null |
29 |
+++ b/net-mail/fetchmail/fetchmail-6.4.11.ebuild |
30 |
@@ -0,0 +1,107 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+PYTHON_REQ_USE="tk" |
38 |
+ |
39 |
+inherit python-single-r1 systemd toolchain-funcs autotools |
40 |
+ |
41 |
+DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" |
42 |
+HOMEPAGE="https://www.fetchmail.info/" |
43 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" |
44 |
+ |
45 |
+LICENSE="GPL-2 public-domain" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="ssl nls kerberos tk socks libressl" |
49 |
+REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )" |
50 |
+ |
51 |
+RDEPEND="acct-user/fetchmail |
52 |
+ ssl? ( |
53 |
+ !libressl? ( >=dev-libs/openssl-1.1.1:= ) |
54 |
+ libressl? ( dev-libs/libressl:= ) |
55 |
+ ) |
56 |
+ kerberos? ( |
57 |
+ virtual/krb5 |
58 |
+ !libressl? ( >=dev-libs/openssl-1.0.2:= ) |
59 |
+ libressl? ( dev-libs/libressl:= ) |
60 |
+ ) |
61 |
+ nls? ( virtual/libintl ) |
62 |
+ !elibc_glibc? ( sys-libs/e2fsprogs-libs ) |
63 |
+ socks? ( net-proxy/dante ) |
64 |
+ tk? ( |
65 |
+ ${PYTHON_DEPS} |
66 |
+ $(python_gen_cond_dep ' |
67 |
+ dev-python/future[${PYTHON_MULTI_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 |
+ systemd_dotmpfilesd "${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 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
134 |
+ elog "Please see /etc/conf.d/fetchmail if you want to adjust" |
135 |
+ elog "the polling delay used by the fetchmail init script." |
136 |
+ fi |
137 |
+} |