1 |
mrueg 15/02/09 17:01:23 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: courier-imap-4.16.0.ebuild |
5 |
Log: |
6 |
Version bump. Proxy commit for David Heidelberg (okias). Fixes bug #537396. Fix metadata. Drop many arches due to new dependency on net-libs/courier-unicode. Rekeywording in bug #532520. |
7 |
|
8 |
(Portage version: 2.2.16/cvs/Linux x86_64, signed Manifest commit with key ) |
9 |
|
10 |
Revision Changes Path |
11 |
1.15 net-mail/courier-imap/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/courier-imap/metadata.xml?rev=1.15&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/courier-imap/metadata.xml?rev=1.15&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/courier-imap/metadata.xml?r1=1.14&r2=1.15 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/courier-imap/metadata.xml,v |
20 |
retrieving revision 1.14 |
21 |
retrieving revision 1.15 |
22 |
diff -u -r1.14 -r1.15 |
23 |
--- metadata.xml 19 Nov 2014 14:10:12 -0000 1.14 |
24 |
+++ metadata.xml 9 Feb 2015 17:01:23 -0000 1.15 |
25 |
@@ -4,7 +4,7 @@ |
26 |
<herd>proxy-maintainers</herd> |
27 |
<maintainer> |
28 |
<email>david@××××.cz</email> |
29 |
- <name>David Heidelberger</name> |
30 |
+ <name>David Heidelberg</name> |
31 |
<description>Assign bugs to him.</description> |
32 |
</maintainer> |
33 |
<maintainer> |
34 |
|
35 |
|
36 |
|
37 |
1.226 net-mail/courier-imap/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/courier-imap/ChangeLog?rev=1.226&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/courier-imap/ChangeLog?rev=1.226&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/courier-imap/ChangeLog?r1=1.225&r2=1.226 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/courier-imap/ChangeLog,v |
46 |
retrieving revision 1.225 |
47 |
retrieving revision 1.226 |
48 |
diff -u -r1.225 -r1.226 |
49 |
--- ChangeLog 21 Nov 2014 10:06:11 -0000 1.225 |
50 |
+++ ChangeLog 9 Feb 2015 17:01:23 -0000 1.226 |
51 |
@@ -1,6 +1,14 @@ |
52 |
# ChangeLog for net-mail/courier-imap |
53 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/ChangeLog,v 1.225 2014/11/21 10:06:11 vapier Exp $ |
55 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
56 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/ChangeLog,v 1.226 2015/02/09 17:01:23 mrueg Exp $ |
57 |
+ |
58 |
+*courier-imap-4.16.0 (09 Feb 2015) |
59 |
+ |
60 |
+ 09 Feb 2015; Manuel Rüger <mrueg@g.o> +courier-imap-4.16.0.ebuild, |
61 |
+ metadata.xml: |
62 |
+ Version bump. Proxy commit for David Heidelberg (okias). Fixes bug #537396. |
63 |
+ Fix metadata. Drop many arches due to new dependency on net-libs/courier- |
64 |
+ unicode. Rekeywording in bug #532520. |
65 |
|
66 |
21 Nov 2014; Mike Frysinger <vapier@g.o> courier-imap-4.15-r1.ebuild: |
67 |
Drop MAKEOPTS=-j1 workaround now that eautoreconf is fixed #529404. |
68 |
|
69 |
|
70 |
|
71 |
1.1 net-mail/courier-imap/courier-imap-4.16.0.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/courier-imap/courier-imap-4.16.0.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/courier-imap/courier-imap-4.16.0.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: courier-imap-4.16.0.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2015 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/courier-imap/courier-imap-4.16.0.ebuild,v 1.1 2015/02/09 17:01:23 mrueg Exp $ |
81 |
|
82 |
EAPI=5 |
83 |
inherit autotools eutils multilib libtool systemd |
84 |
|
85 |
KEYWORDS="~amd64 ~hppa ~x86" |
86 |
|
87 |
DESCRIPTION="An IMAP daemon designed specifically for maildirs" |
88 |
HOMEPAGE="http://www.courier-mta.org/" |
89 |
SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" |
90 |
LICENSE="GPL-3" |
91 |
SLOT="0" |
92 |
IUSE="berkdb debug fam +gdbm ipv6 selinux gnutls trashquota" |
93 |
REQUIRED_USE="|| ( berkdb gdbm )" |
94 |
|
95 |
CDEPEND="gnutls? ( net-libs/gnutls ) |
96 |
!gnutls? ( >=dev-libs/openssl-0.9.6 ) |
97 |
>=net-libs/courier-authlib-0.61 |
98 |
>=net-libs/courier-unicode-1.1 |
99 |
>=net-mail/mailbase-0.00-r8 |
100 |
berkdb? ( sys-libs/db ) |
101 |
fam? ( virtual/fam ) |
102 |
gdbm? ( >=sys-libs/gdbm-1.8.0 )" |
103 |
DEPEND="${CDEPEND} |
104 |
dev-lang/perl |
105 |
!mail-mta/courier |
106 |
userland_GNU? ( sys-process/procps )" |
107 |
RDEPEND="${CDEPEND} |
108 |
selinux? ( sec-policy/selinux-courier )" |
109 |
|
110 |
# get rid of old style virtual - bug 350792 |
111 |
# all blockers really needed? |
112 |
RDEPEND="${RDEPEND} |
113 |
!mail-mta/courier |
114 |
!net-mail/bincimap |
115 |
!net-mail/cyrus-imapd |
116 |
!net-mail/uw-imap" |
117 |
|
118 |
RC_VER="4.0.6-r1" |
119 |
INITD_VER="4.0.6-r1" |
120 |
|
121 |
src_prepare() { |
122 |
# Bug #48838. Patch to enable/disable FAM support. |
123 |
# 20 Aug 2004 langthang@g.o |
124 |
# This patch should fix bug #51540. fam USE flag is not needed for shared folder support. |
125 |
epatch "${FILESDIR}"/${PN}-4.15-disable-fam-configure.ac.patch |
126 |
|
127 |
# Kill unneeded call to AC_PROG_SYSCONFTOOL (bug #168206). |
128 |
epatch "${FILESDIR}"/${PN}-4.15-aclocal-fix.patch |
129 |
|
130 |
# These patches should fix problems detecting BerkeleyDB. |
131 |
# We now can compile with db4 support. |
132 |
if use berkdb ; then |
133 |
epatch "${FILESDIR}"/${PN}-4.15-db4-bdbobj_configure.ac.patch\ |
134 |
"${FILESDIR}"/${PN}-4.15-db4-configure.ac.patch |
135 |
fi |
136 |
|
137 |
eautoreconf |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
local myconf="" |
142 |
|
143 |
# 19 Aug 2004 langthang@g.o |
144 |
# Default to gdbm if both berkdb and gdbm are present. |
145 |
if use gdbm ; then |
146 |
einfo "Building with GDBM support" |
147 |
myconf="${myconf} --with-db=gdbm" |
148 |
elif use berkdb ; then |
149 |
einfo "Building with BerkeleyDB support" |
150 |
myconf="${myconf} --with-db=db" |
151 |
fi |
152 |
|
153 |
if use trashquota ; then |
154 |
einfo "Building with Trash Quota Support" |
155 |
myconf="${myconf} --with-trashquota" |
156 |
fi |
157 |
|
158 |
use debug && myconf="${myconf} debug=true" |
159 |
|
160 |
# Do the actual build now |
161 |
econf \ |
162 |
--disable-root-check \ |
163 |
--bindir=/usr/sbin \ |
164 |
--sysconfdir=/etc/${PN} \ |
165 |
--libexecdir=/usr/$(get_libdir)/${PN} \ |
166 |
--localstatedir=/var/lib/${PN} \ |
167 |
--with-authdaemonvar=/var/lib/${PN}/authdaemon \ |
168 |
--enable-workarounds-for-imap-client-bugs \ |
169 |
--with-mailuser=mail \ |
170 |
--with-mailgroup=mail \ |
171 |
$(use_with fam) \ |
172 |
$(use_with ipv6) \ |
173 |
$(use_with gnutls) \ |
174 |
${myconf} |
175 |
|
176 |
# Change the pem file location. |
177 |
sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/imapd.pem:" \ |
178 |
libs/imap/imapd-ssl.dist || \ |
179 |
die "sed failed" |
180 |
|
181 |
sed -i -e "s:^\(TLS_CERTFILE=\).*:\1/etc/courier-imap/pop3d.pem:" \ |
182 |
libs/imap/pop3d-ssl.dist || \ |
183 |
die "sed failed" |
184 |
} |
185 |
|
186 |
src_compile() { |
187 |
# spurious failures with parallel compiles |
188 |
emake -j1 |
189 |
} |
190 |
|
191 |
src_install() { |
192 |
dodir /var/lib/${PN} /etc/pam.d |
193 |
emake DESTDIR="${D}" install |
194 |
rm -Rf "${D}/etc/pam.d" |
195 |
|
196 |
# Avoid name collisions in /usr/sbin wrt imapd and pop3d |
197 |
cd "${D}/usr/sbin" |
198 |
for name in imapd pop3d ; do |
199 |
mv -f "${name}" "courier-${name}" || die "Failed to mv ${name} to courier-${name}" |
200 |
done |
201 |
|
202 |
# Hack /usr/lib/courier-imap/foo.rc to use ${MAILDIR} instead of |
203 |
# 'Maildir', and to use /usr/sbin/courier-foo names. |
204 |
cd "${D}/usr/$(get_libdir)/${PN}" |
205 |
for service in {imapd,pop3d}{,-ssl} ; do |
206 |
sed -i -e 's/Maildir/${MAILDIR}/' "${service}.rc" || die "sed failed" |
207 |
sed -i -e "s/\/usr\/sbin\/${service}/\/usr\/sbin\/courier-${service}/" "${service}.rc" || die "sed failed" |
208 |
done |
209 |
|
210 |
# Rename the config files correctly and add a value for ${MAILDIR} to them. |
211 |
cd "${D}/etc/${PN}" |
212 |
for service in {imapd,pop3d}{,-ssl} ; do |
213 |
mv -f "${service}.dist" "${service}" || die "Failed to mv ${service}.dist to ${service}" |
214 |
echo -e '\n# Hardwire a value for ${MAILDIR}' >> "${service}" |
215 |
echo 'MAILDIR=.maildir' >> "${service}" |
216 |
echo 'MAILDIRPATH=.maildir' >> "${service}" |
217 |
done |
218 |
for service in imapd pop3d ; do |
219 |
echo -e '# Put any program for ${PRERUN} here' >> "${service}" |
220 |
echo 'PRERUN=' >> "${service}" |
221 |
echo -e '# Put any program for ${LOGINRUN} here' >> "${service}" |
222 |
echo -e '# this is for relay-ctrl-allow in 4*' >> "${service}" |
223 |
echo 'LOGINRUN=' >> "${service}" |
224 |
done |
225 |
|
226 |
cd "${D}/usr/sbin" |
227 |
for x in * ; do |
228 |
if [[ -L "${x}" ]] ; then |
229 |
rm -f "${x}" || die "Failed to rm ${x}" |
230 |
fi |
231 |
done |
232 |
|
233 |
cd ../share |
234 |
mv -f * ../sbin |
235 |
mv -f ../sbin/man . |
236 |
cd .. |
237 |
|
238 |
for x in mkimapdcert mkpop3dcert ; do |
239 |
mv -f "${D}/usr/sbin/${x}" "${D}/usr/sbin/${x}.orig" || die "Failed to mv /usr/sbin/${x} to /usr/sbin/${x}.orig" |
240 |
done |
241 |
|
242 |
exeinto /usr/sbin |
243 |
doexe "${FILESDIR}/mkimapdcert" "${FILESDIR}/mkpop3dcert" |
244 |
|
245 |
dosym /usr/sbin/courierlogger /usr/$(get_libdir)/${PN}/courierlogger |
246 |
|
247 |
mkdir "${WORKDIR}/tmp" ; cd "${WORKDIR}/tmp" |
248 |
|
249 |
for initd in courier-{imapd,pop3d}{,-ssl} ; do |
250 |
sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${INITD_VER}-${initd}.rc6" > "${initd}" || die "initd libdir-sed failed" |
251 |
doinitd "${initd}" |
252 |
done |
253 |
|
254 |
systemd_newunit "${FILESDIR}"/courier-authdaemond-r1.service courier-authdaemond.service |
255 |
systemd_newunit "${FILESDIR}"/courier-imapd-ssl-r1.service courier-imapd-ssl.service |
256 |
systemd_newunit "${FILESDIR}"/courier-imapd-r1.service courier-imapd.service |
257 |
|
258 |
exeinto /usr/$(get_libdir)/${PN} |
259 |
for exe in gentoo-{imapd,pop3d}{,-ssl}.rc courier-{imapd,pop3d}.indirect ; do |
260 |
sed -e "s:GENTOO_LIBDIR:$(get_libdir):g" "${FILESDIR}/${PN}-${RC_VER}-${exe}" > "${exe}" || die "exe libdir-sed failed" |
261 |
doexe "${exe}" |
262 |
done |
263 |
|
264 |
dodir /usr/bin |
265 |
mv -f "${D}/usr/sbin/maildirmake" "${D}/usr/bin/maildirmake" || die "Failed to mv /usr/sbin/maildirmake to /usr/bin/maildirmake" |
266 |
|
267 |
# Bug #45953, more docs. |
268 |
cd "${S}" |
269 |
dohtml -r "${S}"/* |
270 |
dodoc "${S}"/{AUTHORS,INSTALL,NEWS,README,ChangeLog} "${FILESDIR}"/${PN}-gentoo.readme |
271 |
docinto imap |
272 |
dodoc "${S}"/libs/imap/{ChangeLog,BUGS,BUGS.html,README} |
273 |
docinto maildir |
274 |
dodoc "${S}"/libs/maildir/{AUTHORS,INSTALL,README.maildirquota.txt,README.sharedfolders.txt} |
275 |
docinto tcpd |
276 |
dodoc "${S}"/libs/tcpd/README.couriertls |
277 |
} |
278 |
|
279 |
pkg_postinst() { |
280 |
elog "Please read http://www.courier-mta.org/imap/INSTALL.html#upgrading" |
281 |
elog "and remove TLS_DHPARAMS from configuration files or run mkdhparams" |
282 |
|
283 |
elog "For a quick-start howto please refer to" |
284 |
elog "${PN}-gentoo.readme in /usr/share/doc/${PF}" |
285 |
# Some users have been reporting that permissions on this directory were |
286 |
# getting scrambled, so let's ensure that they are sane. |
287 |
chmod 0755 "${ROOT}/usr/$(get_libdir)/${PN}" || die "Failed to ensure sane permissions on ${ROOT}/usr/$(get_libdir)/${PN}" |
288 |
} |
289 |
|
290 |
src_test() { |
291 |
ewarn "make check is not supported by this package due to the" |
292 |
ewarn "--enable-workarounds-for-imap-client-bugs option." |
293 |
} |