sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (2cb1b213d448472af645771d3bc5b45cb2a5ca66)
- From: Treeve Jelbert <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (2cb1b213d448472af645771d3bc5b45cb2a5ca66)
- Date: Sun, 31 May 2009 01:44:32 -0500
GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:
utils/syslog-ng/DEPENDS | 17 ++++++++++++++
utils/syslog-ng/DETAILS | 4 +--
utils/syslog-ng/HISTORY | 5 ++++
utils/syslog-ng/syslog-ng.conf | 48
+++++++++++++++++++++--------------------
4 files changed, 49 insertions(+), 25 deletions(-)
New commits:
commit 2a422cc59f4ba566cafba0cfb297ca4b7306ae41
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
syslog-ng: => 3.0.2
diff --git a/utils/syslog-ng/DEPENDS b/utils/syslog-ng/DEPENDS
index d2359c2..5d956d6 100755
--- a/utils/syslog-ng/DEPENDS
+++ b/utils/syslog-ng/DEPENDS
@@ -3,6 +3,23 @@ depends glib2 &&
depends gnupg &&
depends which &&
depends libnet &&
+depends pkgconfig &&
+optional_depends libdbi \
+ '--enable-sql' \
+ '--disable-sql' \
+ 'log to a SQL database' &&
+optional_depends openssl \
+ '--enable-ssl' \
+ '--disable-ssl' \
+ 'SSL support' &&
+optional_depends pcre \
+ '--enable-pcre' \
+ '--disable-pcre' \
+ 'regular expression support' &&
+optional_depends libcap \
+ '--enable-linux-caps' \
+ '--disable-linux-caps' \
+ 'manage Linux capabilities' &&
optional_depends tcp_wrappers \
'--enable-tcp-wrapper' \
'--disable-tcp-wrapper' \
diff --git a/utils/syslog-ng/DETAILS b/utils/syslog-ng/DETAILS
index e582925..9433e93 100755
--- a/utils/syslog-ng/DETAILS
+++ b/utils/syslog-ng/DETAILS
@@ -1,6 +1,6 @@
SPELL=syslog-ng
- VERSION=2.0.10
-
SOURCE_HASH=sha512:10fac8fc5cf2e8d16122f30ba8bf8b58958bf653baed98e018a204c7079f18b3fc184bcf3e2247fc19f824b73998fb3e27032aa0139495b26d1442bc39067c6e
+ VERSION=3.0.2
+
SOURCE_HASH=sha512:5a3b95ec1f755e54ddf3b9c5e6597832375ea54e6f066227a7bc620746e74257ad96f552cc7a95e06a5d16399f2e2bdc31f28678556d7208550760f40a2f1919
SOURCE=${SPELL}_${VERSION}.tar.gz
# SOURCE2=$SOURCE.asc
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/utils/syslog-ng/HISTORY b/utils/syslog-ng/HISTORY
index d78ddd7..159d38c 100644
--- a/utils/syslog-ng/HISTORY
+++ b/utils/syslog-ng/HISTORY
@@ -1,3 +1,8 @@
+2009-05-29 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 3.0.2
+ * DEPENDS: add optional libdbi. openssl, pcre, libcap
+ * syslog-ng.conf: update to 3.0 syntax; still some warnings though
+
2009-01-20 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: download site has been reorganised
tarball name has changed
diff --git a/utils/syslog-ng/syslog-ng.conf b/utils/syslog-ng/syslog-ng.conf
index aa78790..9175ce3 100644
--- a/utils/syslog-ng/syslog-ng.conf
+++ b/utils/syslog-ng/syslog-ng.conf
@@ -1,3 +1,5 @@
+@version:3.0
+
###
#
# Name : syslog-ng.conf
@@ -7,7 +9,6 @@
##
-
##
# *** Configuration - global
# http://www.balabit.hu/static/syslog-ng/reference/x601.html
@@ -15,7 +16,8 @@
options {
chain_hostnames(no); # usage of long names
- sync(0); # how mutch of events nefore writing to log
+ flush_lines(0); # how many events nefore writing to log
+# sync(0); # how mutch of events nefore writing to log
time_reopen(2); # if write faile wait 2sec, before traing
again (net)
# log_fifo_size(1000); # size of the output buffer (rows)
use_dns(no); # don't resolve
@@ -114,30 +116,30 @@ destination d_syslogng {
file("/var/log/full/service/syslogng-$YEAR$MONTH$DAY.lo
## Default destinations
-destination authlog { file("/var/log/auth.log"); };
-destination syslog { file("/var/log/syslog"); };
-destination cron { file("/var/log/cron.log"); };
-destination daemon { file("/var/log/daemon.log"); };
-destination kern { file("/var/log/kern.log"); };
-destination lpr { file("/var/log/lpr.log"); };
-destination user { file("/var/log/user.log"); };
-destination uucp { file("/var/log/uucp.log"); };
+destination authlog { file("/var/log/auth.log" create_dirs(yes) ); };
+#destination syslog { file("/var/log/syslog" create_dirs(yes) ); };
+destination cron { file("/var/log/cron.log" create_dirs(yes) );};
+destination daemon { file("/var/log/daemon.log" create_dirs(yes) );};
+destination kern { file("/var/log/kern.log" create_dirs(yes) );};
+destination lpr { file("/var/log/lpr.log" create_dirs(yes)
);};
+destination user { file("/var/log/user.log" create_dirs(yes) );};
+destination uucp { file("/var/log/uucp.log" create_dirs(yes) );};
# In general - peoples don't have ppp facility in kernel - if yes - uncoment
this
-#destination ppp { file("/var/log/ppp.log"); };
-destination mail { file("/var/log/mail.log"); };
+#destination ppp { file("/var/log/ppp.log" create_dirs(yes) );};
+destination mail { file("/var/log/mail.log" create_dirs(yes) );};
-destination mailinfo { file("/var/log/mail.info"); };
-destination mailwarn { file("/var/log/mail.warn"); };
-destination mailerr { file("/var/log/mail.err"); };
+destination mailinfo { file("/var/log/mail.info" create_dirs(yes) );};
+destination mailwarn { file("/var/log/mail.warn" create_dirs(yes) );};
+destination mailerr { file("/var/log/mail.err" create_dirs(yes) );};
-destination newscrit { file("/var/log/news/news.crit"); };
-destination newserr { file("/var/log/news/news.err"); };
-destination newsnotice { file("/var/log/news/news.notice"); };
+destination newscrit { file("/var/log/news/news.crit" create_dirs(yes) );};
+destination newserr { file("/var/log/news/news.err" create_dirs(yes) );};
+destination newsnotice { file("/var/log/news/news.notice" create_dirs(yes)
);};
-destination debug { file("/var/log/debug"); };
-destination messages { file("/var/log/messages"); };
-destination console { usertty("root"); };
-destination console_all { file("/dev/tty12"); };
+destination debug { file("/var/log/debug" create_dirs(yes) );};
+destination messages { file("/var/log/messages" create_dirs(yes) );};
+destination console { usertty("root");};
+destination console_all { file("/dev/tty12" create_dirs(yes) );};
#destination loghost { udp("loghost" port(999)); };
destination xconsole { pipe("/dev/xconsole"); };
@@ -224,7 +226,7 @@ log { source(src); filter(f_named); destination(d_named);
};
# defaults
log { source(src); filter(f_authpriv); destination(authlog); };
-log { source(src); filter(f_syslog); destination(syslog); };
+#log { source(src); filter(f_syslog); destination(syslog); };
log { source(src); filter(f_cron); destination(cron); };
log { source(src); filter(f_daemon); destination(daemon); };
log { source(src); filter(f_kern); destination(kern); };
- [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (2cb1b213d448472af645771d3bc5b45cb2a5ca66), Treeve Jelbert, 05/31/2009
Archive powered by MHonArc 2.6.24.