Date: Sun, 12 Apr 2009 03:30:29 GMT From: "Philip M. Gollucci" <pgollucci@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: leeym@FreeBSD.org Subject: ports/133635: [PATCH] www/mod_uid: apache@ cleanups Message-ID: <200904120330.n3C3UTIN089835@mail.bluecottontech.com> Resent-Message-ID: <200904120340.n3C3e2LJ042448@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133635 >Category: ports >Synopsis: [PATCH] www/mod_uid: 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 03:40:02 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 - WITH_APACHE2=yes is deprecated - Convert to AP_FAST_BUILD/AP_GENPLIST - Works with 13,20, and 22 Removed file(s): - pkg-plist Port maintainer (leeym@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- mod_uid-1.1.0.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/mod_uid/Makefile,v retrieving revision 1.1 diff -u -u -r1.1 Makefile --- Makefile 5 Jan 2004 17:19:08 -0000 1.1 +++ Makefile 12 Apr 2009 03:29:30 -0000 @@ -13,23 +13,23 @@ MAINTAINER= leeym@FreeBSD.org COMMENT= A module issuing the "correct" cookies for counting the site visitors -USE_APACHE= yes -DOCS= README.html +USE_APACHE= 1.3+ -.if defined(WITH_APACHE2) -MOD= mod_uid2 +PORTDOCS= README.html + +.if !defined(APACHE_PORT) || ${APACHE_PORT} == "www/apache13" +MODULENAME= mod_uid .else -MOD= mod_uid +MODULENAME= mod_uid2 .endif -do-build: - @cd ${WRKSRC} && ${APXS} -c ${MOD}.c +AP_FAST_BUILD= yes +AP_GENPLIST= yes -do-install: - ${APXS} -i -A -n uid ${WRKSRC}/${MOD}.so +post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for f in ${DOCS} +.for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif Index: pkg-plist =================================================================== RCS file: pkg-plist diff -N pkg-plist --- pkg-plist 21 May 2004 07:13:46 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,5 +0,0 @@ -libexec/apache/mod_uid.so -%%PORTDOCS%%%%DOCSDIR%%/README.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec %D/sbin/apxs -e -A -n uid %D/%F -@unexec %D/sbin/apxs -e -A -n uid %D/%F --- mod_uid-1.1.0.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?200904120330.n3C3UTIN089835>