[23516] in Source-Commits
/svn/athena r23160 - in trunk/debathena/config: . syslog-config syslog-config/debian
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Thu Aug 28 13:13:56 2008
Date: Thu, 28 Aug 2008 13:13:42 -0400 (EDT)
From: ghudson@MIT.EDU
Message-Id: <200808281713.NAA02465@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: ghudson
Date: 2008-08-28 13:13:41 -0400 (Thu, 28 Aug 2008)
New Revision: 23160
Added:
trunk/debathena/config/syslog-config/
trunk/debathena/config/syslog-config/debian/
trunk/debathena/config/syslog-config/debian/changelog
trunk/debathena/config/syslog-config/debian/compat
trunk/debathena/config/syslog-config/debian/control
trunk/debathena/config/syslog-config/debian/control.in
trunk/debathena/config/syslog-config/debian/copyright
trunk/debathena/config/syslog-config/debian/debathena-syslog-config.postinst
trunk/debathena/config/syslog-config/debian/rules
trunk/debathena/config/syslog-config/debian/transform_syslog.conf.debathena
Log:
Add new package to configure central syslogging.
Added: trunk/debathena/config/syslog-config/debian/changelog
===================================================================
--- trunk/debathena/config/syslog-config/debian/changelog 2008-08-26 16:40:36 UTC (rev 23159)
+++ trunk/debathena/config/syslog-config/debian/changelog 2008-08-28 17:13:41 UTC (rev 23160)
@@ -0,0 +1,5 @@
+debathena-syslog-config (1.1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Greg Hudson <ghudson@mit.edu> Thu, 28 Aug 2008 11:52:03 -0400
Added: trunk/debathena/config/syslog-config/debian/compat
===================================================================
--- trunk/debathena/config/syslog-config/debian/compat 2008-08-26 16:40:36 UTC (rev 23159)
+++ trunk/debathena/config/syslog-config/debian/compat 2008-08-28 17:13:41 UTC (rev 23160)
@@ -0,0 +1 @@
+4
Added: trunk/debathena/config/syslog-config/debian/control
===================================================================
--- trunk/debathena/config/syslog-config/debian/control 2008-08-26 16:40:36 UTC (rev 23159)
+++ trunk/debathena/config/syslog-config/debian/control 2008-08-28 17:13:41 UTC (rev 23160)
@@ -0,0 +1,15 @@
+Source: debathena-syslog-config
+Section: debathena/net
+Priority: extra
+Maintainer: Debian-Athena Project <debathena@mit.edu>
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.2.0), config-package-dev (>= 4.5~), sysklogd
+Standards-Version: 3.7.2
+
+Package: debathena-syslog-config
+Architecture: all
+Depends: sysklogd
+Provides: ${diverted-files}
+Conflicts: ${diverted-files}
+Description: Configures central syslogging of some messages
+ This package configures sysklogd to forward some messages to a
+ central server.
Added: trunk/debathena/config/syslog-config/debian/control.in
===================================================================
--- trunk/debathena/config/syslog-config/debian/control.in 2008-08-26 16:40:36 UTC (rev 23159)
+++ trunk/debathena/config/syslog-config/debian/control.in 2008-08-28 17:13:41 UTC (rev 23160)
@@ -0,0 +1,15 @@
+Source: debathena-syslog-config
+Section: debathena/net
+Priority: extra
+Maintainer: Debian-Athena Project <debathena@mit.edu>
+Build-Depends: @cdbs@, sysklogd
+Standards-Version: 3.7.2
+
+Package: debathena-syslog-config
+Architecture: all
+Depends: sysklogd
+Provides: ${diverted-files}
+Conflicts: ${diverted-files}
+Description: Configures central syslogging of some messages
+ This package configures sysklogd to forward some messages to a
+ central server.
Added: trunk/debathena/config/syslog-config/debian/copyright
===================================================================
--- trunk/debathena/config/syslog-config/debian/copyright 2008-08-26 16:40:36 UTC (rev 23159)
+++ trunk/debathena/config/syslog-config/debian/copyright 2008-08-28 17:13:41 UTC (rev 23160)
@@ -0,0 +1,11 @@
+Copyright 2008 by the Massachusetts Institute of Technology.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation, and that the name of M.I.T. not be used in
+advertising or publicity pertaining to distribution of the software
+without specific, written prior permission. M.I.T. makes no
+representations about the suitability of this software for any
+purpose. It is provided "as is" without express or implied warranty.
Added: trunk/debathena/config/syslog-config/debian/debathena-syslog-config.postinst
===================================================================
--- trunk/debathena/config/syslog-config/debian/debathena-syslog-config.postinst 2008-08-26 16:40:36 UTC (rev 23159)
+++ trunk/debathena/config/syslog-config/debian/debathena-syslog-config.postinst 2008-08-28 17:13:41 UTC (rev 23160)
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postinst script for debathena-syslog-config
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+#DEBHELPER#
+
+case "$1" in
+ configure)
+ if hash invoke-rc.d; then
+ invoke-rc.d sysklogd restart
+ else
+ /etc/init.d/sysklogd restart
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
Added: trunk/debathena/config/syslog-config/debian/rules
===================================================================
--- trunk/debathena/config/syslog-config/debian/rules 2008-08-26 16:40:36 UTC (rev 23159)
+++ trunk/debathena/config/syslog-config/debian/rules 2008-08-28 17:13:41 UTC (rev 23160)
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
+DEB_DIVERT_EXTENSION = .debathena
+DEB_TRANSFORM_FILES_debathena-syslog-config += \
+ /etc/syslog.conf.debathena
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/config-package.mk
Property changes on: trunk/debathena/config/syslog-config/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/debathena/config/syslog-config/debian/transform_syslog.conf.debathena
===================================================================
--- trunk/debathena/config/syslog-config/debian/transform_syslog.conf.debathena 2008-08-26 16:40:36 UTC (rev 23159)
+++ trunk/debathena/config/syslog-config/debian/transform_syslog.conf.debathena 2008-08-28 17:13:41 UTC (rev 23160)
@@ -0,0 +1,3 @@
+#!/bin/sh
+cat
+echo "*.warning;kern,user,auth.info @WSLOGGER.MIT.EDU"
Property changes on: trunk/debathena/config/syslog-config/debian/transform_syslog.conf.debathena
___________________________________________________________________
Name: svn:executable
+ *