ports/147632: [PATCH] www/ap22-mod_limitipconn: Convert to AP_FAST_BUILD / AP_GENPLIST
Philip M. Gollucci
pgollucci at p6m7g8.com
Mon Jun 7 05:30:04 UTC 2010
>Number: 147632
>Category: ports
>Synopsis: [PATCH] www/ap22-mod_limitipconn: Convert to AP_FAST_BUILD / AP_GENPLIST
>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: Mon Jun 07 05:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Philip M. Gollucci
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
RideCharge Inc / TaxiMagic
>Environment:
System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Apr 26 16:20:00 EDT 2010
>Description:
Removed file(s):
- pkg-plist
Port maintainer (ychsiao at ychsiao.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- ap22-mod_limitipconn-0.23_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_limitipconn2/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile 25 May 2010 20:17:32 -0000 1.8
+++ Makefile 7 Jun 2010 05:18:42 -0000
@@ -7,6 +7,7 @@
PORTNAME= mod_limitipconn
PORTVERSION= 0.23
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dominia.org/djao/limit/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
@@ -15,25 +16,25 @@
MAINTAINER= ychsiao at ychsiao.org
COMMENT= Allows you to limit the number of simultaneous connexions
-MAKE_JOBS_SAFE= yes
+MAKE_JOBS_SAFE= yes
LATEST_LINK= mod_limitipconn2
USE_APACHE= 2.0+
USE_BZIP2= YES
-PORTDOCS= ChangeLog INSTALL README
+AP_AST_BUILD= yes
+AP_GENPLIST= yes
-do-build:
- @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
+PLIST_FILES+= ${APACHEMODDIR}/${PORTNAME}.so
-do-install:
- @(cd ${WRKSRC} && ${APXS} -i -A -n ${PORTNAME:S/mod_//} ${PORTNAME}.la)
+PORTDOCS= ChangeLog INSTALL README
+post-install:
.if !defined (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/
. for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
. endfor
.endif
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 6 Jun 2010 05:00:28 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,8 +0,0 @@
-%%APACHEMODDIR%%/%%AP_MODULE%%
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
- at exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f
- at unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%f
- at unexec echo "===> If you do not plan on reinstalling mod_limitipconn, you must manually remove"; echo "===> references to it in httpd.conf."
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- ap22-mod_limitipconn-0.23_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list