# 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.7 2006/09/20 18:11:34 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.8 2006/11/08 09:06:36 mrness Exp $
+
+*havp-0.83 (08 Nov 2006)
+
+ 08 Nov 2006; Alin Nastac <mrness@gentoo.org>
+ +files/havp-0.83-gentoo.patch, +havp-0.83.ebuild:
+ Version bump (#154332).
20 Sep 2006; Alin Nastac <mrness@gentoo.org>
-files/havp-0.81-gentoo.patch, -havp-0.81.ebuild, havp-0.82.ebuild:
MD5 b20c8deb917f5e2c890928961f222e01 files/havp-0.82-gentoo.patch 2051
RMD160 9be6e261b29c32ef6ba1d7514f6a902d1a4b4553 files/havp-0.82-gentoo.patch 2051
SHA256 9ba6840ff8fd932457fc04afaac86464137818afe7ea0d498f5a74c761e2f623 files/havp-0.82-gentoo.patch 2051
+AUX havp-0.83-gentoo.patch 2048 RMD160 2cdc74be14d975f0844e5e85c9a5a292e00d18ac SHA1 e87c85b9b791c63e2dea2dae81684ffc0cb351c6 SHA256 1a9a012d729cedc1ceff2dc20baee104b9a312a95d9a5bbc08d9bd887b1f5952
+MD5 0739f5636de256e84c0ff1ded53e1ddb files/havp-0.83-gentoo.patch 2048
+RMD160 2cdc74be14d975f0844e5e85c9a5a292e00d18ac files/havp-0.83-gentoo.patch 2048
+SHA256 1a9a012d729cedc1ceff2dc20baee104b9a312a95d9a5bbc08d9bd887b1f5952 files/havp-0.83-gentoo.patch 2048
AUX havp.initd 1610 RMD160 3f16213f905927b47fc51e1570effbaebe024c83 SHA1 8081eb1e98ad6db141c272f254bd522dc384e352 SHA256 80d9b7abd969e18dfcfa46ef2e0cfb4ec5e24c4f14687eebd12c481a4ee72ba9
MD5 03ebcd6a1bd7721356c44857d0b506c9 files/havp.initd 1610
RMD160 3f16213f905927b47fc51e1570effbaebe024c83 files/havp.initd 1610
SHA256 80d9b7abd969e18dfcfa46ef2e0cfb4ec5e24c4f14687eebd12c481a4ee72ba9 files/havp.initd 1610
DIST havp-0.82.tar.gz 105217 RMD160 67a1c70c36a577a8b5593a1ea0f004eb473719da SHA1 e3492058f5a12e87f00d7a90bb952c45b4c6409d SHA256 e2db8d3383cd8eca6a18ebee85875de895f3ac7414eab091a87f052d79a87b09
+DIST havp-0.83.tar.gz 105511 RMD160 a272c24af4c6ddd53fed7078ec6f1acda36f7edf SHA1 241277d8b6af89727f59a8e0a293a4f1b761905a SHA256 0bcd20cbed5ea096442842e375c353fd89f87a1ae0cd8edc37924bc8a01c136d
EBUILD havp-0.82.ebuild 1531 RMD160 9a739df688a225781f02dedb6f3dc413eedac785 SHA1 8166adb75035dc2e32ad5f8e8a690bfad48a3a81 SHA256 6b7da5665b947d4802d318169008f592f34cd25aa91c20b579e83a330552b94a
MD5 c11dbda491e37e15dc35d74db570c2a6 havp-0.82.ebuild 1531
RMD160 9a739df688a225781f02dedb6f3dc413eedac785 havp-0.82.ebuild 1531
SHA256 6b7da5665b947d4802d318169008f592f34cd25aa91c20b579e83a330552b94a havp-0.82.ebuild 1531
-MISC ChangeLog 1748 RMD160 bbdeb475873acb2154ec7800d66d622366df60af SHA1 ed36b83fe6dce12ec3c1206f90ea33efbfb3d083 SHA256 e73d6f2e6c1128904bfd1fe9b5a851c9f9a446a678642ea5fafb21356b458ffe
-MD5 57b084ef72ded8617be4cf41b8440d66 ChangeLog 1748
-RMD160 bbdeb475873acb2154ec7800d66d622366df60af ChangeLog 1748
-SHA256 e73d6f2e6c1128904bfd1fe9b5a851c9f9a446a678642ea5fafb21356b458ffe ChangeLog 1748
+EBUILD havp-0.83.ebuild 1532 RMD160 43030baaffe254a3f5f475d3d664614107b7f474 SHA1 96bd955a67aae6abe76eb8311bba311c656cebfc SHA256 ea437cd7ee92f462220584eadc55e09626f6c549522ecf9582a44e0719ce0e1e
+MD5 bb6bb2018caae098be5b6e150765f8e3 havp-0.83.ebuild 1532
+RMD160 43030baaffe254a3f5f475d3d664614107b7f474 havp-0.83.ebuild 1532
+SHA256 ea437cd7ee92f462220584eadc55e09626f6c549522ecf9582a44e0719ce0e1e havp-0.83.ebuild 1532
+MISC ChangeLog 1900 RMD160 35db126ecebb33a980a4852c16a2aad078d00127 SHA1 916ec14f93a7d460157ce3d76610c11b40be0e9e SHA256 7c25fc84e61166d330020a55f5eb41fbe6a52494d34ba94717935705b120041e
+MD5 01f424077986bd12203210c5dc55546a ChangeLog 1900
+RMD160 35db126ecebb33a980a4852c16a2aad078d00127 ChangeLog 1900
+SHA256 7c25fc84e61166d330020a55f5eb41fbe6a52494d34ba94717935705b120041e ChangeLog 1900
MISC metadata.xml 309 RMD160 f9061c1bd03c07ffec2deb81e621912c5a4b091c SHA1 5c8174fcc33b5fe347de99a782d3535a3a90d1b9 SHA256 26c5dece4fe203c9ae4847405314a340fb86058060c9536a92dd7471f4f03d0d
MD5 eeef2b4ba39eb40826f14b0bd0489563 metadata.xml 309
RMD160 f9061c1bd03c07ffec2deb81e621912c5a4b091c metadata.xml 309
MD5 1d11c72f282edb0938a5faafabcdf6c3 files/digest-havp-0.82 229
RMD160 11d2fd83444478d3275a636ca2361d84dcfeb29e files/digest-havp-0.82 229
SHA256 eca04952c8ece9ccfba76657932990950fa4e1178b90b10f151c2677d718bfa2 files/digest-havp-0.82 229
+MD5 96fd9a70b6c602a407d19e2232e0fc65 files/digest-havp-0.83 229
+RMD160 20ca5fd9e1f376993946a60d30486877936666d9 files/digest-havp-0.83 229
+SHA256 09ef13d252176b4f928a9ec1fca804520ca4913987c3f5cba9bc90fdd460d361 files/digest-havp-0.83 229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFEYRv3sf9c6kjmR8RAkQhAJ9taW3n31E9A1IldN4LkZVVyy9PEQCgjJVJ
-lj7eEQD913P2JRiIkcftZTQ=
-=8lVO
+iD8DBQFFUZ4m3sf9c6kjmR8RAuMLAJ0Z2KO7de/7FW4Ly2c77cmCQZXfowCfRnxz
+SX0LKMRLQOVqN7rUoIHJVPM=
+=d8js
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 d5bb02a9e2bcee90ee419fdf03da9a07 havp-0.83.tar.gz 105511
+RMD160 a272c24af4c6ddd53fed7078ec6f1acda36f7edf havp-0.83.tar.gz 105511
+SHA256 0bcd20cbed5ea096442842e375c353fd89f87a1ae0cd8edc37924bc8a01c136d havp-0.83.tar.gz 105511
--- /dev/null
+diff -Nru havp-0.83.orig/etc/havp/havp.config havp-0.83/etc/havp/havp.config
+--- havp-0.83.orig/etc/havp/havp.config 2006-09-02 13:32:30.000000000 +0300
++++ havp-0.83/etc/havp/havp.config 2006-11-08 10:54:09.178446000 +0200
+@@ -187,7 +187,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.
+@@ -201,13 +201,13 @@
+ # List of URLs not to scan.
+ #
+ # Default:
+-# WHITELIST /usr/local/etc/havp/whitelist
++# WHITELIST /etc/havp/whitelist
+
+ #
+ # List 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.83.orig/havp/default.h.in havp-0.83/havp/default.h.in
+--- havp-0.83.orig/havp/default.h.in 2006-09-02 13:54:18.000000000 +0300
++++ havp-0.83/havp/default.h.in 2006-11-08 10:54:09.210448000 +0200
+@@ -51,7 +51,7 @@
+ "ENABLEAVAST","AVASTSOCKET","AVASTSERVER","AVASTPORT"
+ //SCANNERS
+
+-#define CONFIGFILE "/usr/local/etc/havp/havp.config"
++#define CONFIGFILE "/etc/havp/havp.config"
+
+
+ //##############################################################
+diff -Nru havp-0.83.orig/havp/params.cpp havp-0.83/havp/params.cpp
+--- havp-0.83.orig/havp/params.cpp 2006-09-02 13:37:46.000000000 +0300
++++ havp-0.83/havp/params.cpp 2006-11-08 10:54:09.210448000 +0200
+@@ -58,9 +58,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");
--- /dev/null
+# 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.83.ebuild,v 1.1 2006/11/08 09:06:36 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
+}