1 |
dertobi123 08/12/27 17:09:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: procmail-3.22-r10.ebuild |
5 |
Log: |
6 |
Add note to configure a default mail storage location when using maildir (#249579), do not strip binaries and respect LDFLAGS (#249202) |
7 |
(Portage version: 2.2_rc19/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.36 mail-filter/procmail/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/ChangeLog?rev=1.36&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/ChangeLog?rev=1.36&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/ChangeLog?r1=1.35&r2=1.36 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v |
19 |
retrieving revision 1.35 |
20 |
retrieving revision 1.36 |
21 |
diff -u -r1.35 -r1.36 |
22 |
--- ChangeLog 2 Dec 2008 06:51:20 -0000 1.35 |
23 |
+++ ChangeLog 27 Dec 2008 17:09:00 -0000 1.36 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for mail-filter/procmail |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.35 2008/12/02 06:51:20 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.36 2008/12/27 17:09:00 dertobi123 Exp $ |
29 |
+ |
30 |
+*procmail-3.22-r10 (27 Dec 2008) |
31 |
+ |
32 |
+ 27 Dec 2008; Tobias Scherbaum <dertobi123@g.o> |
33 |
+ +procmail-3.22-r10.ebuild: |
34 |
+ Add note to configure a default mail storage location when using maildir |
35 |
+ (#249579), do not strip binaries and respect LDFLAGS (#249202) |
36 |
|
37 |
02 Dec 2008; Jeroen Roovers <jer@g.o> procmail-3.22-r9.ebuild: |
38 |
Stable for HPPA (bug #233595). |
39 |
|
40 |
|
41 |
|
42 |
1.1 mail-filter/procmail/procmail-3.22-r10.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/procmail-3.22-r10.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/procmail-3.22-r10.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: procmail-3.22-r10.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r10.ebuild,v 1.1 2008/12/27 17:09:00 dertobi123 Exp $ |
52 |
|
53 |
inherit eutils flag-o-matic toolchain-funcs |
54 |
|
55 |
DESCRIPTION="Mail delivery agent/filter" |
56 |
HOMEPAGE="http://www.procmail.org/" |
57 |
SRC_URI="http://www.procmail.org/${P}.tar.gz" |
58 |
|
59 |
LICENSE="|| ( Artistic GPL-2 )" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
62 |
IUSE="mbox selinux" |
63 |
|
64 |
DEPEND="virtual/libc virtual/mta" |
65 |
RDEPEND="virtual/libc |
66 |
selinux? ( sec-policy/selinux-procmail )" |
67 |
PROVIDE="virtual/mda" |
68 |
|
69 |
src_unpack() { |
70 |
unpack ${A} |
71 |
cd "${S}" |
72 |
|
73 |
# disable flock, using both fcntl and flock style locking |
74 |
# doesn't work with NFS with 2.6.17+ kernels, bug #156493 |
75 |
|
76 |
sed -e "s:/\*#define NO_flock_LOCK:#define NO_flock_LOCK:" \ |
77 |
-i config.h || die "sed failed" |
78 |
|
79 |
if ! use mbox ; then |
80 |
echo "# Use maildir-style mailbox in user's home directory" > "${S}"/procmailrc |
81 |
echo 'DEFAULT=$HOME/.maildir/' >> "${S}"/procmailrc |
82 |
cd "${S}" |
83 |
epatch "${FILESDIR}/gentoo-maildir3.diff" |
84 |
else |
85 |
echo '# Use mbox-style mailbox in /var/spool/mail' > "${S}"/procmailrc |
86 |
echo 'DEFAULT=/var/spool/mail/$LOGNAME' >> "${S}"/procmailrc |
87 |
fi |
88 |
|
89 |
# Do not use lazy bindings on lockfile and procmail |
90 |
epatch "${FILESDIR}/${PN}-lazy-bindings.diff" |
91 |
|
92 |
# Fix for bug #102340 |
93 |
epatch "${FILESDIR}/${PN}-comsat-segfault.diff" |
94 |
|
95 |
# Fix for bug #119890 |
96 |
epatch "${FILESDIR}/${PN}-maxprocs-fix.diff" |
97 |
|
98 |
# Fix for bug #200006 |
99 |
epatch "${FILESDIR}/${PN}-pipealloc.diff" |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
# -finline-functions (implied by -O3) leaves strstr() in an infinite loop. |
104 |
# To work around this, we append -fno-inline-functions to CFLAGS |
105 |
append-flags -fno-inline-functions |
106 |
|
107 |
sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \ |
108 |
-e "s:LDFLAGS0= -s:LDFLAGS0 = ${LDFLAGS}:" \ |
109 |
-e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \ |
110 |
-e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \ |
111 |
-i Makefile || die "sed failed" |
112 |
|
113 |
emake CC="$(tc-getCC)" || die |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
cd "${S}"/new |
118 |
insinto /usr/bin |
119 |
insopts -m 6755 |
120 |
doins procmail || die |
121 |
|
122 |
doins lockfile || die |
123 |
fowners root:mail /usr/bin/lockfile |
124 |
fperms 2775 /usr/bin/lockfile |
125 |
|
126 |
dobin formail mailstat || die |
127 |
insopts -m 0644 |
128 |
|
129 |
doman *.1 *.5 |
130 |
|
131 |
cd "${S}" |
132 |
dodoc FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README |
133 |
|
134 |
insinto /etc |
135 |
doins procmailrc || die |
136 |
|
137 |
docinto examples |
138 |
dodoc examples/* |
139 |
} |
140 |
|
141 |
pkg_postinst() { |
142 |
if ! use mbox ; then |
143 |
elog "Starting with mail-filter/procmail-3.22-r9 you'll need to ensure" |
144 |
elog "that you configure a mail storage location using DEFAULT in" |
145 |
elog "/etc/procmailrc, for example:" |
146 |
elog "\tDEFAULT=\$HOME/.maildir/" |
147 |
fi |
148 |
} |