Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/fetchmail/
Date: Wed, 15 May 2019 18:38:23
Message-Id: 1557945481.d06d11eb0c2311b917453eb1b5c2b946f4fbb0dc.asturm@gentoo
1 commit: d06d11eb0c2311b917453eb1b5c2b946f4fbb0dc
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 15 15:26:25 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed May 15 18:38:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d06d11eb
7
8 net-mail/fetchmail: Drop old
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild | 98 -------------------------
14 net-mail/fetchmail/fetchmail-6.3.26-r3.ebuild | 100 --------------------------
15 2 files changed, 198 deletions(-)
16
17 diff --git a/net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild b/net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild
18 deleted file mode 100644
19 index 03a7c8379d1..00000000000
20 --- a/net-mail/fetchmail/fetchmail-6.3.26-r2.ebuild
21 +++ /dev/null
22 @@ -1,98 +0,0 @@
23 -# Copyright 1999-2015 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=5
27 -PYTHON_COMPAT=( python2_7 )
28 -PYTHON_REQ_USE="tk"
29 -
30 -inherit python-single-r1 user systemd toolchain-funcs autotools eutils
31 -
32 -DESCRIPTION="the legendary remote-mail retrieval and forwarding utility"
33 -HOMEPAGE="http://www.fetchmail.info/"
34 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
35 -
36 -LICENSE="GPL-2 public-domain"
37 -SLOT="0"
38 -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"
39 -IUSE="ssl nls kerberos tk socks"
40 -REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )"
41 -
42 -RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6 )
43 - kerberos? ( virtual/krb5 >=dev-libs/openssl-0.9.6 )
44 - nls? ( virtual/libintl )
45 - !elibc_glibc? ( sys-libs/e2fsprogs-libs )
46 - socks? ( net-proxy/dante )
47 - tk? ( ${PYTHON_DEPS} )"
48 -DEPEND="${RDEPEND}
49 - app-arch/xz-utils
50 - sys-devel/flex
51 - nls? ( sys-devel/gettext )"
52 -
53 -DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO"
54 -
55 -pkg_setup() {
56 - enewgroup ${PN}
57 - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
58 -
59 - use tk && python-single-r1_pkg_setup
60 -}
61 -
62 -src_prepare() {
63 - # don't compile during src_install
64 - use tk && : > "${S}"/py-compile
65 -
66 - epatch "${FILESDIR}"/${P}-python-optional.patch
67 - epatch "${FILESDIR}"/${P}-tests.patch
68 - eautoreconf
69 -}
70 -
71 -src_configure() {
72 - use tk || export PYTHON=:
73 -
74 - econf \
75 - --enable-RPA \
76 - --enable-NTLM \
77 - --enable-SDPS \
78 - $(use_enable nls) \
79 - $(use_with ssl ssl "${EPREFIX}/usr") \
80 - $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \
81 - $(use_with kerberos gssapi) \
82 - $(use_with kerberos kerberos5) \
83 - --without-hesiod \
84 - $(use_with socks)
85 -}
86 -
87 -src_compile() {
88 - emake AR="$(tc-getAR)"
89 -}
90 -
91 -src_install() {
92 - # fetchmail's homedir (holds fetchmail's .fetchids)
93 - keepdir /var/lib/${PN}
94 - fowners ${PN}:${PN} /var/lib/${PN}
95 - fperms 700 /var/lib/${PN}
96 -
97 - default
98 -
99 - dohtml *.html
100 -
101 - newinitd "${FILESDIR}"/fetchmail.initd fetchmail
102 - newconfd "${FILESDIR}"/fetchmail.confd fetchmail
103 - systemd_dounit "${FILESDIR}"/${PN}.service
104 - systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf
105 -
106 - docinto contrib
107 - local f
108 - for f in contrib/* ; do
109 - [ -f "${f}" ] && dodoc "${f}"
110 - done
111 -
112 - use tk && python_optimize
113 -}
114 -
115 -pkg_postinst() {
116 - if [[ -z ${REPLACING_VERSIONS} ]]; then
117 - elog "Please see /etc/conf.d/fetchmail if you want to adjust"
118 - elog "the polling delay used by the fetchmail init script."
119 - fi
120 -}
121
122 diff --git a/net-mail/fetchmail/fetchmail-6.3.26-r3.ebuild b/net-mail/fetchmail/fetchmail-6.3.26-r3.ebuild
123 deleted file mode 100644
124 index f5210c26d37..00000000000
125 --- a/net-mail/fetchmail/fetchmail-6.3.26-r3.ebuild
126 +++ /dev/null
127 @@ -1,100 +0,0 @@
128 -# Copyright 1999-2015 Gentoo Foundation
129 -# Distributed under the terms of the GNU General Public License v2
130 -
131 -EAPI=5
132 -PYTHON_COMPAT=( python2_7 )
133 -PYTHON_REQ_USE="tk"
134 -
135 -inherit python-single-r1 user systemd toolchain-funcs autotools eutils
136 -
137 -DESCRIPTION="the legendary remote-mail retrieval and forwarding utility"
138 -HOMEPAGE="http://www.fetchmail.info/"
139 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
140 -
141 -LICENSE="GPL-2 public-domain"
142 -SLOT="0"
143 -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"
144 -IUSE="ssl nls kerberos tk socks"
145 -REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )"
146 -
147 -RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6 )
148 - kerberos? ( virtual/krb5 >=dev-libs/openssl-0.9.6 )
149 - nls? ( virtual/libintl )
150 - !elibc_glibc? ( sys-libs/e2fsprogs-libs )
151 - socks? ( net-proxy/dante )
152 - tk? ( ${PYTHON_DEPS} )"
153 -DEPEND="${RDEPEND}
154 - app-arch/xz-utils
155 - sys-devel/flex
156 - nls? ( sys-devel/gettext )"
157 -
158 -DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO"
159 -
160 -pkg_setup() {
161 - enewgroup ${PN}
162 - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
163 -
164 - use tk && python-single-r1_pkg_setup
165 -}
166 -
167 -src_prepare() {
168 - # don't compile during src_install
169 - use tk && : > "${S}"/py-compile
170 -
171 - epatch "${FILESDIR}"/${P}-python-optional.patch
172 - epatch "${FILESDIR}"/${P}-tests.patch
173 - eautoreconf
174 -}
175 -
176 -src_configure() {
177 - use tk || export PYTHON=:
178 -
179 - econf \
180 - --enable-RPA \
181 - --enable-NTLM \
182 - --enable-SDPS \
183 - $(use_enable nls) \
184 - $(use_with ssl ssl "${EPREFIX}/usr") \
185 - $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \
186 - $(use_with kerberos gssapi) \
187 - $(use_with kerberos kerberos5) \
188 - --without-hesiod \
189 - $(use_with socks)
190 -}
191 -
192 -src_compile() {
193 - emake AR="$(tc-getAR)"
194 -}
195 -
196 -src_install() {
197 - # fetchmail's homedir (holds fetchmail's .fetchids)
198 - keepdir /var/lib/${PN}
199 - fowners ${PN}:${PN} /var/lib/${PN}
200 - fperms 700 /var/lib/${PN}
201 -
202 - default
203 -
204 - dohtml *.html
205 -
206 - newinitd "${FILESDIR}"/fetchmail.initd fetchmail
207 - newconfd "${FILESDIR}"/fetchmail.confd fetchmail
208 -
209 - systemd_dounit "${FILESDIR}"/${PN}.service
210 - systemd_newunit "${FILESDIR}"/${PN}_at.service "${PN}@.service"
211 - systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf
212 -
213 - docinto contrib
214 - local f
215 - for f in contrib/* ; do
216 - [ -f "${f}" ] && dodoc "${f}"
217 - done
218 -
219 - use tk && python_optimize
220 -}
221 -
222 -pkg_postinst() {
223 - if [[ -z ${REPLACING_VERSIONS} ]]; then
224 - elog "Please see /etc/conf.d/fetchmail if you want to adjust"
225 - elog "the polling delay used by the fetchmail init script."
226 - fi
227 -}