1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

maintainer-update: security/clamav to 0.54

PR:		ports/47291
Submitted by:	TERAMOTO Masahiro <markun@onohara.to>
This commit is contained in:
Edwin Groothuis 2003-02-05 13:09:19 +00:00
parent be0c01f66a
commit 14137caf35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74860
12 changed files with 112 additions and 12 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= clamav
PORTVERSION= 0.20
PORTVERSION= 0.54
CATEGORIES= security
MASTER_SITES= http://clamav.elektrapro.com/stable/
@ -24,10 +24,18 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --disable-clamav --disable-pthreads
MAN1= clamscan.1 freshclam.1 sigtool.1
MAN1= clamscan.1 freshclam.1 sigtool.1 clamdscan.1
MAN5= clamav.conf.5
MAN8= clamd.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
EXTRA_PATCHES= ${FILESDIR}/patch5-*
.endif
pre-install:
@${ECHO} "==> Creating custom user to run clamav..."
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
# ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (clamav-0.20.tar.gz) = db747de22829b2d03baeb04d659d3d5b
MD5 (clamav-0.54.tar.gz) = 1c2e2adffe9ed4d15fe2167dd7bad591

View File

@ -0,0 +1,26 @@
--- libclamav/zziplib/zzip-file.c.orig Wed Feb 5 04:32:11 2003
+++ libclamav/zziplib/zzip-file.c Wed Feb 5 04:35:05 2003
@@ -11,6 +11,7 @@
* that can be found in COPYING.ZZIP
*/
+#include <strings.h>
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
@@ -94,7 +95,6 @@
return 0;
}
-
static int zzip_inflate_init(ZZIP_FILE *, struct zzip_dir_hdr *);
/**
@@ -113,6 +113,7 @@
struct zzip_dir_hdr * hdr = dir->hdr0;
int (*cmp)(zzip_char_t*, zzip_char_t*);
+ (void)strcasecmp("","");
cmp = (o_mode & ZZIP_CASEINSENSITIVE)? strcasecmp: strcmp;
if (o_mode & ZZIP_IGNOREPATH)

View File

@ -0,0 +1,10 @@
--- libclamav/zziplib/zzip-stat.c.orig Wed Feb 5 04:36:09 2003
+++ libclamav/zziplib/zzip-stat.c Wed Feb 5 04:36:32 2003
@@ -32,6 +32,7 @@
struct zzip_dir_hdr * hdr = dir->hdr0;
int (*cmp)(zzip_char_t*, zzip_char_t*);
+ (void)strcasecmp("","");
cmp = (flags & ZZIP_CASEINSENSITIVE) ? strcasecmp : strcmp;
if (flags & ZZIP_IGNOREPATH)

View File

@ -1,3 +1,3 @@
Clam Antivirus is command line virus scanner using database from
OpenAntiVirus. It detects over 1700 viruses, scans compressed files
OpenAntiVirus. It detects over 7000 viruses, scans compressed files
and supported by AMaViS.

View File

@ -1,5 +1,11 @@
bin/clamscan
bin/freshclam
bin/sigtool
include/clamav.h
lib/libclamav.so.1
lib/libclamav.so
lib/libclamav.la
lib/libclamav.a
share/clamav/viruses.db
share/clamav/viruses.db2
@dirrm share/clamav

View File

@ -6,7 +6,7 @@
#
PORTNAME= clamav
PORTVERSION= 0.20
PORTVERSION= 0.54
CATEGORIES= security
MASTER_SITES= http://clamav.elektrapro.com/stable/
@ -24,10 +24,18 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --disable-clamav --disable-pthreads
MAN1= clamscan.1 freshclam.1 sigtool.1
MAN1= clamscan.1 freshclam.1 sigtool.1 clamdscan.1
MAN5= clamav.conf.5
MAN8= clamd.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
EXTRA_PATCHES= ${FILESDIR}/patch5-*
.endif
pre-install:
@${ECHO} "==> Creating custom user to run clamav..."
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
# ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (clamav-0.20.tar.gz) = db747de22829b2d03baeb04d659d3d5b
MD5 (clamav-0.54.tar.gz) = 1c2e2adffe9ed4d15fe2167dd7bad591

View File

@ -0,0 +1,26 @@
--- libclamav/zziplib/zzip-file.c.orig Wed Feb 5 04:32:11 2003
+++ libclamav/zziplib/zzip-file.c Wed Feb 5 04:35:05 2003
@@ -11,6 +11,7 @@
* that can be found in COPYING.ZZIP
*/
+#include <strings.h>
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
@@ -94,7 +95,6 @@
return 0;
}
-
static int zzip_inflate_init(ZZIP_FILE *, struct zzip_dir_hdr *);
/**
@@ -113,6 +113,7 @@
struct zzip_dir_hdr * hdr = dir->hdr0;
int (*cmp)(zzip_char_t*, zzip_char_t*);
+ (void)strcasecmp("","");
cmp = (o_mode & ZZIP_CASEINSENSITIVE)? strcasecmp: strcmp;
if (o_mode & ZZIP_IGNOREPATH)

View File

@ -0,0 +1,10 @@
--- libclamav/zziplib/zzip-stat.c.orig Wed Feb 5 04:36:09 2003
+++ libclamav/zziplib/zzip-stat.c Wed Feb 5 04:36:32 2003
@@ -32,6 +32,7 @@
struct zzip_dir_hdr * hdr = dir->hdr0;
int (*cmp)(zzip_char_t*, zzip_char_t*);
+ (void)strcasecmp("","");
cmp = (flags & ZZIP_CASEINSENSITIVE) ? strcasecmp : strcmp;
if (flags & ZZIP_IGNOREPATH)

View File

@ -1,3 +1,3 @@
Clam Antivirus is command line virus scanner using database from
OpenAntiVirus. It detects over 1700 viruses, scans compressed files
OpenAntiVirus. It detects over 7000 viruses, scans compressed files
and supported by AMaViS.

View File

@ -1,5 +1,11 @@
bin/clamscan
bin/freshclam
bin/sigtool
include/clamav.h
lib/libclamav.so.1
lib/libclamav.so
lib/libclamav.la
lib/libclamav.a
share/clamav/viruses.db
share/clamav/viruses.db2
@dirrm share/clamav