1 |
radhermit 13/05/31 10:19:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fetchmail-6.3.26-r1.ebuild |
5 |
Log: |
6 |
Revbump to fix tests and make python features truly optional (fixes bug #471882). |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.252 net-mail/fetchmail/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.252&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.252&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?r1=1.251&r2=1.252 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v |
20 |
retrieving revision 1.251 |
21 |
retrieving revision 1.252 |
22 |
diff -u -r1.251 -r1.252 |
23 |
--- ChangeLog 30 May 2013 07:32:19 -0000 1.251 |
24 |
+++ ChangeLog 31 May 2013 10:19:38 -0000 1.252 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for net-mail/fetchmail |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.251 2013/05/30 07:32:19 radhermit Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.252 2013/05/31 10:19:38 radhermit Exp $ |
30 |
+ |
31 |
+*fetchmail-6.3.26-r1 (31 May 2013) |
32 |
+ |
33 |
+ 31 May 2013; Tim Harder <radhermit@g.o> +fetchmail-6.3.26-r1.ebuild, |
34 |
+ +files/fetchmail-6.3.26-python-optional.patch, |
35 |
+ +files/fetchmail-6.3.26-tests.patch: |
36 |
+ Revbump to fix tests and make python features truly optional (fixes bug |
37 |
+ #471882). |
38 |
|
39 |
30 May 2013; Tim Harder <radhermit@g.o> fetchmail-6.3.26.ebuild: |
40 |
Add PYTHON_REQUIRED_USE for python-single-r1. |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-mail/fetchmail/fetchmail-6.3.26-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.26-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.26-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: fetchmail-6.3.26-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.26-r1.ebuild,v 1.1 2013/05/31 10:19:39 radhermit Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
PYTHON_COMPAT=( python2_{6,7} ) |
57 |
PYTHON_REQ_USE="tk" |
58 |
|
59 |
inherit python-single-r1 user toolchain-funcs autotools eutils |
60 |
|
61 |
DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" |
62 |
HOMEPAGE="http://fetchmail.berlios.de" |
63 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" |
64 |
|
65 |
LICENSE="GPL-2 public-domain" |
66 |
SLOT="0" |
67 |
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" |
68 |
IUSE="ssl nls kerberos hesiod tk socks" |
69 |
REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )" |
70 |
|
71 |
RDEPEND="hesiod? ( net-dns/hesiod ) |
72 |
ssl? ( >=dev-libs/openssl-0.9.6 ) |
73 |
kerberos? ( virtual/krb5 >=dev-libs/openssl-0.9.6 ) |
74 |
nls? ( virtual/libintl ) |
75 |
!elibc_glibc? ( sys-libs/e2fsprogs-libs ) |
76 |
socks? ( net-proxy/dante ) |
77 |
tk? ( ${PYTHON_DEPS} )" |
78 |
DEPEND="${RDEPEND} |
79 |
sys-devel/flex |
80 |
nls? ( sys-devel/gettext )" |
81 |
|
82 |
DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO" |
83 |
|
84 |
pkg_setup() { |
85 |
enewgroup ${PN} |
86 |
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} |
87 |
|
88 |
use tk && python-single-r1_pkg_setup |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
# don't compile during src_install |
93 |
use tk && : > "${S}"/py-compile |
94 |
|
95 |
epatch "${FILESDIR}"/${P}-python-optional.patch |
96 |
epatch "${FILESDIR}"/${P}-tests.patch |
97 |
eautoreconf |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
use tk || export PYTHON=: |
102 |
|
103 |
econf \ |
104 |
--enable-RPA \ |
105 |
--enable-NTLM \ |
106 |
--enable-SDPS \ |
107 |
$(use_enable nls) \ |
108 |
$(use_with ssl ssl "${EPREFIX}/usr") \ |
109 |
$(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \ |
110 |
$(use_with kerberos gssapi) \ |
111 |
$(use_with kerberos kerberos5) \ |
112 |
$(use_with hesiod) \ |
113 |
$(use_with socks) |
114 |
} |
115 |
|
116 |
src_compile() { |
117 |
emake AR="$(tc-getAR)" |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
# fetchmail's homedir (holds fetchmail's .fetchids) |
122 |
keepdir /var/lib/${PN} |
123 |
fowners ${PN}:${PN} /var/lib/${PN} |
124 |
fperms 700 /var/lib/${PN} |
125 |
|
126 |
default |
127 |
|
128 |
dohtml *.html |
129 |
|
130 |
newinitd "${FILESDIR}"/fetchmail.initd fetchmail |
131 |
newconfd "${FILESDIR}"/fetchmail.confd fetchmail |
132 |
|
133 |
docinto contrib |
134 |
local f |
135 |
for f in contrib/* ; do |
136 |
[ -f "${f}" ] && dodoc "${f}" |
137 |
done |
138 |
|
139 |
use tk && python_optimize |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
if [[ -z ${REPLACING_VERSIONS} ]]; then |
144 |
elog "Please see /etc/conf.d/fetchmail if you want to adjust" |
145 |
elog "the polling delay used by the fetchmail init script." |
146 |
fi |
147 |
} |