Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 13:02:00 -0500 (CDT)
From:      Corey Halpin <chalpin@cs.wisc.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189893: STAGE security/clamassassin [PATCH]
Message-ID:  <7512760727373615217.enqueue@spiff.home.crhalpin.org>
Resent-Message-ID: <201405171810.s4HIA0gn073987@freefall.freebsd.org>

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

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7512760727373615217.enqueue>