1 |
tupone 08/10/30 21:28:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: spamdyke-4.0.7.ebuild |
5 |
Log: |
6 |
Version bump to 4.0.7 |
7 |
(Portage version: 2.1.4.5) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 mail-filter/spamdyke/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/spamdyke/ChangeLog?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/spamdyke/ChangeLog?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/spamdyke/ChangeLog?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/ChangeLog,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- ChangeLog 23 Aug 2008 06:03:52 -0000 1.9 |
23 |
+++ ChangeLog 30 Oct 2008 21:28:34 -0000 1.10 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for mail-filter/spamdyke |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/ChangeLog,v 1.9 2008/08/23 06:03:52 cardoe Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/ChangeLog,v 1.10 2008/10/30 21:28:34 tupone Exp $ |
29 |
+ |
30 |
+*spamdyke-4.0.7 (30 Oct 2008) |
31 |
+ |
32 |
+ 30 Oct 2008; Tupone Alfredo <tupone@g.o> +spamdyke-4.0.7.ebuild: |
33 |
+ Version bump to 4.0.7 |
34 |
|
35 |
23 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml: |
36 |
add GLEP 56 USE flag desc from use.local.desc |
37 |
|
38 |
|
39 |
|
40 |
1.1 mail-filter/spamdyke/spamdyke-4.0.7.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/spamdyke/spamdyke-4.0.7.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/spamdyke/spamdyke-4.0.7.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: spamdyke-4.0.7.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/mail-filter/spamdyke/spamdyke-4.0.7.ebuild,v 1.1 2008/10/30 21:28:34 tupone Exp $ |
50 |
|
51 |
EAPI="1" |
52 |
|
53 |
DESCRIPTION="A drop-in connection-time spam filter for qmail" |
54 |
HOMEPAGE="http://www.spamdyke.org/" |
55 |
SRC_URI="http://www.spamdyke.org/releases/${P}.tgz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~x86" |
60 |
IUSE="+tls" |
61 |
|
62 |
DEPEND="tls? ( dev-libs/openssl )" |
63 |
|
64 |
S=${WORKDIR}/${P}/${PN} |
65 |
|
66 |
src_unpack() { |
67 |
unpack ${A} |
68 |
cd "${S}" |
69 |
echo "# Configuration option for ${PN}" > ${PN}.conf |
70 |
if use tls; then |
71 |
echo "tls-certificate-file=/var/qmail/control/clientcert.pem" \ |
72 |
>> ${PN}.conf |
73 |
fi |
74 |
echo "graylist-level=always" >> ${PN}.conf |
75 |
echo "graylist-dir=/var/tmp/${PN}/graylist" >> ${PN}.conf |
76 |
echo "graylist-exception-rdns-dir=/etc/${PN}/never-graylist" >> ${PN}.conf |
77 |
echo "reject-empty-rdns" >> ${PN}.conf |
78 |
echo "reject-unresolvable-rdns" >> ${PN}.conf |
79 |
sed -i \ |
80 |
-e "/STRIP_CMD/d" \ |
81 |
Makefile.in || die "sed on Makefile.in failed" |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
econf --with-debug \ |
86 |
$(use_enable tls) || die "econf failed" |
87 |
emake CFLAGS="${CFLAGS}" || die "emake failed" |
88 |
cd ../utils |
89 |
econf || die "econf failed in utils" |
90 |
emake CFLAGS="${CFLAGS}" || die "emake in utils died" |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
dobin ${PN} || die "Installing ${PN} binary failed" |
95 |
insinto /etc/${PN} |
96 |
doins ${PN}.conf || die "Installing ${PN} configuration file failed" |
97 |
keepdir /var/tmp/${PN}/graylist/$(../utils/domain2path -d localhost) |
98 |
fowners -R qmaild /var/tmp/${PN} |
99 |
insinto /etc/${PN}/never-graylist/$(../utils/domain2path -d localhost) |
100 |
touch localhost |
101 |
doins localhost |
102 |
cd ../utils |
103 |
dobin domain2path || die "Installing domain2path binary failed" |
104 |
cd ../documentation |
105 |
dodoc {Changelog,INSTALL,UPGRADING}.txt |
106 |
dohtml FAQ.html \ |
107 |
README.html \ |
108 |
README_ip_file_format.html \ |
109 |
README_rdns_directory_format.html \ |
110 |
README_rdns_file_format.html |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
elog "In /var/qmail/control/conf-smtpd insert the line:" |
115 |
elog "QMAIL_SMTP_PRE=\"${QMAIL_SMTP_PRE} spamdyke -f /etc/${PN}/${PN}.conf\"" |
116 |
elog "Run spamdyke with the '-h' flag to see the available options and" |
117 |
elog "update /etc/spamdyke.conf accordingly" |
118 |
} |