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: fetchmail-6.3.22.ebuild ChangeLog
Date: Thu, 30 Aug 2012 17:27:43
Message-Id: 20120830172723.87D4520CA1@flycatcher.gentoo.org
1 radhermit 12/08/30 17:27:23
2
3 Modified: ChangeLog
4 Added: fetchmail-6.3.22.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.226 net-mail/fetchmail/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.226&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.226&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?r1=1.225&r2=1.226
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v
20 retrieving revision 1.225
21 retrieving revision 1.226
22 diff -u -r1.225 -r1.226
23 --- ChangeLog 16 Jun 2012 11:06:27 -0000 1.225
24 +++ ChangeLog 30 Aug 2012 17:27:23 -0000 1.226
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-mail/fetchmail
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.225 2012/06/16 11:06:27 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.226 2012/08/30 17:27:23 radhermit Exp $
30 +
31 +*fetchmail-6.3.22 (30 Aug 2012)
32 +
33 + 30 Aug 2012; Tim Harder <radhermit@g.o> +fetchmail-6.3.22.ebuild:
34 + Version bump.
35
36 16 Jun 2012; Fabian Groffen <grobian@g.o> fetchmail-6.3.21.ebuild:
37 Added Prefix keywords, fixed for Prefix
38
39
40
41 1.1 net-mail/fetchmail/fetchmail-6.3.22.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.22.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.22.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fetchmail-6.3.22.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.22.ebuild,v 1.1 2012/08/30 17:27:23 radhermit Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="tk? 2"
55 PYTHON_USE_WITH_OPT="tk"
56 PYTHON_USE_WITH="tk"
57
58 inherit python user
59
60 DESCRIPTION="the legendary remote-mail retrieval and forwarding utility"
61 HOMEPAGE="http://fetchmail.berlios.de"
62 SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
63
64 LICENSE="GPL-2 public-domain"
65 SLOT="0"
66 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"
67 IUSE="ssl nls kerberos hesiod tk socks"
68
69 RDEPEND="hesiod? ( net-dns/hesiod )
70 ssl? ( >=dev-libs/openssl-0.9.6 )
71 kerberos? ( virtual/krb5 >=dev-libs/openssl-0.9.6 )
72 nls? ( virtual/libintl )
73 !elibc_glibc? ( sys-libs/e2fsprogs-libs )
74 socks? ( net-proxy/dante )"
75 DEPEND="${RDEPEND}
76 sys-devel/flex
77 nls? ( sys-devel/gettext )"
78
79 pkg_setup() {
80 enewgroup ${PN}
81 enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
82 if use tk; then
83 python_set_active_version 2
84 python_pkg_setup
85 fi
86 }
87
88 src_prepare() {
89 # don't compile during src_install
90 : > "${S}"/py-compile
91 }
92
93 src_configure() {
94 if use tk ; then
95 export PYTHON=$(PYTHON -a)
96 else
97 export PYTHON=:
98 fi
99 econf \
100 --enable-RPA \
101 --enable-NTLM \
102 --enable-SDPS \
103 $(use_enable nls) \
104 $(use_with ssl ssl "${EPREFIX}/usr") \
105 $(use kerberos && echo "--with-ssl=${EPREFIX}/usr") \
106 $(use_with kerberos gssapi) \
107 $(use_with kerberos kerberos5) \
108 $(use_with hesiod) \
109 $(use_with socks)
110 }
111
112 src_install() {
113 # fetchmail's homedir (holds fetchmail's .fetchids)
114 keepdir /var/lib/${PN}
115 fowners ${PN}:${PN} /var/lib/${PN}
116 fperms 700 /var/lib/${PN}
117
118 emake DESTDIR="${D}" install
119
120 dohtml *.html
121
122 dodoc FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO
123
124 newinitd "${FILESDIR}"/fetchmail.initd fetchmail
125 newconfd "${FILESDIR}"/fetchmail.confd fetchmail
126
127 docinto contrib
128 local f
129 for f in contrib/* ; do
130 [ -f "${f}" ] && dodoc "${f}"
131 done
132 }
133
134 pkg_postinst() {
135 use tk && python_mod_optimize fetchmailconf.py
136
137 elog "Please see /etc/conf.d/fetchmail if you want to adjust"
138 elog "the polling delay used by the fetchmail init script."
139 }
140
141 pkg_postrm() {
142 use tk && python_mod_cleanup fetchmailconf.py
143 }