diff options
author | garga <garga@FreeBSD.org> | 2007-12-20 07:08:38 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2007-12-20 07:08:38 +0800 |
commit | 050756bc128278e28168c6d58d622cbc96829210 (patch) | |
tree | efc996737ae28114fe14434afcbc8688c1ed6097 /security/klamav | |
parent | 466f9a0fac001ae3a13cd61d2943937e4ee7e24e (diff) | |
download | freebsd-ports-gnome-050756bc128278e28168c6d58d622cbc96829210.tar.gz freebsd-ports-gnome-050756bc128278e28168c6d58d622cbc96829210.tar.zst freebsd-ports-gnome-050756bc128278e28168c6d58d622cbc96829210.zip |
- Update security/clamav to 0.92
- Add a new OPTION (RAR) because unrar code is optional to fix a license
issue
- Some cosmetic changes
- Chase library version bump and bump PORTREVISION of all dependant ports
Approved by: portmgr (pav)
Security: CVE-2007-6335, CVE-2007-6336, CVE-2007-6337
Diffstat (limited to 'security/klamav')
-rw-r--r-- | security/klamav/Makefile | 2 | ||||
-rw-r--r-- | security/klamav/files/patch-src__klamd__scanner.c | 11 | ||||
-rw-r--r-- | security/klamav/files/patch-src__klamd__scanner.h | 9 |
3 files changed, 21 insertions, 1 deletions
diff --git a/security/klamav/Makefile b/security/klamav/Makefile index bbff033cdf96..fe44f76f0bf7 100644 --- a/security/klamav/Makefile +++ b/security/klamav/Makefile @@ -7,7 +7,7 @@ PORTNAME= klamav PORTVERSION= 0.41 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= klamav diff --git a/security/klamav/files/patch-src__klamd__scanner.c b/security/klamav/files/patch-src__klamd__scanner.c new file mode 100644 index 000000000000..24c1360951cb --- /dev/null +++ b/security/klamav/files/patch-src__klamd__scanner.c @@ -0,0 +1,11 @@ +--- src/klamd/scanner.c.orig 2007-12-19 08:33:50.000000000 -0200 ++++ src/klamd/scanner.c 2007-12-19 08:36:04.000000000 -0200 +@@ -396,7 +396,7 @@ + + logg("*Accepted connection on port %d, fd %d\n", port, acceptd); + +- if ((tmpname = cli_gentempdesc(NULL, &tmpd)) == NULL) { ++ if (cli_gentempfd(NULL, &tmpname, &tmpd) ) { + shutdown(sockfd, 2); + close(sockfd); + close(acceptd); diff --git a/security/klamav/files/patch-src__klamd__scanner.h b/security/klamav/files/patch-src__klamd__scanner.h new file mode 100644 index 000000000000..18572cd1d383 --- /dev/null +++ b/security/klamav/files/patch-src__klamd__scanner.h @@ -0,0 +1,9 @@ +--- src/klamd/scanner.h.orig 2007-12-19 08:34:32.000000000 -0200 ++++ src/klamd/scanner.h 2007-12-19 08:34:52.000000000 -0200 +@@ -33,4 +33,6 @@ + + int checksymlink(const char *path); + ++extern int cli_gentempfd(const char *dir, char **name, int *fd); ++ + #endif |