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.18.ebuild
Date: Sun, 10 Oct 2010 08:03:53
Message-Id: 20101010075703.B167F2004C@flycatcher.gentoo.org
1 tove 10/10/10 07:57:03
2
3 Modified: ChangeLog
4 Added: fetchmail-6.3.18.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2_rc91/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.196 net-mail/fetchmail/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.196&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.196&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/ChangeLog?r1=1.195&r2=1.196
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v
20 retrieving revision 1.195
21 retrieving revision 1.196
22 diff -u -r1.195 -r1.196
23 --- ChangeLog 31 May 2010 16:24:02 -0000 1.195
24 +++ ChangeLog 10 Oct 2010 07:57:03 -0000 1.196
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-mail/fetchmail
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.195 2010/05/31 16:24:02 tove Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.196 2010/10/10 07:57:03 tove Exp $
30 +
31 +*fetchmail-6.3.18 (10 Oct 2010)
32 +
33 + 10 Oct 2010; Torsten Veller <tove@g.o> +fetchmail-6.3.18.ebuild:
34 + Version bump
35
36 31 May 2010; Torsten Veller <tove@g.o>
37 -files/fetchmail-6.2.5-broken-headers.patch, -fetchmail-6.3.14.ebuild,
38
39
40
41 1.1 net-mail/fetchmail/fetchmail-6.3.18.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fetchmail-6.3.18.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.18.ebuild,v 1.1 2010/10/10 07:57:03 tove Exp $
51
52 EAPI=2
53
54 PYTHON_DEPEND="tk? 2"
55 PYTHON_USE_WITH_OPT="tk"
56 PYTHON_USE_WITH="tk"
57
58 inherit python eutils autotools
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"
67 IUSE="ssl nls kerberos hesiod tk"
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_FreeBSD? ( sys-libs/com_err )"
74 DEPEND="${RDEPEND}
75 nls? ( sys-devel/gettext )"
76
77 pkg_setup() {
78 enewgroup ${PN}
79 enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
80 use tk && python_set_active_version 2
81 python_pkg_setup
82 }
83
84 src_prepare() {
85 # dont compile during src_install
86 : > "${S}"/py-compile
87 }
88
89 src_configure() {
90 if use tk ; then
91 export PYTHON=$(PYTHON -a )
92 else
93 export PYTHON=:
94 fi
95 econf \
96 --disable-dependency-tracking \
97 --enable-RPA \
98 --enable-NTLM \
99 --enable-SDPS \
100 $(use_enable nls) \
101 $(use_with ssl) \
102 $(use kerberos && echo "--with-ssl" ) \
103 $(use_with kerberos gssapi) \
104 $(use_with kerberos kerberos5) \
105 $(use_with hesiod) \
106 ${myconf}
107 }
108
109 src_install() {
110 # dir for pidfile
111 keepdir /var/run/${PN} || die
112 fowners ${PN}:${PN} /var/run/${PN} || die
113
114 # fetchmail's homedir (holds fetchmail's .fetchids)
115 keepdir /var/lib/${PN} || die
116 fowners ${PN}:${PN} /var/lib/${PN} || die
117 fperms 700 /var/lib/${PN} || die
118
119 emake DESTDIR="${D}" install || die
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 use tk && python_mod_optimize "$(python_get_sitedir)/fetchmailconf.py"
137
138 elog "Please see /etc/conf.d/fetchmail if you want to adjust"
139 elog "the polling delay used by the fetchmail init script."
140 }
141
142 pkg_postrm() {
143 use tk && python_mod_cleanup "$(python_get_sitedir)/fetchmailconf.py"
144 }