rpms/clamav/F-11 clamav-0.95.3-umask.patch, NONE, 1.1 sources, 1.46, 1.47 lastver, 1.9, 1.10 clamav.spec, 1.90, 1.91 .cvsignore, 1.20, 1.21 clamav-0.95rc1-umask.patch, 1.1, NONE

ensc ensc at fedoraproject.org
Thu Oct 29 09:13:04 UTC 2009


Author: ensc

Update of /cvs/extras/rpms/clamav/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12144

Modified Files:
	sources lastver clamav.spec .cvsignore 
Added Files:
	clamav-0.95.3-umask.patch 
Removed Files:
	clamav-0.95rc1-umask.patch 
Log Message:
updated to 0.95.3


clamav-0.95.3-umask.patch:
 clamav-milter/clamav-milter.c |    2 +-
 freshclam/freshclam.c         |    2 +-
 shared/output.c               |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE clamav-0.95.3-umask.patch ---
Index: clamav-0.95.3/clamav-milter/clamav-milter.c
===================================================================
--- 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(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.95.3/shared/output.c
===================================================================
--- 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) {
-	    old_umask = umask(0037);
+	    old_umask = umask(0077);
 	    if((logg_fp = fopen(logg_file, "at")) == NULL) {
 		umask(old_umask);
 #ifdef CL_THREAD_SAFE
Index: clamav-0.95.3/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;
 	int old_umask;
-    old_umask = umask(0006);
+    old_umask = umask(0022);
     if((fd = fopen(pidfile, "w")) == NULL) {
 	logg("!Can't save PID to file %s: %s\n", pidfile, strerror(errno));
     } else {


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/clamav/F-11/sources,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- sources	11 Jun 2009 07:27:38 -0000	1.46
+++ sources	29 Oct 2009 09:13:04 -0000	1.47
@@ -1 +1 @@
-377aed737db63d902e641be8d923cda9  clamav-0.95.2-norar.tar.bz2
+7a76425f5cffb9973d6ee45580dc2094  clamav-0.95.3-norar.tar.bz2


Index: lastver
===================================================================
RCS file: /cvs/extras/rpms/clamav/F-11/lastver,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- lastver	11 Jun 2009 07:27:38 -0000	1.9
+++ lastver	29 Oct 2009 09:13:04 -0000	1.10
@@ -1 +1 @@
-0.95.2
+0.95.3


Index: clamav.spec
===================================================================
RCS file: /cvs/extras/rpms/clamav/F-11/clamav.spec,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -p -r1.90 -r1.91
--- clamav.spec	13 Sep 2009 12:39:14 -0000	1.90
+++ clamav.spec	29 Oct 2009 09:13:04 -0000	1.91
@@ -20,8 +20,8 @@
 
 Summary:	End-user tools for the Clam Antivirus scanner
 Name:		clamav
-Version:	0.95.2
-Release:	%release_func 3%{?snapshot:.%snapshot}
+Version:	0.95.3
+Release:	%release_func 1100%{?snapshot:.%snapshot}
 
 License:	%{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
 Group:		Applications/File
@@ -46,7 +46,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)
@@ -672,6 +672,9 @@ test "$1" != "0" || /sbin/initctl -q sto
 
 
 %changelog
+* Thu Oct 29 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.95.3-1100
+- updated to 0.95.3
+
 * Sun Sep 13 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.95.2-3
 - add the '%milteruser' user to the '%scanuser' group when the -scanner
   subpackage is installed (#505739)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/clamav/F-11/.cvsignore,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- .cvsignore	11 Jun 2009 07:27:37 -0000	1.20
+++ .cvsignore	29 Oct 2009 09:13:04 -0000	1.21
@@ -1 +1 @@
-clamav-0.95.2-norar.tar.bz2
+clamav-0.95.3-norar.tar.bz2


--- clamav-0.95rc1-umask.patch DELETED ---




More information about the fedora-extras-commits mailing list