mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Update to 2.9.6.1
PR: ports/94744 Submitted by: Freddie Cash <fcash@sd73.bc.ca> (maintainer)
This commit is contained in:
parent
763955a476
commit
6a17bafe9f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157818
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= dansguardian
|
||||
PORTVERSION= 2.9.5.0
|
||||
PORTVERSION= 2.9.6.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= # empty, see below
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
@ -32,12 +32,12 @@ CONFIGURE_ARGS= --localstatedir=/var \
|
||||
|
||||
MAN8= dansguardian.8
|
||||
|
||||
OPTIONS= DG_APACHE "Enable Apache support" on \
|
||||
DG_CLAMAV "Enable ClamAV support (libclamav)" off \
|
||||
OPTIONS= DG_APACHE "Enable Apache support for access denied page" on \
|
||||
DG_DMGR "Enable the fancy download manager" on \
|
||||
DG_CLAMD "Enable ClamAV daemon support (clamd)" off \
|
||||
DG_ICAP "Enable ICAP AV content scanner support" off \
|
||||
DG_KASP "Enable Kaspersky AV support" off \
|
||||
DG_DMGR "Enable the fancy download manager" off
|
||||
DG_CLAMAV "Enable ClamAV support (libclamav) (broken)" off \
|
||||
DG_ICAP "Enable ICAP AV content scanner support (broken)" off \
|
||||
DG_KASP "Enable Kaspersky AV support (broken)" off
|
||||
|
||||
DG_URL= http://dansguardian.org/index.php?page=copyright2
|
||||
CONFDIR= ${PREFIX}/etc/dansguardian
|
||||
@ -53,13 +53,23 @@ USE_APACHE= 1.3+
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DG_CLAMAV)
|
||||
CONFIGURE_ARGS+= --enable-clamav=yes
|
||||
LIB_DEPENDS+= clamav.1:${PORTSDIR}/security/clamav
|
||||
#.if defined(WITH_DG_FORCE_CLAMAV)
|
||||
#CONFIGURE_ARGS+= --enable-clamav=yes
|
||||
#LIB_DEPENDS+= clamav.1:${PORTSDIR}/security/clamav
|
||||
#PLIST_SUB+= CLAMAVCONF=""
|
||||
#.else
|
||||
#PLIST_SUB+= CLAMAVCONF="@comment "
|
||||
#.endif
|
||||
#.else
|
||||
BROKEN= Please use the clamd plugin support. It's much more flexible, usable, tested, and just generally better
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DG_CLAMD)
|
||||
CONFIGURE_ARGS+= --enable-clamd=yes
|
||||
RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
|
||||
RUN_DEPENDS+= ${LOCALBASE}/sbin/clamd:${PORTSDIR}/security/clamav
|
||||
PLIST_SUB+= CLAMDCONF=""
|
||||
.else
|
||||
PLIST_SUB+= CLAMDCONF="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DG_ICAP)
|
||||
@ -72,6 +82,9 @@ BROKEN= I don't have access to Kaspersky AV, so I can't test this. If you have
|
||||
|
||||
.if defined(WITH_DG_DMGR)
|
||||
CONFIGURE_ARGS+= --enable-fancydm
|
||||
#PLIST_SUB+= DMGR=""
|
||||
#.else
|
||||
#PLIST_SUB+= DMGR="@comment "
|
||||
.endif
|
||||
|
||||
# User needs to manually download the distfile
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (dansguardian-2.9.5.0.tar.gz) = 40da3170df0b1f2def892316e13bcd9c
|
||||
SHA256 (dansguardian-2.9.5.0.tar.gz) = 1dae71135b94f2b3ae9cf6d5cf066afcd6954b2444c60f9fe4febc8b946d9f2d
|
||||
SIZE (dansguardian-2.9.5.0.tar.gz) = 411920
|
||||
MD5 (dansguardian-2.9.6.1.tar.gz) = f71621831c588fff3d3bd9b85987ead7
|
||||
SHA256 (dansguardian-2.9.6.1.tar.gz) = 4eb5ceff9bd5c7d657b05d7a2bb039a363b5ad17851067e82c8875391dfc78db
|
||||
SIZE (dansguardian-2.9.6.1.tar.gz) = 418893
|
||||
|
@ -7,6 +7,7 @@
|
||||
@exec mkdir -p etc/dansguardian/lists/blacklists
|
||||
@exec mkdir -p etc/dansguardian/lists/blacklists/ads
|
||||
@exec mkdir -p etc/dansguardian/lists/contentscanners
|
||||
@exec mkdir -p etc/dansguardian/lists/downloadmanagers
|
||||
@exec mkdir -p etc/dansguardian/lists/phraselists
|
||||
@exec mkdir -p etc/dansguardian/lists/phraselists/badwords
|
||||
@exec mkdir -p etc/dansguardian/lists/phraselists/chat
|
||||
@ -138,8 +139,13 @@ etc/dansguardian/authplugins/ident.conf
|
||||
etc/dansguardian/authplugins/ip.conf
|
||||
etc/dansguardian/authplugins/proxy-basic.conf
|
||||
etc/dansguardian/lists/authplugins/ipgroups
|
||||
etc/dansguardian/lists/exceptionextensionlist
|
||||
etc/dansguardian/lists/exceptionfilesitelist
|
||||
etc/dansguardian/lists/exceptionmimetypelist
|
||||
etc/dansguardian/lists/blacklists/ads/domains
|
||||
etc/dansguardian/lists/blacklists/ads/urls
|
||||
etc/dansguardian/lists/downloadmanagers/managedextensionlist
|
||||
etc/dansguardian/lists/downloadmanagers/managedmimetypelist
|
||||
etc/dansguardian/lists/phraselists/badwords/weighted_dutch
|
||||
etc/dansguardian/lists/phraselists/badwords/weighted_french
|
||||
etc/dansguardian/lists/phraselists/badwords/weighted_german
|
||||
@ -220,8 +226,7 @@ etc/dansguardian/lists/contentscanners/exceptionvirussitelist
|
||||
etc/dansguardian/lists/contentscanners/exceptionvirusurllist
|
||||
etc/dansguardian/downloadmanagers/default.conf
|
||||
etc/dansguardian/downloadmanagers/fancy.conf
|
||||
etc/dansguardian/contentscanners/clamav.conf
|
||||
etc/dansguardian/contentscanners/clamdscan.conf
|
||||
%%CLAMDCONF%%etc/dansguardian/contentscanners/clamdscan.conf
|
||||
etc/dansguardian/dansguardian.conf
|
||||
etc/dansguardian/dansguardianf1.conf
|
||||
@dirrm %%DATADIR%%/scripts
|
||||
@ -251,6 +256,7 @@ etc/dansguardian/dansguardianf1.conf
|
||||
@dirrm %%DATADIR%%/languages
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrm etc/dansguardian/lists/contentscanners
|
||||
@dirrm etc/dansguardian/lists/downloadmanagers
|
||||
@dirrm etc/dansguardian/lists/phraselists/badwords
|
||||
@dirrm etc/dansguardian/lists/phraselists/chat
|
||||
@dirrm etc/dansguardian/lists/phraselists/drugadvocacy
|
||||
|
Loading…
Reference in New Issue
Block a user