ports/69978: [maintainer update]www/mod_scgi: upgrade to 1.2 and fix build

Dryice Liu dryice at hotpop.com
Wed Aug 4 04:50:24 UTC 2004


>Number:         69978
>Category:       ports
>Synopsis:       [maintainer update]www/mod_scgi: upgrade to 1.2 and fix build
>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:   Wed Aug 04 04:50:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dryice Liu
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Mon Mar 1 16:17:42 CST 2004


>Description:
	Changes:
		- upgrade to 1.2
		- fix build on Apache13
>How-To-Repeat:
	N/A
>Fix:

--- mod_scgi.diff begins here ---
diff -ruN mod_scgi.old/Makefile mod_scgi/Makefile
--- mod_scgi.old/Makefile	Wed Aug  4 12:23:41 2004
+++ mod_scgi/Makefile	Wed Aug  4 12:36:40 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	scgi
-PORTVERSION=	1.2.a2
+PORTVERSION=	1.2
 CATEGORIES=	www
 MASTER_SITES=	http://www.mems-exchange.org/software/files/scgi/
 PKGNAMEPREFIX=	mod_
@@ -17,7 +17,7 @@
 
 USE_APACHE=	yes
 USE_REINPLACE=	yes
-WRKSRC=		${WRKDIR}/${DISTNAME}/${APACHE_DIR}
+WRKSRC=		${WRKDIR}/${DISTNAME}/${SCGI_DIR}
 
 .include <bsd.port.pre.mk>
 .if exists(${LOCALBASE}/include/apache2/apr.h)
@@ -25,15 +25,17 @@
 .endif
 
 .if defined(WITH_APACHE2)
-APACHE_DIR=	apache2
+SCGI_DIR=	apache2
 PLIST_SUB=	APACHE_DIR=apache2
 .else
-APACHE_DIR=	apache1
+SCGI_DIR=	apache1
 PLIST_SUB=	APACHE_DIR=apache
 .endif
 
-post-patch:
-	${REINPLACE_CMD} -E -e 's,apxs2?,${APXS},g' ${WRKSRC}/Makefile
+do-build:
+	cd ${WRKSRC} && ${APXS} -c mod_scgi.c
+do-install:
+	cd ${WRKSRC} && ${APXS} -i -c mod_scgi.c
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
diff -ruN mod_scgi.old/distinfo mod_scgi/distinfo
--- mod_scgi.old/distinfo	Wed Aug  4 12:23:40 2004
+++ mod_scgi/distinfo	Wed Aug  4 12:24:12 2004
@@ -1,2 +1,2 @@
-MD5 (scgi-1.2a2.tar.gz) = 7ed218368a2dadaf8773cef944faa0bf
-SIZE (scgi-1.2a2.tar.gz) = 17713
+MD5 (scgi-1.2.tar.gz) = 577f6db7ab95e602378293756d368112
+SIZE (scgi-1.2.tar.gz) = 19098
--- mod_scgi.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list