Subversion Repositories lsh

Compare Revisions

Ignore whitespace Rev 101 → Rev 91

/trunk/debian/control
3,8 → 3,8
Priority: extra
Maintainer: Magnus Holmgren <holmgren@debian.org>
Uploaders: Stefan Pfetzing <dreamind@dreamind.de>
Standards-Version: 3.9.3
Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7), dh-autoreconf, automake,
Standards-Version: 3.9.1
Build-Depends: debhelper (>= 7), dh-autoreconf, automake,
libgmp-dev, zlib1g-dev | libz-dev, liboop-dev, libxau-dev, nettle-dev (>= 2.2~), nettle-bin,
texinfo (>= 4.2), guile-1.6 | scsh-0.6, heimdal-dev, libwrap0-dev | libwrap-dev,
libpam0g-dev | libpam-dev, libreadline-dev, m4
/trunk/debian/changelog
1,30 → 1,12
lsh-utils (2.0.4-dfsg-10) unstable; urgency=low
 
* Default to deleting host key on purge (Closes: #670433). It's only a
host key, not significant amounts of user-generated data, so there's
no good reason that a purge shouldn't delete it.
* Correct misspelling of debconf key, which caused the host key never to
be deleted.
* Add Italian debconf localization. (Closes: #666425). Thanks to
Beatrice Torracca and the Italian localization team.
* Read settings from /etc/default/lsh-server in the config script
(Closes: #620809) and add an EXTRA_ARGS variable that can be used to
specify additional arguments to lshd (Closes: #592595).
* Bump Standards-Version to 3.9.3.
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 30 Jun 2012 17:58:46 +0200
 
lsh-utils (2.0.4-dfsg-9) unstable; urgency=low
 
* serpent-byteorder.patch: Correct Serpent test case that depended on
broken Serpent implementation in Nettle prior to 2.2 (Closes: #646653,
I hope). Build-depend on nettle-dev >= 2.2 for the same reason.
broken Serpent implementation in Nettle prior to 2.2. Build-depend on
nettle-dev >= 2.2 for the same reason.
* Build-depend on libgmp-dev, which is now the real package, instead of
libgmp10-dev.
* Use dpkg-buildflags.
* Bump Standards-Version to 3.9.2.
 
-- Magnus Holmgren <holmgren@debian.org> Thu, 10 Nov 2011 23:19:52 +0100
-- Magnus Holmgren <holmgren@debian.org> Sun, 11 Sep 2011 00:40:58 +0200
 
lsh-utils (2.0.4-dfsg-8) unstable; urgency=low
 
/trunk/debian/rules
35,7 → 35,7
--enable-agent-forward --enable-ipv6 --enable-utmp \
--with-zlib --with-tcpwrappers --with-sshd1=/usr/sbin/sshd \
--with-x XAUTH_PROGRAM=/usr/bin/xauth \
$(shell DEB_LDFLAGS_MAINT_PREPEND="-Wl,-z,defs -Wl,--as-needed" dpkg-buildflags --export=configure)
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,-z,defs -Wl,--as-needed"
 
build: build-stamp
build-stamp: config.status
/trunk/debian/lsh-server.postinst
95,7 → 95,6
db_get "lsh-server/lshd_port"; LSHD_PORT="$RET"
db_get "lsh-server/sftp"; ENABLE_SFTP="$RET"
db_get "lsh-server/extra_args"; EXTRA_ARGS="$RET"
exec 3>&-
 
# OK, now make the config file
109,7 → 108,6
 
echo "LSHD_PORT=\"$LSHD_PORT\"" >>"$LSHD_DEFAULTS"
echo "ENABLE_SFTP=\"$ENABLE_SFTP\"" >> "$LSHD_DEFAULTS"
echo "EXTRA_ARGS=\"$EXTRA_ARGS\"" >> "$LSHD_DEFAULTS"
 
# Versions before 2.0.1cdbs-4 have a security issue, therefore
# have the random seed regenerated.
/trunk/debian/lsh-server.templates
21,14 → 21,11
 
Template: lsh-server/purge_hostkey
Type: boolean
Default: true
Default: false
_Description: Remove host key on purge?
When this package is installed, a host key is generated to authenticate
your host.
your host. This host key is not purged with the rest of the package by
default.
.
Please choose whether you want to purge the host key when the package
is removed.
 
Template: lsh-server/extra_args
Type: string
Description: Additional arguments to pass to lshd:
/trunk/debian/po/it.po
File deleted
/trunk/debian/po/templates.pot
11,12 → 11,13
#
# Developers do not need to manually edit POT or PO files.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2012-06-29 23:45+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
73,7 → 74,7
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
 
#. Type: boolean
/trunk/debian/po/pt.po
6,11 → 6,10
msgstr ""
"Project-Id-Version: lsh-utils\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:39+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2009-11-28 17:08+0100\n"
"Last-Translator: Rui Branco <ruipb@debianpt.org>\n"
"Language-Team: Portuguese <traduz@debianpt.org>\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
74,8 → 73,11
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Quando este pacote está instalado, uma chave da máquina é gerada de modo a autenticar a máquina."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"Quando este pacote está instalado, uma chave da máquina é gerada de modo a "
"autenticar a máquina. Esta chave por omissão não é removida com o resto do "
"pacote."
 
#. Type: boolean
#. Description
/trunk/debian/po/da.po
14,11 → 14,10
msgstr ""
"Project-Id-Version: lsh debconf\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:36+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2009-11-28 17:44+0100\n"
"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
"Language-Team: Danish <dansk@klid.dk>\n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
83,8 → 82,11
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Når denne pakke er installeret, vil der blive genereret en værtsnøgle til at autentificere din vært."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"Når denne pakke er installeret, vil der blive genereret en værtsnøgle til at "
"autentificere din vært. Denne værtsnøgle bliver som udgangspunkt ikke "
"slettet med resten af pakken."
 
#. Type: boolean
#. Description
/trunk/debian/po/cs.po
15,11 → 15,10
msgstr ""
"Project-Id-Version: lsh-utils 2.0.1-4\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:35+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2006-01-20 18:07+0100\n"
"Last-Translator: Martin Sin <martin.sin@seznam.cz>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
83,8 → 82,10
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Při instalaci balíčku je vytvořen klíč sloužící k ověření pravosti vašeho počítače."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"Při instalaci balíčku je vytvořen klíč sloužící k ověření pravosti vašeho "
"počítače. Tento klíč není implicitně odstraněn spolu se zbytkem balíčku."
 
#. Type: boolean
#. Description
/trunk/debian/po/ru.po
16,11 → 16,10
msgstr ""
"Project-Id-Version: lsh-utils_2.0.1-4.2_templates\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:40+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2006-01-21 16:05+0300\n"
"Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
84,8 → 83,10
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "При установке пакета создаётся ключ аутентификации данного хоста."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"При установке пакета создаётся ключ аутентификации данного хоста. По "
"умолчанию, данный ключ не удаляется при вычистке пакета."
 
#. Type: boolean
#. Description
/trunk/debian/po/es.po
29,11 → 29,10
msgstr ""
"Project-Id-Version: lsh-utils_2.0.4-dfsg-4\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:36+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2009-11-08 21:27+0100\n"
"Last-Translator: Shuko <felix_os69@hotmail.com>\n"
"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
99,8 → 98,11
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Cuando este paquete se instala, se genera una clave para autenticar su equipo."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"Cuando este paquete se instala, se genera una clave para autenticar su "
"equipo. Esta clave del equipo no se purga de forma predeterminada con el "
"resto del paquete."
 
#. Type: boolean
#. Description
/trunk/debian/po/fr.po
17,11 → 17,10
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:37+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2006-01-20 15:49+0100\n"
"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
90,8 → 89,11
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Lors de l'installation de ce paquet, une clé d'hôte est générée pour permettre l'authentification de votre serveur."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"Lors de l'installation de ce paquet, une clé d'hôte est générée pour "
"permettre l'authentification de votre serveur. Par défaut, cette clé d'hôte "
"n'est pas supprimée lorsque le paquet est complètement supprimé (purgé)."
 
#. Type: boolean
#. Description
/trunk/debian/po/de.po
15,11 → 15,10
msgstr ""
"Project-Id-Version: lsh-utils\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:36+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2005-11-15 07:00+0100\n"
"Last-Translator: Stefan Pfetzing <dreamind@dreamind.de>\n"
"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-15\n"
"Content-Transfer-Encoding: 8bit\n"
86,8 → 85,11
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Wenn dieses Packet installiert wird, wird ein Hostkey generiert, um den Rechner zu authentifizieren."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"Wenn dieses Packet installiert wird, wird ein Hostkey generiert, um den "
"Rechner zu authentifizieren. Dieser Hostkey wird beim entfernen des Packetes "
"standardmässig nicht mit dem Rest des Packetes gelöscht."
 
#. Type: boolean
#. Description
/trunk/debian/po/sv.po
7,11 → 7,10
msgstr ""
"Project-Id-Version: lsh-utils 2.0.2-1\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:40+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2006-02-06 20:24+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
75,8 → 74,11
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "När detta paket installeras, genereras en värdnyckel för att autentisera ditt värdsystem."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"När detta paket installeras, genereras en värdnyckel för att autentisera "
"ditt värdsystem. Denna värdnyckel tas som standard inte bort med resten av "
"paketet."
 
#. Type: boolean
#. Description
/trunk/debian/po/nl.po
15,11 → 15,10
msgstr ""
"Project-Id-Version: lsh-utils 2.0.1cdbs-4\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:39+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2009-11-28 17:44+0100\n"
"Last-Translator: Luk Claes <luk@debian.org>\n"
"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
83,8 → 82,11
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Wanneer dit pakket wordt geïnstalleerd, wordt er een host-sleutel aangemaakt om uw computer te authenticeren."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"Wanneer dit pakket wordt geïnstalleerd, wordt er een host-sleutel aangemaakt "
"om uw computer te authenticeren. Deze host-sleutel wordt standaard niet "
"verwijderd met de rest van het pakket."
 
#. Type: boolean
#. Description
/trunk/debian/po/ja.po
15,11 → 15,10
msgstr ""
"Project-Id-Version: lsh-utils 2.0.4-dfsg-4\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:45+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2009-11-28 17:25+0100\n"
"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
83,8 → 82,11
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "このパッケージがインストールされる際、ホストを認証するためのホスト鍵が生成されます。"
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"このパッケージがインストールされる際、ホストを認証するためのホスト鍵が生成さ"
"れます。このホスト鍵はデフォルトではパッケージの他のファイルと一緒に削除され"
"ません。"
 
#. Type: boolean
#. Description
/trunk/debian/po/nn.po
15,11 → 15,10
msgstr ""
"Project-Id-Version: lsh-utils_nn\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:39+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2009-11-28 17:53+0100\n"
"Last-Translator: Håvard Korsvoll <korsvoll@skulelinux.no>\n"
"Language-Team: Norwegian (Nynorsk) <i18n-nn@lister.ping.uio.no>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
41,12 → 40,7
"you will need to manually disable any other ssh servers you have running on "
"port 22, other than OpenSSH (from the `openssh-server' package). OpenSSH "
"will be automatically disabled, if you choose 22 here."
msgstr ""
"Standardport for lshd er 22. Viss du vil la lshd køyre på ein anna port, "
"oppgje den alternative porten her. Viss du oppgjev 22, må du manuelt slå av "
"andre ssh-tenarar du køyrer på port 22, andre enn OpenSSH (frå ssh-pakka), "
"og du vil bli spurd om du vil bruke lshd sin eigenskap til å vidarekople ssh "
"for å la ssh1 fungere som normalt."
msgstr "Standardport for lshd er 22. Viss du vil la lshd køyre på ein anna port, oppgje den alternative porten her. Viss du oppgjev 22, må du manuelt slå av andre ssh-tenarar du køyrer på port 22, andre enn OpenSSH (frå ssh-pakka), og du vil bli spurd om du vil bruke lshd sin eigenskap til å vidarekople ssh for å la ssh1 fungere som normalt."
 
#. Type: boolean
#. Description
81,15 → 75,14
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Når denne pakka blir installert, vil ein vertsnøkkel bli laga for å autentisere verten."
"host. This host key is not purged with the rest of the package by default."
msgstr "Når denne pakka blir installert, vil ein vertsnøkkel bli laga for å autentisere verten. Denne vertsnøkkelen blir ikkje fjerna saman med resten av pakka som standard."
 
#. Type: boolean
#. Description
#: ../lsh-server.templates:3001
#, fuzzy
msgid ""
"Please choose whether you want to purge the host key when the package is "
"removed."
msgstr ""
"Viss du vil fjerna han saman med pakka når den blir fjerna så må du oppgje "
"det her."
msgstr "Viss du vil fjerna han saman med pakka når den blir fjerna så må du oppgje det her."
/trunk/debian/po/vi.po
6,11 → 6,10
msgstr ""
"Project-Id-Version: lsh-utils 2.0.1-4\n"
"Report-Msgid-Bugs-To: lsh-utils@packages.debian.org\n"
"POT-Creation-Date: 2012-06-29 23:34+0200\n"
"PO-Revision-Date: 2012-06-29 23:41+0200\n"
"POT-Creation-Date: 2009-11-28 17:05+0100\n"
"PO-Revision-Date: 2009-11-28 17:43+0100\n"
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
"Language: vi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
76,8 → 75,10
#: ../lsh-server.templates:3001
msgid ""
"When this package is installed, a host key is generated to authenticate your "
"host."
msgstr "Khi cài đặt gói này, cũng tạo ra một khóa máy chủ, để xác thực máy của bạn."
"host. This host key is not purged with the rest of the package by default."
msgstr ""
"Khi cài đặt gói này, cũng tạo ra một khóa máy chủ, để xác thực máy của bạn. "
"Mặc định là khóa máy này không bị tẩy cùng với các phần gói khác."
 
#. Type: boolean
#. Description
/trunk/debian/lsh-server.init.d
53,7 → 53,7
start)
log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON \
-- --daemonic --port "$LSHD_PORT" $SFTP_FLAG $EXTRA_ARGS
-- --daemonic --port "$LSHD_PORT" $SFTP_FLAG
log_end_msg $?
;;
stop|graceful-stop)
69,7 → 69,7
start-stop-daemon --stop --retry HUP/1 --quiet --pidfile $PIDFILE \
--oknodo --exec $DAEMON &&
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON \
-- --daemonic --port "$LSHD_PORT" $SFTP_FLAG $EXTRA_ARGS
-- --daemonic --port "$LSHD_PORT" $SFTP_FLAG
log_end_msg $?
;;
status)
/trunk/debian/lsh-server.config
101,16 → 101,6
 
my $capb = &capb ('backup');
 
system {'sh'} 'sh', '-c', <<'EOF';
[ -e /etc/default/lsh-server ] || exit 0
. /etc/default/lsh-server
. /usr/share/debconf/confmodule
 
db_set lsh-server/lshd_port "$LSHD_PORT" || true
db_set lsh-server/sftp "$ENABLE_SFTP" || true
db_set lsh-server/extra_args "$EXTRA_ARGS" || true
EOF
 
if ($ARGV[0] eq "configure" || $ARGV[0] eq "reconfigure") {
&configure ();
}
/trunk/debian/lsh-server.postrm
20,9 → 20,11
if [ -f /usr/share/debconf/confmodule ] ; then
. /usr/share/debconf/confmodule
 
db_get "lsh-server/purge_hostkey" || true
db_get "lsh-server/purge_hostkeys" || true
 
PURGE_HOSTKEYS="$RET"
else
. /etc/default/lsh-server
fi
 
case "$1" in
57,7 → 59,7
 
if [ "$1" = "purge" ]; then
case "$PURGE_HOSTKEYS" in
true|TRUE|y*|Y*|"")
true|TRUE|y*|Y*)
rm -f /etc/lsh_host_key /etc/lsh_host_key.pub
;;
esac