Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-filter/simscan: ChangeLog simscan-1.4.0-r2.ebuild
Date: Mon, 01 Sep 2008 06:34:22
Message-Id: E1Ka2zS-0005sd-DB@stork.gentoo.org
1 hollow 08/09/01 06:34:18
2
3 Modified: ChangeLog simscan-1.4.0-r2.ebuild
4 Log:
5 use QMAIL_HOME from qmail.eclass
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.10 mail-filter/simscan/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/simscan/ChangeLog?rev=1.10&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/simscan/ChangeLog?rev=1.10&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/simscan/ChangeLog?r1=1.9&r2=1.10
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/mail-filter/simscan/ChangeLog,v
18 retrieving revision 1.9
19 retrieving revision 1.10
20 diff -u -r1.9 -r1.10
21 --- ChangeLog 23 Aug 2008 06:00:38 -0000 1.9
22 +++ ChangeLog 1 Sep 2008 06:34:17 -0000 1.10
23 @@ -1,6 +1,9 @@
24 # ChangeLog for mail-filter/simscan
25 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/ChangeLog,v 1.9 2008/08/23 06:00:38 cardoe Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/ChangeLog,v 1.10 2008/09/01 06:34:17 hollow Exp $
28 +
29 + 01 Sep 2008; Benedikt Böhm <hollow@g.o> simscan-1.4.0-r2.ebuild:
30 + use QMAIL_HOME from qmail.eclass
31
32 23 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
33 add GLEP 56 USE flag desc from use.local.desc
34
35
36
37 1.2 mail-filter/simscan/simscan-1.4.0-r2.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/simscan/simscan-1.4.0-r2.ebuild?rev=1.2&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/simscan/simscan-1.4.0-r2.ebuild?rev=1.2&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/simscan/simscan-1.4.0-r2.ebuild?r1=1.1&r2=1.2
42
43 Index: simscan-1.4.0-r2.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/mail-filter/simscan/simscan-1.4.0-r2.ebuild,v
46 retrieving revision 1.1
47 retrieving revision 1.2
48 diff -u -r1.1 -r1.2
49 --- simscan-1.4.0-r2.ebuild 14 Mar 2008 23:52:31 -0000 1.1
50 +++ simscan-1.4.0-r2.ebuild 1 Sep 2008 06:34:17 -0000 1.2
51 @@ -1,8 +1,8 @@
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/simscan-1.4.0-r2.ebuild,v 1.1 2008/03/14 23:52:31 tupone Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/simscan/simscan-1.4.0-r2.ebuild,v 1.2 2008/09/01 06:34:17 hollow Exp $
56
57 -inherit autotools toolchain-funcs eutils fixheadtails flag-o-matic
58 +inherit autotools toolchain-funcs eutils fixheadtails flag-o-matic qmail
59
60 DESCRIPTION="Simscan, a qmail scanner"
61 HOMEPAGE="http://inter7.com/?page=simscan"
62 @@ -51,8 +51,8 @@
63
64 src_compile() {
65 econf \
66 - --enable-qmaildir=/var/qmail \
67 - --enable-qmail-queue=/var/qmail/bin/qmail-queue \
68 + --enable-qmaildir=${QMAIL_HOME} \
69 + --enable-qmail-queue=${QMAIL_HOME}/bin/qmail-queue \
70 $(use_enable attachment attach) \
71 $(use_enable clamav) \
72 $(use_enable clamav clamdscan /usr/bin/clamdscan) \
73 @@ -64,7 +64,7 @@
74 $(use_enable spamc-user) \
75 $(use_enable spam-auth-user) \
76 $(use_enable passthru spam-passthru) \
77 - $(use_enable quarantine quarantinedir /var/qmail/quarantine) \
78 + $(use_enable quarantine quarantinedir ${QMAIL_HOME}/quarantine) \
79 $(use_enable regex) \
80 $(use_enable custom-smtp-reject) \
81 $(use_enable received) \
82 @@ -77,30 +77,30 @@
83 emake DESTDIR="${D}" install || die "emake install failed"
84 dodoc AUTHORS ChangeLog README TODO
85
86 - keepdir /var/qmail/control
87 - keepdir /var/qmail/simscan
88 + keepdir ${QMAIL_HOME}/control
89 + keepdir ${QMAIL_HOME}/simscan
90
91 # Set directory permission for clamav to do its work
92 - fowners simscan:simscan /var/qmail/simscan
93 - fperms 2750 /var/qmail/simscan
94 + fowners simscan:simscan ${QMAIL_HOME}/simscan
95 + fperms 2750 ${QMAIL_HOME}/simscan
96
97 if use clamav; then
98 - echo -n ":clam=yes," > "${D}"/var/qmail/control/simcontrol
99 + echo -n ":clam=yes," > "${D}${QMAIL_HOME}"/control/simcontrol
100 else
101 - echo -n ":clam=no," > "${D}"/var/qmail/control/simcontrol
102 + echo -n ":clam=no," > "${D}${QMAIL_HOME}"/control/simcontrol
103 fi
104
105 if use spamassassin; then
106 - echo "spam=yes,spam_hits=${SIMSCAN_HITS}" >> "${D}"/var/qmail/control/simcontrol
107 + echo "spam=yes,spam_hits=${SIMSCAN_HITS}" >> "${D}${QMAIL_HOME}"/control/simcontrol
108 else
109 - echo "spam=no" >> "${D}"/var/qmail/control/simcontrol
110 + echo "spam=no" >> "${D}${QMAIL_HOME}"/control/simcontrol
111 fi
112 }
113
114 pkg_postinst() {
115 ewarn "Updating simscan configuration files ..."
116 - /var/qmail/bin/simscanmk
117 - use received && /var/qmail/bin/simscanmk -g
118 + ${QMAIL_HOME}/bin/simscanmk
119 + use received && ${QMAIL_HOME}/bin/simscanmk -g
120
121 ewarn
122 ewarn "You have to do that every time you update clamav or spamassassin"
123 @@ -108,8 +108,8 @@
124
125 einfo
126 einfo "In order use simscan update the QMAILQUEUE environment variable"
127 - einfo "and point it to /var/qmail/bin/simscan"
128 + einfo "and point it to ${QMAIL_HOME}/bin/simscan"
129 einfo
130 - einfo "Read the documentation and customize /var/qmail/control/simcontrol"
131 + einfo "Read the documentation and customize ${QMAIL_HOME}/control/simcontrol"
132 einfo
133 }