Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/fetchmail: ChangeLog fetchmail-6.3.26.ebuild
Date: Sun, 26 May 2013 09:43:02
Message-Id: 20130526094258.A2E8F2171D@flycatcher.gentoo.org
1 radhermit 13/05/26 09:42:58
2
3 Modified: ChangeLog
4 Added: fetchmail-6.3.26.ebuild
5 Log:
6 Version bump, migrate to python-single-r1, respect AR (bug #457512).
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.249 net-mail/fetchmail/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.249&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.249&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?r1=1.248&r2=1.249
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v
20 retrieving revision 1.248
21 retrieving revision 1.249
22 diff -u -r1.248 -r1.249
23 --- ChangeLog 1 Mar 2013 12:43:09 -0000 1.248
24 +++ ChangeLog 26 May 2013 09:42:58 -0000 1.249
25 @@ -1,6 +1,11 @@
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.248 2013/03/01 12:43:09 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.249 2013/05/26 09:42:58 radhermit Exp $
30 +
31 +*fetchmail-6.3.26 (26 May 2013)
32 +
33 + 26 May 2013; Tim Harder <radhermit@g.o> +fetchmail-6.3.26.ebuild:
34 + Version bump, migrate to python-single-r1, respect AR (bug #457512).
35
36 01 Mar 2013; Agostino Sarubbo <ago@g.o> fetchmail-6.3.24.ebuild:
37 Stable for sh, wrt bug #457428
38
39
40
41 1.1 net-mail/fetchmail/fetchmail-6.3.26.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.26.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.26.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fetchmail-6.3.26.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.26.ebuild,v 1.1 2013/05/26 09:42:58 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python2_{6,7} )
54 PYTHON_REQ_USE="tk"
55
56 inherit python-single-r1 user toolchain-funcs
57
58 DESCRIPTION="the legendary remote-mail retrieval and forwarding utility"
59 HOMEPAGE="http://fetchmail.berlios.de"
60 SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
61
62 LICENSE="GPL-2 public-domain"
63 SLOT="0"
64 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"
65 IUSE="ssl nls kerberos hesiod tk socks"
66
67 RDEPEND="hesiod? ( net-dns/hesiod )
68 ssl? ( >=dev-libs/openssl-0.9.6 )
69 kerberos? ( virtual/krb5 >=dev-libs/openssl-0.9.6 )
70 nls? ( virtual/libintl )
71 !elibc_glibc? ( sys-libs/e2fsprogs-libs )
72 socks? ( net-proxy/dante )
73 tk? ( ${PYTHON_DEPS} )"
74 DEPEND="${RDEPEND}
75 sys-devel/flex
76 nls? ( sys-devel/gettext )"
77
78 DOCS="FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO"
79
80 pkg_setup() {
81 enewgroup ${PN}
82 enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
83
84 python-single-r1_pkg_setup
85 }
86
87 src_prepare() {
88 # don't compile during src_install
89 : > "${S}"/py-compile
90 }
91
92 src_configure() {
93 econf \
94 --enable-RPA \
95 --enable-NTLM \
96 --enable-SDPS \
97 $(use_enable nls) \
98 $(use_with ssl ssl "${EPREFIX}/usr") \
99 $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \
100 $(use_with kerberos gssapi) \
101 $(use_with kerberos kerberos5) \
102 $(use_with hesiod) \
103 $(use_with socks)
104 }
105
106 src_compile() {
107 emake AR="$(tc-getAR)"
108 }
109
110 src_install() {
111 # fetchmail's homedir (holds fetchmail's .fetchids)
112 keepdir /var/lib/${PN}
113 fowners ${PN}:${PN} /var/lib/${PN}
114 fperms 700 /var/lib/${PN}
115
116 default
117
118 dohtml *.html
119
120 newinitd "${FILESDIR}"/fetchmail.initd fetchmail
121 newconfd "${FILESDIR}"/fetchmail.confd fetchmail
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 }