From 880051903016a9118576e933bf99c33a4acb6c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 29 Jul 2018 22:21:33 +0200 Subject: New d/p/systemd.patch to remove obsolete syslog.target --- debian/changelog | 1 + debian/patches/series | 1 + debian/patches/systemd.patch | 29 +++++++++++++++++++++++++++++ debian/rules | 1 + 4 files changed, 32 insertions(+) create mode 100644 debian/patches/systemd.patch 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 +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 -- cgit v1.2.3