Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Alexys Jacob (ultrabug)" <ultrabug@g.o>
Subject: gentoo-x86 commit in app-admin/rsyslog/files/6-stable: rsyslog.initd rsyslog-gentoo.conf rsyslog.confd rsyslog.logrotate rsyslog6-zeromq.patch
Date: Fri, 1 Jun 2012 12:54:18 +0000 (UTC)
ultrabug    12/06/01 12:54:18

  Added:                rsyslog.initd rsyslog-gentoo.conf rsyslog.confd
                        rsyslog.logrotate rsyslog6-zeromq.patch
  Log:
  New stable v6 branch bump, fix #398269.
  
  (Portage version: 2.1.10.63/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-admin/rsyslog/files/6-stable/rsyslog.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.initd?rev=1.1&content-type=text/plain

Index: rsyslog.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.initd,v 1.1 2012/06/01 12:54:17 ultrabug Exp $

extra_started_commands="reload"

depend() {
	provide logger
}

start() {
	ebegin "Starting rsyslogd"
	start-stop-daemon \
		--start --quiet --exec /usr/sbin/rsyslogd \
		-- ${RSYSLOG_OPTS} -i "${PIDFILE}" -f "${CONFIGFILE}"
	eend $?
}

stop() {
	ebegin "Stopping rsyslogd"
	start-stop-daemon \
		--stop --quiet \
		--pidfile "${PIDFILE}"
	eend $?
}

reload() {
	if [ ! -f "${PIDFILE}" ]; then
		eerror "rsyslogd not running"
		return 1
	fi

	# Baselayout-1 users still use --stop and --oknodo
	local USEROPT="--name rsyslogd"
	if [ ! -f /etc/init.d/sysfs ]; then
		USEROPT="--stop --oknodo"
	fi

	ebegin "Re-opening rsyslogd log files"
	start-stop-daemon --signal HUP --pidfile "${PIDFILE}" ${USEROPT}
	eend $?
}



1.1                  app-admin/rsyslog/files/6-stable/rsyslog-gentoo.conf

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog-gentoo.conf?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog-gentoo.conf?rev=1.1&content-type=text/plain

Index: rsyslog-gentoo.conf
===================================================================
# rsyslog v5: load input modules
# If you do not load inputs, nothing happens!
# You may need to set the module load path if modules are not found.

$ModLoad immark.so # provides --MARK-- message capability
$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
$ModLoad imklog.so # kernel logging (formerly provided by rklogd)

# Include configuration files from directory
$IncludeConfig /etc/rsyslog.d/*

# Check config syntax on startup and abort if unclean (default off)
#$AbortOnUncleanConfig on

# Reduce repeating messages (default off)
#$RepeatedMsgReduction on

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*                                                 /dev/console

# 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/secure

# Log all the mail messages in one place.
mail.*                                                  -/var/log/maillog

# Log cron stuff
cron.*                                                  -/var/log/cron

# Everybody gets emergency messages
*.emerg                                                 :omusrmsg:*

# Save news errors of level crit and higher in a special file.
uucp,news.crit                                          -/var/log/spooler

# Save boot messages also to boot.log
local7.*                                                /var/log/boot.log

# More configuration examples:
#
# 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 /var/spool/rsyslog # 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
#$ActionResumeInterval 30      # retry interval
# remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional
#*.* @@remote-host

# Remote Logging with TCP + SSL/TLS
#$DefaultNetstreamDriver gtls
#$DefaultNetstreamDriverCAFile /etc/ssl/rsyslog/rsyslog_ca.cert.pem
#$DefaultNetstreamDriverCertFile /etc/ssl/rsyslog/rsyslog_CLIENT.cert.pem
#$DefaultNetstreamDriverKeyFile /etc/ssl/rsyslog/rsyslog_CLIENT.key.pem
#$ActionSendStreamDriverAuthMode x509/name # enable peer authentication
#$ActionSendStreamDriverPermittedPeer foo # authorize to send encrypted data to server foo
#$ActionSendStreamDriverMode 1 # run driver in TLS-only mode

# ######### Receiving Messages from Remote Hosts ##########
# TCP Syslog Server:
#$ModLoad imtcp  # provides TCP syslog reception
#$TCPServerRun 10514 # start a TCP syslog server at port 10514

# TCP + SSL/TLS Syslog Server:
#$ModLoad imtcp  # provides TCP syslog reception
#$DefaultNetstreamDriver gtls # use gnuTLS for data encryption
#$DefaultNetstreamDriverCAFile /etc/ssl/rsyslog/rsyslog_ca.cert.pem
#$DefaultNetstreamDriverCertFile /etc/ssl/rsyslog/rsyslog_SERVER.cert.pem
#$DefaultNetstreamDriverKeyFile /etc/ssl/rsyslog/rsyslog_SERVER.key.pem
#$InputTCPServerStreamDriverMode 1 # run driver in TLS-only mode
#$InputTCPServerStreamDriverAuthMode x509/name # enable peer authentication
#$InputTCPServerStreamDriverPermittedPeer bar # authorize client named bar (one line per client)
#$TCPServerRun 10514 # start a TCP syslog server at port 10514

# UDP Syslog Server:
#$ModLoad imudp.so  # provides UDP syslog reception
#$UDPServerRun 514 # start a UDP syslog server at standard port 514

# RELP Syslog Server:
#$ModLoad imrelp  # provides RELP syslog reception
#$InputRELPServerRun 10515 # start a RELP syslog server at port 10515



1.1                  app-admin/rsyslog/files/6-stable/rsyslog.confd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.confd?rev=1.1&content-type=text/plain

Index: rsyslog.confd
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.confd,v 1.1 2012/06/01 12:54:17 ultrabug Exp $

# Configuration file
CONFIGFILE="/etc/rsyslog.conf"

# PID file
PIDFILE="/var/run/rsyslogd.pid"

# Options to rsyslogd
# See rsyslogd(8) for more details
# Notes:
# * Do not specify another PIDFILE but use the variable above to change the location
# * Do not specify another CONFIGFILE but use the variable above to change the location
# * "-c5" tells rsyslog to _not_ run in sysklogd compatibility mode
RSYSLOG_OPTS="-c5"



1.1                  app-admin/rsyslog/files/6-stable/rsyslog.logrotate

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.logrotate?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.logrotate?rev=1.1&content-type=text/plain

Index: rsyslog.logrotate
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog.logrotate,v 1.1 2012/06/01 12:54:17 ultrabug Exp $
/var/log/messages /var/log/secure /var/log/maillog /var/log/cron /var/log/spooler /var/log/boot.log {
    sharedscripts
    postrotate
        /etc/init.d/rsyslog reload &>/dev/null || true
    endscript
}



1.1                  app-admin/rsyslog/files/6-stable/rsyslog6-zeromq.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog6-zeromq.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/rsyslog/files/6-stable/rsyslog6-zeromq.patch?rev=1.1&content-type=text/plain

Index: rsyslog6-zeromq.patch
===================================================================
--- a/Makefile.am	2012-06-01 12:54:30.118114106 +0200
+++ b/Makefile.am	2012-06-01 12:56:30.949078827 +0200
@@ -198,6 +198,14 @@
 SUBDIRS += plugins/omprog
 endif
 
+if ENABLE_IMZEROMQ
+SUBDIRS += plugins/imzeromq
+endif
+
+if ENABLE_OMZEROMQ
+SUBDIRS += plugins/omzeromq
+endif
+
 if ENABLE_RFC3195
 SUBDIRS += plugins/im3195
 endif
@@ -242,6 +250,8 @@
 				--enable-pmlastmsg \
 				--enable-omruleset \
 				--enable-omprog \
+				--enable-imzeromq \
+				--enable-omzeromq \
 				--enable-imdiag \
 				--enable-imptcp \
 				--enable-imttcp \
--- a/configure.ac	2012-06-01 12:54:30.118114106 +0200
+++ b/configure.ac	2012-06-01 12:59:14.250380620 +0200
@@ -884,6 +884,17 @@
 )
 AM_CONDITIONAL(ENABLE_IMFILE, test x$enable_imfile = xyes)
 
+# settings for the ZeroMQ input module
+AC_ARG_ENABLE(imzeromq,
+        [AS_HELP_STRING([--enable-imzeromq],[file input module enabled @<:@default=no@:>@])],
+        [case "${enableval}" in
+         yes) enable_imzeromq="yes" ;;
+          no) enable_imzeromq="no" ;;
+           *) AC_MSG_ERROR(bad value ${enableval} for --enable-imzeromq) ;;
+         esac],
+        [enable_imzeromq=no]
+)
+AM_CONDITIONAL(ENABLE_IMZEROMQ, test x$enable_imzeromq = xyes)
 
 # settings for the door input module (under solaris, thus default off)
 AC_ARG_ENABLE(imsolaris,
@@ -948,6 +959,17 @@
 )
 AM_CONDITIONAL(ENABLE_OMPROG, test x$enable_omprog = xyes)
 
+# settings for the omzeromq output module
+AC_ARG_ENABLE(omzeromq,
+        [AS_HELP_STRING([--enable-omzeromq],[Compiles omzeromq module @<:@default=no@:>@])],
+        [case "${enableval}" in
+         yes) enable_omzeromq="yes" ;;
+          no) enable_omzeromq="no" ;;
+           *) AC_MSG_ERROR(bad value ${enableval} for --enable-omzeromq) ;;
+         esac],
+        [enable_omzeromq=no]
+)
+AM_CONDITIONAL(ENABLE_OMZEROMQ, test x$enable_omzeromq = xyes)
 
 # settings for omudpspoof
 AC_ARG_ENABLE(omudpspoof,
@@ -1251,6 +1273,7 @@
 		plugins/omtemplate/Makefile \
 		plugins/omhdfs/Makefile \
 		plugins/omprog/Makefile \
+		plugins/omzeromq/Makefile \
 		plugins/omstdout/Makefile \
 		plugins/pmrfc3164sd/Makefile \
 		plugins/pmlastmsg/Makefile \
@@ -1261,6 +1284,7 @@
 		plugins/omdbalerting/Makefile \
 		plugins/omuxsock/Makefile \
 		plugins/imfile/Makefile \
+		plugins/imzeromq/Makefile \
 		plugins/imsolaris/Makefile \
 		plugins/imptcp/Makefile \
 		plugins/imttcp/Makefile \
@@ -1304,6 +1328,7 @@
 echo "    threaded plain tcp input module enabled:  $enable_imttcp"
 echo "    imdiag enabled:                           $enable_imdiag"
 echo "    file input module enabled:                $enable_imfile"
+echo "    ZeroMQ input module enabled:              $enable_imzeromq"
 echo "    Solaris input module enabled:             $enable_imsolaris"
 echo "    periodic statistics module enabled:       $enable_impstats"
 echo "    input template module will be compiled:   $enable_imtemplate"
@@ -1311,6 +1336,7 @@
 echo "---{ output plugins }---"
 echo "    Mail support enabled:                     $enable_mail"
 echo "    omprog module will be compiled:           $enable_omprog"
+echo "    omzeromq module will be compiled:         $enable_omzeromq"
 echo "    output mongodb module will be compiled:   $enable_ommongodb"
 echo "    omstdout module will be compiled:         $enable_omstdout"
 echo "    omhdfs module will be compiled:           $enable_omhdfs"





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-python/pyro: pyro-4.11.ebuild ChangeLog
Next by thread:
gentoo-x86 commit in app-admin/rsyslog: ChangeLog rsyslog-6.2.1.ebuild
Previous by date:
gentoo-x86 commit in dev-python/pyro: pyro-4.11.ebuild ChangeLog
Next by date:
gentoo-x86 commit in app-admin/rsyslog: ChangeLog rsyslog-6.2.1.ebuild


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.