import havp:
HAVP (HTTP AntiVirus proxy) is an easily-configured non-caching HTTP proxy which interfaces to an anti-virus scanner (ClamAV and others) to prevent transfer of infected content (including HTML and image files). From maintainer Giovanni Bechis
This commit is contained in:
parent
aaabd69b51
commit
3f9e65724c
29
www/havp/Makefile
Normal file
29
www/havp/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/04 10:56:15 sthen Exp $
|
||||
|
||||
COMMENT= web proxy with antivirus filter
|
||||
|
||||
DISTNAME= havp-0.88
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.server-side.de/download/
|
||||
|
||||
HOMEPAGE= http://www.server-side.de/
|
||||
|
||||
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c m pthread stdc++
|
||||
|
||||
LIB_DEPENDS= clamav.>=1::security/clamav
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --disable-locking \
|
||||
--disable-trophie
|
||||
CONFIGURE_ENV= LDFLAGS="-pthread"
|
||||
USE_GMAKE= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/havp/distinfo
Normal file
5
www/havp/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (havp-0.88.tar.gz) = dR0YEb3D8NDLyeSuRR/bKg==
|
||||
RMD160 (havp-0.88.tar.gz) = UqkLOfgA0ILuPjpJj5cgLVN6lNs=
|
||||
SHA1 (havp-0.88.tar.gz) = r1MpgLYjdH+GU6joFEJvRqZ1FF0=
|
||||
SHA256 (havp-0.88.tar.gz) = Lea6vORbrJ6bV+x3g/9nGcs++ZYzEAnBEa2OJjyebjw=
|
||||
SIZE (havp-0.88.tar.gz) = 116217
|
23
www/havp/patches/patch-etc_havp_havp_config_in
Normal file
23
www/havp/patches/patch-etc_havp_havp_config_in
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-etc_havp_havp_config_in,v 1.1.1.1 2008/06/04 10:56:15 sthen Exp $
|
||||
--- etc/havp/havp.config.in.orig Tue Apr 15 10:55:20 2008
|
||||
+++ etc/havp/havp.config.in Fri May 23 10:39:10 2008
|
||||
@@ -24,8 +24,8 @@ REMOVETHISLINE deleteme
|
||||
# used by any other program.
|
||||
#
|
||||
# Default:
|
||||
-# USER havp
|
||||
-# GROUP havp
|
||||
+USER _havp
|
||||
+GROUP _havp
|
||||
|
||||
# If this is true HAVP is running as daemon in background.
|
||||
# For testing you may run HAVP at your text console.
|
||||
@@ -430,7 +430,7 @@ ENABLECLAMD false
|
||||
# Path to clamd socket
|
||||
#
|
||||
# Default:
|
||||
-# CLAMDSOCKET /tmp/clamd
|
||||
+# CLAMDSOCKET /tmp/clamd.socket
|
||||
|
||||
# ..OR if you use clamd TCP socket, uncomment to enable use
|
||||
#
|
23
www/havp/patches/patch-havp_Makefile_in
Normal file
23
www/havp/patches/patch-havp_Makefile_in
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-havp_Makefile_in,v 1.1.1.1 2008/06/04 10:56:15 sthen Exp $
|
||||
--- havp/Makefile.in.orig Tue Sep 11 20:42:44 2007
|
||||
+++ havp/Makefile.in Mon May 19 08:32:52 2008
|
||||
@@ -7,7 +7,7 @@ INSTALL = ../install-sh
|
||||
prefix = @prefix@
|
||||
exec_prefix = $(prefix)
|
||||
sbindir = @sbindir@
|
||||
-sysconfdir = @sysconfdir@
|
||||
+sysconfdir = ${LOCALBASE}/share/examples
|
||||
localstatedir = @localstatedir@
|
||||
|
||||
OBJECTS = helper.o logfile.o scannerhandler.o connectiontobrowser.o \
|
||||
@@ -26,10 +26,6 @@ havp: $(OBJECTS)
|
||||
install: all
|
||||
$(INSTALL) -d $(DESTDIR)$(sbindir)
|
||||
$(INSTALL) -m 755 havp $(DESTDIR)$(sbindir)/havp
|
||||
- $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/log/havp
|
||||
- $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/tmp/havp
|
||||
- $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/run/havp
|
||||
- $(INSTALL) -d $(DESTDIR)/etc/init.d
|
||||
$(INSTALL) -m 644 ../etc/havp/havp.config $(DESTDIR)$(sysconfdir)/havp/havp.config.default
|
||||
@if [ ! -f $(DESTDIR)$(sysconfdir)/havp/havp.config ]; then \
|
||||
echo "$(INSTALL) -m 644 ../etc/havp/havp.config $(DESTDIR)$(sysconfdir)/havp/havp.config"; \
|
4
www/havp/pkg/DESCR
Normal file
4
www/havp/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
HAVP (HTTP AntiVirus proxy) is an easily-configured non-caching
|
||||
HTTP proxy which interfaces to an anti-virus scanner (ClamAV and
|
||||
others) to prevent transfer of infected content (including HTML
|
||||
and image files).
|
144
www/havp/pkg/PLIST
Normal file
144
www/havp/pkg/PLIST
Normal file
@ -0,0 +1,144 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/06/04 10:56:15 sthen Exp $
|
||||
@newgroup _havp:602
|
||||
@newuser _havp:602:_havp:daemon:Havp Account:/nonexistent:/sbin/nologin
|
||||
sbin/havp
|
||||
share/examples/havp/
|
||||
@sample ${SYSCONFDIR}/havp/
|
||||
share/examples/havp/blacklist
|
||||
@sample ${SYSCONFDIR}/havp/blacklist
|
||||
share/examples/havp/havp.config
|
||||
@sample ${SYSCONFDIR}/havp/havp.config
|
||||
share/examples/havp/havp.config.default
|
||||
share/examples/havp/templates/
|
||||
@sample ${SYSCONFDIR}/havp/templates/
|
||||
share/examples/havp/templates/br/
|
||||
share/examples/havp/templates/br/blacklist.html
|
||||
share/examples/havp/templates/br/dns.html
|
||||
share/examples/havp/templates/br/down.html
|
||||
share/examples/havp/templates/br/error.html
|
||||
share/examples/havp/templates/br/invalid.html
|
||||
share/examples/havp/templates/br/maxsize.html
|
||||
share/examples/havp/templates/br/request.html
|
||||
share/examples/havp/templates/br/scanner.html
|
||||
share/examples/havp/templates/br/virus.html
|
||||
share/examples/havp/templates/css2/
|
||||
@sample ${SYSCONFDIR}/havp/templates/css2/
|
||||
share/examples/havp/templates/css2/havp.css
|
||||
@sample ${SYSCONFDIR}/havp/templates/css2/havp.css
|
||||
share/examples/havp/templates/de/
|
||||
share/examples/havp/templates/de/blacklist.html
|
||||
share/examples/havp/templates/de/dns.html
|
||||
share/examples/havp/templates/de/down.html
|
||||
share/examples/havp/templates/de/error.html
|
||||
share/examples/havp/templates/de/invalid.html
|
||||
share/examples/havp/templates/de/maxsize.html
|
||||
share/examples/havp/templates/de/request.html
|
||||
share/examples/havp/templates/de/scanner.html
|
||||
share/examples/havp/templates/de/virus.html
|
||||
share/examples/havp/templates/en/
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/
|
||||
share/examples/havp/templates/en/blacklist.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/blacklist.html
|
||||
share/examples/havp/templates/en/dns.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/dns.html
|
||||
share/examples/havp/templates/en/down.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/down.html
|
||||
share/examples/havp/templates/en/error.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/error.html
|
||||
share/examples/havp/templates/en/invalid.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/invalid.html
|
||||
share/examples/havp/templates/en/maxsize.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/maxsize.html
|
||||
share/examples/havp/templates/en/request.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/request.html
|
||||
share/examples/havp/templates/en/scanner.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/scanner.html
|
||||
share/examples/havp/templates/en/virus.html
|
||||
@sample ${SYSCONFDIR}/havp/templates/en/virus.html
|
||||
share/examples/havp/templates/es/
|
||||
share/examples/havp/templates/es/blacklist.html
|
||||
share/examples/havp/templates/es/dns.html
|
||||
share/examples/havp/templates/es/down.html
|
||||
share/examples/havp/templates/es/error.html
|
||||
share/examples/havp/templates/es/invalid.html
|
||||
share/examples/havp/templates/es/maxsize.html
|
||||
share/examples/havp/templates/es/request.html
|
||||
share/examples/havp/templates/es/scanner.html
|
||||
share/examples/havp/templates/es/virus.html
|
||||
share/examples/havp/templates/fr/
|
||||
share/examples/havp/templates/fr/blacklist.html
|
||||
share/examples/havp/templates/fr/dns.html
|
||||
share/examples/havp/templates/fr/down.html
|
||||
share/examples/havp/templates/fr/error.html
|
||||
share/examples/havp/templates/fr/invalid.html
|
||||
share/examples/havp/templates/fr/maxsize.html
|
||||
share/examples/havp/templates/fr/request.html
|
||||
share/examples/havp/templates/fr/scanner.html
|
||||
share/examples/havp/templates/fr/virus.html
|
||||
share/examples/havp/templates/it/
|
||||
share/examples/havp/templates/it/blacklist.html
|
||||
share/examples/havp/templates/it/dns.html
|
||||
share/examples/havp/templates/it/down.html
|
||||
share/examples/havp/templates/it/error.html
|
||||
share/examples/havp/templates/it/invalid.html
|
||||
share/examples/havp/templates/it/maxsize.html
|
||||
share/examples/havp/templates/it/request.html
|
||||
share/examples/havp/templates/it/scanner.html
|
||||
share/examples/havp/templates/it/virus.html
|
||||
share/examples/havp/templates/nl/
|
||||
share/examples/havp/templates/nl/blacklist.html
|
||||
share/examples/havp/templates/nl/dns.html
|
||||
share/examples/havp/templates/nl/down.html
|
||||
share/examples/havp/templates/nl/error.html
|
||||
share/examples/havp/templates/nl/invalid.html
|
||||
share/examples/havp/templates/nl/maxsize.html
|
||||
share/examples/havp/templates/nl/request.html
|
||||
share/examples/havp/templates/nl/scanner.html
|
||||
share/examples/havp/templates/nl/virus.html
|
||||
share/examples/havp/templates/pf/
|
||||
share/examples/havp/templates/pf/blacklist.html
|
||||
share/examples/havp/templates/pf/dns.html
|
||||
share/examples/havp/templates/pf/down.html
|
||||
share/examples/havp/templates/pf/error.html
|
||||
share/examples/havp/templates/pf/invalid.html
|
||||
share/examples/havp/templates/pf/maxsize.html
|
||||
share/examples/havp/templates/pf/request.html
|
||||
share/examples/havp/templates/pf/scanner.html
|
||||
share/examples/havp/templates/pf/virus.html
|
||||
share/examples/havp/templates/pl/
|
||||
share/examples/havp/templates/pl/blacklist.html
|
||||
share/examples/havp/templates/pl/dns.html
|
||||
share/examples/havp/templates/pl/down.html
|
||||
share/examples/havp/templates/pl/error.html
|
||||
share/examples/havp/templates/pl/invalid.html
|
||||
share/examples/havp/templates/pl/maxsize.html
|
||||
share/examples/havp/templates/pl/request.html
|
||||
share/examples/havp/templates/pl/scanner.html
|
||||
share/examples/havp/templates/pl/virus.html
|
||||
share/examples/havp/templates/ru/
|
||||
share/examples/havp/templates/ru/blacklist.html
|
||||
share/examples/havp/templates/ru/dns.html
|
||||
share/examples/havp/templates/ru/down.html
|
||||
share/examples/havp/templates/ru/error.html
|
||||
share/examples/havp/templates/ru/invalid.html
|
||||
share/examples/havp/templates/ru/maxsize.html
|
||||
share/examples/havp/templates/ru/request.html
|
||||
share/examples/havp/templates/ru/scanner.html
|
||||
share/examples/havp/templates/ru/virus.html
|
||||
share/examples/havp/templates/sv/
|
||||
share/examples/havp/templates/sv/blacklist.html
|
||||
share/examples/havp/templates/sv/dns.html
|
||||
share/examples/havp/templates/sv/down.html
|
||||
share/examples/havp/templates/sv/error.html
|
||||
share/examples/havp/templates/sv/invalid.html
|
||||
share/examples/havp/templates/sv/maxsize.html
|
||||
share/examples/havp/templates/sv/request.html
|
||||
share/examples/havp/templates/sv/scanner.html
|
||||
share/examples/havp/templates/sv/virus.html
|
||||
share/examples/havp/whitelist
|
||||
@sample ${SYSCONFDIR}/havp/whitelist
|
||||
@owner _havp
|
||||
@group _havp
|
||||
@sample /var/log/havp/
|
||||
@sample /var/run/havp/
|
||||
@sample /var/tmp/havp/
|
Loading…
x
Reference in New Issue
Block a user