From: | "Alin Nastac (mrness)" <mrness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-proxy/havp: ChangeLog havp-0.88.ebuild |
Date: | Sun, 20 Apr 2008 01:17:16 |
Message-Id: | E1JnOB7-0006wI-58@stork.gentoo.org |
1 | mrness 08/04/20 01:17:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: havp-0.88.ebuild |
5 | Log: |
6 | Version bump (#218087). New version supports clamav-0.93 (#218374). |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.24 net-proxy/havp/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/ChangeLog?rev=1.24&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/ChangeLog?rev=1.24&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/ChangeLog?r1=1.23&r2=1.24 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v |
19 | retrieving revision 1.23 |
20 | retrieving revision 1.24 |
21 | diff -u -r1.23 -r1.24 |
22 | --- ChangeLog 29 Jan 2008 10:54:25 -0000 1.23 |
23 | +++ ChangeLog 20 Apr 2008 01:17:12 -0000 1.24 |
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.23 2008/01/29 10:54:25 mrness Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.24 2008/04/20 01:17:12 mrness Exp $ |
29 | + |
30 | +*havp-0.88 (20 Apr 2008) |
31 | + |
32 | + 20 Apr 2008; Alin Năstac <mrness@g.o> +havp-0.88.ebuild: |
33 | + Version bump (#218087). New version supports clamav-0.93 (#218374). |
34 | |
35 | *havp-0.87 (29 Jan 2008) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 net-proxy/havp/havp-0.88.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/havp-0.88.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-proxy/havp/havp-0.88.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: havp-0.88.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.88.ebuild,v 1.1 2008/04/20 01:17:12 mrness 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 | } |
113 | |
114 | |
115 | |
116 | -- |
117 | gentoo-commits@l.g.o mailing list |