diff options
author | adrianp <adrianp> | 2006-05-14 19:56:05 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2006-05-14 19:56:05 +0000 |
commit | 11e4dd354e8377e776d8a8fc67b76f50d78b6557 (patch) | |
tree | 2df9e9ae2ac07c1cb397ba3c8815c19511c29740 /sysutils/syslog-ng/patches | |
parent | b4e8823be0acac5c698238467a6931be77310126 (diff) | |
download | pkgsrc-11e4dd354e8377e776d8a8fc67b76f50d78b6557.tar.gz |
Syslog-ng tries to fill the gaps original syslogd's were lacking:
* powerful configurability
* filtering based on message content
* message integrity, message encryption (not yet implemented in 1.4.x)
* portability
* better network forwarding
Diffstat (limited to 'sysutils/syslog-ng/patches')
-rw-r--r-- | sysutils/syslog-ng/patches/patch-ac | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/syslog-ng/patches/patch-ac b/sysutils/syslog-ng/patches/patch-ac new file mode 100644 index 00000000000..ea3ff5b3362 --- /dev/null +++ b/sysutils/syslog-ng/patches/patch-ac @@ -0,0 +1,43 @@ +$NetBSD: patch-ac,v 1.1.1.1 2006/05/14 19:56:05 adrianp Exp $ + +# add NetBSD support and fix some paths + +--- contrib/syslog2ng.orig Thu Jun 19 14:24:03 2003 ++++ contrib/syslog2ng Thu Jun 19 14:24:13 2003 +@@ -5,18 +5,24 @@ + # Translator from syslog.conf to syslog-ng.conf + # by Jonathan W. Marks <j-marks@uiuc.edu> + # +-# Rev 2 ++# Rev 2.1 + + BEGIN { + # Handle the various platforms- determine proper log device +- "/bin/uname -s" | getline sysname; +- close("/bin/uname -s"); ++ "/usr/bin/uname -s" | getline sysname; ++ close("/usr/bin/uname -s"); + if (sysname == "SunOS") { + LOGDEVTYPE="sun-streams"; ++ LOGDEVPATH="/dev/log"; + } else if (sysname == "AIX") { + LOGDEVTYPE="unix-dgram"; ++ LOGDEVPATH="/dev/log"; + } else if (sysname == "Linux") { + LOGDEVTYPE="unix-stream"; ++ LOGDEVPATH="/dev/log"; ++ } else if (sysname == "NetBSD") { ++ LOGDEVTYPE="unix-dgram"; ++ LOGDEVPATH="/var/run/log"; + } else { + print "!!! Unsupported system: " sysname "."; + exit 1; +@@ -29,7 +35,7 @@ + + print \ + "source local {\n" \ +-" " LOGDEVTYPE "(\"/dev/log\");\n" \ ++" " LOGDEVTYPE "(\"" LOGDEVPATH "\");\n" \ + " udp(ip(0.0.0.0) port(514));\n" \ + " internal();\n" \ + "};\n"; |