summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-12 20:31:09 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-12 20:31:09 +0100
commit83f3bf2eefbdd390a1c5e3d534f7f0784d995495 (patch)
tree7aa36e63292c0a64ff042b49c1426f1af2387b7d
parenta318f01734f3c34784863926d6561be53441ac52 (diff)
Lintian cleanup
-rw-r--r--debian/changelog10
-rw-r--r--debian/control2
-rw-r--r--debian/dirs2
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/watch3
5 files changed, 17 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 62e57a5..515238e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+openvpn (2.4~rc1-2) unstable; urgency=medium
+
+ * Make lintian happy:
+ - Update debian/watch
+ - Remove .gitignore file from samples
+ - Add Depends on lsb-base
+ - Move bash completion file to /usr/share
+
+ -- Alberto Gonzalez Iniesta <agi@inittab.org> Mon, 12 Dec 2016 20:20:09 +0100
+
openvpn (2.4~rc1-1) unstable; urgency=medium
* New upstream release
diff --git a/debian/control b/debian/control
index db9268b..379ded8 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: openvpn
Section: net
Priority: optional
Maintainer: Alberto Gonzalez Iniesta <agi@inittab.org>
-Build-Depends: debhelper (>= 7.0.50~), libssl1.0-dev, liblzo2-dev, libpam0g-dev, libpkcs11-helper1-dev, pkg-config, dpkg-dev (>= 1.16.1), iproute2 [linux-any], net-tools [!linux-any], dh-systemd (>= 1.5), libsystemd-dev [linux-any], systemd [linux-any]
+Build-Depends: debhelper (>= 7.0.50~), libssl1.0-dev, liblzo2-dev, libpam0g-dev, libpkcs11-helper1-dev, pkg-config, dpkg-dev (>= 1.16.1), iproute2 [linux-any], net-tools [!linux-any], dh-systemd (>= 1.5), libsystemd-dev [linux-any], systemd [linux-any], lsb-base (>= 3.0-6)
Standards-Version: 3.9.6
Homepage: http://www.openvpn.net/
Vcs-Git: git://anonscm.debian.org/collab-maint/openvpn.git
diff --git a/debian/dirs b/debian/dirs
index 1c4d07a..c715297 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -3,7 +3,7 @@ etc/openvpn/client
etc/openvpn/server
etc/network/if-up.d
etc/network/if-down.d
-etc/bash_completion.d
+usr/share/bash-completion/completions
usr/sbin
usr/share/man/man8
usr/share/doc/openvpn
diff --git a/debian/rules b/debian/rules
index 4e7fd39..cc08f5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,7 +56,9 @@ override_dh_auto_install:
# resolvconf script
install -m 755 debian/update-resolv-conf $(CURDIR)/debian/openvpn/etc/openvpn/update-resolv-conf
# bash completion
- install -m 644 debian/openvpn.bash_completion $(CURDIR)/debian/openvpn/etc/bash_completion.d/openvpn
+ install -m 644 debian/openvpn.bash_completion $(CURDIR)/debian/openvpn/usr/share/bash-completion/completions/openvpn
+ # remove gitignore file from samples
+ rm -f $(CURDIR)/debian/openvpn/usr/share/doc/openvpn/examples/sample-keys/.gitignore
override_dh_installexamples:
dh_installexamples
diff --git a/debian/watch b/debian/watch
index dd793fd..bffdf20 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-http://swupdate.openvpn.net/community/releases/ openvpn-(.*)\.tar\.gz
+http://openvpn.net/index.php/open-source/downloads.html \
+(?:|.*/)openvpn(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)