Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/havp/
Date: Tue, 03 May 2016 19:18:00
Message-Id: 1462303021.4efd4972ad12c1131f32563f35abcff21c74c5ea.wizardedit@gentoo
1 commit: 4efd4972ad12c1131f32563f35abcff21c74c5ea
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 18:59:58 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 19:17:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4efd4972
7
8 net-proxy/havp: remove old version
9
10 Package-Manager: portage-2.2.26
11
12 net-proxy/havp/havp-0.92a-r1.ebuild | 74 -------------------------------------
13 1 file changed, 74 deletions(-)
14
15 diff --git a/net-proxy/havp/havp-0.92a-r1.ebuild b/net-proxy/havp/havp-0.92a-r1.ebuild
16 deleted file mode 100644
17 index 8f5a017..0000000
18 --- a/net-proxy/havp/havp-0.92a-r1.ebuild
19 +++ /dev/null
20 @@ -1,74 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -
27 -inherit autotools eutils toolchain-funcs user
28 -
29 -DESCRIPTION="HTTP AntiVirus Proxy"
30 -HOMEPAGE="http://www.server-side.de/"
31 -SRC_URI="http://www.server-side.de/download/${P}.tar.gz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="amd64 x86"
36 -IUSE="clamav ssl"
37 -
38 -DEPEND="clamav? ( >=app-antivirus/clamav-0.98.5 )"
39 -RDEPEND="${DEPEND}"
40 -
41 -pkg_setup() {
42 - enewgroup ${PN}
43 - enewuser ${PN} -1 -1 /etc/${PN} ${PN}
44 -}
45 -
46 -src_prepare() {
47 - epatch \
48 - "${FILESDIR}"/${PN}-0.92a-run.patch \
49 - "${FILESDIR}"/${PF}-pkg-config-libclamav.patch
50 - sed -i configure.in -e '/^CFLAGS=/d' || die
51 - mv configure.{in,ac} || die
52 - eautoreconf
53 -}
54 -
55 -src_configure() {
56 - tc-export AR
57 - export CFLAGS="${CXXFLAGS}"
58 - econf \
59 - $(use_enable clamav) \
60 - $(use_enable ssl ssl-tunnel) \
61 - --localstatedir=/var
62 -}
63 -
64 -src_install() {
65 - dosbin ${PN}/${PN}
66 -
67 - newinitd "${FILESDIR}/${PN}.initd" ${PN}
68 -
69 - insinto /etc
70 - rm -r etc/${PN}/${PN}.config.in
71 - doins -r etc/${PN}
72 -
73 - dodoc ChangeLog
74 -}
75 -
76 -pkg_postinst() {
77 - ewarn "/var/tmp/${PN} must be on a filesystem with mandatory locks!"
78 - ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab."
79 -
80 - if use ssl; then
81 - echo
82 - ewarn "Note: ssl USE flag only enable SSL pass-through, which means that"
83 - ewarn " HTTPS pages will not be scanned for viruses!"
84 - ewarn " It is impossible to decrypt data sent through SSL connections without knowing"
85 - ewarn " the private key of the used certificate."
86 - fi
87 -
88 - if use clamav; then
89 - echo
90 - ewarn "If you plan to use clamav daemon, you should make sure clamav user can read"
91 - ewarn "/var/tmp/${PN} content. This can be accomplished by enabling AllowSupplementaryGroups"
92 - ewarn "in /etc/clamd.conf and adding clamav user to the ${PN} group."
93 - fi
94 -}