From 46e662806afd894147dafafa399ee62031d256dd Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Sun, 6 Sep 2015 21:18:20 +0200 Subject: install bash_completions manually, clean up conffile from prior versions --- debian/control | 2 +- debian/rules | 2 +- debian/ssh-agent-filter.bash-completion | 1 - debian/ssh-agent-filter.install | 2 ++ debian/ssh-agent-filter.links | 1 + debian/ssh-agent-filter.postinst | 7 +++++++ debian/ssh-agent-filter.postrm | 7 +++++++ debian/ssh-agent-filter.preinst | 7 +++++++ 8 files changed, 26 insertions(+), 3 deletions(-) delete mode 100644 debian/ssh-agent-filter.bash-completion mode change 100644 => 100755 debian/ssh-agent-filter.install create mode 100644 debian/ssh-agent-filter.links create mode 100644 debian/ssh-agent-filter.postinst create mode 100644 debian/ssh-agent-filter.postrm create mode 100644 debian/ssh-agent-filter.preinst diff --git a/debian/control b/debian/control index d2deecc..c10445b 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: ssh-agent-filter Section: net Priority: extra Maintainer: Timo Weingärtner -Build-Depends: debhelper (>= 9), nettle-dev, libgmp-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, bash-completion, help2man, pandoc +Build-Depends: debhelper (>= 9), dh-exec, nettle-dev, libgmp-dev, libboost-program-options-dev, libboost-filesystem-dev, libboost-iostreams-dev, bash-completion, help2man, pandoc Standards-Version: 3.9.6 Homepage: https://github.com/tiwe-de/ssh-agent-filter Vcs-Git: git://github.com/tiwe-de/ssh-agent-filter.git -b debian diff --git a/debian/rules b/debian/rules index c819273..7f478e0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,3 +1,3 @@ #!/usr/bin/make -f %: - dh $@ --with bash-completion --parallel + dh $@ --parallel diff --git a/debian/ssh-agent-filter.bash-completion b/debian/ssh-agent-filter.bash-completion deleted file mode 100644 index 7518e12..0000000 --- a/debian/ssh-agent-filter.bash-completion +++ /dev/null @@ -1 +0,0 @@ -ssh-agent-filter.bash-completion ssh-agent-filter diff --git a/debian/ssh-agent-filter.install b/debian/ssh-agent-filter.install old mode 100644 new mode 100755 index a5bdfc2..d48ecb8 --- a/debian/ssh-agent-filter.install +++ b/debian/ssh-agent-filter.install @@ -1,3 +1,5 @@ +#!/usr/bin/dh-exec afssh usr/bin ssh-agent-filter usr/bin ssh-askpass-noinput usr/bin +ssh-agent-filter.bash-completion => usr/share/bash-completion/completions/ssh-agent-filter diff --git a/debian/ssh-agent-filter.links b/debian/ssh-agent-filter.links new file mode 100644 index 0000000..7f029bf --- /dev/null +++ b/debian/ssh-agent-filter.links @@ -0,0 +1 @@ +usr/share/bash-completion/completions/ssh-agent-filter usr/share/bash-completion/completions/afssh diff --git a/debian/ssh-agent-filter.postinst b/debian/ssh-agent-filter.postinst new file mode 100644 index 0000000..fda1b84 --- /dev/null +++ b/debian/ssh-agent-filter.postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ssh-agent-filter 0.4.1-1~ -- "$@" + +#DEBHELPER# diff --git a/debian/ssh-agent-filter.postrm b/debian/ssh-agent-filter.postrm new file mode 100644 index 0000000..fda1b84 --- /dev/null +++ b/debian/ssh-agent-filter.postrm @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ssh-agent-filter 0.4.1-1~ -- "$@" + +#DEBHELPER# diff --git a/debian/ssh-agent-filter.preinst b/debian/ssh-agent-filter.preinst new file mode 100644 index 0000000..fda1b84 --- /dev/null +++ b/debian/ssh-agent-filter.preinst @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/ssh-agent-filter 0.4.1-1~ -- "$@" + +#DEBHELPER# -- cgit v1.2.3