updated to 0.95.3
This commit is contained in:
parent
11ed44bf73
commit
e0ec3ffa06
@ -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.95.3.orig/clamav-milter/clamav-milter.c
|
||||||
+++ clamav-0.95rc1/clamav-milter/clamav-milter.c
|
+++ clamav-0.95.3/clamav-milter/clamav-milter.c
|
||||||
@@ -287,7 +287,7 @@ int main(int argc, char **argv) {
|
@@ -306,7 +306,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
if((opt = optget(opts, "PidFile"))->enabled) {
|
if((opt = optget(opts, "PidFile"))->enabled) {
|
||||||
FILE *fd;
|
FILE *fd;
|
||||||
- mode_t old_umask = umask(0006);
|
- mode_t old_umask = umask(0002);
|
||||||
+ mode_t old_umask = umask(0022);
|
+ mode_t old_umask = umask(0022);
|
||||||
|
|
||||||
if((fd = fopen(opt->strarg, "w")) == NULL) {
|
if((fd = fopen(opt->strarg, "w")) == NULL) {
|
||||||
logg("!Can't save PID in file %s\n", opt->strarg);
|
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.95.3.orig/shared/output.c
|
||||||
+++ clamav-0.95rc1/shared/output.c
|
+++ clamav-0.95.3/shared/output.c
|
||||||
@@ -250,7 +250,7 @@ int logg(const char *str, ...)
|
@@ -270,7 +270,7 @@ int logg(const char *str, ...)
|
||||||
#endif
|
#endif
|
||||||
if(logg_file) {
|
if(logg_file) {
|
||||||
if(!logg_fp) {
|
if(!logg_fp) {
|
||||||
@ -24,10 +24,10 @@ Index: clamav-0.95rc1/shared/output.c
|
|||||||
if((logg_fp = fopen(logg_file, "at")) == NULL) {
|
if((logg_fp = fopen(logg_file, "at")) == NULL) {
|
||||||
umask(old_umask);
|
umask(old_umask);
|
||||||
#ifdef CL_THREAD_SAFE
|
#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.95.3.orig/freshclam/freshclam.c
|
||||||
+++ clamav-0.95rc1/freshclam/freshclam.c
|
+++ clamav-0.95.3/freshclam/freshclam.c
|
||||||
@@ -102,7 +102,7 @@ static void writepid(const char *pidfile
|
@@ -102,7 +102,7 @@ static void writepid(const char *pidfile
|
||||||
{
|
{
|
||||||
FILE *fd;
|
FILE *fd;
|
@ -23,8 +23,8 @@
|
|||||||
|
|
||||||
Summary: End-user tools for the Clam Antivirus scanner
|
Summary: End-user tools for the Clam Antivirus scanner
|
||||||
Name: clamav
|
Name: clamav
|
||||||
Version: 0.95.2
|
Version: 0.95.3
|
||||||
Release: %release_func 5%{?snapshot:.%snapshot}
|
Release: %release_func 1300%{?snapshot:.%snapshot}
|
||||||
|
|
||||||
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
|
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
@ -49,7 +49,7 @@ Source8: clamav-notify-servers
|
|||||||
Patch24: clamav-0.92-private.patch
|
Patch24: clamav-0.92-private.patch
|
||||||
Patch25: clamav-0.92-open.patch
|
Patch25: clamav-0.92-open.patch
|
||||||
Patch26: clamav-0.95-cliopts.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
|
BuildRoot: %_tmppath/%name-%version-%release-root
|
||||||
Requires: clamav-lib = %version-%release
|
Requires: clamav-lib = %version-%release
|
||||||
Requires: data(clamav)
|
Requires: data(clamav)
|
||||||
@ -696,6 +696,9 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 29 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.3-1300
|
||||||
|
- updated to 0.95.3
|
||||||
|
|
||||||
* Sun Sep 13 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
* Sun Sep 13 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
||||||
- conditionalized build of noarch subpackages to ease packaging under RHEL5
|
- conditionalized build of noarch subpackages to ease packaging under RHEL5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user