Your message dated Sat, 27 May 2017 20:38:42 +0000
with message-id <[email protected]>
and subject line unblock uanytun
has caused the Debian Bug report #863490,
regarding unblock: uanytun/0.3.6-2
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.)
--
863490: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863490
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
Please unblock package uanytun
The /etc/init.d/uanytun script did not source /lib/lsb/init-functions. The
systemd package provides /lib/lsb/init-functions.d/40-systemd to redirect
/etc/init.d/$script calls to systemctl.
When a init script sources the /lib/lsb/init-functions utility
we have to declare a dependency on lsb-base (>= 3.0-6).
See:
https://lintian.debian.org/tags/init.d-script-needs-depends-on-lsb-base.html
This patch includes an upstream commit which was commited after the release of
v0.3.6
Source:
https://git.spreadspace.org/anytun/uanytun.git/commit/?id=e84f028444822b2a185395a640c5e12da4db8454
And below the source debdiff. Thank you very much!
Regards,
- Darsha
% debdiff uanytun_0.3.6-1.dsc uanytun_0.3.6-2.dsc
diff -Nru uanytun-0.3.6/debian/changelog uanytun-0.3.6/debian/changelog
--- uanytun-0.3.6/debian/changelog 2017-01-26 08:47:07.000000000 +0100
+++ uanytun-0.3.6/debian/changelog 2017-05-08 01:11:49.000000000 +0200
@@ -1,3 +1,9 @@
+uanytun (0.3.6-2) unstable; urgency=medium
+
+ * [45680e6] Fix lintian-warning: init.d-script-does-not-source-init-functions
+
+ -- Darshaka Pathirana <[email protected]> Mon, 08 May 2017 01:11:49 +0200
+
uanytun (0.3.6-1) unstable; urgency=medium
* [43e4474] Bump debian compat version to 9
diff -Nru uanytun-0.3.6/debian/control uanytun-0.3.6/debian/control
--- uanytun-0.3.6/debian/control 2017-01-26 08:47:07.000000000 +0100
+++ uanytun-0.3.6/debian/control 2017-05-08 01:11:49.000000000 +0200
@@ -13,6 +13,7 @@
Package: uanytun
Architecture: any
Depends: adduser,
+ lsb-base (>= 3.0-6),
${misc:Depends},
${shlibs:Depends}
Description: tiny implementation of the secure anycast tunneling protocol
diff -Nru uanytun-0.3.6/debian/patches/01_source-init-functions.diff
uanytun-0.3.6/debian/patches/01_source-init-functions.diff
--- uanytun-0.3.6/debian/patches/01_source-init-functions.diff 1970-01-01
01:00:00.000000000 +0100
+++ uanytun-0.3.6/debian/patches/01_source-init-functions.diff 2017-05-08
01:11:49.000000000 +0200
@@ -0,0 +1,22 @@
+From e84f028444822b2a185395a640c5e12da4db8454 Mon Sep 17 00:00:00 2001
+From: Christian Pointner <[email protected]>
+Date: Mon, 16 Jan 2017 05:53:34 +0100
+Subject: source init-functions at initscript
+
+
+diff --git a/etc/init.d/uanytun b/etc/init.d/uanytun
+index 9071e5a..b8a8573 100755
+--- a/etc/init.d/uanytun
++++ b/etc/init.d/uanytun
+@@ -22,6 +22,8 @@ if [ -f /etc/default/uanytun ] ; then
+ . /etc/default/uanytun
+ fi
+
++. /lib/lsb/init-functions
++
+ start_vpn () {
+ STATUS="OK"
+ if [ -f $CONFIG_DIR/$VPNNAME/config ] ; then
+--
+cgit v0.10.2
+
diff -Nru uanytun-0.3.6/debian/patches/series
uanytun-0.3.6/debian/patches/series
--- uanytun-0.3.6/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ uanytun-0.3.6/debian/patches/series 2017-05-08 01:11:49.000000000 +0200
@@ -0,0 +1 @@
+01_source-init-functions.diff
unblock uanytun/0.3.6-2
-- System Information:
Debian Release: 8.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (99, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Unblocked uanytun.
--- End Message ---