Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/fetchmail: ChangeLog fetchmail-6.3.13.ebuild fetchmail-6.3.11.ebuild
Date: Fri, 30 Oct 2009 08:57:04
Message-Id: E1N3nI5-0006u6-EZ@stork.gentoo.org
1 tove 09/10/30 08:57:01
2
3 Modified: ChangeLog
4 Added: fetchmail-6.3.13.ebuild
5 Removed: fetchmail-6.3.11.ebuild
6 Log:
7 Version bump (#288578). Adds heimdal support (#185652, #231400). Drops Kerberos V4 support. Cleanup
8 (Portage version: 2.2_rc46/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.174 net-mail/fetchmail/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.174&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.174&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?r1=1.173&r2=1.174
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v
20 retrieving revision 1.173
21 retrieving revision 1.174
22 diff -u -r1.173 -r1.174
23 --- ChangeLog 27 Sep 2009 15:12:16 -0000 1.173
24 +++ ChangeLog 30 Oct 2009 08:57:00 -0000 1.174
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-mail/fetchmail
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.173 2009/09/27 15:12:16 nixnut Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.174 2009/10/30 08:57:00 tove Exp $
30 +
31 +*fetchmail-6.3.13 (30 Oct 2009)
32 +
33 + 30 Oct 2009; Torsten Veller <tove@g.o> -fetchmail-6.3.11.ebuild,
34 + +fetchmail-6.3.13.ebuild:
35 + Version bump (#288578). Adds heimdal support (#185652, #231400). Drops
36 + Kerberos V4 support. Cleanup
37
38 27 Sep 2009; nixnut <nixnut@g.o> fetchmail-6.3.11-r1.ebuild:
39 ppc stable #282015
40
41
42
43 1.1 net-mail/fetchmail/fetchmail-6.3.13.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.13.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.13.ebuild?rev=1.1&content-type=text/plain
47
48 Index: fetchmail-6.3.13.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.13.ebuild,v 1.1 2009/10/30 08:57:00 tove Exp $
53
54 EAPI=2
55
56 inherit multilib python eutils
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"
65 IUSE="ssl nls kerberos hesiod tk"
66
67 RDEPEND="hesiod? ( net-dns/hesiod )
68 ssl? ( >=dev-libs/openssl-0.9.6 )
69 kerberos? ( virtual/krb5 )
70 nls? ( virtual/libintl )
71 elibc_FreeBSD? ( sys-libs/com_err )
72 dev-lang/python[tk?]"
73 DEPEND="${RDEPEND}
74 nls? ( sys-devel/gettext )"
75
76 RESTRICT=test
77
78 pkg_setup() {
79 enewgroup ${PN}
80 enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
81 }
82
83 src_prepare() {
84 # this patch fixes bug #34788 (ticho@g.o 2004-09-03)
85 epatch "${FILESDIR}"/${PN}-6.2.5-broken-headers.patch
86
87 # dont compile during src_install
88 : > "${S}"/py-compile
89 }
90
91 src_configure() {
92 # PYTHON=: \
93 econf \
94 --disable-dependency-tracking \
95 --enable-RPA \
96 --enable-NTLM \
97 --enable-SDPS \
98 $(use_enable nls) \
99 $(use_with kerberos gssapi) \
100 $(use_with kerberos kerberos5) \
101 $(use_with ssl) \
102 $(use_with hesiod) \
103 ${myconf} || die "Configuration failed."
104 }
105
106 src_install() {
107 # dir for pidfile
108 dodir /var/run/${PN} || die "dodir failed"
109 keepdir /var/run/${PN}
110 fowners ${PN}:${PN} /var/run/${PN} || die "fowners failed"
111
112 # fetchmail's homedir (holds fetchmail's .fetchids)
113 dodir /var/lib/${PN} || die "dodir failed"
114 keepdir /var/lib/${PN}
115 fowners ${PN}:${PN} /var/lib/${PN} || die "fowners failed"
116 fperms 700 /var/lib/${PN} || die "fperms failed"
117
118 emake DESTDIR="${D}" install || die
119 python_need_rebuild
120
121 dohtml *.html
122
123 dodoc FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO || die
124
125 newinitd "${FILESDIR}"/fetchmail.new fetchmail || die
126 newconfd "${FILESDIR}"/conf.d-fetchmail fetchmail || die
127
128 docinto contrib
129 local f
130 for f in contrib/* ; do
131 [ -f "${f}" ] && dodoc "${f}"
132 done
133 }
134
135 pkg_postinst() {
136 python_version
137 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/fetchmailconf.py
138
139 if ! has_version dev-lang/python[tk] ; then
140 elog "Reinstall ${CATEGORY}/${PN} with USE=tk"
141 elog "if you want to use fetchmailconf."
142 fi
143
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 }
147
148 pkg_postrm() {
149 python_version
150 python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
151 }