1 |
eras 11/05/27 13:50:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: maildrop-2.5.4.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.1.9.50/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.107 mail-filter/maildrop/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/ChangeLog?rev=1.107&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/ChangeLog?rev=1.107&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/ChangeLog?r1=1.106&r2=1.107 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v |
20 |
retrieving revision 1.106 |
21 |
retrieving revision 1.107 |
22 |
diff -u -r1.106 -r1.107 |
23 |
--- ChangeLog 15 May 2011 10:10:31 -0000 1.106 |
24 |
+++ ChangeLog 27 May 2011 13:50:51 -0000 1.107 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for mail-filter/maildrop |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.106 2011/05/15 10:10:31 xarthisius Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.107 2011/05/27 13:50:51 eras Exp $ |
30 |
+ |
31 |
+*maildrop-2.5.4 (27 May 2011) |
32 |
+ |
33 |
+ 27 May 2011; Eray Aslan <eras@g.o> +maildrop-2.5.4.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
15 May 2011; Kacper Kowalik <xarthisius@g.o> maildrop-2.5.3.ebuild: |
37 |
Marked ~ppc64 wrt #366525 |
38 |
|
39 |
|
40 |
|
41 |
1.1 mail-filter/maildrop/maildrop-2.5.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/maildrop-2.5.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/maildrop/maildrop-2.5.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: maildrop-2.5.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.5.4.ebuild,v 1.1 2011/05/27 13:50:51 eras Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
inherit eutils flag-o-matic autotools |
55 |
|
56 |
DESCRIPTION="Mail delivery agent/filter" |
57 |
[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" |
58 |
[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" |
59 |
[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" |
60 |
HOMEPAGE="http://www.courier-mta.org/maildrop/" |
61 |
|
62 |
LICENSE="GPL-3" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
65 |
IUSE="berkdb debug fam gdbm ldap mysql postgres authlib" |
66 |
|
67 |
CDEPEND="!mail-mta/courier |
68 |
net-mail/mailbase |
69 |
dev-libs/libpcre |
70 |
net-dns/libidn |
71 |
gdbm? ( >=sys-libs/gdbm-1.8.0 ) |
72 |
mysql? ( net-libs/courier-authlib ) |
73 |
postgres? ( net-libs/courier-authlib ) |
74 |
ldap? ( net-libs/courier-authlib ) |
75 |
authlib? ( net-libs/courier-authlib ) |
76 |
fam? ( virtual/fam ) |
77 |
!gdbm? ( |
78 |
berkdb? ( |
79 |
>=sys-libs/db-3 |
80 |
) |
81 |
)" |
82 |
DEPEND="${CDEPEND} |
83 |
dev-util/pkgconfig" |
84 |
RDEPEND="${CDEPEND} |
85 |
dev-lang/perl" |
86 |
REQUIRED_USE="mysql? ( authlib ) |
87 |
postgres? ( authlib ) |
88 |
ldap? ( authlib )" |
89 |
|
90 |
S=${WORKDIR}/${P%%_pre} |
91 |
|
92 |
src_prepare() { |
93 |
# Prefer gdbm over berkdb |
94 |
if use gdbm ; then |
95 |
use berkdb && elog "Both gdbm and berkdb selected. Using gdbm." |
96 |
elif use berkdb ; then |
97 |
epatch "${FILESDIR}"/${PN}-2.5.1-db.patch |
98 |
fi |
99 |
|
100 |
if ! use fam ; then |
101 |
epatch "${FILESDIR}"/${PN}-1.8.1-disable-fam.patch |
102 |
fi |
103 |
|
104 |
eautoreconf |
105 |
} |
106 |
|
107 |
src_configure() { |
108 |
local myconf |
109 |
local mytrustedusers="apache dspam root mail fetchmail \ |
110 |
daemon postmaster qmaild mmdf vmail alias" |
111 |
|
112 |
# These flags make maildrop cry |
113 |
replace-flags -Os -O2 |
114 |
filter-flags -fomit-frame-pointer |
115 |
|
116 |
if use gdbm ; then |
117 |
myconf="${myconf} --with-db=gdbm" |
118 |
elif use berkdb ; then |
119 |
myconf="${myconf} --with-db=db" |
120 |
else |
121 |
myconf="${myconf} --without-db" |
122 |
fi |
123 |
|
124 |
if ! use mysql && ! use postgres && ! use ldap && ! use authlib ; then |
125 |
myconf="${myconf} --disable-authlib" |
126 |
fi |
127 |
|
128 |
econf \ |
129 |
$(use_enable fam) \ |
130 |
--disable-dependency-tracker \ |
131 |
--with-devel \ |
132 |
--disable-tempdir \ |
133 |
--enable-syslog=1 \ |
134 |
--enable-use-flock=1 \ |
135 |
--enable-use-dotlock=1 \ |
136 |
--enable-restrict-trusted=1 \ |
137 |
--enable-trusted-users="${mytrustedusers}" \ |
138 |
--enable-maildrop-uid=root \ |
139 |
--enable-maildrop-gid=mail \ |
140 |
--with-default-maildrop=./.maildir/ \ |
141 |
--enable-sendmail=/usr/sbin/sendmail \ |
142 |
--cache-file="${S}"/configuring.cache \ |
143 |
${myconf} |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
emake DESTDIR="${D}" install |
148 |
|
149 |
fperms 4755 /usr/bin/maildrop |
150 |
|
151 |
dodoc AUTHORS ChangeLog INSTALL NEWS README \ |
152 |
README.postfix UPGRADE maildroptips.txt |
153 |
docinto unicode |
154 |
dodoc unicode/README |
155 |
docinto maildir |
156 |
dodoc maildir/AUTHORS maildir/INSTALL maildir/README*.txt |
157 |
|
158 |
dodir "/usr/share/doc/${PF}" |
159 |
mv "${D}/usr/share/maildrop/html" "${D}/usr/share/doc/${PF}/" |
160 |
rm -rf "${D}"/usr/share/maildrop |
161 |
|
162 |
dohtml *.html maildir/*.html |
163 |
|
164 |
insinto /etc |
165 |
doins "${FILESDIR}"/maildroprc |
166 |
} |