diff options
-rw-r--r-- | net-proxy/havp/ChangeLog | 8 | ||||
-rw-r--r-- | net-proxy/havp/Manifest | 30 | ||||
-rw-r--r-- | net-proxy/havp/files/digest-havp-0.84 | 3 | ||||
-rw-r--r-- | net-proxy/havp/files/havp-0.84-gentoo.patch | 55 | ||||
-rw-r--r-- | net-proxy/havp/havp-0.84.ebuild | 67 |
5 files changed, 148 insertions, 15 deletions
diff --git a/net-proxy/havp/ChangeLog b/net-proxy/havp/ChangeLog index e694def5b3d6..ec0817645afe 100644 --- a/net-proxy/havp/ChangeLog +++ b/net-proxy/havp/ChangeLog @@ -1,6 +1,12 @@ # 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.9 2007/01/17 19:25:00 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.10 2007/01/31 17:26:59 mrness Exp $ + +*havp-0.84 (31 Jan 2007) + + 31 Jan 2007; Alin Năstac <mrness@gentoo.org> + +files/havp-0.84-gentoo.patch, +havp-0.84.ebuild: + Version bump (#163665). 17 Jan 2007; Alin Năstac <mrness@gentoo.org> havp-0.83.ebuild: Add ~amd64. diff --git a/net-proxy/havp/Manifest b/net-proxy/havp/Manifest index 662417b16ded..747fc432e067 100644 --- a/net-proxy/havp/Manifest +++ b/net-proxy/havp/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX havp-0.82-gentoo.patch 2051 RMD160 9be6e261b29c32ef6ba1d7514f6a902d1a4b4553 SHA1 21fe2614b7b1a80957958eb46353845571aa7f14 SHA256 9ba6840ff8fd932457fc04afaac86464137818afe7ea0d498f5a74c761e2f623 MD5 b20c8deb917f5e2c890928961f222e01 files/havp-0.82-gentoo.patch 2051 RMD160 9be6e261b29c32ef6ba1d7514f6a902d1a4b4553 files/havp-0.82-gentoo.patch 2051 @@ -9,12 +6,17 @@ AUX havp-0.83-gentoo.patch 2048 RMD160 2cdc74be14d975f0844e5e85c9a5a292e00d18ac 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-0.84-gentoo.patch 1557 RMD160 40f8135388984214b397be5526d74561867eeb4c SHA1 ffbd64d75c5df724d40d0bedf73076ae6b1079e6 SHA256 517f8a2e3562f95bb8c66711f5b1eb322254818654127ee29a7d6a073cc9d625 +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.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 +DIST havp-0.84.tar.gz 101758 RMD160 cdeab72795d766e38df1ea600420f960a89191c0 SHA1 1f98f4eb9a839057001d821a72c462ed517615f1 SHA256 28e84a72c61f656531e89e82742d017418fd2b8758d21a8087ef9f9e19396d7e 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 @@ -23,10 +25,14 @@ EBUILD havp-0.83.ebuild 1539 RMD160 1e4b6fa933c163dd8192ab13fdebd075b0ccc756 SHA MD5 f61f0cfad5a2660c8ea76fcc5bf3fa26 havp-0.83.ebuild 1539 RMD160 1e4b6fa933c163dd8192ab13fdebd075b0ccc756 havp-0.83.ebuild 1539 SHA256 17b878fc8e443902ff5e2e8c4b18d9adf33ebeaa1252e62aaa6ca3e8f8d3dcc9 havp-0.83.ebuild 1539 -MISC ChangeLog 1981 RMD160 befe72f312ce52b026e1504c8c95cf4cf1f5ddc1 SHA1 005031453268a2f5df1b968e958af02ecef1f305 SHA256 ac5e12c102510b4144fcbe6c03ae5a973d5c23e9be533c12c93667bd8d7d5297 -MD5 8e50cec33e4a9cad5c5ac6c39918035d ChangeLog 1981 -RMD160 befe72f312ce52b026e1504c8c95cf4cf1f5ddc1 ChangeLog 1981 -SHA256 ac5e12c102510b4144fcbe6c03ae5a973d5c23e9be533c12c93667bd8d7d5297 ChangeLog 1981 +EBUILD havp-0.84.ebuild 1598 RMD160 c8d0909433af05fd50b93b5d38519cf8da55e982 SHA1 d1aa71da036878125b140af1080925e73c13e586 SHA256 b83dc9fedbfaaf38bdd3e4a6d6e4dc6af6f1f3bfe96fec4bae91d2c72a51e47c +MD5 15808a65e341e4d9060c006a4272a678 havp-0.84.ebuild 1598 +RMD160 c8d0909433af05fd50b93b5d38519cf8da55e982 havp-0.84.ebuild 1598 +SHA256 b83dc9fedbfaaf38bdd3e4a6d6e4dc6af6f1f3bfe96fec4bae91d2c72a51e47c havp-0.84.ebuild 1598 +MISC ChangeLog 2135 RMD160 f43d3274dd3d34da7e40d0200095e51c59b2d1b4 SHA1 d28c12871d0d63b4e67720d1c2747e553d35594e SHA256 901b543afd27ab15df430aeb1874e6b5def86b9721021ce926d7685f01d87df0 +MD5 d85267c3193911a00bd778fcda9d0384 ChangeLog 2135 +RMD160 f43d3274dd3d34da7e40d0200095e51c59b2d1b4 ChangeLog 2135 +SHA256 901b543afd27ab15df430aeb1874e6b5def86b9721021ce926d7685f01d87df0 ChangeLog 2135 MISC metadata.xml 309 RMD160 f9061c1bd03c07ffec2deb81e621912c5a4b091c SHA1 5c8174fcc33b5fe347de99a782d3535a3a90d1b9 SHA256 26c5dece4fe203c9ae4847405314a340fb86058060c9536a92dd7471f4f03d0d MD5 eeef2b4ba39eb40826f14b0bd0489563 metadata.xml 309 RMD160 f9061c1bd03c07ffec2deb81e621912c5a4b091c metadata.xml 309 @@ -37,10 +43,6 @@ SHA256 eca04952c8ece9ccfba76657932990950fa4e1178b90b10f151c2677d718bfa2 files/di 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 v2.0.1 (GNU/Linux) - -iD8DBQFFrngWJnxX6mF440QRAlWXAKCk7gdu40DqTzEJuprSFdTo/v3xgACfeFtF -0AAdvyAg1AOOWN8JWyI2gts= -=sU/6 ------END PGP SIGNATURE----- +MD5 8c92f1c34f50e7838e3963a9d3ec00fe files/digest-havp-0.84 229 +RMD160 6de30cc8d8c9319f9cf6f476af7ab83701ed1a10 files/digest-havp-0.84 229 +SHA256 12b7c57494f191bf5a8ff82f4adc369d947e7e5df8d2c87c763602f727cd4a3a files/digest-havp-0.84 229 diff --git a/net-proxy/havp/files/digest-havp-0.84 b/net-proxy/havp/files/digest-havp-0.84 new file mode 100644 index 000000000000..ba34765ecfb5 --- /dev/null +++ b/net-proxy/havp/files/digest-havp-0.84 @@ -0,0 +1,3 @@ +MD5 70b843c501c831a68066af8e66801a30 havp-0.84.tar.gz 101758 +RMD160 cdeab72795d766e38df1ea600420f960a89191c0 havp-0.84.tar.gz 101758 +SHA256 28e84a72c61f656531e89e82742d017418fd2b8758d21a8087ef9f9e19396d7e havp-0.84.tar.gz 101758 diff --git a/net-proxy/havp/files/havp-0.84-gentoo.patch b/net-proxy/havp/files/havp-0.84-gentoo.patch new file mode 100644 index 000000000000..18dd35f1ec1b --- /dev/null +++ b/net-proxy/havp/files/havp-0.84-gentoo.patch @@ -0,0 +1,55 @@ +diff -Nru havp-0.84.orig/configure havp-0.84/configure +--- havp-0.84.orig/configure 2006-11-03 00:05:45.000000000 +0200 ++++ havp-0.84/configure 2007-01-31 19:21:44.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.84.orig/etc/havp/havp.config havp-0.84/etc/havp/havp.config +--- havp-0.84.orig/etc/havp/havp.config 2006-12-28 15:42:03.000000000 +0200 ++++ havp-0.84/etc/havp/havp.config 2007-01-31 19:22:13.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? diff --git a/net-proxy/havp/havp-0.84.ebuild b/net-proxy/havp/havp-0.84.ebuild new file mode 100644 index 000000000000..df00fe394c95 --- /dev/null +++ b/net-proxy/havp/havp-0.84.ebuild @@ -0,0 +1,67 @@ +# 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.84.ebuild,v 1.1 2007/01/31 17:26:59 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 )" + +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 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 +} |