summaryrefslogtreecommitdiffstats
path: root/www/dansguardian
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-08-10 11:48:14 +0000
committersem <sem@FreeBSD.org>2004-08-10 11:48:14 +0000
commit7326bff19562212b9303d117ea975c5bd2f7f126 (patch)
tree71debe23cd00df3ab55d124141ceb5a284870ceb /www/dansguardian
parent64e7d49558131e408ead163bbc2cc8387a0303c8 (diff)
downloadFreeBSD-ports-7326bff19562212b9303d117ea975c5bd2f7f126.zip
FreeBSD-ports-7326bff19562212b9303d117ea975c5bd2f7f126.tar.gz
* Update to version 2.8.0.2
Minor bug fix release * Also removed the "Compile with GCC 3" option as it never really worked correctly anyway PR: ports/70226 Submitted by: maintainer
Diffstat (limited to 'www/dansguardian')
-rw-r--r--www/dansguardian/Makefile13
-rw-r--r--www/dansguardian/distinfo4
-rw-r--r--www/dansguardian/files/dansguardian.sh10
3 files changed, 13 insertions, 14 deletions
diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile
index f859e73..702004a 100644
--- a/www/dansguardian/Makefile
+++ b/www/dansguardian/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= dansguardian
-PORTVERSION= 2.8.0.0
+PORTVERSION= 2.8.0.2
CATEGORIES= www
MASTER_SITES= # empty, see below
-DISTNAME= DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source
+DISTNAME= ${PORTNAME}-${PORTVERSION}.source
MAINTAINER= fcash@sd73.bc.ca
COMMENT= A fast, feature-rich web content filter for Squid proxy servers
@@ -18,12 +18,12 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid \
${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
USE_RC_SUBR= yes
-RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
CONFLICTS= dansguardian-2.[67]*
LATEST_LINK= dansguardian
-WRKSRC= ${WRKDIR}/DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir=/sbin/ \
--sysconfdir=/etc/dansguardian/ \
@@ -46,10 +46,9 @@ RESTRICTED= ${NO_PACKAGE}
.include <bsd.port.pre.mk>
-# On FreeBSD 4.x, user can choose which GCC version to use
-.if ${OSVERSION} > 500000 || defined(WITH_DG_GCC3)
+# Set which version of GCC to compile the port with
+.if ${OSVERSION} > 500000
CONFIGURE_ARGS+= --gccver=3
-USE_GCC= 3.3
.else
CONFIGURE_ARGS+= --gccver=2
.endif
diff --git a/www/dansguardian/distinfo b/www/dansguardian/distinfo
index 987879a..f93f7e0 100644
--- a/www/dansguardian/distinfo
+++ b/www/dansguardian/distinfo
@@ -1,2 +1,2 @@
-MD5 (DansGuardian-2.8.0-0.source.tar.gz) = 1bd5ffdf4140fad379e8392403ea7694
-SIZE (DansGuardian-2.8.0-0.source.tar.gz) = 192166
+MD5 (dansguardian-2.8.0.2.source.tar.gz) = 94e967f97930739de6c531ec4db67d48
+SIZE (dansguardian-2.8.0.2.source.tar.gz) = 192297
diff --git a/www/dansguardian/files/dansguardian.sh b/www/dansguardian/files/dansguardian.sh
index ed4cc7d..43440f0b 100644
--- a/www/dansguardian/files/dansguardian.sh
+++ b/www/dansguardian/files/dansguardian.sh
@@ -13,9 +13,9 @@
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
-dansguardian_enable=${dansguardian_enable:-"NO"}
-dansguardian_flags=${dansguardian_flags:-""}
-dansguardian_pidfile=${dansguardian_pidfile:-"/var/run/dansguardian.pid"
+dansguardian_enable=${dansguardian_enable-"NO"}
+dansguardian_flags=${dansguardian_flags-""}
+dansguardian_pidfile=${dansguardian_pidfile-"/var/run/dansguardian.pid"}
. %%RC_SUBR%%
@@ -23,9 +23,9 @@ name="dansguardian"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/dansguardian"
-load_rc_config $name
+load_rc_config ${name}
pidfile="${dansguardian_pidfile}"
-run_rc_command "$1"
+run_rc_command "${1}"
OpenPOWER on IntegriCloud