1 |
tove 10/02/25 08:28:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: maildrop-2.4.2.ebuild |
5 |
Removed: maildrop-2.1.0.ebuild maildrop-2.4.0.ebuild |
6 |
maildrop-2.0.4.ebuild |
7 |
Log: |
8 |
Version bump. Cleanup |
9 |
(Portage version: 2.2_rc63/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.95 mail-filter/maildrop/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/maildrop/ChangeLog?rev=1.95&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/maildrop/ChangeLog?rev=1.95&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/maildrop/ChangeLog?r1=1.94&r2=1.95 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v |
21 |
retrieving revision 1.94 |
22 |
retrieving revision 1.95 |
23 |
diff -u -r1.94 -r1.95 |
24 |
--- ChangeLog 16 Feb 2010 11:07:42 -0000 1.94 |
25 |
+++ ChangeLog 25 Feb 2010 08:28:21 -0000 1.95 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for mail-filter/maildrop |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.94 2010/02/16 11:07:42 tove Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.95 2010/02/25 08:28:21 tove Exp $ |
31 |
+ |
32 |
+*maildrop-2.4.2 (25 Feb 2010) |
33 |
+ |
34 |
+ 25 Feb 2010; Torsten Veller <tove@g.o> -maildrop-2.0.4.ebuild, |
35 |
+ -maildrop-2.1.0.ebuild, -maildrop-2.4.0.ebuild, +maildrop-2.4.2.ebuild: |
36 |
+ Version bump. Cleanup |
37 |
|
38 |
*maildrop-2.4.1 (16 Feb 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 mail-filter/maildrop/maildrop-2.4.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/maildrop/maildrop-2.4.2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/maildrop/maildrop-2.4.2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: maildrop-2.4.2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-2.4.2.ebuild,v 1.1 2010/02/25 08:28:21 tove Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit eutils flag-o-matic autotools |
57 |
|
58 |
DESCRIPTION="Mail delivery agent/filter" |
59 |
[[ -z ${PV/?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" |
60 |
[[ -z ${PV/?.?.?/} ]] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2" |
61 |
[[ -z ${SRC_URI} ]] && SRC_URI="http://www.courier-mta.org/beta/${PN}/${P%%_pre}.tar.bz2" |
62 |
HOMEPAGE="http://www.courier-mta.org/maildrop/" |
63 |
|
64 |
LICENSE="GPL-3" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sh ~sparc ~x86" |
67 |
IUSE="berkdb debug fam gdbm ldap mysql postgres authlib" |
68 |
|
69 |
DEPEND="!mail-mta/courier |
70 |
net-mail/mailbase |
71 |
dev-libs/libpcre |
72 |
net-dns/libidn |
73 |
gdbm? ( >=sys-libs/gdbm-1.8.0 ) |
74 |
mysql? ( net-libs/courier-authlib ) |
75 |
postgres? ( net-libs/courier-authlib ) |
76 |
ldap? ( net-libs/courier-authlib ) |
77 |
authlib? ( net-libs/courier-authlib ) |
78 |
fam? ( virtual/fam ) |
79 |
!gdbm? ( |
80 |
berkdb? ( |
81 |
>=sys-libs/db-3 |
82 |
) |
83 |
)" |
84 |
RDEPEND="${DEPEND} |
85 |
dev-lang/perl" |
86 |
PROVIDE="virtual/mda" |
87 |
|
88 |
S=${WORKDIR}/${P%%_pre} |
89 |
|
90 |
src_prepare() { |
91 |
# epatch "${FILESDIR}"/${PN}-2.0.4-makedat.patch |
92 |
|
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.2.0-db4.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 |
make DESTDIR="${D}" install || die |
148 |
|
149 |
fperms 4755 /usr/bin/maildrop |
150 |
|
151 |
dodoc AUTHORS ChangeLog INSTALL NEWS README \ |
152 |
README.postfix UPGRADE maildroptips.txt || die |
153 |
|
154 |
dodir /usr/share/doc/${PF} |
155 |
mv "${D}"/usr/share/maildrop/html "${D}"/usr/share/doc/${PF}/ |
156 |
|
157 |
dohtml {INSTALL,README,UPGRADE}.html || die |
158 |
|
159 |
insinto /etc |
160 |
doins "${FILESDIR}"/maildroprc || die |
161 |
} |