Index: head/www/mod_bandwidth/Makefile =================================================================== --- head/www/mod_bandwidth/Makefile (revision 91140) +++ head/www/mod_bandwidth/Makefile (revision 91141) @@ -1,36 +1,34 @@ # New ports collection makefile for: mod_bandwidth # Date created: 2 July 2003 # Whom: Clement Laforet # # $FreeBSD$ # 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@cultdeadsheep.org COMMENT= Bandwidth management module for the Apache webserver 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 Property changes on: head/www/mod_bandwidth/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/www/mod_bandwidth/distinfo =================================================================== --- head/www/mod_bandwidth/distinfo (revision 91140) +++ head/www/mod_bandwidth/distinfo (revision 91141) @@ -1 +1 @@ -MD5 (mod_bandwidth-2.0.4.c) = 00f0905d777f79485beb428b53191ecf +MD5 (apache/mod_bandwidth-2.0.5.tar.gz) = 036bd7a95b43b1dd5a77061fcf59aa27 Property changes on: head/www/mod_bandwidth/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/www/mod_bandwidth/pkg-plist =================================================================== --- head/www/mod_bandwidth/pkg-plist (revision 91140) +++ head/www/mod_bandwidth/pkg-plist (revision 91141) @@ -1,3 +1,4 @@ libexec/apache/mod_bandwidth.so -@exec %D/sbin/apxs -e -A -n mod_bandwidth %D/%F +@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." Property changes on: head/www/mod_bandwidth/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property