[SM-Commit] GIT changes to master grimoire by Elisamuel Resto (70b8b8727837f09c219fa146c7478049e20c649b)

Elisamuel Resto scm at sourcemage.org
Tue Jun 17 03:30:57 EDT 2008


GIT changes to master grimoire by Elisamuel Resto <ryuji at sourcemage.org>:

 ChangeLog                    |    3 +
 utils/rsyslog/DEPENDS        |   43 +++++++++++++++++++++
 utils/rsyslog/DETAILS        |   26 +++++++++++++
 utils/rsyslog/HISTORY        |   39 +++++++++++++++++++
 utils/rsyslog/INSTALL        |    2 +
 utils/rsyslog/PREPARE        |    1 
 utils/rsyslog/PROVIDES       |    1 
 utils/rsyslog/init.d/rsyslog |   10 +++++
 utils/rsyslog/rsyslog.conf   |   85 +++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 210 insertions(+)

New commits:
commit 70b8b8727837f09c219fa146c7478049e20c649b
Author: Elisamuel Resto <ryuji at sourcemage.org>
Commit: Elisamuel Resto <ryuji at sourcemage.org>

    utils/rsyslog: new spell, an enhanced syslog daemon

diff --git a/ChangeLog b/ChangeLog
index fde70b2..9b4e121 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-06-17 Elisamuel Resto <ryuji at sourcemage.org>
+	* utils/rsyslog: new spell, an enhanced syslog daemon
+
 2008-06-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
 	* i18n/libhangul: Hangul input library #14436
 	* i18n/nabi: XIM for entering Hangul #14439 (both spells by Jaeic Lee)
diff --git a/utils/rsyslog/DEPENDS b/utils/rsyslog/DEPENDS
new file mode 100755
index 0000000..edfc72c
--- /dev/null
+++ b/utils/rsyslog/DEPENDS
@@ -0,0 +1,43 @@
+depends make &&
+depends pkgconfig &&
+
+if [[ "${RSYSLOG_LOGROTATE}" == "y" ]]; then
+  depends logrotate
+fi &&
+
+optional_depends zlib \
+                 "--enable-zlib" \
+                 "--disable-zlib" \
+                 "for gzipped network logging support" &&
+optional_depends gnutls \
+                 "--enable-gnutls" \
+                 "--disable-gnutls" \
+                 "TLS encryption for TCP communication" &&
+optional_depends pcre \
+                 "--enable-regexp" \
+                 "--disable-regexp" \
+                 "for regular expressions support" &&
+optional_depends librelp \
+                 "--enable-relp" \
+                 "--disable-relp" \
+                 "for RELP protocol support" &&
+optional_depends liblogging \
+                 "--enable-rfc3195" \
+                 "--disable-rfc3195" \
+                 "for RFC3195 support" &&
+optional_depends libdbi \
+                 "--with-libdbi" \
+                 "--without-libdbi" \
+                 "for database access via libdbi" &&
+optional_depends net-snmp \
+                 "--enable-snmp" \
+                 "--disable-snmp" \
+                 "for SNMP support" &&
+optional_depends mysql \
+                 "--enable-mysql" \
+                 "--disable-mysql" \
+                 "for MySQL backend support" &&
+optional_depends postgresql \
+                 "--enable-pgsql" \
+                 "--disable-pgsql" \
+                 "for PostgreSQL backend support"
diff --git a/utils/rsyslog/DETAILS b/utils/rsyslog/DETAILS
new file mode 100755
index 0000000..a9f595d
--- /dev/null
+++ b/utils/rsyslog/DETAILS
@@ -0,0 +1,26 @@
+           SPELL=rsyslog
+if [[ "${RSYSLOG_BRANCH}" == "devel" ]]; then
+         VERSION=3.19.7
+     SOURCE_HASH=sha512:aba5c98484a1368cda79f959c5f032c8eab0caf4edf1c03d687bb84630abf5dcf8d8224d4c6afd007dea25d62edd606cc094dcf886153f321d4109861424f7ca
+else
+         VERSION=3.16.1
+     SOURCE_HASH=sha512:de5b56630ba8c4b97daca7ae8fdb3c098a6a338749931edd4171d7231fcaf4fb03ada91d3c8c87a74ef4adcc337cfae004160a3385d3e81bb3a66f15741c9351
+fi
+          SOURCE=${SPELL}-${VERSION}.tar.gz
+   SOURCE_URL[0]=http://download.rsyslog.com/${SPELL}/${SOURCE}
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
+        WEB_SITE="http://www.rsyslog.com/"
+      LICENSE[0]=GPL
+         ENTERED=20080303
+           SHORT="An enhanced syslog daemon"
+cat << EOF
+Rsyslog is an enhanced multi-threaded syslogd. Among other features, it
+offers support for on-demand disk buffering, reliable syslog over TCP, writing
+to databases (MySQL, PostgreSQL, Oracle, and many more), 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.
+
+Since 3.19.0, rsyslog supports over-the-wire TLS encryption for TCP streams.
+EOF
diff --git a/utils/rsyslog/HISTORY b/utils/rsyslog/HISTORY
new file mode 100644
index 0000000..0ef8515
--- /dev/null
+++ b/utils/rsyslog/HISTORY
@@ -0,0 +1,39 @@
+2008-06-17 Elisamuel Resto <ryuji at sourcemage.org>
+	* Spell committed to test from phantom
+	  (http://dbnet.ath.cx/git/phantom/)
+
+2008-06-11 Elisamuel Resto <ryuji at sourcemage.org>
+	* DETAILS: updated devel version to 3.19.7
+
+2008-06-06 Elisamuel Resto <ryuji at sourcemage.org>
+	* DETAILS: updated devel version to 3.19.6
+
+2008-06-05 Elisamuel Resto <ryuji at sourcemage.org>
+	* DEPENDS: added librelp and liblogging as optional depends
+
+2008-05-31 Elisamuel Resto <ryuji at sourcemage.org>
+	* DETAILS: updated devel version to 3.19.5
+
+2008-05-27 Elisamuel Resto <ryuji at sourcemage.org>
+	* DETAILS: updated devel version to 3.19.4
+
+2008-05-25 Elisamuel Resto <ryuji at sourcemage.org>
+	* DETAILS: updated devel version to 3.19.3
+
+2008-05-20 Elisamuel Resto <ryuji at sourcemage.org>
+	* DETAILS: updated devel version to 3.19.2; tidying
+	* DEPENDS: OpenSSL aparently was changed to GnuTLS
+	* init.d/rsyslog: added -c3 to ARGS (no backwards compatibility)
+
+2008-05-13 Elisamuel Resto <ryuji at sourcemage.org>
+	* PREPARE, DETAILS: added option for installing latest
+	  devel or stable
+
+2008-04-20 Elisamuel Resto <ryuji at sourcemage.org>
+	* DETAILS: updated VERSION to 3.17.1
+	* DEPENDS: added dependencies: openssl, libdbi, zlib, pkgconfig
+	* rsyslog.conf: default configuration file
+	* INSTALL: added to install rsyslog.conf
+
+2008-03-03 Elisamuel Resto <ryuji at sourcemage.org>
+	* DEPENDS, DETAILS, PROVIDES: spell created
diff --git a/utils/rsyslog/INSTALL b/utils/rsyslog/INSTALL
new file mode 100755
index 0000000..d7d111d
--- /dev/null
+++ b/utils/rsyslog/INSTALL
@@ -0,0 +1,2 @@
+default_install &&
+install_config_file ${SPELL_DIRECTORY}/rsyslog.conf /etc/rsyslog.conf
diff --git a/utils/rsyslog/PREPARE b/utils/rsyslog/PREPARE
new file mode 100755
index 0000000..86ab292
--- /dev/null
+++ b/utils/rsyslog/PREPARE
@@ -0,0 +1 @@
+config_query_list RSYSLOG_BRANCH "Build which branch of rsyslog?" stable devel
diff --git a/utils/rsyslog/PROVIDES b/utils/rsyslog/PROVIDES
new file mode 100755
index 0000000..f0677b0
--- /dev/null
+++ b/utils/rsyslog/PROVIDES
@@ -0,0 +1 @@
+SYSTEM-LOGGER
diff --git a/utils/rsyslog/init.d/rsyslog b/utils/rsyslog/init.d/rsyslog
new file mode 100644
index 0000000..37bc87b
--- /dev/null
+++ b/utils/rsyslog/init.d/rsyslog
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+PIDFILE=/var/run/rsyslogd.pid
+PROGRAM=/usr/sbin/rsyslogd
+ARGS="-c3 -i /var/run/rsyslogd.pid -f /etc/rsyslog.conf"
+RUNLEVEL=S
+NEEDS="+local_fs"
+PROVIDES=syslog
+
+. /etc/init.d/smgl_init
diff --git a/utils/rsyslog/rsyslog.conf b/utils/rsyslog/rsyslog.conf
new file mode 100644
index 0000000..443cf03
--- /dev/null
+++ b/utils/rsyslog/rsyslog.conf
@@ -0,0 +1,85 @@
+# /etc/rsyslog.conf: rsyslogd configuration file
+#
+# rsyslog is considered a part of Adiscon's MonitorWare product line.
+# As such, you can find current information as well as information on the
+# other product line members on http://www.monitorware.com. Please be warned, there
+# are a number of closed-source commercial Windows applications among these products ;)
+#
+# You might want to check the GPL'd phpLogCon as a web-based front-end to a syslog
+# message database.
+#
+# I hope you find this work useful!
+# Rainer Gerhards <rgerhards at adiscon.com>
+
+
+# If you do not load inputs, nothing happens!
+# You may need to set the module load path if modules are not found.
+#
+$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
+$ModLoad imklog.so # kernel logging (formerly provided by rklogd)
+
+
+# Log all kernel messages
+#
+kern.* /var/log/kern.log
+
+# Log anything (except mail) of level info or higher.
+# Don't log private authentication messages!
+#
+*.info;mail.none;authpriv.none;cron.none /var/log/messages
+
+# The authpriv file has restricted access.
+#
+authpriv.* /var/log/auth.log
+
+# Log all the mail messages
+#
+mail.* -/var/log/mail.og
+
+# Log cron stuff
+#
+cron.* /var/log/cron.log
+
+# Everybody gets emergency messages
+#
+*.emerg *
+
+# Save news errors of level crit and higher
+#
+uucp,news.crit /var/log/spooler.log
+
+# Save boot messages also to boot.log
+#
+local7.* /var/log/boot.log
+
+# Remote Logging (we use TCP for reliable delivery)
+# An on-disk queue is created for this action. If the remote host is
+# down, messages are spooled to disk and sent when it is up again.
+#
+#$WorkDirectory /rsyslog/spool # where to place spool files
+#$ActionQueueFileName uniqName # unique name prefix for spool files
+#$ActionQueueMaxDiskSpace 1g   # 1gb space limit (use as much as possible)
+#$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
+#$ActionQueueType LinkedList   # run asynchronously
+#$ActionResumeRetryCount -1    # infinety retries if host is down
+# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
+#*.* @@remote-host
+
+
+######### Receiving Messages from Remote Hosts ##########
+#
+# See http://rsyslog.com/doc for more information and examples
+#
+# TCP Syslog Server:
+# provides TCP syslog reception and GSS-API (if compiled to support it)
+#
+#$ModLoad imtcp.so  # load module
+
+# Note: as of now, you need to use the -t command line option to
+# enable TCP reception (e.g. -t514 to run a server at port 514/tcp)
+# This will change in later v3 releases.
+
+# UDP Syslog Server:
+#
+#$ModLoad imudp.so  # provides UDP syslog reception
+#$UDPServerRun 514 # start a UDP syslog server at standard port 514



More information about the SM-Commit mailing list