Package: udhcpd
Version: 1:1.30.1-3
Severity: wishlist
Tags: patch
User: ru...@packages.debian.org
Usertags: runscript

Dear Maintainer,

please consider applying patch, that adds support for Runit supervision
system.

dpkg-source: warning: extracting unsigned source package 
(/home/iu/devel/salsa/debian/busybox_1.30.1-2.dsc)
dpkg-source: warning: extracting unsigned source package 
(/home/iu/devel/salsa/debian/busybox_1.30.1-3.dsc)
diff -Nru busybox-1.30.1/debian/changelog busybox-1.30.1/debian/changelog
--- busybox-1.30.1/debian/changelog     2019-03-02 08:11:13.000000000 +0000
+++ busybox-1.30.1/debian/changelog     2019-03-24 11:24:02.000000000 +0000
@@ -1,3 +1,9 @@
+busybox (1:1.30.1-3) UNRELEASED; urgency=medium
+
+  * Add runscript for Runit system.
+
+ -- Dmitry Bogatov <kact...@debian.org>  Sun, 24 Mar 2019 11:24:02 +0000
+
 busybox (1:1.30.1-2) unstable; urgency=high
 
   * Complete the fix for [CVE-2018-20679] Closes: #918846
diff -Nru busybox-1.30.1/debian/control busybox-1.30.1/debian/control
--- busybox-1.30.1/debian/control       2019-03-02 07:57:49.000000000 +0000
+++ busybox-1.30.1/debian/control       2019-03-24 11:24:02.000000000 +0000
@@ -5,7 +5,7 @@
 Uploaders:
  Chris Boot <bo...@debian.org>,
  Christoph Biedl <debian.a...@manchmal.in-ulm.de>,
-Build-Depends: debhelper (>= 11~), zip
+Build-Depends: debhelper (>= 11~), zip, dh-runit (>= 2.8.8)
 Standards-Version: 4.1.5
 Vcs-Git: https://salsa.debian.org/installer-team/busybox.git
 Vcs-Browser: https://salsa.debian.org/installer-team/busybox
@@ -123,6 +123,7 @@
  lsb-base,
  ${misc:Depends},
 Provides: dhcpd
+Breaks: ${runit:Breaks}
 Description: Provides the busybox DHCP server implementation
  Busybox contains a very small yet fully function RFC compliant DHCP
  server formerly known as udhcpd.
diff -Nru busybox-1.30.1/debian/rules busybox-1.30.1/debian/rules
--- busybox-1.30.1/debian/rules 2019-03-02 07:57:49.000000000 +0000
+++ busybox-1.30.1/debian/rules 2019-03-24 11:19:17.000000000 +0000
@@ -47,7 +47,7 @@
 export KCONFIG_NOTIMESTAMP=1
 
 %:
-       dh $@
+       dh $@ --with runit
 
 ##############################################################################
 
diff -Nru busybox-1.30.1/debian/udhcpd.runit busybox-1.30.1/debian/udhcpd.runit
--- busybox-1.30.1/debian/udhcpd.runit  1970-01-01 00:00:00.000000000 +0000
+++ busybox-1.30.1/debian/udhcpd.runit  2019-03-24 11:22:23.000000000 +0000
@@ -0,0 +1 @@
+debian/udhcpd.runscript name=udhcpd,logscript,since=1:1.30.1-3
diff -Nru busybox-1.30.1/debian/udhcpd.runscript 
busybox-1.30.1/debian/udhcpd.runscript
--- busybox-1.30.1/debian/udhcpd.runscript      1970-01-01 00:00:00.000000000 
+0000
+++ busybox-1.30.1/debian/udhcpd.runscript      2019-03-24 11:23:50.000000000 
+0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec /usr/sbin/udhcpd -f /etc/udhcpd.conf

Attachment: pgpGqW8136v5J.pgp
Description: PGP signature

Reply via email to