Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2010 01:35:36 -0400 (EDT)
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        leeym@FreeBSD.org
Subject:   ports/147633: [PATCH] www/ap22-mod_log_firstbyte: Convert to AP_FAST_BUILD / AP_GENPLIST
Message-ID:  <201006070535.o575Za6A092309@frieza.p6m7g8.net>
Resent-Message-ID: <201006070540.o575e5XV083503@freefall.freebsd.org>

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

>Number:         147633
>Category:       ports
>Synopsis:       [PATCH] www/ap22-mod_log_firstbyte: Convert to AP_FAST_BUILD / AP_GENPLIST
>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:   Mon Jun 07 05:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
RideCharge Inc / TaxiMagic
>Environment:
System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Apr 26 16:20:00 EDT 2010
>Description:
- Also pet Portlint

Removed file(s):
- pkg-plist

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

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

--- ap22-mod_log_firstbyte-1.01.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_log_firstbyte/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	25 May 2010 20:17:32 -0000	1.7
+++ Makefile	7 Jun 2010 05:34:22 -0000
@@ -11,28 +11,25 @@
 MASTER_SITES=	http://mod-log-firstbyte.googlecode.com/svn/trunk/
 PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
 DISTFILES=	${PORTNAME}.c readme.txt
+DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	leeym@FreeBSD.org
 COMMENT=	Log the time between request and the first byte of the response served
 
-MAKE_JOBS_SAFE=  yes
+MAKE_JOBS_SAFE=	yes
 
-PROJECTHOST=	mod-log-firstbyte
 USE_APACHE=	2.0+
-MOD=		mod_log_firstbyte
+
+PROJECTHOST=	mod-log-firstbyte
 PKGMESSAGE=	${WRKSRC}/readme.txt
-DIST_SUBDIR=	${PORTNAME}
+
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
 
 do-extract:
 	${MKDIR} ${WRKSRC}
 	cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
 
-do-build:
-	cd ${WRKSRC} && ${APXS} -c ${MOD}.c
-
-do-install:
-	${APXS} -i -a ${WRKSRC}/${MOD}.la
-
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	6 Jun 2010 05:00:28 -0000	1.4
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-%%APACHEMODDIR%%/%%AP_MODULE%%
-@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
-@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
--- ap22-mod_log_firstbyte-1.01.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?201006070535.o575Za6A092309>