[Pkg-corba-devel] Bug#541249: Patch used in NMU version 1:2.6.2-1.1
Petter Reinholdtsen
pere at hungry.com
Sun Sep 20 16:29:57 UTC 2009
Package: omnievents
Version: 1:2.6.2-1.1
Severity: wishlist
Tags: patch
[Floris Bruynooghe]
> I've never worked on omnievents, but both me and Thomas seem to have
> exceedingly little time to work on pkg-corba recently so I reckon an
> NMU might be the best (with a delayed queue in case Thomas rejects
> maybe).
OK. I just uploaded a package with the attached patch to the 3 day
delayed queue.
Happy hacking,
--
Petter Reinholdtsen
-------------- next part --------------
diff -urN omnievents-2.6.2/debian/changelog omnievents-2.6.2-pere/debian/changelog
--- omnievents-2.6.2/debian/changelog 2009-09-20 18:18:48.000000000 +0200
+++ omnievents-2.6.2-pere/debian/changelog 2009-09-20 18:16:35.000000000 +0200
@@ -1,3 +1,15 @@
+omnievents (1:2.6.2-1.1) unstable; urgency=low
+
+ * Non-maintainer upload to fix release goal.
+ * Correct init.d script header runlevel list and dependencies. Add code
+ in postinst to recover systems affected by the bug (Closes: #541249).
+ * Correct section for libomnievents-dbg to 'debug', based on tip from
+ lintian.
+ * Add code to clean target of debian/rules to remove generated
+ config.log and config.status, based on tip from lintian.
+
+ -- Petter Reinholdtsen <pere at debian.org> Sun, 20 Sep 2009 17:00:14 +0200
+
omnievents (1:2.6.2-1) unstable; urgency=low
* Package taken over by the CORBA team.
diff -urN omnievents-2.6.2/debian/control omnievents-2.6.2-pere/debian/control
--- omnievents-2.6.2/debian/control 2009-09-20 18:18:48.000000000 +0200
+++ omnievents-2.6.2-pere/debian/control 2009-09-20 18:16:35.000000000 +0200
@@ -55,7 +55,7 @@
Package: libomnievents-dbg
Architecture: any
-Section: libdevel
+Section: debug
Priority: extra
Depends: libomnievents2 (= ${binary:Version})
Description: omniORB event service debugging symbols
diff -urN omnievents-2.6.2/debian/omnievents.postinst omnievents-2.6.2-pere/debian/omnievents.postinst
--- omnievents-2.6.2/debian/omnievents.postinst 1970-01-01 01:00:00.000000000 +0100
+++ omnievents-2.6.2-pere/debian/omnievents.postinst 2009-09-20 18:16:35.000000000 +0200
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+# Those using dependency based boot sequencing with sysv-rc and
+# installing omniorb-eventservice using version 1:2.6.2-1 and earlier
+# would have the wrong runlevel symlinks. Recover from this.
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "1:2.6.2-1" \
+ && [ -f /etc/rc3.d/S[0-9][0-9]omniorb-eventservice ] && [ ! -f /etc/rc2.d/S[0-9][0-9]omniorb-eventservice ]
+then
+ update-rc.d -f omniorb-eventservice remove
+fi
+
+#DEBHELPER#
diff -urN omnievents-2.6.2/etc/init.d/omniorb-eventservice.in omnievents-2.6.2-pere/etc/init.d/omniorb-eventservice.in
--- omnievents-2.6.2/etc/init.d/omniorb-eventservice.in 2005-05-11 20:44:21.000000000 +0200
+++ omnievents-2.6.2-pere/etc/init.d/omniorb-eventservice.in 2009-09-20 18:16:35.000000000 +0200
@@ -14,10 +14,10 @@
### BEGIN INIT INFO
# Provides: omniorb-eventservice
-# Required-Start: $syslog $network
-# Required-Stop: $syslog
-# Default-Start: 3 4 5
-# Default-Stop: 0 1 2 6
+# Required-Start: $network $remote_fs $syslog
+# Required-Stop: $network $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
# Short-Description: CORBA event service
# Description: CORBA event service. http://www.omnievents.org/
### END INIT INFO
More information about the Pkg-corba-devel
mailing list