diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-10 11:48:14 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-10 11:48:14 +0000 |
commit | 05769082152659b8b024bd67618c80d3b523978b (patch) | |
tree | cfaa6f4ab34052cf7b9861faf054c66a58886a4c /www/dansguardian | |
parent | c603ef128de0cc78ff8217f26a0ddcb43b7b199a (diff) | |
download | ports-05769082152659b8b024bd67618c80d3b523978b.tar.gz ports-05769082152659b8b024bd67618c80d3b523978b.zip |
Notes
Diffstat (limited to 'www/dansguardian')
-rw-r--r-- | www/dansguardian/Makefile | 13 | ||||
-rw-r--r-- | www/dansguardian/distinfo | 4 | ||||
-rw-r--r-- | www/dansguardian/files/dansguardian.sh | 10 |
3 files changed, 13 insertions, 14 deletions
diff --git a/www/dansguardian/Makefile b/www/dansguardian/Makefile index f859e73f22ec..702004a67043 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 987879aeddb0..f93f7e068bb0 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 ed4cc7df02a0..43440f0bdf7d 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}" |