summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130816-syslog.patch')
-rw-r--r--app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130816-syslog.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130816-syslog.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130816-syslog.patch
new file mode 100644
index 0000000..d746747
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130816-syslog.patch
@@ -0,0 +1,24 @@
+diff -urN skyldav-0.2rc3_p20130816.orig/src/skyldav/Messaging.cc skyldav-0.2rc3_p20130816/src/skyldav/Messaging.cc
+--- skyldav-0.2rc3_p20130816.orig/src/skyldav/Messaging.cc 2013-08-16 19:58:10.000000000 +0200
++++ skyldav-0.2rc3_p20130816/src/skyldav/Messaging.cc 2013-08-16 22:07:37.743908000 +0200
+@@ -48,7 +48,7 @@
+
+ // Open syslog.
+ setlogmask(LOG_UPTO(LOG_NOTICE));
+- openlog(SYSLOG_ID , 0, LOG_USER);
++ openlog(SYSLOG_ID , LOG_PID, LOG_USER);
+
+ // Set umask = 022;
+ mask = umask(S_IWGRP | S_IWOTH);
+diff -urN skyldav-0.2rc3_p20130816.orig/src/skyldav/skyldav.h skyldav-0.2rc3_p20130816/src/skyldav/skyldav.h
+--- skyldav-0.2rc3_p20130816.orig/src/skyldav/skyldav.h 2013-08-16 19:58:10.000000000 +0200
++++ skyldav-0.2rc3_p20130816/src/skyldav/skyldav.h 2013-08-16 22:07:10.715968000 +0200
+@@ -63,7 +63,7 @@
+
+ const char *PID_FILE = "/var/run/skyldav/skyldav.pid";
+
+- const char *SYSLOG_ID = "SkyldAV";
++ const char *SYSLOG_ID = "skyldav";
+
+ #ifdef __cplusplus
+ }