Subject: pkg/24644: Digital signatures support for clamav + rc script fix
To: None <gnats-bugs@gnats.netbsd.org>
From: Piotr Stolc <socrtp@soclab.eu.org>
List: netbsd-bugs
Date: 03/02/2004 19:24:41
>Number: 24644
>Category: pkg
>Synopsis: Two patches for clamav - one enabling digital signatures support and a little rc script fix
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Mar 02 18:25:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Piotr Stolc
>Release: NetBSD 1.6ZK
>Organization:
soclab
>Environment:
System: NetBSD s 1.6ZK NetBSD 1.6ZK (S) #2: Sat Feb 28 20:08:57 CET 2004 pkgadm@s:/home/pkgadm/sys/arch/i386/compile/S i386
Architecture: i386
Machine: i386
>Description:
Clamav has support for digital signatures which is not enabled in
pkgsrc now.
The rc script doesn't remove clamd socket and clamd doesn't start if
that file exists - it happens when clamd crashes.
>How-To-Repeat:
>Fix:
Patch adding GMP digital signatures support:
diff -u Makefile.orig Makefile
--- Makefile.orig Sat Feb 14 18:21:44 2004
+++ Makefile Tue Mar 2 19:00:08 2004
@@ -45,6 +45,7 @@
.include "../../archivers/bzip2/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
+.include "../../devel/gmp/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
Patch for rc script:
diff -u clamd.sh.orig clamd.sh
--- clamd.sh.orig Mon Feb 2 01:00:48 2004
+++ clamd.sh Tue Mar 2 19:20:19 2004
@@ -33,6 +33,7 @@
clamd_precmd()
{
+ @RM@ -f ${socket}
@TOUCH@ ${pidfile}
@CHOWN@ ${clamd_user} ${pidfile}
}
>Release-Note:
>Audit-Trail:
>Unformatted: