Package: rasdaemon
Version: 0.6.0-1
Severity: normal
Tags: patch pending
Dear maintainer,
I've prepared an NMU for rasdaemon (versioned as 0.6.0-1.1) and
uploaded it to DELAYED/15.
This NMU mainly make the package uses systemd and autoreconf dh addons instead
of overriding other sequences. It also add proper perl dependency (as
ras-mc-ctl is written in perl) and remove a lintian error.
Please feel free to tell me if I should cancel it or delay it longer.
Regards.
diff -Nru rasdaemon-0.6.0/debian/changelog rasdaemon-0.6.0/debian/changelog
--- rasdaemon-0.6.0/debian/changelog 2017-11-28 02:33:18.000000000 +0100
+++ rasdaemon-0.6.0/debian/changelog 2018-02-15 11:15:00.000000000 +0100
@@ -1,3 +1,15 @@
+rasdaemon (0.6.0-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/control: Add ${perl:Depends} to the Depends field
+ * debian/rules:
+ - Cleanup comments added by dh_make, that should fix the lintian error.
+ - Stop overriding dh_installdeb to call dh_system_start/dh_systemd_enable,
+ use "--with systemd" instead
+ - Stop calling autoreconf manually, use "--with autoreconf" instead
+
+ -- Laurent Bigonville <[email protected]> Thu, 15 Feb 2018 11:15:00 +0100
+
rasdaemon (0.6.0-1) unstable; urgency=medium
* Closes: #879632 -- Update to 0.6.0 upstream.
diff -Nru rasdaemon-0.6.0/debian/control rasdaemon-0.6.0/debian/control
--- rasdaemon-0.6.0/debian/control 2017-11-28 02:33:18.000000000 +0100
+++ rasdaemon-0.6.0/debian/control 2018-02-15 11:09:03.000000000 +0100
@@ -10,7 +10,7 @@
Package: rasdaemon
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, sqlite3, systemd,
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, sqlite3, systemd,
libdbd-sqlite3-perl
Description: utility to receive RAS error tracings
rasdaemon is a RAS (Reliability, Availability and Serviceability) logging
diff -Nru rasdaemon-0.6.0/debian/rules rasdaemon-0.6.0/debian/rules
--- rasdaemon-0.6.0/debian/rules 2017-11-28 02:33:18.000000000 +0100
+++ rasdaemon-0.6.0/debian/rules 2018-02-15 11:09:03.000000000 +0100
@@ -1,30 +1,13 @@
#!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
-
-# main packaging script based on dh7 syntax
%:
- dh $@
+ dh $@ --with systemd,autoreconf
-# dh_make generated override targets
-# This is example for Cmake (See https://bugs.debian.org/641051 )
override_dh_auto_configure:
- autoreconf -vfi
dh_auto_configure -- \
--enable-mce --enable-aer --enable-sqlite3 --enable-extlog \
--enable-abrt-report
@@ -32,10 +15,3 @@
override_dh_install:
dh_install
rm -rf $(CURDIR)/debian/rasdaemon/usr/include
-
-override_dh_installdeb:
- dh_systemd_enable rasdaemon.service
- dh_systemd_enable ras-mc-ctl.service
- dh_systemd_start rasdaemon.service
- dh_systemd_start ras-mc-ctl.service
- dh_installdeb