1 |
tove 10/05/06 13:29:25 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: fetchmail-6.3.17.ebuild |
5 |
Log: |
6 |
Version bump. Fetchmailconf is installed only if USE=tk |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 net-mail/fetchmail/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/metadata.xml?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/metadata.xml?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/metadata.xml?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/metadata.xml,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- metadata.xml 20 Feb 2009 16:49:50 -0000 1.4 |
23 |
+++ metadata.xml 6 May 2010 13:29:25 -0000 1.5 |
24 |
@@ -4,5 +4,6 @@ |
25 |
<herd>net-mail</herd> |
26 |
<use> |
27 |
<flag name="hesiod">Enable support for hesiod</flag> |
28 |
+ <flag name="tk">Adds support for Tk GUI toolkit, in particular it installs fetchmailconf</flag> |
29 |
</use> |
30 |
</pkgmetadata> |
31 |
|
32 |
|
33 |
|
34 |
1.186 net-mail/fetchmail/ChangeLog |
35 |
|
36 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.186&view=markup |
37 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?rev=1.186&content-type=text/plain |
38 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/ChangeLog?r1=1.185&r2=1.186 |
39 |
|
40 |
Index: ChangeLog |
41 |
=================================================================== |
42 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v |
43 |
retrieving revision 1.185 |
44 |
retrieving revision 1.186 |
45 |
diff -u -r1.185 -r1.186 |
46 |
--- ChangeLog 7 Apr 2010 06:23:01 -0000 1.185 |
47 |
+++ ChangeLog 6 May 2010 13:29:25 -0000 1.186 |
48 |
@@ -1,6 +1,12 @@ |
49 |
# ChangeLog for net-mail/fetchmail |
50 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
51 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.185 2010/04/07 06:23:01 tove Exp $ |
52 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.186 2010/05/06 13:29:25 tove Exp $ |
53 |
+ |
54 |
+*fetchmail-6.3.17 (06 May 2010) |
55 |
+ |
56 |
+ 06 May 2010; Torsten Veller <tove@g.o> +fetchmail-6.3.17.ebuild, |
57 |
+ metadata.xml: |
58 |
+ Version bump. Fetchmailconf is installed only if USE=tk. |
59 |
|
60 |
*fetchmail-6.3.16 (07 Apr 2010) |
61 |
|
62 |
|
63 |
|
64 |
|
65 |
1.1 net-mail/fetchmail/fetchmail-6.3.17.ebuild |
66 |
|
67 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.17.ebuild?rev=1.1&view=markup |
68 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.17.ebuild?rev=1.1&content-type=text/plain |
69 |
|
70 |
Index: fetchmail-6.3.17.ebuild |
71 |
=================================================================== |
72 |
# Copyright 1999-2010 Gentoo Foundation |
73 |
# Distributed under the terms of the GNU General Public License v2 |
74 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.3.17.ebuild,v 1.1 2010/05/06 13:29:25 tove Exp $ |
75 |
|
76 |
EAPI=2 |
77 |
|
78 |
PYTHON_DEPEND="2" |
79 |
PYTHON_USE_WITH_OPT="tk" |
80 |
PYTHON_USE_WITH="tk" |
81 |
|
82 |
inherit multilib python eutils |
83 |
|
84 |
DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" |
85 |
HOMEPAGE="http://fetchmail.berlios.de" |
86 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" |
87 |
|
88 |
LICENSE="GPL-2 public-domain" |
89 |
SLOT="0" |
90 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
91 |
IUSE="ssl nls kerberos hesiod tk" |
92 |
|
93 |
RDEPEND="hesiod? ( net-dns/hesiod ) |
94 |
ssl? ( >=dev-libs/openssl-0.9.6 ) |
95 |
kerberos? ( virtual/krb5 >=dev-libs/openssl-0.9.6 ) |
96 |
nls? ( virtual/libintl ) |
97 |
elibc_FreeBSD? ( sys-libs/com_err )" |
98 |
DEPEND="${RDEPEND} |
99 |
nls? ( sys-devel/gettext )" |
100 |
|
101 |
pkg_setup() { |
102 |
enewgroup ${PN} |
103 |
enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} |
104 |
use tk && python_set_active_version 2 |
105 |
python_pkg_setup |
106 |
} |
107 |
|
108 |
src_prepare() { |
109 |
# dont compile during src_install |
110 |
: > "${S}"/py-compile |
111 |
} |
112 |
|
113 |
src_configure() { |
114 |
if use tk ; then |
115 |
export PYTHON=$(PYTHON -a ) |
116 |
else |
117 |
export PYTHON=: |
118 |
fi |
119 |
econf \ |
120 |
--disable-dependency-tracking \ |
121 |
--enable-RPA \ |
122 |
--enable-NTLM \ |
123 |
--enable-SDPS \ |
124 |
$(use_enable nls) \ |
125 |
$(use_with ssl) \ |
126 |
$(use kerberos && echo "--with-ssl" ) \ |
127 |
$(use_with kerberos gssapi) \ |
128 |
$(use_with kerberos kerberos5) \ |
129 |
$(use_with hesiod) \ |
130 |
${myconf} || die "Configuration failed." |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
# dir for pidfile |
135 |
dodir /var/run/${PN} || die "dodir failed" |
136 |
keepdir /var/run/${PN} |
137 |
fowners ${PN}:${PN} /var/run/${PN} || die "fowners failed" |
138 |
|
139 |
# fetchmail's homedir (holds fetchmail's .fetchids) |
140 |
dodir /var/lib/${PN} || die "dodir failed" |
141 |
keepdir /var/lib/${PN} |
142 |
fowners ${PN}:${PN} /var/lib/${PN} || die "fowners failed" |
143 |
fperms 700 /var/lib/${PN} || die "fperms failed" |
144 |
|
145 |
emake DESTDIR="${D}" install || die |
146 |
|
147 |
dohtml *.html |
148 |
|
149 |
dodoc FAQ FEATURES NEWS NOTES README README.NTLM README.SSL* TODO || die |
150 |
|
151 |
newinitd "${FILESDIR}"/fetchmail.new fetchmail || die |
152 |
newconfd "${FILESDIR}"/conf.d-fetchmail fetchmail || die |
153 |
|
154 |
docinto contrib |
155 |
local f |
156 |
for f in contrib/* ; do |
157 |
[ -f "${f}" ] && dodoc "${f}" |
158 |
done |
159 |
} |
160 |
|
161 |
pkg_postinst() { |
162 |
use tk && python_mod_optimize "$(python_get_sitedir)/fetchmailconf.py" |
163 |
|
164 |
ewarn "From the NEWS:" |
165 |
ewarn "Fetchmail now supports a bad-header command line or rcfile option that takes" |
166 |
ewarn "exactly one argument, accept or reject (default). This specifies how messages" |
167 |
ewarn "with bad headers retrieved from the current server are to be treated." |
168 |
ewarn "" |
169 |
ewarn "Gentoo's previous fetchmail versions (<6.3.16) accepted messages with bad" |
170 |
ewarn "headers. So if you upgrade you must update your configuration files" |
171 |
ewarn "to imitate the old behavior." |
172 |
echo |
173 |
|
174 |
elog "Please see /etc/conf.d/fetchmail if you want to adjust" |
175 |
elog "the polling delay used by the fetchmail init script." |
176 |
} |
177 |
|
178 |
pkg_postrm() { |
179 |
use tk && python_mod_cleanup "$(python_get_sitedir)/fetchmailconf.py" |
180 |
} |