From 7cefc61c9c6a4b57da8271c162113d83d92d18f2 Mon Sep 17 00:00:00 2001 From: ensc Date: Thu, 29 Oct 2009 09:10:29 +0000 Subject: [PATCH] updated to 0.95.3 --- .cvsignore | 2 +- ...1-umask.patch => clamav-0.95.3-umask.patch | 24 +++++++++---------- clamav.spec | 9 ++++--- lastver | 2 +- sources | 2 +- 5 files changed, 21 insertions(+), 18 deletions(-) rename clamav-0.95rc1-umask.patch => clamav-0.95.3-umask.patch (62%) diff --git a/.cvsignore b/.cvsignore index e2c64e0..5b7c836 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -clamav-0.95.2-norar.tar.bz2 +clamav-0.95.3-norar.tar.bz2 diff --git a/clamav-0.95rc1-umask.patch b/clamav-0.95.3-umask.patch similarity index 62% rename from clamav-0.95rc1-umask.patch rename to clamav-0.95.3-umask.patch index 8a46216..220f7ab 100644 --- a/clamav-0.95rc1-umask.patch +++ b/clamav-0.95.3-umask.patch @@ -1,21 +1,21 @@ -Index: clamav-0.95rc1/clamav-milter/clamav-milter.c +Index: clamav-0.95.3/clamav-milter/clamav-milter.c =================================================================== ---- clamav-0.95rc1.orig/clamav-milter/clamav-milter.c -+++ clamav-0.95rc1/clamav-milter/clamav-milter.c -@@ -287,7 +287,7 @@ int main(int argc, char **argv) { +--- clamav-0.95.3.orig/clamav-milter/clamav-milter.c ++++ clamav-0.95.3/clamav-milter/clamav-milter.c +@@ -306,7 +306,7 @@ int main(int argc, char **argv) { if((opt = optget(opts, "PidFile"))->enabled) { FILE *fd; -- mode_t old_umask = umask(0006); +- mode_t old_umask = umask(0002); + mode_t old_umask = umask(0022); if((fd = fopen(opt->strarg, "w")) == NULL) { logg("!Can't save PID in file %s\n", opt->strarg); -Index: clamav-0.95rc1/shared/output.c +Index: clamav-0.95.3/shared/output.c =================================================================== ---- clamav-0.95rc1.orig/shared/output.c -+++ clamav-0.95rc1/shared/output.c -@@ -250,7 +250,7 @@ int logg(const char *str, ...) +--- clamav-0.95.3.orig/shared/output.c ++++ clamav-0.95.3/shared/output.c +@@ -270,7 +270,7 @@ int logg(const char *str, ...) #endif if(logg_file) { if(!logg_fp) { @@ -24,10 +24,10 @@ Index: clamav-0.95rc1/shared/output.c if((logg_fp = fopen(logg_file, "at")) == NULL) { umask(old_umask); #ifdef CL_THREAD_SAFE -Index: clamav-0.95rc1/freshclam/freshclam.c +Index: clamav-0.95.3/freshclam/freshclam.c =================================================================== ---- clamav-0.95rc1.orig/freshclam/freshclam.c -+++ clamav-0.95rc1/freshclam/freshclam.c +--- clamav-0.95.3.orig/freshclam/freshclam.c ++++ clamav-0.95.3/freshclam/freshclam.c @@ -102,7 +102,7 @@ static void writepid(const char *pidfile { FILE *fd; diff --git a/clamav.spec b/clamav.spec index f8e774c..4875437 100644 --- a/clamav.spec +++ b/clamav.spec @@ -23,8 +23,8 @@ Summary: End-user tools for the Clam Antivirus scanner Name: clamav -Version: 0.95.2 -Release: %release_func 5%{?snapshot:.%snapshot} +Version: 0.95.3 +Release: %release_func 1200%{?snapshot:.%snapshot} License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2} Group: Applications/File @@ -49,7 +49,7 @@ Source8: clamav-notify-servers Patch24: clamav-0.92-private.patch Patch25: clamav-0.92-open.patch Patch26: clamav-0.95-cliopts.patch -Patch27: clamav-0.95rc1-umask.patch +Patch27: clamav-0.95.3-umask.patch BuildRoot: %_tmppath/%name-%version-%release-root Requires: clamav-lib = %version-%release Requires: data(clamav) @@ -696,6 +696,9 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || : %changelog +* Thu Oct 29 2009 Enrico Scholz - 0.95.3-1200 +- updated to 0.95.3 + * Sun Sep 13 2009 Enrico Scholz - conditionalized build of noarch subpackages to ease packaging under RHEL5 diff --git a/lastver b/lastver index e7f6f8b..4d8fc8c 100644 --- a/lastver +++ b/lastver @@ -1 +1 @@ -0.95.2 +0.95.3 diff --git a/sources b/sources index 5744218..898c137 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -377aed737db63d902e641be8d923cda9 clamav-0.95.2-norar.tar.bz2 +7a76425f5cffb9973d6ee45580dc2094 clamav-0.95.3-norar.tar.bz2