Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 12:34:06 +0800 (CST)
From:      Dryice Liu <dryice@dryice.name>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102418: [maintainer] www/mod_scgi: update to 1.11
Message-ID:  <200608230434.k7N4Y603067071@readonline.info>
Resent-Message-ID: <200608230440.k7N4eJns065059@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102418
>Category:       ports
>Synopsis:       [maintainer] www/mod_scgi: update to 1.11
>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 23 04:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dryice Liu
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dryice.3322.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Dec 1 15:59:44 CST 2005


	
>Description:

Changes:
    - update to 1.11
    - update the MASTER_SITES
    - change the usage of USE_APACHE
    - utilize APACHE_VERSION

>How-To-Repeat:

	
>Fix:

	

--- attached file begins here ---
diff -ruN mod_scgi.old/Makefile mod_scgi/Makefile
--- mod_scgi.old/Makefile	Sun Jan  1 05:07:38 2006
+++ mod_scgi/Makefile	Wed Aug 23 11:10:10 2006
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	scgi
-PORTVERSION=	1.10
+PORTVERSION=	1.11
 CATEGORIES=	www
-MASTER_SITES=	http://www.mems-exchange.org/software/files/scgi/ \
+MASTER_SITES=	http://quixote.python.ca/releases/ \
 		http://dryice.name/computer/FreeBSD/distfiles/
 PKGNAMEPREFIX=	mod_
 DISTNAME=	scgi-${PORTVERSION:S/.a/a/}
@@ -16,21 +16,18 @@
 MAINTAINER=	dryice@dryice.name
 COMMENT=	Apache module that implements the client side of the SCGI protocol
 
-USE_APACHE=	yes
+USE_APACHE=	1.3+
 WRKSRC=		${WRKDIR}/${DISTNAME}/${SCGI_DIR}
 
 .include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/include/apache2/apr.h)
-WITH_APACHE2=	yes
-.endif
 
-.if defined(WITH_APACHE2)
+.if ${APACHE_VERSION} >= 20
 SCGI_DIR=	apache2
-PLIST_SUB=	APACHE_DIR=apache2
 .else
 SCGI_DIR=	apache1
-PLIST_SUB=	APACHE_DIR=apache
 .endif
+PLIST_SUB=	APACHE_DIR=${APACHEMODDIR}
+
 
 do-build:
 	cd ${WRKSRC} && ${APXS} -c mod_scgi.c
diff -ruN mod_scgi.old/distinfo mod_scgi/distinfo
--- mod_scgi.old/distinfo	Thu Feb  9 02:44:56 2006
+++ mod_scgi/distinfo	Wed Aug 23 10:42:08 2006
@@ -1,3 +1,3 @@
-MD5 (scgi-1.10.tar.gz) = 53530a15f4b7eb5dfc7b853b11781ee3
-SHA256 (scgi-1.10.tar.gz) = 3cad8c19ea988ecdc55fd873df1fe138a3662d9218bd9d2d17399e785dde9821
-SIZE (scgi-1.10.tar.gz) = 21179
+MD5 (scgi-1.11.tar.gz) = 45a2332e3582caf3c90605a34c4d0b8f
+SHA256 (scgi-1.11.tar.gz) = b7b1da48c19d8eaf493eb4e91d112a0f7bd5e17c2bc0015c12530a52b3c07948
+SIZE (scgi-1.11.tar.gz) = 22567
diff -ruN mod_scgi.old/pkg-plist mod_scgi/pkg-plist
--- mod_scgi.old/pkg-plist	Tue Jun 29 21:13:27 2004
+++ mod_scgi/pkg-plist	Wed Aug 23 11:26:18 2006
@@ -1,3 +1,3 @@
-libexec/%%APACHE_DIR%%/mod_scgi.so
+%%APACHE_DIR%%/mod_scgi.so
 @exec %D/sbin/apxs -e -a -n scgi %f
 @unexec %D/sbin/apxs -e -A -n scgi %f
--- attached file ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608230434.k7N4Y603067071>