Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  8 Jun 2003 23:07:50 +0900 (JST)
From:      TERAMOTO Masahiro <markun@onohara.to>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53056: Update port: security/clamav (enable pthread support)
Message-ID:  <20030608140750.B5A1546D74@gate.onohara.to>
Resent-Message-ID: <200306081410.h58EAFni001193@freefall.freebsd.org>

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

>Number:         53056
>Category:       ports
>Synopsis:       Update port: security/clamav (enable pthread support)
>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:   Sun Jun 08 07:10:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     TERAMOTO Masahiro
>Release:        FreeBSD 4.7-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD gate.onohara.to 4.7-RELEASE-p10 FreeBSD 4.7-RELEASE-p10 #0: Thu Apr 3 21:40:28 JST 2003 root@gate.onohara.to:/usr/obj/usr/src/sys/GATE i386


	
>Description:
	Enable pthread support using devel/pth.
	Turn on building clamd and clamdscan.

	Thank you for Oliver's pointing out.

	Pointed out by: Olivier Tharan <olive@oban.frmug.org>
>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /export/repository/FreeBSD/ncvs/ports/security/clamav/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	18 May 2003 02:40:47 -0000	1.4
+++ Makefile	8 Jun 2003 12:41:50 -0000
@@ -19,11 +19,12 @@
 		zoo:${PORTSDIR}/archivers/zoo \
 		arc:${PORTSDIR}/archivers/arc \
 		unzip:${PORTSDIR}/archivers/unzip
+LIB_DEPENDS=	pth.20:${PORTSDIR}/devel/pth
 
 USE_GMAKE=	yes
 HAS_CONFIGURE=	yes
 
-CONFIGURE_ARGS=	--prefix=${PREFIX} --disable-clamav --disable-pthreads
+CONFIGURE_ARGS=	--prefix=${PREFIX} --disable-clamav
 
 MAN1=		clamscan.1 freshclam.1 sigtool.1 clamdscan.1
 MAN5=		clamav.conf.5
Index: pkg-install
===================================================================
RCS file: /export/repository/FreeBSD/ncvs/ports/security/clamav/pkg-install,v
retrieving revision 1.1
diff -u -r1.1 pkg-install
--- pkg-install	20 Jan 2003 03:41:52 -0000	1.1
+++ pkg-install	8 Jun 2003 12:10:28 -0000
@@ -4,8 +4,8 @@
     exit 0
 fi
 
-USER=clamav
-GROUP=clamav
+USER?=clamav
+GROUP?=clamav
 
 if ! pw groupshow "$GROUP" 2>/dev/null 1>&2; then
 	if pw groupadd $GROUP; then
Index: pkg-plist
===================================================================
RCS file: /export/repository/FreeBSD/ncvs/ports/security/clamav/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	5 Feb 2003 13:09:19 -0000	1.2
+++ pkg-plist	8 Jun 2003 13:03:09 -0000
@@ -1,6 +1,8 @@
 bin/clamscan
+bin/clamdscan
 bin/freshclam
 bin/sigtool
+sbin/clamd
 include/clamav.h
 lib/libclamav.so.1
 lib/libclamav.so
>Release-Note:
>Audit-Trail:
>Unformatted:



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