summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/README22
-rw-r--r--debian/changelog9
-rw-r--r--debian/control13
-rw-r--r--debian/copyright5
-rw-r--r--debian/openssh-known-hosts.cron.d2
-rw-r--r--debian/openssh-known-hosts.docs2
-rw-r--r--debian/openssh-known-hosts.examples1
-rw-r--r--debian/openssh-known-hosts.install4
-rw-r--r--debian/openssh-known-hosts.manpages1
-rwxr-xr-xdebian/rules12
10 files changed, 25 insertions, 46 deletions
diff --git a/debian/README b/debian/README
deleted file mode 100644
index 8a521a8..0000000
--- a/debian/README
+++ /dev/null
@@ -1,22 +0,0 @@
-Writing a source definition:
-============================
-
-Place a file in /etc/openssh-known-hosts/sources/. Its name must follow
-run-parts' conventions.
-
-Basic variables:
- * PLUGIN: name of the plugin to use
- * EXIT_IGNORE: space-seperated list of exitcodes which should be ignored, no
- update is performed for this source then (optional)
-
-
-Writing a plugin:
-=================
-
-Place an executeable in /usr/local/share/openssh-known-hosts/plugins. Your
-plugin gets the variables set in the source definition in its environment. The
-working directory will be set to the source's cache directory. All your plugin
-has to do is to create a file named "new". "current" must not be touched but
-can be used as a hint to skip downloading the same file again. stdout and
-stderr will be connected to "log", which will be output on error.
-
diff --git a/debian/changelog b/debian/changelog
index bfc242e..9df9cde 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+openssh-known-hosts (0.2) unstable; urgency=low
+
+ * Add examples.
+ * Add optional GnuPG verification in curl and rsync plugins.
+ * Upload to unstable (Closes: #534891)
+ * Rename update-known-hosts to update-$package and install it in /usr/sbin.
+
+ -- Timo Weingärtner <timo@tiwe.de> Sun, 28 Jun 2009 01:57:44 +0200
+
openssh-known-hosts (0.1) fsmi-lenny; urgency=low
* Initial Release.
diff --git a/debian/control b/debian/control
index 6f86622..e23b98f 100644
--- a/debian/control
+++ b/debian/control
@@ -4,14 +4,13 @@ Priority: extra
Maintainer: Timo Weingärtner <timo@tiwe.de>
Build-Depends: debhelper (>= 7)
Standards-Version: 3.8.1
-#Homepage: <insert the upstream URL, if relevant>
Package: openssh-known-hosts
Architecture: all
-Depends: dash, lockfile-progs, ${shlibs:Depends}, ${misc:Depends}
-Recommends: openssh-client
-Suggests: postgresql-client, rsync, curl
+Depends: dash, lockfile-progs, ${misc:Depends}
+Recommends: openssh-client, cron
+Suggests: postgresql-client, rsync, curl, gpgv
Description: known_hosts downloader for OpenSSH
- This package allows you to download public hostkeys from various sources and
- merge them together into one file for use by OpenSSH. Plugins for some types
- of sources are included, new plugins can easily be written.
+ This package allows you to download public hostkeys from multiple sources
+ and merge them together into one file for use by OpenSSH. Plugins for some
+ types of sources are included, new plugins can easily be written.
diff --git a/debian/copyright b/debian/copyright
index a60558a..0e558ce 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,6 @@
Copyright:
- <Copyright (C) 2009 Timo Weingärtner>
+ Copyright (C) 2009 Timo Weingärtner <timo@tiwe.de>
License:
@@ -21,6 +21,3 @@ License:
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
-The Debian packaging is (C) 2009, Timo Weingärtner <timo@tiwe.de> and
-is licensed under the GPL, see above.
-
diff --git a/debian/openssh-known-hosts.cron.d b/debian/openssh-known-hosts.cron.d
index d1fef7b..27f4f64 100644
--- a/debian/openssh-known-hosts.cron.d
+++ b/debian/openssh-known-hosts.cron.d
@@ -1,4 +1,4 @@
#
# Regular cron jobs for the openssh-known-hosts package
#
-0 * * * * root [ -x /usr/share/openssh-known-hosts/update-known-hosts ] && /usr/share/openssh-known-hosts/update-known-hosts
+0 * * * * root [ -x /usr/sbin/update-openssh-known-hosts ] && /usr/sbin/update-openssh-known-hosts
diff --git a/debian/openssh-known-hosts.docs b/debian/openssh-known-hosts.docs
index 2c0d173..ba8894c 100644
--- a/debian/openssh-known-hosts.docs
+++ b/debian/openssh-known-hosts.docs
@@ -1,2 +1,2 @@
-debian/README
+README
diff --git a/debian/openssh-known-hosts.examples b/debian/openssh-known-hosts.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/openssh-known-hosts.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/openssh-known-hosts.install b/debian/openssh-known-hosts.install
index 8e9375a..e7b7cf1 100644
--- a/debian/openssh-known-hosts.install
+++ b/debian/openssh-known-hosts.install
@@ -1,2 +1,2 @@
-update-known-hosts usr/share/openssh-known-hosts/
-plugins usr/share/openssh-known-hosts/
+update-openssh-known-hosts usr/sbin/
+plugins usr/share/openssh-known-hosts/
diff --git a/debian/openssh-known-hosts.manpages b/debian/openssh-known-hosts.manpages
new file mode 100644
index 0000000..6ae64ea
--- /dev/null
+++ b/debian/openssh-known-hosts.manpages
@@ -0,0 +1 @@
+update-openssh-known-hosts.8
diff --git a/debian/rules b/debian/rules
index bf240d0..f1516b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,20 +28,19 @@ configure-stamp:
touch configure-stamp
-#Architecture
build: build-arch build-indep
build-arch: build-arch-stamp
-build-arch-stamp: configure-stamp
+build-arch-stamp: configure-stamp
touch $@
build-indep: build-indep-stamp
-build-indep-stamp: configure-stamp
+build-indep-stamp: configure-stamp
touch $@
-clean:
+clean:
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp
@@ -73,16 +72,11 @@ binary-common:
dh_installchangelogs
dh_installdocs
dh_installexamples
-# dh_installmime
dh_installcron
dh_installman
- dh_link
- dh_strip
dh_compress
dh_fixperms
- dh_makeshlibs
dh_installdeb
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb