summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-19 15:27:47 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-19 15:27:47 +0000
commit3840a482c7e7eb5d7e39752398b43c9e78695022 (patch)
treedcd31c2cb9ae5c4447c4e92dc979a91b04c81eec /debian
parent4dd70c433e99c6a38d9547ef7c20b2aaccb75c6e (diff)
downloaddropbear-3840a482c7e7eb5d7e39752398b43c9e78695022.tar.gz
Remove obselete documentation
--HG-- extra : convert_revision : c4ca3b12cdef1ae3b4ce36e36b4a2f4a77b167f6
Diffstat (limited to 'debian')
-rw-r--r--debian/compat1
-rw-r--r--debian/conffiles0
-rw-r--r--debian/dirs2
-rw-r--r--debian/docs2
-rw-r--r--debian/postinst90
-rw-r--r--debian/postrm45
6 files changed, 0 insertions, 140 deletions
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b8626c4..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-4
diff --git a/debian/conffiles b/debian/conffiles
deleted file mode 100644
index e69de29..0000000
--- a/debian/conffiles
+++ /dev/null
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index ca882bb..0000000
--- a/debian/dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index 724e084..0000000
--- a/debian/docs
+++ /dev/null
@@ -1,2 +0,0 @@
-README
-TODO
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index 010618d..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,90 +0,0 @@
-#! /bin/sh
-# postinst script for #PACKAGE#
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-#
-# quoting from the policy:
-# Any necessary prompting should almost always be confined to the
-# post-installation script, and should be protected with a conditional
-# so that unnecessary prompting doesn't happen if a package's
-# installation fails and the `postinst' is called with `abort-upgrade',
-# `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
- configure)
- if [ ! -e /etc/dropbear/dropbear_rsa_host_key ]; then
- if [ -f /etc/ssh/ssh_host_rsa_key ]; then
- echo "Converting existing OpenSSH RSA host key to Dropbear format."
- /usr/bin/dropbearconvert openssh dropbear /etc/ssh/ssh_host_rsa_key /etc/dropbear/dropbear_rsa_host_key
- else
- echo "Generating Dropbear RSA key. Please wait."
- /usr/bin/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
- fi
- fi
- if [ ! -e /etc/dropbear/dropbear_dss_host_key ]; then
- if [ -f /etc/ssh/ssh_host_dsa_key ]; then
- echo "Converting existing OpenSSH RSA host key to Dropbear format."
- /usr/bin/dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key /etc/dropbear/dropbear_dss_host_key
- else
- echo "Generating Dropbear DSS key. Please wait."
- /usr/bin/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
- fi
- fi
- if [ ! -s /etc/default/dropbear ]; then
- # check whether OpenSSH seems to be installed.
- if dpkg -l ssh >/dev/null 2>&1; then
- echo "OpenSSH appears to be installed. Setting /etc/default/dropbear"
- echo "so that Dropbear will not start by default. Edit this file to change"
- echo "this behaviour."
- echo "# disabled because OpenSSH is installed, change to NO_START=0 to enable Dropbear" > /etc/default/dropbear
- echo "NO_START=1" >> /etc/default/dropbear
- fi
- echo "# the TCP port that Dropbear listens on" >> /etc/default/dropbear
- echo "DROPBEAR_PORT=22" >> /etc/default/dropbear
- echo "# any additional arguments for Dropbear" >> /etc/default/dropbear
- echo "DROPBEAR_EXTRA_ARGS=" >> /etc/default/dropbear
- echo "# specify an optional banner file containing a message to be" >> /etc/default/dropbear
- echo "# sent to clients before they connect, such as \"/etc/issue.net\"" >> /etc/default/dropbear
- echo "DROPBEAR_BANNER=\"\"" >> /etc/default/dropbear
- echo "# RSA hostkey file (default: /etc/dropbear/dropbear_rsa_host_key" >> /etc/default/dropbear
- echo "#DROPBEAR_RSAKEY=\"/etc/dropbear/dropbear_rsa_host_key\"" >> /etc/default/dropbear
- echo "# DSS hostkey file (default: /etc/dropbear/dropbear_dss_host_key" >> /etc/default/dropbear
- echo "#DROPBEAR_DSSKEY=\"/etc/dropbear/dropbear_dss_host_key\"" >> /etc/default/dropbear
- fi
- if [ -e /etc/init.d/dropbear ]; then
- update-rc.d dropbear defaults >/dev/null
- /etc/init.d/dropbear restart
- fi
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-
-
-exit 0
-
-
diff --git a/debian/postrm b/debian/postrm
deleted file mode 100644
index da11dc4..0000000
--- a/debian/postrm
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/sh
-# postrm script for #PACKAGE#
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- if [ "$1" = "purge" ]
- then
- if [ -e /etc/dropbear ]; then
- rm -f /etc/dropbear/dropbear_rsa_host_key
- rm -f /etc/dropbear/dropbear_dss_host_key
- rmdir --ignore-fail-on-non-empty /etc/dropbear
- fi
- update-rc.d dropbear remove >/dev/null
- fi
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0