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