ports/51176: Update Port: www/mod_limitipconn

Gea-Suan Lin gslin at netnews.NCTU.edu.tw
Sun Apr 20 06:10:19 UTC 2003


>Number:         51176
>Category:       ports
>Synopsis:       Update Port: www/mod_limitipconn
>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:   Sat Apr 19 23:10:17 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 4.8-RELEASE FreeBSD 4.8-RELEASE #4: Mon Apr 7 04:42:10 CST 2003 root at netnews.NCTU.edu.tw:/usr/obj/usr/src/sys/NETNEWS i386


	
>Description:
	* Fix building problem when PATH doesn't contain /usr/local/sbin.
	* Use tarball's Makefile to install.
	* Bump PORTREVISION.
	
>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/www/mod_limitipconn/Makefile mod_limitipconn/Makefile
--- /usr/ports/www/mod_limitipconn/Makefile	Fri Apr 18 00:27:41 2003
+++ mod_limitipconn/Makefile	Sun Apr 20 14:00:24 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	mod_limitipconn
 PORTVERSION=	0.04
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://dominia.org/djao/limit/
 
@@ -14,11 +15,13 @@
 COMMENT=	Limit the number of simultaneous connections from a single client IP address
 
 BUILD_DEPENDS?=	${APXS}:${PORTSDIR}/www/apache13
-RUN_DEPENDS?=	${APXS}:${PORTSDIR}/www/apache13
+RUN_DEPENDS?=	${BUILD_DEPENDS}
 
 APXS?=		${LOCALBASE}/sbin/apxs
 
-do-install:
-	${APXS} -i -A -n limitipconn ${WRKSRC}/mod_limitipconn.so
+USE_REINPLACE=	yes
+
+post-patch:
+	${REINPLACE_CMD} -e 's,^APXS = .*,APXS = ${APXS},' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>
	


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



More information about the freebsd-ports-bugs mailing list