1 |
commit: 2ebd5427a8528ccd291541c94e04ae31845ae613 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 17 18:58:16 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 17 19:19:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ebd5427 |
7 |
|
8 |
net-proxy/havp: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
net-proxy/havp/havp-0.92a-r2.ebuild | 75 ------------------------------------- |
14 |
1 file changed, 75 deletions(-) |
15 |
|
16 |
diff --git a/net-proxy/havp/havp-0.92a-r2.ebuild b/net-proxy/havp/havp-0.92a-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 1ff90bd402e..00000000000 |
19 |
--- a/net-proxy/havp/havp-0.92a-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,75 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit autotools epatch 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}"/${P}-pkg-config-libclamav.patch |
50 |
- |
51 |
- sed -i configure.in -e '/^CFLAGS=/d' || die |
52 |
- mv configure.{in,ac} || die |
53 |
- |
54 |
- eautoreconf |
55 |
-} |
56 |
- |
57 |
-src_configure() { |
58 |
- tc-export AR |
59 |
- export CFLAGS="${CXXFLAGS}" |
60 |
- econf \ |
61 |
- $(use_enable clamav) \ |
62 |
- $(use_enable ssl ssl-tunnel) \ |
63 |
- --localstatedir=/var |
64 |
-} |
65 |
- |
66 |
-src_install() { |
67 |
- dosbin ${PN}/${PN} |
68 |
- |
69 |
- newinitd "${FILESDIR}/${PN}.initd" ${PN} |
70 |
- |
71 |
- insinto /etc |
72 |
- rm -r etc/${PN}/${PN}.config.in |
73 |
- doins -r etc/${PN} |
74 |
- |
75 |
- dodoc ChangeLog |
76 |
-} |
77 |
- |
78 |
-pkg_postinst() { |
79 |
- ewarn "/var/tmp/${PN} must be on a filesystem with mandatory locks!" |
80 |
- ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab." |
81 |
- |
82 |
- if use ssl; then |
83 |
- echo |
84 |
- ewarn "Note: ssl USE flag only enable SSL pass-through, which means that" |
85 |
- ewarn " HTTPS pages will not be scanned for viruses!" |
86 |
- ewarn " It is impossible to decrypt data sent through SSL connections without knowing" |
87 |
- ewarn " the private key of the used certificate." |
88 |
- fi |
89 |
- |
90 |
- if use clamav; then |
91 |
- echo |
92 |
- ewarn "If you plan to use clamav daemon, you should make sure clamav user can read" |
93 |
- ewarn "/var/tmp/${PN} content. This can be accomplished by enabling AllowSupplementaryGroups" |
94 |
- ewarn "in /etc/clamd.conf and adding clamav user to the ${PN} group." |
95 |
- fi |
96 |
-} |