Gentoo Archives: gentoo-commits

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