ports/189893: STAGE security/clamassassin [PATCH]

Corey Halpin chalpin at cs.wisc.edu
Sat May 17 18:10:01 UTC 2014


>Number:         189893
>Category:       ports
>Synopsis:       STAGE security/clamassassin [PATCH]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 17 18:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Corey Halpin
>Release:        FreeBSD 9.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD spiff.home.crhalpin.org 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0: Tue Apr 8 18:05:06 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


>Description:
	Update security/clamassassin with staging support, improve portlint compliance.
>How-To-Repeat:
	NA
>Fix:


--- clamassassin_stage.patch begins here ---
diff -ruN clamassassin.orig/Makefile clamassassin/Makefile
--- clamassassin.orig/Makefile	2014-05-16 20:06:31.104281455 -0500
+++ clamassassin/Makefile	2014-05-17 10:48:11.319803918 -0500
@@ -10,6 +10,8 @@
 MAINTAINER=	chalpin at cs.wisc.edu
 COMMENT=	Simple virus filter wrapper for ClamAV
 
+LICENSE=	BSD3CLAUSE
+
 BUILD_DEPENDS=	sigtool:${PORTSDIR}/security/clamav \
 		formail:${PORTSDIR}/mail/procmail
 RUN_DEPENDS:=	${BUILD_DEPENDS}
@@ -17,13 +19,15 @@
 PLIST_FILES=	bin/clamassassin
 
 GNU_CONFIGURE=	yes
+# Woky configure script doesn't actually respect prefix
+# Instead, it looks for 'bindir'... so set that.
+CONFIGURE_ARGS= --bindir=${STAGEDIR}${PREFIX}/bin
 
 OPTIONS_DEFINE=	CLAMDSCAN SUBREWRITE
 OPTIONS_DEFAULT=	CLAMDSCAN
 CLAMDSCAN_DESC=		Scanning using clamd
 SUBREWRITE_DESC=	Mail subject rewriting
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MCLAMDSCAN}
--- clamassassin_stage.patch ends here ---


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


More information about the freebsd-ports-bugs mailing list