ports/147145: [PATCH] www/ap22-mod_clamav: clean sup

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


>Number:         147145
>Category:       ports
>Synopsis:       [PATCH] www/ap22-mod_clamav: clean sup
>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:20: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
- add OPTIONS
- use apxs not sed in pkg-plist
- use PLIST_SUB vars in pkg-plist
- bump PORTREVISION

Port maintainer (tmueko at kommunity.net) is cc'd.

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

--- ap22-mod_clamav-0.23_4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mod_clamav/Makefile,v
retrieving revision 1.25
diff -u -u -r1.25 Makefile
--- Makefile	25 May 2010 20:17:29 -0000	1.25
+++ Makefile	27 May 2010 20:17:45 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	mod_clamav
 PORTVERSION=	0.23
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	www security
 MASTER_SITES=	http://software.othello.ch/mod_clamav/ \
 		http://www.kommunity.net/download/mod_clamav/
@@ -16,12 +16,16 @@
 MAINTAINER=	tmueko at kommunity.net
 COMMENT=	Scans content delivered by the Apache20 proxy module for viruses
 
-MAKE_JOBS_SAFE=  yes
+MAKE_JOBS_SAFE=	yes
 
 USE_AUTOTOOLS=	libtool:22
 USE_APACHE=	2.2
 GNU_CONFIGURE=	yes
 
+OPTIONS=	CLAMAVDEVEL	"Use development version of CLAMAV" off
+
+.include <bsd.port.options.mk>
+
 .if defined(WITH_CLAMAVDEVEL)
 LIB_DEPENDS+=	clamav.7:${PORTSDIR}/security/clamav-devel
 .else
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/mod_clamav/pkg-plist,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-plist
--- pkg-plist	9 Jun 2009 14:41:37 -0000	1.3
+++ pkg-plist	27 May 2010 19:47:39 -0000
@@ -1,3 +1,3 @@
- at unexec /usr/bin/sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
-%%APACHEMODDIR%%/mod_clamav.so
- at exec %D/sbin/apxs -e -A -n clamav %D/%f
+ 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
--- ap22-mod_clamav-0.23_4.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list