diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-01-10 17:09:43 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-01-10 17:09:43 +0000 |
commit | d9eb46791dc3623e1384e31368bdb8a1df63785f (patch) | |
tree | feafe648e584ffd39ab8abfca6d7f8355807dee0 /net-proxy/havp | |
parent | gnome-extra/zeitgeist: Drop old; add USE restraint to inmemory to dev-libs/xa... (diff) | |
download | gentoo-2-d9eb46791dc3623e1384e31368bdb8a1df63785f.tar.gz gentoo-2-d9eb46791dc3623e1384e31368bdb8a1df63785f.tar.bz2 gentoo-2-d9eb46791dc3623e1384e31368bdb8a1df63785f.zip |
Old.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-proxy/havp')
-rw-r--r-- | net-proxy/havp/ChangeLog | 6 | ||||
-rw-r--r-- | net-proxy/havp/files/havp-0.90-gcc44.patch | 80 | ||||
-rw-r--r-- | net-proxy/havp/havp-0.90-r1.ebuild | 71 |
3 files changed, 5 insertions, 152 deletions
diff --git a/net-proxy/havp/ChangeLog b/net-proxy/havp/ChangeLog index 1a0128ae5269..1aeb225ad577 100644 --- a/net-proxy/havp/ChangeLog +++ b/net-proxy/havp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-proxy/havp # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.39 2013/01/10 15:19:06 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/ChangeLog,v 1.40 2013/01/10 17:09:42 jer Exp $ + + 10 Jan 2013; Jeroen Roovers <jer@gentoo.org> -havp-0.90-r1.ebuild, + -files/havp-0.90-gcc44.patch: + Old. 10 Jan 2013; Agostino Sarubbo <ago@gentoo.org> havp-0.92a.ebuild: Stable for x86, wrt bug #330475 diff --git a/net-proxy/havp/files/havp-0.90-gcc44.patch b/net-proxy/havp/files/havp-0.90-gcc44.patch deleted file mode 100644 index 30124deb503a..000000000000 --- a/net-proxy/havp/files/havp-0.90-gcc44.patch +++ /dev/null @@ -1,80 +0,0 @@ -diff -Nru havp-0.90.orig/havp/connectiontobrowser.cpp havp-0.90/havp/connectiontobrowser.cpp ---- havp-0.90.orig/havp/connectiontobrowser.cpp 2008-08-03 19:51:45.000000000 +0200 -+++ havp-0.90/havp/connectiontobrowser.cpp 2009-07-05 02:13:58.000000000 +0200 -@@ -21,6 +21,7 @@ - #include "utils.h" - - #include <arpa/inet.h> -+#include <stdio.h> - - //Prepare Header for Server - string ConnectionToBrowser::PrepareHeaderForServer( bool ScannerOff, bool UseParentProxy ) -diff -Nru havp-0.90.orig/havp/connectiontohttp.cpp havp-0.90/havp/connectiontohttp.cpp ---- havp-0.90.orig/havp/connectiontohttp.cpp 2007-03-22 19:20:33.000000000 +0100 -+++ havp-0.90/havp/connectiontohttp.cpp 2009-07-05 02:16:20.000000000 +0200 -@@ -19,6 +19,8 @@ - #include "logfile.h" - #include "utils.h" - -+#include <stdio.h> -+ - extern int LL; //LogLevel - - //Prepare Header for Browser -diff -Nru havp-0.90.orig/havp/httphandler.cpp havp-0.90/havp/httphandler.cpp ---- havp-0.90.orig/havp/httphandler.cpp 2008-02-13 05:35:22.000000000 +0100 -+++ havp-0.90/havp/httphandler.cpp 2009-07-05 02:15:13.000000000 +0200 -@@ -20,6 +20,8 @@ - #include "utils.h" - #include "default.h" - -+#include <stdio.h> -+ - //Read header - bool HTTPHandler::ReadHeader( string &headerT ) - { -diff -Nru havp-0.90.orig/havp/logfile.cpp havp-0.90/havp/logfile.cpp ---- havp-0.90.orig/havp/logfile.cpp 2008-11-26 12:07:49.000000000 +0100 -+++ havp-0.90/havp/logfile.cpp 2009-07-05 02:07:51.000000000 +0200 -@@ -26,6 +26,7 @@ - #include <stdarg.h> - #include <fcntl.h> - #include <syslog.h> -+#include <stdio.h> - #include <map> - #include <cstdlib> - #include <cstring> -diff -Nru havp-0.90.orig/havp/scanners/clamlibscanner.cpp havp-0.90/havp/scanners/clamlibscanner.cpp ---- havp-0.90.orig/havp/scanners/clamlibscanner.cpp 2009-03-13 11:35:00.000000000 +0100 -+++ havp-0.90/havp/scanners/clamlibscanner.cpp 2009-07-05 02:20:31.000000000 +0200 -@@ -19,6 +19,7 @@ - - #include "clamlibscanner.h" - -+#include <stdio.h> - - bool ClamLibScanner::InitDatabase() - { -diff -Nru havp-0.90.orig/havp/scanners/drwebscanner.cpp havp-0.90/havp/scanners/drwebscanner.cpp ---- havp-0.90.orig/havp/scanners/drwebscanner.cpp 2007-10-10 15:17:42.000000000 +0200 -+++ havp-0.90/havp/scanners/drwebscanner.cpp 2009-07-05 02:19:12.000000000 +0200 -@@ -17,6 +17,8 @@ - - #include "drwebscanner.h" - -+#include <stdio.h> -+ - /* drweb-clients-4.33-sources */ - - /* -- SCAN_COMMANDS -------------------------------------------------- */ -diff -Nru havp-0.90.orig/havp/scanners/f-protscanner.cpp havp-0.90/havp/scanners/f-protscanner.cpp ---- havp-0.90.orig/havp/scanners/f-protscanner.cpp 2007-09-21 05:11:11.000000000 +0200 -+++ havp-0.90/havp/scanners/f-protscanner.cpp 2009-07-05 02:17:41.000000000 +0200 -@@ -17,6 +17,7 @@ - - #include "f-protscanner.h" - -+#include <stdio.h> - - bool FProtScanner::InitDatabase() - { diff --git a/net-proxy/havp/havp-0.90-r1.ebuild b/net-proxy/havp/havp-0.90-r1.ebuild deleted file mode 100644 index 1fba5723357d..000000000000 --- a/net-proxy/havp/havp-0.90-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/havp/havp-0.90-r1.ebuild,v 1.2 2013/01/08 16:45:37 jer Exp $ - -EAPI="2" - -inherit eutils user - -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 )" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup havp - enewuser havp -1 -1 /etc/havp havp -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc44.patch -} - -src_configure() { - econf --localstatedir=/var \ - $(use_enable clamav) \ - $(use_enable ssl ssl-tunnel) || die "configure failed" -} - -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 - - if use clamav; then - echo - ewarn "If you plan to use clamav daemon, you should make sure clamav user can read" - ewarn "/var/tmp/havp content. This can be accomplished by enabling AllowSupplementaryGroups" - ewarn "in /etc/clamd.conf and adding clamav user to the havp group." - fi -} |