summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2011-09-20 07:56:53 +0200
committerLuk Claes <luk@debian.org>2011-09-20 07:56:53 +0200
commit410bf328786be508e4d03d4e95e31b1b6cc09c39 (patch)
tree13c22179f82f13082cf9ff9f745759930eded484 /debian
parenta57e95e31affae7d87c4f6a81ec19b0bf364fb2e (diff)
Fix some lintian warnings and error
Diffstat (limited to 'debian')
-rw-r--r--debian/README.source2
-rw-r--r--debian/changelog11
-rw-r--r--debian/control2
-rw-r--r--debian/ipmitool.ipmievd.init2
-rw-r--r--debian/ipmitool.postinst2
-rw-r--r--debian/ipmitool.postrm2
-rw-r--r--debian/ipmitool.prerm2
7 files changed, 18 insertions, 5 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..c839da7
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,2 @@
+More information on how to use quilt can be found in:
+/usr/share/doc/quilt/README.source
diff --git a/debian/changelog b/debian/changelog
index 975130e..bf0039b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+ipmitool (1.8.11-4) unstable; urgency=low
+
+ * debian/control:
+ - Add ${misc:Depends} so deps can be added by debhelper.
+ * debian/README.source: Add reference to quilt docs.
+ * debian/ipmitool.ipmievd.init: Test if /etc/default/rcS
+ exists, before executing it.
+ * debian/ipmitool.{post,pre}{inst,rm}: Add -e.
+
+ -- Luk Claes <luk@debian.org> Tue, 20 Sep 2011 07:55:44 +0200
+
ipmitool (1.8.11-3) unstable; urgency=high
* debian/control:
diff --git a/debian/control b/debian/control
index 5124296..50259bf 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Standards-Version: 3.8.0
Package: ipmitool
Architecture: any
-Depends: ${shlibs:Depends}, lsb-base
+Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base
Suggests: openipmi
Description: utility for IPMI control with kernel driver or LAN interface
A utility for managing and configuring devices that support the
diff --git a/debian/ipmitool.ipmievd.init b/debian/ipmitool.ipmievd.init
index 8eb1014..14c13c0 100644
--- a/debian/ipmitool.ipmievd.init
+++ b/debian/ipmitool.ipmievd.init
@@ -30,7 +30,7 @@ ENABLED=true
test -x $DAEMON || exit 0
. /lib/lsb/init-functions
-. /etc/default/rcS
+test -r /etc/default/rcS && . /etc/default/rcS
# Options used by ipmievd.
#
diff --git a/debian/ipmitool.postinst b/debian/ipmitool.postinst
index fe73290..125653a 100644
--- a/debian/ipmitool.postinst
+++ b/debian/ipmitool.postinst
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
ipmievd_initd_failed() {
echo "Unable to start ipmievd during installation. Trying to disable."
diff --git a/debian/ipmitool.postrm b/debian/ipmitool.postrm
index ebbaf6b..7ad5024 100644
--- a/debian/ipmitool.postrm
+++ b/debian/ipmitool.postrm
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
ipmievd_initd_failed() {
:
diff --git a/debian/ipmitool.prerm b/debian/ipmitool.prerm
index ebbaf6b..7ad5024 100644
--- a/debian/ipmitool.prerm
+++ b/debian/ipmitool.prerm
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
ipmievd_initd_failed() {
: