# ChangeLog for net-proxy/havp
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.14 2007/02/27 12:12:04 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.15 2007/03/10 10:23:09 mrness Exp $
+
+*havp-0.85 (10 Mar 2007)
+
+ 10 Mar 2007; Alin Năstac <mrness@gentoo.org>
+ +files/havp-0.85-gentoo.patch, +havp-0.85.ebuild:
+ Version bump (#169931).
27 Feb 2007; Alin Nastac <mrness@gentoo.org>
-files/havp-0.84-clamav-0.90.patch, havp-0.84.ebuild:
MD5 c423b398ca244672f9f11ab2349e1564 files/havp-0.84-gentoo.patch 1557
RMD160 40f8135388984214b397be5526d74561867eeb4c files/havp-0.84-gentoo.patch 1557
SHA256 517f8a2e3562f95bb8c66711f5b1eb322254818654127ee29a7d6a073cc9d625 files/havp-0.84-gentoo.patch 1557
+AUX havp-0.85-gentoo.patch 1557 RMD160 971b93aa0a43464110e10050eab5199867ff4568 SHA1 be014e2a89aa2d0c28945ccfc6880a682d5868a0 SHA256 6a4af06e03f211d78d2b2a055e7c28909007f85a3cad5b5eed3eb0dbaab5632f
+MD5 08d560719b4bf8537eb2964af9ff6582 files/havp-0.85-gentoo.patch 1557
+RMD160 971b93aa0a43464110e10050eab5199867ff4568 files/havp-0.85-gentoo.patch 1557
+SHA256 6a4af06e03f211d78d2b2a055e7c28909007f85a3cad5b5eed3eb0dbaab5632f files/havp-0.85-gentoo.patch 1557
AUX havp.initd 1610 RMD160 3f16213f905927b47fc51e1570effbaebe024c83 SHA1 8081eb1e98ad6db141c272f254bd522dc384e352 SHA256 80d9b7abd969e18dfcfa46ef2e0cfb4ec5e24c4f14687eebd12c481a4ee72ba9
MD5 03ebcd6a1bd7721356c44857d0b506c9 files/havp.initd 1610
RMD160 3f16213f905927b47fc51e1570effbaebe024c83 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
DIST havp-0.84.tar.gz 101758 RMD160 cdeab72795d766e38df1ea600420f960a89191c0 SHA1 1f98f4eb9a839057001d821a72c462ed517615f1 SHA256 28e84a72c61f656531e89e82742d017418fd2b8758d21a8087ef9f9e19396d7e
+DIST havp-0.85.tar.gz 101860 RMD160 7645588efe03cee11478218c35e78aed3d50f938 SHA1 8c4d381d053f0ec4101cbb166cd2c21c3a7a4d44 SHA256 523c7d69728c600e3cf33603a2caf41755a8e70fa4a20b71cba61df5f16bb2b4
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
MD5 13f8457cc8e5950bc815ab61d355208a havp-0.84.ebuild 1591
RMD160 7b5cedfc185b58ce58025c11ec64dafc37a14083 havp-0.84.ebuild 1591
SHA256 67e1266f101c7ed7311665366ba012c0acebc60be02006cc4de06cd1a587b6ed havp-0.84.ebuild 1591
-MISC ChangeLog 2585 RMD160 dfdc0efbe6c6f3db607efe31504ad1524c2bbbd3 SHA1 1e531d79e279385840d8ec67993f627c6277e755 SHA256 1f5519d710fd4f269f3f30ad77fb75cbdbc36a873de65d6cb2672c82233bf166
-MD5 3f5557dbeb7cc30d805e78b410ac4e57 ChangeLog 2585
-RMD160 dfdc0efbe6c6f3db607efe31504ad1524c2bbbd3 ChangeLog 2585
-SHA256 1f5519d710fd4f269f3f30ad77fb75cbdbc36a873de65d6cb2672c82233bf166 ChangeLog 2585
+EBUILD havp-0.85.ebuild 1600 RMD160 6a5f1306896f9ef97cdaea92df2a444b7ad7821a SHA1 32fbc5d3a60b7b9fb0a2010d2d487593ff47a98c SHA256 034f938d6d94164e181fc893d9e774ef34c06116d645f024cab39ee36b86c1f5
+MD5 85eb35bcbc9f0df876a8ad7cdb65c241 havp-0.85.ebuild 1600
+RMD160 6a5f1306896f9ef97cdaea92df2a444b7ad7821a havp-0.85.ebuild 1600
+SHA256 034f938d6d94164e181fc893d9e774ef34c06116d645f024cab39ee36b86c1f5 havp-0.85.ebuild 1600
+MISC ChangeLog 2738 RMD160 1d45e3f24d5275996210f9dad180fd3f69362ff0 SHA1 992fc428e930808a6605e73f2ae2e79594d40670 SHA256 51801346dc413189939f06fa9430d4ffc30eb4c9649c47f99b6e24c9e4df91fd
+MD5 facdc8865908b390df4f8c2f7d066a69 ChangeLog 2738
+RMD160 1d45e3f24d5275996210f9dad180fd3f69362ff0 ChangeLog 2738
+SHA256 51801346dc413189939f06fa9430d4ffc30eb4c9649c47f99b6e24c9e4df91fd ChangeLog 2738
MISC metadata.xml 309 RMD160 f9061c1bd03c07ffec2deb81e621912c5a4b091c SHA1 5c8174fcc33b5fe347de99a782d3535a3a90d1b9 SHA256 26c5dece4fe203c9ae4847405314a340fb86058060c9536a92dd7471f4f03d0d
MD5 eeef2b4ba39eb40826f14b0bd0489563 metadata.xml 309
RMD160 f9061c1bd03c07ffec2deb81e621912c5a4b091c metadata.xml 309
MD5 8c92f1c34f50e7838e3963a9d3ec00fe files/digest-havp-0.84 229
RMD160 6de30cc8d8c9319f9cf6f476af7ab83701ed1a10 files/digest-havp-0.84 229
SHA256 12b7c57494f191bf5a8ff82f4adc369d947e7e5df8d2c87c763602f727cd4a3a files/digest-havp-0.84 229
+MD5 ec0b61840300dc90b5cd6d8de50896bd files/digest-havp-0.85 229
+RMD160 8e3f6374896de7985e7a3473ae055aa6e641e258 files/digest-havp-0.85 229
+SHA256 331dfac7cec20d4bf7bab920400b6694d0f7313209aaface3fe37e5a99c1d748 files/digest-havp-0.85 229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFF5CBaJnxX6mF440QRApTBAJ0QiQLpNq+cl9l47BAIaQVwyStrCwCgs6yX
-sSdk436SF8vO1XWjXAh2jDU=
-=1nr3
+iD8DBQFF8ocZJnxX6mF440QRApysAKDHQ0l8DqYTJAZOo0QmkrYXJVauIwCghHGO
+DAcD25XZd5dXJ05dmMsAPu4=
+=VMMM
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 6f05d36a1f8374535ae66373111ff5a1 havp-0.85.tar.gz 101860
+RMD160 7645588efe03cee11478218c35e78aed3d50f938 havp-0.85.tar.gz 101860
+SHA256 523c7d69728c600e3cf33603a2caf41755a8e70fa4a20b71cba61df5f16bb2b4 havp-0.85.tar.gz 101860
--- /dev/null
+diff -Nru havp-0.85.orig/configure havp-0.85/configure
+--- havp-0.85.orig/configure 2006-11-03 00:05:45.000000000 +0200
++++ havp-0.85/configure 2007-03-10 12:16:01.000000000 +0200
+@@ -2578,19 +2578,19 @@
+
+ test "$prefix" = "NONE" && prefix=/usr/local
+ cat >>confdefs.h <<_ACEOF
+-#define CONFIGFILE "$prefix/etc/havp/havp.config"
++#define CONFIGFILE "$sysconfdir/havp/havp.config"
+ _ACEOF
+
+ cat >>confdefs.h <<_ACEOF
+-#define WHITELISTFILE "$prefix/etc/havp/whitelist"
++#define WHITELISTFILE "$sysconfdir/havp/whitelist"
+ _ACEOF
+
+ cat >>confdefs.h <<_ACEOF
+-#define BLACKLISTFILE "$prefix/etc/havp/blacklist"
++#define BLACKLISTFILE "$sysconfdir/havp/blacklist"
+ _ACEOF
+
+ cat >>confdefs.h <<_ACEOF
+-#define TEMPLATEPATH "$prefix/etc/havp/templates/en"
++#define TEMPLATEPATH "$sysconfdir/havp/templates/en"
+ _ACEOF
+
+
+diff -Nru havp-0.85.orig/etc/havp/havp.config havp-0.85/etc/havp/havp.config
+--- havp-0.85.orig/etc/havp/havp.config 2006-12-28 15:42:03.000000000 +0200
++++ havp-0.85/etc/havp/havp.config 2007-03-10 12:16:01.000000000 +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?
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.85.ebuild,v 1.1 2007/03/10 10:23:09 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="~amd64 ~x86"
+IUSE="clamav ssl"
+
+DEPEND="clamav? ( >=app-antivirus/clamav-0.90 )"
+
+pkg_setup() {
+ enewgroup havp
+ enewuser havp -1 -1 /etc/havp havp
+}
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
+
+src_compile() {
+ econf $(use_enable clamav) \
+ $(use_enable ssl ssl-tunnel) || die "configure failed"
+ emake || die "make failed"
+}
+
+pkg_preinst() {
+ pkg_setup #for adding username:group when installing from binary package
+}
+
+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
+}
+
+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
+}