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.11.ebuild
Date: Thu, 06 Aug 2009 06:56:55
Message-Id: E1MYwuD-0000JU-6Y@stork.gentoo.org
1 tove 09/08/06 06:56:53
2
3 Modified: ChangeLog
4 Added: fetchmail-6.3.11.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc36/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.158 net-mail/fetchmail/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.158&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.158&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?r1=1.157&r2=1.158
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v
19 retrieving revision 1.157
20 retrieving revision 1.158
21 diff -u -r1.157 -r1.158
22 --- ChangeLog 20 Feb 2009 16:49:50 -0000 1.157
23 +++ ChangeLog 6 Aug 2009 06:56:53 -0000 1.158
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-mail/fetchmail
26 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.157 2009/02/20 16:49:50 dertobi123 Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.158 2009/08/06 06:56:53 tove Exp $
30 +
31 +*fetchmail-6.3.11 (06 Aug 2009)
32 +
33 + 06 Aug 2009; Torsten Veller <tove@g.o> +fetchmail-6.3.11.ebuild:
34 + Version bump
35
36 *fetchmail-6.3.9-r1 (20 Feb 2009)
37
38
39
40
41 1.1 net-mail/fetchmail/fetchmail-6.3.11.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fetchmail-6.3.11.ebuild
47 ===================================================================
48 # Copyright 1999-2009 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.11.ebuild,v 1.1 2009/08/06 06:56:53 tove Exp $
51
52 EAPI=2
53
54 inherit multilib python eutils
55
56 DESCRIPTION="the legendary remote-mail retrieval and forwarding utility"
57 HOMEPAGE="http://fetchmail.berlios.de"
58 SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
59
60 LICENSE="GPL-2 public-domain"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="ssl nls kerberos krb4 hesiod"
64
65 RDEPEND="hesiod? ( net-dns/hesiod )
66 ssl? ( >=dev-libs/openssl-0.9.6 )
67 kerberos? ( app-crypt/mit-krb5 )
68 nls? ( virtual/libintl )
69 elibc_FreeBSD? ( sys-libs/com_err )
70 virtual/python"
71 DEPEND="${RDEPEND}
72 nls? ( sys-devel/gettext )"
73
74 pkg_setup() {
75 enewgroup ${PN}
76 enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
77 }
78
79 src_prepare() {
80 # this patch fixes bug #34788 (ticho@g.o 2004-09-03)
81 epatch "${FILESDIR}"/${PN}-6.2.5-broken-headers.patch
82
83 # dont compile during src_install
84 : > "${S}"/py-compile
85 }
86
87 src_configure() {
88 # PYTHON=: \
89 econf \
90 --disable-dependency-tracking \
91 --enable-RPA \
92 --enable-NTLM \
93 --enable-SDPS \
94 $(use_enable nls) \
95 $(use_with kerberos gssapi) \
96 $(use_with kerberos kerberos5) \
97 $(use_with krb4 kerberos) \
98 $(use_with ssl) \
99 $(use_with hesiod) \
100 ${myconf} || die "Configuration failed."
101 }
102
103 src_install() {
104 # dir for pidfile
105 dodir /var/run/${PN} || die "dodir failed"
106 keepdir /var/run/${PN}
107 fowners ${PN}:${PN} /var/run/${PN} || die "fowners failed"
108
109 # fetchmail's homedir (holds fetchmail's .fetchids)
110 dodir /var/lib/${PN} || die "dodir failed"
111 keepdir /var/lib/${PN}
112 fowners ${PN}:${PN} /var/lib/${PN} || die "fowners failed"
113 fperms 700 /var/lib/${PN} || die "fperms failed"
114
115 emake DESTDIR="${D}" install || die
116 python_need_rebuild
117
118 dohtml *.html
119
120 dodoc FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO || die
121
122 newinitd "${FILESDIR}"/fetchmail.new fetchmail || die
123 newconfd "${FILESDIR}"/conf.d-fetchmail fetchmail || die
124
125 docinto contrib
126 local f
127 for f in contrib/* ; do
128 [ -f "${f}" ] && dodoc "${f}"
129 done
130 }
131
132 pkg_postinst() {
133 python_version
134 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
135
136 if ! python -c "import Tkinter" >/dev/null 2>&1
137 then
138 elog
139 elog "You will not be able to use fetchmailconf(1), because you"
140 elog "don't seem to have Python with tkinter support."
141 elog
142 elog "If you want to be able to use fetchmailconf(1), do the following:"
143 elog " 1. Add 'tk' to the USE variable in /etc/make.conf."
144 elog " 2. (Re-)merge Python."
145 elog
146 fi
147
148 elog "Please see /etc/conf.d/fetchmail if you want to adjust"
149 elog "the polling delay used by the fetchmail init script."
150 }
151
152 pkg_postrm() {
153 python_version
154 python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
155 }