View | Details | Raw Unified | Return to bug 70226
Collapse All | Expand All

(-)dansguardian/Makefile (-7 / +6 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	dansguardian
8
PORTNAME=	dansguardian
9
PORTVERSION=	2.8.0.0
9
PORTVERSION=	2.8.0.2
10
CATEGORIES=	www
10
CATEGORIES=	www
11
MASTER_SITES=	# empty, see below
11
MASTER_SITES=	# empty, see below
12
DISTNAME=	DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}.source
12
DISTNAME=	${PORTNAME}-${PORTVERSION}.source
13
13
14
MAINTAINER=	fcash@sd73.bc.ca
14
MAINTAINER=	fcash@sd73.bc.ca
15
COMMENT=	A fast, feature-rich web content filter for Squid proxy servers
15
COMMENT=	A fast, feature-rich web content filter for Squid proxy servers
Lines 18-29 Link Here
18
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
18
		${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13
19
19
20
USE_RC_SUBR=	yes
20
USE_RC_SUBR=	yes
21
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
21
RC_SCRIPTS_SUB=	PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
22
22
23
CONFLICTS=	dansguardian-2.[67]*
23
CONFLICTS=	dansguardian-2.[67]*
24
LATEST_LINK=	dansguardian
24
LATEST_LINK=	dansguardian
25
25
26
WRKSRC=		${WRKDIR}/DansGuardian-${PORTVERSION:R}-${PORTVERSION:E}
26
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
27
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
28
CONFIGURE_ARGS=	--bindir=/sbin/ \
28
CONFIGURE_ARGS=	--bindir=/sbin/ \
29
		--sysconfdir=/etc/dansguardian/ \
29
		--sysconfdir=/etc/dansguardian/ \
Lines 46-55 Link Here
46
46
47
.include <bsd.port.pre.mk>
47
.include <bsd.port.pre.mk>
48
48
49
# On FreeBSD 4.x, user can choose which GCC version to use
49
# Set which version of GCC to compile the port with
50
.if ${OSVERSION} > 500000 || defined(WITH_DG_GCC3)
50
.if ${OSVERSION} > 500000
51
CONFIGURE_ARGS+=	--gccver=3
51
CONFIGURE_ARGS+=	--gccver=3
52
USE_GCC=		3.3
53
.else
52
.else
54
CONFIGURE_ARGS+=	--gccver=2
53
CONFIGURE_ARGS+=	--gccver=2
55
.endif
54
.endif
(-)dansguardian/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (DansGuardian-2.8.0-0.source.tar.gz) = 1bd5ffdf4140fad379e8392403ea7694
1
MD5 (dansguardian-2.8.0.2.source.tar.gz) = 94e967f97930739de6c531ec4db67d48
2
SIZE (DansGuardian-2.8.0-0.source.tar.gz) = 192166
2
SIZE (dansguardian-2.8.0.2.source.tar.gz) = 192297
(-)dansguardian/files/dansguardian.sh (-5 / +5 lines)
Lines 13-21 Link Here
13
#
13
#
14
# DO NOT CHANGE THESE DEFAULT VALUES HERE
14
# DO NOT CHANGE THESE DEFAULT VALUES HERE
15
#
15
#
16
dansguardian_enable=${dansguardian_enable:-"NO"}
16
dansguardian_enable=${dansguardian_enable-"NO"}
17
dansguardian_flags=${dansguardian_flags:-""}
17
dansguardian_flags=${dansguardian_flags-""}
18
dansguardian_pidfile=${dansguardian_pidfile:-"/var/run/dansguardian.pid"
18
dansguardian_pidfile=${dansguardian_pidfile-"/var/run/dansguardian.pid"}
19
19
20
. %%RC_SUBR%%
20
. %%RC_SUBR%%
21
21
Lines 23-31 Link Here
23
rcvar=`set_rcvar`
23
rcvar=`set_rcvar`
24
command="%%PREFIX%%/sbin/dansguardian"
24
command="%%PREFIX%%/sbin/dansguardian"
25
25
26
load_rc_config $name
26
load_rc_config ${name}
27
27
28
pidfile="${dansguardian_pidfile}"
28
pidfile="${dansguardian_pidfile}"
29
29
30
run_rc_command "$1"
30
run_rc_command "${1}"

Return to bug 70226