diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-03-06 19:05:20 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-03-06 19:05:20 +0000 |
commit | b4826deb46d7269608975d53612adbbb85de2794 (patch) | |
tree | 8e8ab86a3489cedd379b7ae91d23536062d6fbfa /net-proxy/havp | |
parent | Add ~sparc keyword (Bug #122726). (diff) | |
download | gentoo-2-b4826deb46d7269608975d53612adbbb85de2794.tar.gz gentoo-2-b4826deb46d7269608975d53612adbbb85de2794.tar.bz2 gentoo-2-b4826deb46d7269608975d53612adbbb85de2794.zip |
version bump
(Portage version: 2.0.54)
Diffstat (limited to 'net-proxy/havp')
-rw-r--r-- | net-proxy/havp/ChangeLog | 8 | ||||
-rw-r--r-- | net-proxy/havp/Manifest | 13 | ||||
-rw-r--r-- | net-proxy/havp/files/digest-havp-0.77 | 1 | ||||
-rw-r--r-- | net-proxy/havp/files/havp-0.77-gentoo.patch | 62 | ||||
-rw-r--r-- | net-proxy/havp/havp-0.77.ebuild | 49 |
5 files changed, 122 insertions, 11 deletions
diff --git a/net-proxy/havp/ChangeLog b/net-proxy/havp/ChangeLog index 3d6ea800710d..afe1e714539c 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.1 2006/01/15 20:28:55 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.2 2006/03/06 19:05:20 mrness Exp $ + +*havp-0.77 (06 Mar 2006) + + 06 Mar 2006; Alin Nastac <mrness@gentoo.org> + +files/havp-0.77-gentoo.patch, +havp-0.77.ebuild: + Version bump. *havp-0.76 (15 Jan 2006) diff --git a/net-proxy/havp/Manifest b/net-proxy/havp/Manifest index 5e23cc364aa6..bd263d6d9779 100644 --- a/net-proxy/havp/Manifest +++ b/net-proxy/havp/Manifest @@ -1,16 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 3d78180d222e75d46d8ee5a8849e38cd ChangeLog 397 MD5 5f0038e98c854750a47b461140103117 files/digest-havp-0.76 61 +MD5 a10c233cad7f2b08b3ff13e2da257120 files/digest-havp-0.77 61 MD5 84d09e8602d90d8f9be9fffbd4dbf0d3 files/havp-0.76-gentoo.patch 1684 +MD5 cd66ecd53dbfd35a54b9b087896b44b3 files/havp-0.77-gentoo.patch 1684 MD5 2a830a7c8f88a3fc5df6dc89e67bef72 files/havp.initd 1604 MD5 d6ea90eaf342c7105a4db463b0d22b05 havp-0.76.ebuild 1064 +MD5 d6ea90eaf342c7105a4db463b0d22b05 havp-0.77.ebuild 1064 MD5 eeef2b4ba39eb40826f14b0bd0489563 metadata.xml 309 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDyrCXjG8pv1lIUX4RAmM4AJ0dg8R1RrogZ67bVmUVtv9dIgI4fACfY0J5 -OIWseZ4WEXOL8P45z2NYZr0= -=2On0 ------END PGP SIGNATURE----- diff --git a/net-proxy/havp/files/digest-havp-0.77 b/net-proxy/havp/files/digest-havp-0.77 new file mode 100644 index 000000000000..ef79763130eb --- /dev/null +++ b/net-proxy/havp/files/digest-havp-0.77 @@ -0,0 +1 @@ +MD5 85b7f302d05345b587c9e175dff10cd0 havp-0.77.tar.gz 105717 diff --git a/net-proxy/havp/files/havp-0.77-gentoo.patch b/net-proxy/havp/files/havp-0.77-gentoo.patch new file mode 100644 index 000000000000..e178c53b1981 --- /dev/null +++ b/net-proxy/havp/files/havp-0.77-gentoo.patch @@ -0,0 +1,62 @@ +diff -Nur havp-0.77.orig/etc/havp/havp.config havp-0.77/etc/havp/havp.config +--- havp-0.77.orig/etc/havp/havp.config 2006-01-16 17:05:23.000000000 +0200 ++++ havp-0.77/etc/havp/havp.config 2006-03-06 20:54:21.497475000 +0200 +@@ -24,7 +24,7 @@ + # + # Default: + # USER nobody +-# GROUP nogroup ++# GROUP nobody + + # + # The process id (PID) of the main HAVP process is written to this file. +@@ -159,7 +159,7 @@ + # en, de, it + # + # Default: +-# TEMPLATEPATH /usr/local/etc/havp/templates/en ++# TEMPLATEPATH /etc/havp/templates/en + + # + # Allow Range Requests +@@ -176,14 +176,14 @@ + # URL which won't be scanned + # + # Default: +-# WHITELIST /usr/local/etc/havp/whitelist ++# WHITELIST /etc/havp/whitelist + + # + # Blacklist files + # URL which are denied + # + # Default: +-# BLACKLIST /usr/local/etc/havp/blacklist ++# BLACKLIST /etc/havp/blacklist + + # + # Max size of downloads which were scanned +diff -Nur havp-0.77.orig/havp/default.h.in havp-0.77/havp/default.h.in +--- havp-0.77.orig/havp/default.h.in 2006-01-24 11:27:09.000000000 +0200 ++++ havp-0.77/havp/default.h.in 2006-03-06 20:54:21.497475000 +0200 +@@ -50,15 +50,15 @@ + #endif + #endif + +-#define WHITELISTFILE "/usr/local/etc/havp/whitelist" +-#define BLACKLISTFILE "/usr/local/etc/havp/blacklist" +-#define TEMPLATEDIR "/usr/local/etc/havp/templates/en" +-#define CONFIGFILE "/usr/local/etc/havp/havp.config" ++#define WHITELISTFILE "/etc/havp/whitelist" ++#define BLACKLISTFILE "/etc/havp/blacklist" ++#define TEMPLATEDIR "/etc/havp/templates/en" ++#define CONFIGFILE "/etc/havp/havp.config" + + + //Change to User and Group + #define USER "nobody" +-#define GROUP "nogroup" ++#define GROUP "nobody" + + //Fork min server + #define SERVERNUMBER 4 diff --git a/net-proxy/havp/havp-0.77.ebuild b/net-proxy/havp/havp-0.77.ebuild new file mode 100644 index 000000000000..aa3a12850568 --- /dev/null +++ b/net-proxy/havp/havp-0.77.ebuild @@ -0,0 +1,49 @@ +# 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.77.ebuild,v 1.1 2006/03/06 19:05:20 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="" + +DEPEND="app-antivirus/clamav" + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}/${P}-gentoo.patch" +} + +src_compile() { + econf --with-scanner=libclamav || die "configure failed" + emake || die "make failed" +} + +src_install() { + exeinto /usr/sbin + doexe havp/havp + + newinitd "${FILESDIR}/havp.initd" havp + insinto /etc + doins -r etc/havp + + diropts -m 0700 -o nobody -g nobody + 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." +} |