Your message dated Mon, 27 Jan 2014 23:33:34 +0000
with message-id <[email protected]>
and subject line Bug#716864: fixed in ppp 2.4.5+git20130610-4
has caused the Debian Bug report #716864,
regarding ppp: add systemd service file
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
716864: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716864
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ppp
Version: 2.4.5-5.2
Severity: normal
Tags: upstream
please accept this patch adding systemd support to ppp
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)
Kernel: Linux 3.4.0 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ppp depends on:
ii libc6 2.17-7
ii libpam-modules 1.1.3-9
ii libpam-runtime 1.1.3-9
ii libpam0g 1.1.3-9
ii libpcap0.8 1.4.0-2
ii procps 1:3.3.4-2
ppp recommends no packages.
ppp suggests no packages.
-- Configuration Files:
/etc/chatscripts/gprs [Errno 13] Permission denied: u'/etc/chatscripts/gprs'
/etc/chatscripts/pap [Errno 13] Permission denied: u'/etc/chatscripts/pap'
-- no debconf information
>From 3a34c10405f70173d54eaa990b411ee4a7d8a193 Mon Sep 17 00:00:00 2001
From: Shawn Landden <[email protected]>
Date: Sat, 13 Jul 2013 11:09:58 -0700
Subject: [PATCH] add systemd pppd-dns.service
---
debian/control | 2 +-
debian/ppp.pppd-dns | 22 ----------------------
debian/ppp.pppd-dns.init | 22 ++++++++++++++++++++++
debian/ppp.pppd-dns.service | 10 ++++++++++
debian/rules | 4 +++-
5 files changed, 36 insertions(+), 24 deletions(-)
delete mode 100644 debian/ppp.pppd-dns
create mode 100644 debian/ppp.pppd-dns.init
create mode 100644 debian/ppp.pppd-dns.service
diff --git a/debian/control b/debian/control
index 51c0bb3..95269c3 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: ppp
Section: admin
Priority: optional
Maintainer: Marco d'Itri <[email protected]>
-Build-Depends: debhelper (>= 5), quilt (>= 0.40), libpcap0.8-dev, libpam0g-dev, zlib1g-dev
+Build-Depends: debhelper (>= 5), quilt (>= 0.40), libpcap0.8-dev, libpam0g-dev, zlib1g-dev, dh-systemd
Standards-Version: 3.9.1
Package: ppp
diff --git a/debian/ppp.pppd-dns b/debian/ppp.pppd-dns
deleted file mode 100644
index 170156e..0000000
--- a/debian/ppp.pppd-dns
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh -e
-### BEGIN INIT INFO
-# Provides: pppd-dns
-# Required-Start: $local_fs
-# Required-Stop:
-# Default-Start: S
-# Default-Stop:
-# Short-Description: Restore resolv.conf if the system crashed.
-### END INIT INFO
-#
-# Restore /etc/resolv.conf if the system crashed before the ppp link
-# was shut down.
-
-case "$1" in
- start) ;;
- stop|restart|force-reload) exit 0 ;;
- *) echo "Usage: $0 {start|stop|restart|force-reload}" >&2; exit 1 ;;
-esac
-
-[ -x /etc/ppp/ip-down.d/0000usepeerdns ] \
- && exec /etc/ppp/ip-down.d/0000usepeerdns
-
diff --git a/debian/ppp.pppd-dns.init b/debian/ppp.pppd-dns.init
new file mode 100644
index 0000000..170156e
--- /dev/null
+++ b/debian/ppp.pppd-dns.init
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+### BEGIN INIT INFO
+# Provides: pppd-dns
+# Required-Start: $local_fs
+# Required-Stop:
+# Default-Start: S
+# Default-Stop:
+# Short-Description: Restore resolv.conf if the system crashed.
+### END INIT INFO
+#
+# Restore /etc/resolv.conf if the system crashed before the ppp link
+# was shut down.
+
+case "$1" in
+ start) ;;
+ stop|restart|force-reload) exit 0 ;;
+ *) echo "Usage: $0 {start|stop|restart|force-reload}" >&2; exit 1 ;;
+esac
+
+[ -x /etc/ppp/ip-down.d/0000usepeerdns ] \
+ && exec /etc/ppp/ip-down.d/0000usepeerdns
+
diff --git a/debian/ppp.pppd-dns.service b/debian/ppp.pppd-dns.service
new file mode 100644
index 0000000..fda0eef
--- /dev/null
+++ b/debian/ppp.pppd-dns.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Restore /etc/resolv.conf if the system crashed before the ppp link was shut down.
+
+[Service]
+Type=oneshot
+ExecStart=/etc/ppp/ip-down.d/0000usepeerdns
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/debian/rules b/debian/rules
index a4829c2..d698df2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -108,8 +108,10 @@ binary-arch: install
dh_installman extra/pon.1 extra/pppoe-discovery.8
dh_link
dh_installlogrotate
- dh_installinit --init-script=pppd-dns --no-start \
+ dh_systemd_enable -pppp pppd-dns.service
+ dh_installinit --name=pppd-dns --no-start \
--update-rcd-params='start 38 S .'
+ dh_systemd_start
dh_installpam
ifdef BUILD_UDEB
--
1.8.3.2
--- End Message ---
--- Begin Message ---
Source: ppp
Source-Version: 2.4.5+git20130610-4
We believe that the bug you reported is fixed in the latest version of
ppp, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Boot <[email protected]> (supplier of updated ppp package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 27 Jan 2014 22:17:11 +0000
Source: ppp
Binary: ppp ppp-udeb ppp-dev
Architecture: source amd64 all
Version: 2.4.5+git20130610-4
Distribution: unstable
Urgency: medium
Maintainer: Marco d'Itri <[email protected]>
Changed-By: Chris Boot <[email protected]>
Description:
ppp - Point-to-Point Protocol (PPP) - daemon
ppp-dev - Point-to-Point Protocol (PPP) - development files
ppp-udeb - Point-to-Point Protocol (PPP) - package for Debian Installer
(udeb)
Closes: 425163 458646 716864 727162
Changes:
ppp (2.4.5+git20130610-4) unstable; urgency=medium
.
* Remove obsolete --update-rcd-params from dh_installinit. (Closes: #727162)
* Remove obsolete Build-Depends on quilt.
* Add systemd service file for ppp-dns: (Closes: #716864)
- Build-Depend on dh-systemd
- Use dh_installinit --name instead of --init-script
- Add dh_systemd_enable and dh_systemd_start to debian/rules
Thanks to Shawn Landden for providing a patch.
* Add LSB Description header to init script.
* Make init script source /lib/lsb/init-functions for systemd compatibility.
* Override a number of lintian tags:
- init.d-script-does-not-implement-optional-option etc/init.d/pppd-dns
status
- non-standard-dir-perm etc/chatscripts/ and etc/ppp/peers/
- package-contains-readme-for-other-platform-or-distro
usr/share/doc/ppp/README.win9x
- setuid-binary usr/sbin/pppd
- debian-watch-may-check-gpg-signature
See the lintian overrides files for reasoning.
* Add support for arbitrary interface naming: (Closes: #458646)
- Add debian/patches/ppp-2.4.2-ifname.diff based on openSUSE patch.
* Fix a potential buffer overflow in the radius plugin:
- Add debian/patches/ppp-2.4.4-strncatfix.patch from openSUSE.
* Update debian/copyright:
- Add myself to the list of maintainers
- Change reference to GPL symlink license to GPL-2
* Update Standards-Version to 3.9.5 (no changes required).
* Refresh debian/patches/cifdefroute.dif from OpenSUSE (Closes: #425163) and
add patch header.
Checksums-Sha1:
d2cd3dd15d7b6a7fa8fced4c1887c6530e9475ae 2180 ppp_2.4.5+git20130610-4.dsc
738174b843991efa5caa73e37c5692e442b8d9f9 81556
ppp_2.4.5+git20130610-4.debian.tar.xz
b66ee6ed47daa91fb82912e2df14d56d799c02b9 330162
ppp_2.4.5+git20130610-4_amd64.deb
8753523036c97d83b52eadb3a03f460a2771bd78 118326
ppp-udeb_2.4.5+git20130610-4_amd64.udeb
f083240eff90f46a27398d2800c44b974b5728fd 54066
ppp-dev_2.4.5+git20130610-4_all.deb
Checksums-Sha256:
953cb754656d6b723856548b125619174147833fac91fb4bb07098c788537520 2180
ppp_2.4.5+git20130610-4.dsc
58bc42b783bb3e9aad6551e743634e4357bad1d5439c443e20a911f748a5e2b2 81556
ppp_2.4.5+git20130610-4.debian.tar.xz
ab2568d5fefe5a836172bf0012dcc3f58c1b1e0a12b52d52ff335a2cbdce0c81 330162
ppp_2.4.5+git20130610-4_amd64.deb
dfe96d87eff18947f96d9fd99025762e52397f358bd374e42c228544e11498cc 118326
ppp-udeb_2.4.5+git20130610-4_amd64.udeb
68df52fc4ebf636d39ea608ecb0eb85d49b36aa24f1d399c94c8735868b807d6 54066
ppp-dev_2.4.5+git20130610-4_all.deb
Files:
69ff8b9b1415a4add0addaa8a4aa6032 2180 admin optional
ppp_2.4.5+git20130610-4.dsc
24bc105ef53a93c1b9a3ce5f11e7f67f 81556 admin optional
ppp_2.4.5+git20130610-4.debian.tar.xz
3e76b1c735266218695d48faca731722 330162 admin optional
ppp_2.4.5+git20130610-4_amd64.deb
c82b560afd4f445348e3e7f4be5069af 118326 debian-installer optional
ppp-udeb_2.4.5+git20130610-4_amd64.udeb
710b59109e5ef1726d8afc9b6cf045ac 54066 devel extra
ppp-dev_2.4.5+git20130610-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQJ8BAEBCgBmBQJS5usfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxNjBCQzVCNDIwQjZGNUZCQTRCM0Q1MTBG
RTY4NTlEODdFQUU4QzgyAAoJEP5oWdh+royCrQgP/jgC4oXvffcVG20lECP07bxe
9VcDAYuEfCKpTytzGPUmPWDu2m9vcnZPNBWQcyYJpEFUfNHZX+6GYP3RLTOTNYeC
BkLdI4MuTfaGjOLN0w4o76gzJDHl8FD22Ontj/JlQvDUSIvAgBdpq0kcMGD+61H/
Z28dSM/7jpHBS7aKgS7/bJbZY9dPcPcamUAqNU9YAvD9AAWsUOCrvm3sIUPsN5Io
+dHzoGQzlnzU10+au0i+ZMszTCP+e2R4ZmtbNdh9EW5ihkv/iMhN/0uZrtBMtpPM
Q8sinb9xlXkRgH6VgQt0Gz9P0VjSinnnx3SCokA2IljOQBD8ZLr3ca55/vt8TJGz
4Fb+C3v2tlTZfcY2nV47zgGFH2K1pbarxgsAIY6FscDeGlapngAp5LofwswJXVms
hI6Uxr+x16uO8U1hH/iMHQnodDC7bCCfk5YQhKquc/ci9C3L+ts9cR/nIl7f8qxI
veNjy2iVLddEFduqjy9gUuAR3SpzgDawIaWetZRBMa9I8+s0DBE1TrB9aSdVDRcI
nP2JDjFMU0YjZZyyXyREI0RXwEUu3V9HqOSoLcr5Dt81SVbb1C/GxY66PAg4gZGr
52rL8sghn1BWPmKd2CksSfl/lchZ8K/de/J4tW4zicVJNh6R7GinfCXZa2VRAxAi
b7wNS1r9r5uFl5OhbMAl
=YrNm
-----END PGP SIGNATURE-----
--- End Message ---