ports/147146: [PATCH] www/ap22-mod_dnssd: cleanups

Philip M. Gollucci pgollucci at p6m7g8.com
Thu May 27 20:40:02 UTC 2010


>Number:         147146
>Category:       ports
>Synopsis:       [PATCH] www/ap22-mod_dnssd: 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:   Thu May 27 20:40:01 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:
- pet portlint
- use apxs not sed in pkg-plist
- use PLIST_SUB vars in pkg-plist

Port maintainer (gnome at FreeBSD.org) is cc'd.

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

--- ap22-mod_dnssd-0.6_7.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_dnssd/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile	25 May 2010 20:17:30 -0000	1.10
+++ Makefile	27 May 2010 20:20:38 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	mod_dnssd
 PORTVERSION=	0.6
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	www
 MASTER_SITES=	http://0pointer.de/lennart/projects/mod_dnssd/
 PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@
 
 LIB_DEPENDS=	avahi-client.3:${PORTSDIR}/net/avahi-app
 
-MAKE_JOBS_SAFE=  yes
+MAKE_JOBS_SAFE=	yes
 
 USE_GMAKE=	yes
 USE_APACHE=	2.2+
@@ -30,7 +30,7 @@
 
 post-install:
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${DOCSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/README
 .endif
 
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/mod_dnssd/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- pkg-plist	19 Mar 2009 19:40:42 -0000	1.2
+++ pkg-plist	27 May 2010 20:20:16 -0000
@@ -1,5 +1,5 @@
- at unexec sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
-%%APACHEMODDIR%%/mod_dnssd.so
- at exec %D/sbin/apxs -e -a -n dnssd %D/%f || true
+ at exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%f
+%%APACHEMODDIR%%/%%AP_MODULE%%
+ at unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%f
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
--- ap22-mod_dnssd-0.6_7.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list