summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-04-14 09:05:42 +0000
committerAlin Năstac <mrness@gentoo.org>2006-04-14 09:05:42 +0000
commit1ba08f5169e64db0ce1375e5e511bb72b8f0c2fd (patch)
tree8fac628ffb068dd370c2405e748dbba0698abfd3 /net-proxy/havp
parentx86 (diff)
downloadgentoo-2-1ba08f5169e64db0ce1375e5e511bb72b8f0c2fd.tar.gz
gentoo-2-1ba08f5169e64db0ce1375e5e511bb72b8f0c2fd.tar.bz2
gentoo-2-1ba08f5169e64db0ce1375e5e511bb72b8f0c2fd.zip
Version bump. Make clamav dependency conditioned by clamav USE flag.
(Portage version: 2.0.54)
Diffstat (limited to 'net-proxy/havp')
-rw-r--r--net-proxy/havp/ChangeLog8
-rw-r--r--net-proxy/havp/Manifest13
-rw-r--r--net-proxy/havp/files/digest-havp-0.791
-rw-r--r--net-proxy/havp/files/havp-0.79-gentoo.patch56
-rw-r--r--net-proxy/havp/havp-0.79.ebuild67
5 files changed, 134 insertions, 11 deletions
diff --git a/net-proxy/havp/ChangeLog b/net-proxy/havp/ChangeLog
index 3e789406ea9a..b9d939a03f62 100644
--- a/net-proxy/havp/ChangeLog
+++ b/net-proxy/havp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-proxy/havp
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.3 2006/03/29 21:43:19 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.4 2006/04/14 09:05:40 mrness Exp $
+
+*havp-0.79 (14 Apr 2006)
+
+ 14 Apr 2006; Alin Nastac <mrness@gentoo.org>
+ +files/havp-0.79-gentoo.patch, +havp-0.79.ebuild:
+ Version bump. Make clamav dependency conditioned by clamav USE flag.
*havp-0.78 (29 Mar 2006)
diff --git a/net-proxy/havp/Manifest b/net-proxy/havp/Manifest
index 182d835e671b..5b5006f19c44 100644
--- a/net-proxy/havp/Manifest
+++ b/net-proxy/havp/Manifest
@@ -1,19 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 a266c2f24cf956a1cc5f4804ae67c183 ChangeLog 807
MD5 a10c233cad7f2b08b3ff13e2da257120 files/digest-havp-0.77 61
MD5 ea5ad10659ea39e44e15b16c6be4c541 files/digest-havp-0.78 60
+MD5 281b9cc91b8323e0aa64a4a0d22b92c2 files/digest-havp-0.79 61
MD5 cd66ecd53dbfd35a54b9b087896b44b3 files/havp-0.77-gentoo.patch 1684
MD5 f5745a5052fb698dc7078955d4735ac8 files/havp-0.78-gentoo.patch 1433
+MD5 64475b72e94b337e2de1ee084d8c4d98 files/havp-0.79-gentoo.patch 2034
MD5 48ac043ca62a4c30df42d90463e3ce96 files/havp.initd 1600
MD5 d989585ab486e6582c1bc13542b64c7f havp-0.77.ebuild 1064
MD5 9dfea6c3245ddb0b792a1846290475d3 havp-0.78.ebuild 1513
+MD5 8d5ee1daa97ddee3f4e21ea60ad7f151 havp-0.79.ebuild 1532
MD5 eeef2b4ba39eb40826f14b0bd0489563 metadata.xml 309
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-
-iD8DBQFEKv+NjG8pv1lIUX4RAgUyAJwOV7BJVhWaQzS+vmDUmlcCRc2OuACeO94h
-bmUzOAxyDjPEzPqjSreayAs=
-=HGp1
------END PGP SIGNATURE-----
diff --git a/net-proxy/havp/files/digest-havp-0.79 b/net-proxy/havp/files/digest-havp-0.79
new file mode 100644
index 000000000000..3ab701194241
--- /dev/null
+++ b/net-proxy/havp/files/digest-havp-0.79
@@ -0,0 +1 @@
+MD5 bf5f9566b2fb9b27da7e1dedaa7dde0c havp-0.79.tar.gz 101040
diff --git a/net-proxy/havp/files/havp-0.79-gentoo.patch b/net-proxy/havp/files/havp-0.79-gentoo.patch
new file mode 100644
index 000000000000..0f86370184f3
--- /dev/null
+++ b/net-proxy/havp/files/havp-0.79-gentoo.patch
@@ -0,0 +1,56 @@
+diff -Nru havp-0.79.orig/etc/havp/havp.config havp-0.79/etc/havp/havp.config
+--- havp-0.79.orig/etc/havp/havp.config 2006-03-29 13:12:29.000000000 +0300
++++ havp-0.79/etc/havp/havp.config 2006-04-14 11:54:02.000000000 +0300
+@@ -182,7 +182,7 @@
+ # Path to template files.
+ #
+ # Default:
+-# TEMPLATEPATH /usr/local/etc/havp/templates/en
++# TEMPLATEPATH /etc/havp/templates/en
+
+ #
+ # Set to true if you want to prefer Whitelist.
+@@ -196,13 +196,13 @@
+ # Whitelist of URLs not to scan.
+ #
+ # Default:
+-# WHITELIST /usr/local/etc/havp/whitelist
++# WHITELIST /etc/havp/whitelist
+
+ #
+ # Blacklist of URLs that are denied access.
+ #
+ # Default:
+-# BLACKLIST /usr/local/etc/havp/blacklist
++# BLACKLIST /etc/havp/blacklist
+
+ #
+ # Is scanner error fatal?
+diff -Nru havp-0.79.orig/havp/default.h.in havp-0.79/havp/default.h.in
+--- havp-0.79.orig/havp/default.h.in 2006-03-29 13:04:37.000000000 +0300
++++ havp-0.79/havp/default.h.in 2006-04-14 11:54:44.000000000 +0300
+@@ -49,7 +49,7 @@
+ "ENABLESOPHIE","SOPHIESOCKET"
+ //SCANNERS
+
+-#define CONFIGFILE "/usr/local/etc/havp/havp.config"
++#define CONFIGFILE "/etc/havp/havp.config"
+
+
+ //##############################################################
+diff -Nru havp-0.79.orig/havp/params.cpp havp-0.79/havp/params.cpp
+--- havp-0.79.orig/havp/params.cpp 2006-03-29 12:44:39.000000000 +0300
++++ havp-0.79/havp/params.cpp 2006-04-14 11:55:44.000000000 +0300
+@@ -46,9 +46,9 @@
+ SetConfig("KEEPBACKTIME", "5");
+ SetConfig("TRICKLING", "30");
+ SetConfig("WHITELISTFIRST", "true");
+- SetConfig("WHITELIST", "/usr/local/etc/havp/whitelist");
+- SetConfig("BLACKLIST", "/usr/local/etc/havp/blacklist");
+- SetConfig("TEMPLATEPATH", "/usr/local/etc/havp/templates/en");
++ SetConfig("WHITELIST", "/etc/havp/whitelist");
++ SetConfig("BLACKLIST", "/etc/havp/blacklist");
++ SetConfig("TEMPLATEPATH", "/etc/havp/templates/en");
+ SetConfig("TEMPDIR", "/var/tmp");
+ SetConfig("SCANTEMPFILE", "/var/tmp/havp/havp-XXXXXX");
+ SetConfig("PIDFILE", "/var/run/havp/havp.pid");
diff --git a/net-proxy/havp/havp-0.79.ebuild b/net-proxy/havp/havp-0.79.ebuild
new file mode 100644
index 000000000000..875ef52c0367
--- /dev/null
+++ b/net-proxy/havp/havp-0.79.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.79.ebuild,v 1.1 2006/04/14 09:05:40 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="HTTP AntiVirus Proxy"
+HOMEPAGE="http://www.server-side.de/"
+SRC_URI="http://www.server-side.de/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="clamav ssl"
+
+DEPEND="clamav? ( app-antivirus/clamav )"
+
+pkg_setup() {
+ enewgroup havp
+ enewuser havp -1 -1 /etc/havp havp
+}
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
+
+src_compile() {
+ econf --with-scanner=libclamav \
+ $(use_enable ssl ssl-tunnel) || die "configure failed"
+ emake || die "make failed"
+}
+
+pkg_preinst() {
+ pkg_setup
+}
+
+src_install() {
+ exeinto /usr/sbin
+ doexe havp/havp
+
+ newinitd "${FILESDIR}/havp.initd" havp
+ insinto /etc
+ doins -r etc/havp
+
+ diropts -m 0700 -o havp -g havp
+ keepdir /var/log/havp
+
+ diropts -m 0750
+ dodir /var/run/havp /var/tmp/havp
+
+ dodoc ChangeLog todo
+}
+
+pkg_postinst() {
+ ewarn "/var/tmp/havp must be on a filesystem with mandatory locks!"
+ ewarn "You should add \"mand\" to the mount options on the relevant line in /etc/fstab."
+
+ if use ssl; then
+ echo
+ ewarn "Note: ssl USE flag only enable SSL pass-through, which means that"
+ ewarn " HTTPS pages will not be scanned for viruses!"
+ ewarn " It is impossible to decrypt data sent through SSL connections without knowing"
+ ewarn " the private key of the used certificate."
+ fi
+}