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.0 +
+++ busybox-1.30.1/debian/changelog 2019-03-24 11:24:02.0 +
@@ -1,3 +1,9 @@
+busybox (1:1.30.1-3) UNRELEASED; urgency=medium
+
+ * Add runscript for Runit system.
+
+ -- Dmitry Bogatov Sun, 24 Mar 2019 11:24:02 +
+
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.0 +
+++ busybox-1.30.1/debian/control 2019-03-24 11:24:02.0 +
@@ -5,7 +5,7 @@
Uploaders:
Chris Boot ,
Christoph Biedl ,
-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.0 +
+++ busybox-1.30.1/debian/rules 2019-03-24 11:19:17.0 +
@@ -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.0 +
+++ busybox-1.30.1/debian/udhcpd.runit 2019-03-24 11:22:23.0 +
@@ -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.0
+
+++ busybox-1.30.1/debian/udhcpd.runscript 2019-03-24 11:23:50.0
+
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec /usr/sbin/udhcpd -f /etc/udhcpd.conf
pgpGqW8136v5J.pgp
Description: PGP signature