From pgollucci@mail.bluecottontech.com  Sun Apr 12 03:30:37 2009
Return-Path: <pgollucci@mail.bluecottontech.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4CBD5106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Apr 2009 03:30:36 +0000 (UTC)
	(envelope-from pgollucci@mail.bluecottontech.com)
Received: from mail.bluecottontech.com (static-76-161-175-34.dsl.cavtel.net [76.161.175.34])
	by mx1.freebsd.org (Postfix) with ESMTP id 3A1CD8FC20
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 12 Apr 2009 03:30:35 +0000 (UTC)
	(envelope-from pgollucci@mail.bluecottontech.com)
Received: from mail.bluecottontech.com (localhost [127.0.0.1])
	by mail.bluecottontech.com (8.14.3/8.14.3) with ESMTP id n3C3UYfU089836;
	Sun, 12 Apr 2009 03:30:35 GMT
	(envelope-from pgollucci@mail.bluecottontech.com)
Received: (from pgollucci@localhost)
	by mail.bluecottontech.com (8.14.3/8.14.3/Submit) id n3C3UTIN089835;
	Sun, 12 Apr 2009 03:30:29 GMT
	(envelope-from pgollucci)
Message-Id: <200904120330.n3C3UTIN089835@mail.bluecottontech.com>
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: [PATCH] www/mod_uid: apache@ cleanups
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         133635
>Category:       ports
>Synopsis:       [PATCH] www/mod_uid: apache@ cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 12 03:40:02 UTC 2009
>Closed-Date:    Sun Apr 12 12:16:50 UTC 2009
>Last-Modified:  Sun Apr 12 12:20:03 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Apr 12 03:40:14 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133635 
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Sun Apr 12 12:16:42 UTC 2009 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133635 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/133635: commit references a PR
Date: Sun, 12 Apr 2009 12:16:57 +0000 (UTC)

 leeym       2009-04-12 12:16:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/mod_uid          Makefile 
   Removed files:
     www/mod_uid          pkg-plist 
   Log:
   - USE_APACHE=yes is deprecated
   - WITH_APACHE2=yes is deprecated
   - Convert to AP_FAST_BUILD/AP_GENPLIST
   - Works with 13,20, and 22
   
   PR:             133635
   Submitted by:   pgollucci
   
   Revision  Changes    Path
   1.2       +10 -10    ports/www/mod_uid/Makefile
   1.3       +0 -5      ports/www/mod_uid/pkg-plist (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
