Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2009 06:18:17 GMT
From:      "Philip M. Gollucci" <pgollucci@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        anders@FreeBSD.org
Subject:   ports/133643: [PATCH] www/mod_auth_external: apache@ cleanups
Message-ID:  <200904120618.n3C6IHXj025124@mail.bluecottontech.com>
Resent-Message-ID: <200904120620.n3C6K1Sw062057@freefall.freebsd.org>

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

>Number:         133643
>Category:       ports
>Synopsis:       [PATCH] www/mod_auth_external: apache@ cleanups
>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:   Sun Apr 12 06:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 7.1-RELEASE-p3 amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD mail.bluecottontech.com 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #1: Tue Mar 10 22:10:18 UTC 2009
>Description:
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST
- Handle NO* correctly
- Bump PORTREVISION

Removed file(s):
- pkg-plist

Port maintainer (anders@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mod_auth_external-2.1.19_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_auth_external/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	29 May 2005 19:47:13 -0000	1.12
+++ Makefile	12 Apr 2009 06:17:18 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	mod_auth_external
 PORTVERSION=	2.1.19
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www.unixpapa.com/software/ \
 		ftp://ftp.nuug.no/pub/anders/distfiles/
@@ -14,24 +15,28 @@
 MAINTAINER=	anders@FreeBSD.org
 COMMENT=	Enables the use of external mechanisms for user authentication
 
-USE_APACHE=	yes
-DOCS=		AUTHENTICATORS CHANGES INSTALL README TODO
-
 CONFLICTS=	apache-contrib-1.*
 
-do-build:
-	@cd ${WRKSRC} && ${APXS} -c mod_auth_external.c
+USE_APACHE=	1.3
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+
+PORTDOCS=	AUTHENTICATORS CHANGES INSTALL README TODO
+PORTEXAMPLES=	mysql radius sybase test
 
-do-install:
-	${APXS} -i -A -n auth_external ${WRKSRC}/mod_auth_external.so
+post-install:
 .if !defined(NOPORTDOCS)
-	${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}/examples
-	cd ${WRKSRC} && ${TAR} -chf - mysql radius sybase test \
-		| ${TAR} -xf - -C ${DOCSDIR}/examples
-.for f in ${DOCS}
+	${MKDIR} ${DOCSDIR}/
+.for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
 .endfor
 .endif
+.if !defined(NOPORTEXAMPLES)
+	${MKDIR} ${EXAMPLESDIR}/
+.for d in ${PORTEXAMPLES}
+	${COPYTREE_SHARE} ${WRKSRC}/${d} ${EXAMPLESDIR}/${d}
+.endfor
+.endif
 	${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	29 May 2005 19:47:13 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,30 +0,0 @@
-libexec/apache/mod_auth_external.so
-@exec %D/sbin/apxs -e -A -n auth_external %D/%F
-@unexec %D/sbin/apxs -e -A -n auth_external %D/%F
-%%PORTDOCS%%%%DOCSDIR%%/examples/mysql/mysql-auth.pl
-%%PORTDOCS%%%%DOCSDIR%%/examples/mysql/README
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/md5-radius.c
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/md5-radius.h
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/mod-radfuncs.c
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/mod-radius.h
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/mod_auth_external_radius.c
-%%PORTDOCS%%%%DOCSDIR%%/examples/radius/README
-%%PORTDOCS%%%%DOCSDIR%%/examples/sybase/mod_auth_external_sybase.c
-%%PORTDOCS%%%%DOCSDIR%%/examples/sybase/README
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/test.pipe
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/test.env
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/testgroup.env
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/testgroup.pipe
-%%PORTDOCS%%%%DOCSDIR%%/examples/test/README
-%%PORTDOCS%%%%DOCSDIR%%/AUTHENTICATORS
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/mysql
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/radius
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/sybase
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples/test
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/examples
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- mod_auth_external-2.1.19_1.patch ends here ---

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



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