Control: tags 734496 + patch
Control: tags 734496 + pending
Control: tags 826132 + patch
Control: tags 826132 + pending

Dear maintainer,

I've prepared an NMU for setserial (versioned as 2.17-49.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Best,
Christian


diff -Nru setserial-2.17/debian/changelog setserial-2.17/debian/changelog
--- setserial-2.17/debian/changelog     2015-09-22 23:32:05.000000000 +0200
+++ setserial-2.17/debian/changelog     2016-07-02 11:12:49.000000000 +0200
@@ -1,3 +1,18 @@
+setserial (2.17-49.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Martin Pitt ]
+  * 10_rc_etc_setserial.patch: Change etc-setserial's "checkfs" dependency to
+    $local_fs, and drop initscripts dependency. (Closes: #734496)
+
+  [ Christian Hofstaedtler ]
+  * Drop empty /etc/modutils directory.
+  * Install etc-setserial.service wrapping the etc-setserial init script.
+    (Closes: #826132))
+
+ -- Christian Hofstaedtler <z...@debian.org>  Sat, 02 Jul 2016 11:11:55 +0200
+
 setserial (2.17-49) unstable; urgency=medium
 
   * as upstream archive vanished, watch file is useless
diff -Nru setserial-2.17/debian/control setserial-2.17/debian/control
--- setserial-2.17/debian/control       2015-09-22 23:20:55.000000000 +0200
+++ setserial-2.17/debian/control       2016-07-02 10:37:02.000000000 +0200
@@ -7,7 +7,7 @@
 
 Package: setserial
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, initscripts
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: controls configuration of serial ports
  Set and/or report the configuration information associated with
  a serial port. This information includes what I/O port and which IRQ
diff -Nru setserial-2.17/debian/dirs setserial-2.17/debian/dirs
--- setserial-2.17/debian/dirs  2015-09-22 23:01:22.000000000 +0200
+++ setserial-2.17/debian/dirs  2016-07-02 11:06:32.000000000 +0200
@@ -1,6 +1,5 @@
 bin
 etc/init.d
-etc/modutils
 usr/share/doc/setserial
 usr/share/man/man8
 var/lib/setserial
diff -Nru setserial-2.17/debian/patches/10_rc_etc_setserial.patch 
setserial-2.17/debian/patches/10_rc_etc_setserial.patch
--- setserial-2.17/debian/patches/10_rc_etc_setserial.patch     2015-09-22 
23:30:40.000000000 +0200
+++ setserial-2.17/debian/patches/10_rc_etc_setserial.patch     2016-07-02 
10:37:02.000000000 +0200
@@ -11,7 +11,7 @@
 +#
 +### BEGIN INIT INFO
 +# Provides:             etc-setserial
-+# Required-Start:       checkfs
++# Required-Start:       $local_fs
 +# Required-Stop:        $remote_fs
 +# Default-Start:        S
 +# Default-Stop:         0 1 6
diff -Nru setserial-2.17/debian/rules setserial-2.17/debian/rules
--- setserial-2.17/debian/rules 2015-09-22 23:40:37.000000000 +0200
+++ setserial-2.17/debian/rules 2016-07-02 11:09:26.000000000 +0200
@@ -85,6 +85,7 @@
        dh_installchangelogs
        dh_installdebconf
        dh_systemd_enable
+       dh_systemd_enable --name=etc-setserial
        dh_strip
        dh_compress
        dh_fixperms
diff -Nru setserial-2.17/debian/setserial.etc-setserial.service 
setserial-2.17/debian/setserial.etc-setserial.service
--- setserial-2.17/debian/setserial.etc-setserial.service       1970-01-01 
01:00:00.000000000 +0100
+++ setserial-2.17/debian/setserial.etc-setserial.service       2016-07-02 
11:09:51.000000000 +0200
@@ -0,0 +1,13 @@
+[Unit]
+Documentation=man:setserial(8)
+Description=controls configuration of serial ports
+Before=system-getty.slice
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/etc/init.d/etc-setserial start
+ExecStop=/etc/init.d/etc-setserial stop
+
+[Install]
+WantedBy=multi-user.target

Reply via email to