ports/57915: [maintainer update] www/mod_bandwidth: Resync with correct version and misc fixes.

Clement Laforet sheepkiller at cultdeadsheep.org
Sun Oct 12 22:30:26 UTC 2003


>Number:         57915
>Category:       ports
>Synopsis:       [maintainer update] www/mod_bandwidth: Resync with correct version and misc fixes.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 12 15:30:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	- Resync with authors version (2.0.5)
	- add cleanlink.pl
	- fix package installation (module wasn't added to httpd.conf)
	- use DIST_SUBDIR=apache

>How-To-Repeat:
	N/A.
>Fix:

	

--- mod_bandwidth.diff begins here ---
Index: mod_bandwidth/Makefile
===================================================================
RCS file: /WORK/REPO/ports/www/mod_bandwidth/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- mod_bandwidth/Makefile	9 Sep 2003 12:41:33 -0000	1.2
+++ mod_bandwidth/Makefile	12 Oct 2003 21:33:30 -0000
@@ -6,11 +6,13 @@
 #
 
 PORTNAME=	mod_bandwidth
-PORTVERSION=	2.0.4
+PORTVERSION=	2.0.5
 CATEGORIES=	www
 MASTER_SITES=	http://sheepkiller.nerim.net/ports/${PORTNAME}/ \
 		http://www.cultdeadsheep.org/FreeBSD/ports/download/distfiles/
-EXTRACT_SUFX=   .c
+#Orignal locations: ftp://ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c
+#                   ftp://ftp.cohprog.com/pub/apache/module/cleanlink.pl
+DIST_SUBDIR=	apache
 
 MAINTAINER=	sheepkiller at cultdeadsheep.org
 COMMENT=	Bandwidth management module for the Apache webserver
@@ -18,19 +20,15 @@
 BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-NO_WRKSUBDIR=	YES
-
+USE_PERL5=	YES
 APXS?=		${LOCALBASE}/sbin/apxs
 
-do-extract:
-	@${MKDIR} ${WRKDIR}
-	@${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c
-
 do-build:
 	@(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
 
 do-install:
 	@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so)
+	@${INSTALL_SCRIPT} ${WRKSRC}/cleanlink.pl ${LOCALBASE}/sbin
 	${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: mod_bandwidth/distinfo
===================================================================
RCS file: /WORK/REPO/ports/www/mod_bandwidth/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- mod_bandwidth/distinfo	3 Jul 2003 15:13:09 -0000	1.1
+++ mod_bandwidth/distinfo	12 Oct 2003 21:33:30 -0000
@@ -1 +1 @@
-MD5 (mod_bandwidth-2.0.4.c) = 00f0905d777f79485beb428b53191ecf
+MD5 (apache/mod_bandwidth-2.0.5.tar.gz) = 036bd7a95b43b1dd5a77061fcf59aa27
Index: mod_bandwidth/pkg-plist
===================================================================
RCS file: /WORK/REPO/ports/www/mod_bandwidth/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- mod_bandwidth/pkg-plist	3 Jul 2003 15:13:09 -0000	1.1
+++ mod_bandwidth/pkg-plist	12 Oct 2003 22:14:51 -0000
@@ -1,3 +1,4 @@
 libexec/apache/mod_bandwidth.so
- at exec %D/sbin/apxs -e -A -n mod_bandwidth %D/%F
+ at exec %D/sbin/apxs -e -A -n bandwidth %D/%f
+sbin/cleanlink.pl
 @unexec echo "===>  If you do not plan on reinstalling mod_bandwidth, you must manually remove"; echo "===>  references to it in httpd.conf."
--- mod_bandwidth.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list