summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/systemd.patch29
-rwxr-xr-xdebian/rules1
4 files changed, 32 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 0b4e2c8..fe7a601 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ openvpn (2.4.6-1) UNRELEASED; urgency=medium
- Bump minimum debhelper version in debian/control to >= 11.
* Declare compliance with Debian Policy 4.1.5 (No changes needed).
* New debian/patches/spelling_errors.patch to correct spelling errors.
+ * New debian/patches/systemd.patch to remove obsolete syslog.target.
* debian/changelog:
- Rewrite to DEP5 copyright format.
* debian/control:
diff --git a/debian/patches/series b/debian/patches/series
index e925012..a903d3d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ openvpn-pkcs11warn.patch
kfreebsd_support.patch
match-manpage-and-command-help.patch
spelling_errors.patch
+systemd.patch
diff --git a/debian/patches/systemd.patch b/debian/patches/systemd.patch
new file mode 100644
index 0000000..ccbecfd
--- /dev/null
+++ b/debian/patches/systemd.patch
@@ -0,0 +1,29 @@
+Description: remove syslog.target
+Author: Jörg Frings-Fürst <debian@jff.email>
+Last-Update: 2018-07-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/distro/systemd/openvpn-client@.service.in
+===================================================================
+--- trunk.orig/distro/systemd/openvpn-client@.service.in
++++ trunk/distro/systemd/openvpn-client@.service.in
+@@ -1,6 +1,6 @@
+ [Unit]
+ Description=OpenVPN tunnel for %I
+-After=syslog.target network-online.target
++After=network-online.target
+ Wants=network-online.target
+ Documentation=man:openvpn(8)
+ Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
+Index: trunk/distro/systemd/openvpn-server@.service.in
+===================================================================
+--- trunk.orig/distro/systemd/openvpn-server@.service.in
++++ trunk/distro/systemd/openvpn-server@.service.in
+@@ -1,6 +1,6 @@
+ [Unit]
+ Description=OpenVPN service for %I
+-After=syslog.target network-online.target
++After=network-online.target
+ Wants=network-online.target
+ Documentation=man:openvpn(8)
+ Documentation=https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage
diff --git a/debian/rules b/debian/rules
index a2e2395..034bd7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -61,6 +61,7 @@ override_dh_auto_install:
ifeq ($(DEB_HOST_ARCH_OS), linux)
cat debian/openvpn.conf >> $(CURDIR)/debian/openvpn/usr/lib/tmpfiles.d/openvpn.conf
endif
+ $(RM) $(CURDIR)/debian/openvpn/usr/share/doc/COPYING
override_dh_installexamples:
dh_installexamples