updated to 0.95.3
This commit is contained in:
parent
066ff7129f
commit
7cefc61c9c
@ -1 +1 @@
|
||||
clamav-0.95.2-norar.tar.bz2
|
||||
clamav-0.95.3-norar.tar.bz2
|
||||
|
@ -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;
|
@ -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 <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.3-1200
|
||||
- updated to 0.95.3
|
||||
|
||||
* Sun Sep 13 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
||||
- conditionalized build of noarch subpackages to ease packaging under RHEL5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user