ports/109957: [PATCH] www/dansguardian: remove support and checks for FreeBSD 4.x/GCC 2

Freddie Cash fcash at .sd73.bc.ca
Tue Mar 6 00:20:03 UTC 2007


>Number:         109957
>Category:       ports
>Synopsis:       [PATCH] www/dansguardian: remove support and checks for FreeBSD 4.x/GCC 2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 06 00:20:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Freddie Cash
>Release:        FreeBSD 6.1-RELEASE-p11 i386
>Organization:
School District 73
>Environment:
System: FreeBSD freebsd-vm1.sd73.bc.ca 6.1-RELEASE-p11 FreeBSD 6.1-RELEASE-p11 #0: Thu Jan 18 02:00:14 PST 2007
>Description:
Remove checks and support for FreeBSD 4.x in the port Makefile.

Port maintainer (fcash at sd73.bc.ca) is cc'd.

Generated with FreeBSD Port Tools 0.77 so hopefully this comes through correctly.

>How-To-Repeat:
>Fix:

begin 644 dansguardian-2.8.0.6_3.patch
diff -ruN --exclude=CVS /usr/ports/www/dansguardian.orig/Makefile /usr/ports/www/dansguardian/Makefile
--- /usr/ports/www/dansguardian.orig/Makefile	Sat Sep  2 23:35:31 2006
+++ /usr/ports/www/dansguardian/Makefile	Mon Mar  5 15:57:14 2007
@@ -3,11 +3,10 @@
 # Whom:					Freddie Cash <fcash at sd73.bc.ca>
 #
 # $FreeBSD: ports/www/dansguardian/Makefile,v 1.24 2006/09/03 06:35:31 kris Exp $
-#
 
 PORTNAME=	dansguardian
 PORTVERSION=	2.8.0.6
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 MASTER_SITES=	# empty, see below
 DISTNAME=	${PORTNAME}-${PORTVERSION}.source
@@ -19,7 +18,7 @@
 
 USE_RC_SUBR=	dansguardian.sh
 
-CONFLICTS=	dansguardian-2.[67]*
+CONFLICTS=	dansguardian-2.[67]* dansguardian-devel-2.9*
 LATEST_LINK=	dansguardian
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -30,7 +29,8 @@
 		--mandir=/man/ \
 		--logdir=/var/log/ \
 		--cgidir=/www/cgi-bin/ \
-		--piddir=/var/run/
+		--piddir=/var/run/ \
+		--gccver=3
 
 MAN8=		dansguardian.8
 NOMANCOMPRESSED=	yes
@@ -45,13 +45,6 @@
 
 .include <bsd.port.pre.mk>
 
-# Set which version of GCC to compile the port with
-.if ${OSVERSION} > 500000
-CONFIGURE_ARGS+=	--gccver=3
-.else
-CONFIGURE_ARGS+=	--gccver=2
-.endif
-
 .if !defined(WITHOUT_DG_APACHE)
 USE_APACHE=	1.3+
 .endif
@@ -77,10 +70,6 @@
 .else
 	@${ECHO_MSG} "===>   Skipping installation of phraselists."
 .endif
-
-# Install startup script
-#	@${ECHO_MSG} "===>   Installing startup script into ${PREFIX}/etc/rc.d"
-#	@${INSTALL_SCRIPT} ${WRKSRC}/dansguardian.sh ${PREFIX}/etc/rc.d/start-dg.sh
 
 # Display post-install message
 	@${CAT} pkg-message
diff -ruN --exclude=CVS /usr/ports/www/dansguardian.orig/distinfo /usr/ports/www/dansguardian/distinfo
--- /usr/ports/www/dansguardian.orig/distinfo	Thu Oct  6 11:28:23 2005
+++ /usr/ports/www/dansguardian/distinfo	Mon Mar  5 16:00:20 2007
@@ -1,2 +1,3 @@
 MD5 (dansguardian-2.8.0.6.source.tar.gz) = aa619607198f37a528dbb65e4a503beb
+SHA256 (dansguardian-2.8.0.6.source.tar.gz) = f4d51b805e979369896906b49a388bf102f56cf0755acc9cb1ec2e4176aac34b
 SIZE (dansguardian-2.8.0.6.source.tar.gz) = 212737
end

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list