Package:  syslog-ng
Version:  2.0.9-4.2
Severity: wishlist
Tags:     patch

This is the patch I used in my NMU.

diff -ur ../syslog-ng-2.0.9/debian/changelog 
../syslog-ng-2.0.9-pere/debian/changelog
--- ../syslog-ng-2.0.9/debian/changelog 2009-10-11 12:37:54.000000000 +0200
+++ ../syslog-ng-2.0.9-pere/debian/changelog    2009-10-11 12:52:13.000000000 
+0200
@@ -1,3 +1,17 @@
+syslog-ng (2.0.9-4.2) unstable; urgency=low
+
+  * Non-maintainer upload to fix release goal.
+  * Add support for status in init.d script (Closes: #533076).
+    Patch from Peter Eisentraut.
+  * Correct init.d script provide to avoid duplicate provide
+    issues when switching from one syslog implementation to
+    another (Closes: #542606)
+  * Update to debhelper version 7.
+  * Change standards-version 3.7.3.0 to 3.8.3.  No change needed.
+  * Remove ylwrap in clean target, the symlink is created during build.
+
+ -- Petter Reinholdtsen <[email protected]>  Sun, 11 Oct 2009 12:38:31 +0200
+
 syslog-ng (2.0.9-4.1) unstable; urgency=high
 
   * Non-maintainer upload; high priority due to the following security fix.
diff -ur ../syslog-ng-2.0.9/debian/compat ../syslog-ng-2.0.9-pere/debian/compat
--- ../syslog-ng-2.0.9/debian/compat    2009-10-11 12:37:54.000000000 +0200
+++ ../syslog-ng-2.0.9-pere/debian/compat       2009-10-11 12:41:07.000000000 
+0200
@@ -1 +1 @@
-5
+7
diff -ur ../syslog-ng-2.0.9/debian/control 
../syslog-ng-2.0.9-pere/debian/control
--- ../syslog-ng-2.0.9/debian/control   2009-10-11 12:37:54.000000000 +0200
+++ ../syslog-ng-2.0.9-pere/debian/control      2009-10-11 12:47:34.000000000 
+0200
@@ -2,12 +2,12 @@
 Section: admin
 Priority: extra
 Maintainer: SZALAY Attila <[email protected]>
-Build-depends: debhelper (>=5), libevtlog-dev, pkg-config, libglib2.0-dev, 
flex, bison, automake1.7, autoconf, xsltproc, docbook-xsl, docbook-xml
-Standards-Version: 3.7.3.0
+Build-depends: debhelper (>=7), libevtlog-dev, pkg-config, libglib2.0-dev, 
flex, bison, automake1.7, autoconf, xsltproc, docbook-xsl, docbook-xml
+Standards-Version: 3.8.3
 
 Package: syslog-ng
 Architecture: any
-Depends: ${shlibs:Depends}, lsb-base (>= 3.0-6)
+Depends: ${shlibs:Depends}, lsb-base (>= 3.2-13)
 Recommends: logrotate
 Provides: system-log-daemon, linux-kernel-log-daemon
 Conflicts: system-log-daemon, linux-kernel-log-daemon
diff -ur ../syslog-ng-2.0.9/debian/rules ../syslog-ng-2.0.9-pere/debian/rules
--- ../syslog-ng-2.0.9/debian/rules     2009-10-11 12:37:54.000000000 +0200
+++ ../syslog-ng-2.0.9-pere/debian/rules        2009-10-11 12:51:45.000000000 
+0200
@@ -42,7 +42,7 @@
        -rm depcomp aclocal.m4 install-sh missing mkinstalldirs configure
        -rm doc/reference/syslog-ng.html.tar.gz
        -rm doc/reference/syslog-ng.html/index.html src/cfg-grammar.c
-       -rm src/cfg-grammar.h src/cfg-lex.c
+       -rm src/cfg-grammar.h src/cfg-lex.c ylwrap
 
        dh_clean
 
diff -ur ../syslog-ng-2.0.9/debian/syslog-ng.init 
../syslog-ng-2.0.9-pere/debian/syslog-ng.init
--- ../syslog-ng-2.0.9/debian/syslog-ng.init    2009-10-11 12:37:54.000000000 
+0200
+++ ../syslog-ng-2.0.9-pere/debian/syslog-ng.init       2009-10-11 
12:39:59.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 ### BEGIN INIT INFO
-# Provides:          syslog
+# Provides:          syslog-ng
 # Required-Start:    $local_fs $network $time $remote_fs
 # Required-Stop:     $local_fs $network $time $remote_fs
 # Default-Start:     2 3 4 5
@@ -109,8 +109,11 @@
     syslogng_stop
     syslogng_start || exit 1
     ;;
+  status)
+    status_of_proc "$SYSLOGNG" "$NAME"; exit $?
+    ;;
   *)
-    echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" 
>&2
+    echo "Usage: /etc/init.d/$NAME 
{start|stop|restart|reload|force-reload|status}" >&2
     exit 1
     ;;
 esac

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to