Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/havp: havp-0.90.ebuild ChangeLog havp-0.88.ebuild
Date: Wed, 08 Apr 2009 23:46:28
Message-Id: E1LrhTN-0003Xk-KZ@stork.gentoo.org
1 mrness 09/04/08 23:46:25
2
3 Modified: ChangeLog
4 Added: havp-0.90.ebuild
5 Removed: havp-0.88.ebuild
6 Log:
7 Version bump that adds clamav-0.95 support (#264440 and #265440).
8 (Portage version: 2.1.6.7/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.30 net-proxy/havp/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 15 Aug 2008 18:16:56 -0000 1.29
24 +++ ChangeLog 8 Apr 2009 23:46:25 -0000 1.30
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-proxy/havp
27 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.29 2008/08/15 18:16:56 maekke Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.30 2009/04/08 23:46:25 mrness Exp $
31 +
32 +*havp-0.90 (08 Apr 2009)
33 +
34 + 08 Apr 2009; Alin Năstac <mrness@g.o> -havp-0.88.ebuild,
35 + +havp-0.90.ebuild:
36 + Version bump that adds clamav-0.95 support (#264440 and #265440).
37
38 15 Aug 2008; Markus Meier <maekke@g.o> havp-0.89.ebuild:
39 amd64/x86 stable, bug #234715
40
41
42
43 1.1 net-proxy/havp/havp-0.90.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/havp-0.90.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/havp-0.90.ebuild?rev=1.1&content-type=text/plain
47
48 Index: havp-0.90.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.90.ebuild,v 1.1 2009/04/08 23:46:25 mrness Exp $
53
54 inherit eutils
55
56 DESCRIPTION="HTTP AntiVirus Proxy"
57 HOMEPAGE="http://www.server-side.de/"
58 SRC_URI="http://www.server-side.de/download/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="clamav ssl"
64
65 DEPEND="clamav? ( app-antivirus/clamav )"
66 RDEPEND="${DEPEND}"
67
68 pkg_setup() {
69 enewgroup havp
70 enewuser havp -1 -1 /etc/havp havp
71 }
72
73 src_compile() {
74 econf --localstatedir=/var \
75 $(use_enable clamav) \
76 $(use_enable ssl ssl-tunnel) || die "configure failed"
77 emake || die "make failed"
78 }
79
80 src_install() {
81 exeinto /usr/sbin
82 doexe havp/havp
83
84 newinitd "${FILESDIR}/havp.initd" havp
85 insinto /etc
86 doins -r etc/havp
87
88 diropts -m 0700 -o havp -g havp
89 keepdir /var/log/havp
90
91 diropts -m 0750
92 dodir /var/run/havp /var/tmp/havp
93
94 dodoc ChangeLog
95 }
96
97 pkg_postinst() {
98 ewarn "/var/tmp/havp must be on a filesystem with mandatory locks!"
99 ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab."
100
101 if use ssl; then
102 echo
103 ewarn "Note: ssl USE flag only enable SSL pass-through, which means that"
104 ewarn " HTTPS pages will not be scanned for viruses!"
105 ewarn " It is impossible to decrypt data sent through SSL connections without knowing"
106 ewarn " the private key of the used certificate."
107 fi
108
109 if use clamav; then
110 echo
111 ewarn "If you plan to use clamav daemon, you should make sure clamav user can read"
112 ewarn "/var/tmp/havp content. This can be accomplished by enabling AllowSupplementaryGroups"
113 ewarn "in /etc/clamd.conf and adding clamav user to the havp group."
114 fi
115 }