[Lunar-commits] <moonbase> rsyslog: Initial import, version 3.18.1

Stefan Wold ratler at lunar-linux.org
Thu Jul 31 17:41:26 CEST 2008


commit 858162785863a182438b0e2f07be1771a05fb4fc
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Thu Jul 31 17:41:26 2008 +0200

    rsyslog: Initial import, version 3.18.1
---
 utils/rsyslog/BUILD           |   20 ++++++++++++++++++++
 utils/rsyslog/DEPENDS         |   28 ++++++++++++++++++++++++++++
 utils/rsyslog/DETAILS         |   26 ++++++++++++++++++++++++++
 utils/rsyslog/init.d/rsyslogd |   17 +++++++++++++++++
 4 files changed, 91 insertions(+), 0 deletions(-)

diff --git a/utils/rsyslog/BUILD b/utils/rsyslog/BUILD
new file mode 100644
index 0000000..85e9b25
--- /dev/null
+++ b/utils/rsyslog/BUILD
@@ -0,0 +1,20 @@
+(
+
+  OPTS+=" --enable-pthreads \
+          --enable-regexp \
+          --enable-largefile \
+          --enable-klog \
+          --enable-inet \
+          --enable-imfile \
+          --enable-imtemplate \
+          --enable-mail \
+          --enable-fsstnd \
+          --enable-rsyslogd \
+          --disable-rfc3195"
+
+  default_build &&
+
+  [ -f /etc/rsyslog.conf ] || install -m 644 $SOURCE_CACHE/$SOURCE2 /etc/rsyslog.conf &&
+  [ -f /etc/config.d/rsyslog ] || install -m 644 $SOURCE_CACHE/$SOURCE3 /etc/config.d/rsyslog
+
+) > $C_FIFO 2>&1
diff --git a/utils/rsyslog/DEPENDS b/utils/rsyslog/DEPENDS
new file mode 100644
index 0000000..7a3864b
--- /dev/null
+++ b/utils/rsyslog/DEPENDS
@@ -0,0 +1,28 @@
+optional_depends zlib \
+                 "--enable-zlib" \
+                 "--disable-zlib" \
+                 "for zlib compression support"
+optional_depends mysql \
+                 "--enable-mysql" \
+                 "--disable-mysql" \
+                 "for MySQL support"
+optional_depends postgresql \
+                 "--enable-pgsql" \
+                 "--disable-pgsql" \
+                 "for PostgreSQL support"
+optional_depends libdbi \
+                 "--enable-libdbi" \
+                 "--disable-libdbi" \
+                 "for libdbi database support"
+optional_depends heimdal \
+                 "--enable-gssapi-krb5" \
+                 "--disable-gssapi-krb5" \
+                 "for kerberos support"
+optional_depends net-snmp \
+                 "--enable-snmp" \
+                 "--disable-snmp" \
+                 "for SNMP support"
+optional_depends librelp \
+                 "--enable-relp" \
+                 "--disable-relp" \
+                 "for reliable logging (RELP) support"
diff --git a/utils/rsyslog/DETAILS b/utils/rsyslog/DETAILS
new file mode 100644
index 0000000..8600f2d
--- /dev/null
+++ b/utils/rsyslog/DETAILS
@@ -0,0 +1,26 @@
+          MODULE=rsyslog
+         VERSION=3.18.1
+          SOURCE=${MODULE}-${VERSION}.tar.gz
+         SOURCE2=${MODULE}.conf-0.1
+         SOURCE3=${MODULE}.config.d-0.1
+      SOURCE_URL=http://download.rsyslog.com/rsyslog/
+     SOURCE2_URL=$PATCH_URL
+     SOURCE3_URL=$PATCH_URL
+      SOURCE_VFY=sha1:92681f8b4ccd9e0e008e78f0ce7e55e01621bdd6
+     SOURCE2_VFY=sha1:f6313bc51270da062dca6b93b2cb7fa865494dd6
+     SOURCE3_VFY=sha1:398376384113ff22a75dc80d86f1b7b8197aa080
+        WEB_SITE="http://www.rsyslog.com/"
+         ENTERED=20080731
+         UPDATED=20080731
+           SHORT="An enhanced multi-threaded syslogd with a focus on security and reliability"
+cat <<EOF
+Rsyslog is an enhanced multi-threaded syslogd with a focus on security
+and reliability. Among others, it offers support for on-demand disk
+buffering, reliable syslog over TCP, SSL, TLS and RELP, writing
+to databases (MySQL, PostgreSQL, Oracle, and many more), email
+alerting, fully configurable output formats (including high-precision
+timestamps), the ability to filter on any part of the syslog message,
+on-the-wire message compression, and the ability to convert text
+files to syslog. It is a drop-in replacement for stock syslogd and
+able to work with the same configuration file syntax.
+EOF
diff --git a/utils/rsyslog/init.d/rsyslogd b/utils/rsyslog/init.d/rsyslogd
new file mode 100755
index 0000000..93732aa
--- /dev/null
+++ b/utils/rsyslog/init.d/rsyslogd
@@ -0,0 +1,17 @@
+#! /bin/bash
+#
+# rsyslogd          Start/Stop the rsyslog logging daemon.
+#
+# chkconfig: 2345 12 88
+# description: An enhanced multi-threaded syslogd with a focus \
+#              on security and reliability
+# processname: rsyslogd
+# pidfile: /var/run/rsyslogd.pid
+
+# config settings
+[ -f /etc/config.d/rsyslog ] && . /etc/config.d/rsyslog
+
+ARGS=${RSYSLOGD_ARGS}
+umask 077
+
+. /lib/lsb/init-functions


More information about the Lunar-commits mailing list