ports/133642: [PATCH] www/mod_auth_pam: apache@ cleanups
Philip M. Gollucci
pgollucci at FreeBSD.org
Sun Apr 12 04:50:03 UTC 2009
>Number: 133642
>Category: ports
>Synopsis: [PATCH] www/mod_auth_pam: 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 04:50: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
- Fix NOPORTEXAMPLES
- Bump PORTREVISION
Port maintainer (anders at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- mod_auth_pam-1.1.1_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/mod_auth_pam/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile 3 Jun 2004 11:59:23 -0000 1.9
+++ Makefile 12 Apr 2009 04:41:29 -0000
@@ -7,6 +7,7 @@
PORTNAME= mod_auth_pam
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://pam.sourceforge.net/mod_auth_pam/dist/ \
http://atreides.freenix.no/~anders/
@@ -14,23 +15,27 @@
MAINTAINER= anders at FreeBSD.org
COMMENT= Allows users to use PAM modules for user authentication
-USE_APACHE= yes
+USE_APACHE= 1.3
-.include <bsd.port.pre.mk>
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
-do-build:
- @cd ${WRKSRC} && \
- ${APXS} -c -lpam mod_auth_pam.c
+AP_LIB= -lpam
-do-install:
- ${APXS} -i -A -n auth_pam ${WRKSRC}/mod_auth_pam.so
+PORTDOCS= configure.txt faq.txt
+PORTEXAMPLES= dot-htaccess httpd-
+
+post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} -p -m 0755 ${DOCSDIR}/samples
+ ${MKDIR} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/configure.txt ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/samples/dot-htaccess ${DOCSDIR}/samples/
- ${INSTALL_DATA} ${WRKSRC}/samples/httpd- ${DOCSDIR}/samples/httpd
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/samples/dot-htaccess ${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/samples/httpd- ${EXAMPLESDIR}/
.endif
${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- mod_auth_pam-1.1.1_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list