=== modified file 'Makefile' --- Makefile 2008-09-19 20:54:58 +0000 +++ Makefile 2008-09-21 04:22:50 +0000 @@ -165,7 +165,7 @@ $(PREFIX)/lib/mandos/plugins.d if [ "$(CONFDIR)" != "$(PREFIX)/lib/mandos" ]; then \ install --mode=u=rwx \ - --directory "$(CONFDIR)/plugins.d" && \ + --directory "$(CONFDIR)/plugins.d"; \ fi install --mode=u=rwx,go=rx \ --target-directory=$(PREFIX)/lib/mandos plugin-runner === modified file 'debian/control' --- debian/control 2008-09-19 20:54:58 +0000 +++ debian/control 2008-09-21 04:22:50 +0000 @@ -3,15 +3,15 @@ Priority: extra Maintainer: Mandos Maintainers Build-Depends: debhelper (>= 7), docbook-xsl, libavahi-core-dev, - libgpgme11-dev, libgnutls-dev, xsltproc + libgpgme11-dev, libgnutls-dev, xsltproc, po-debconf Standards-Version: 3.8.0 Vcs-Bzr: ftp://anonymous@ftp.fukt.bsnet.se/pub/mandos/latest Homepage: http://www.fukt.bsnet.se/mandos Package: mandos Architecture: all -Depends: python (>=2.5), python-gnutls, python-dbus, python-avahi, - avahi-daemon, gnupg (< 2), adduser +Depends: ${misc:Depends}, python (>=2.5), python-gnutls, python-dbus, + python-avahi, avahi-daemon, gnupg (< 2), adduser Recommends: fping Description: a server giving encrypted passwords to Mandos clients This is the server part of the Mandos system, which allows @@ -30,7 +30,7 @@ Package: mandos-client Architecture: any -Depends: ${shlibs:Depends}, adduser, cryptsetup +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, cryptsetup Enhances: cryptsetup Description: do unattended reboots with an encrypted root file system This is the client part of the Mandos system, which allows === added file 'debian/mandos-client.config' --- debian/mandos-client.config 1970-01-01 00:00:00 +0000 +++ debian/mandos-client.config 2008-09-21 04:22:50 +0000 @@ -0,0 +1,27 @@ +#! /bin/sh +# +# config Mandos Debconf configuration. +# + +# Source debconf library. +. /usr/share/debconf/confmodule +if ! db_version 2.0; then + echo "mandos.config: need DebConf 2.0 or later" + exit 1 +fi + +set -e +umask 022 + +# Now, interaction. Batch it in case any front ends can use this. +db_beginblock + +# If this is a first time install then prompt +if [ "$1" = "configure" -a "$2" != "" ]; then + db_input high mandos-client/not-yet-configured || true +fi + +db_endblock +db_go || true + +exit 0 === added file 'debian/mandos-client.templates' --- debian/mandos-client.templates 1970-01-01 00:00:00 +0000 +++ debian/mandos-client.templates 2008-09-21 04:22:50 +0000 @@ -0,0 +1,8 @@ +Template: mandos-client/not-yet-configured +Type: note +_Description: Your system needs more configuration[ mandos-client] + Your system can not function as a Mandos client until a + password for this client has been added to the + configuration on the Mandos server. Please read + /usr/share/doc/mandos-client/README.Debian.gz to find out + how. === added file 'debian/mandos.README.Debian' --- debian/mandos.README.Debian 1970-01-01 00:00:00 +0000 +++ debian/mandos.README.Debian 2008-09-21 04:22:50 +0000 @@ -0,0 +1,7 @@ +The Mandos server cannot run without at least one configured client in +/etc/mandos/clients.conf. To create one, install the "mandos-client" +package on a client computer, and run "mandos-keygen --password" there +to get a config file stanza. Append that to /etc/mandos/clients.conf +on the Mandos server. + + -- Teddy Hogeborn , Sat, 20 Sep 2008 21:21:19 +0200 === added file 'debian/mandos.config' --- debian/mandos.config 1970-01-01 00:00:00 +0000 +++ debian/mandos.config 2008-09-21 04:22:50 +0000 @@ -0,0 +1,27 @@ +#! /bin/sh +# +# config Mandos Debconf configuration. +# + +# Source debconf library. +. /usr/share/debconf/confmodule +if ! db_version 2.0; then + echo "mandos.config: need DebConf 2.0 or later" + exit 1 +fi + +set -e +umask 022 + +# Now, interaction. Batch it in case any front ends can use this. +db_beginblock + +# If this is a first time install then prompt +if [ "$1" = "configure" -a "$2" != "" ]; then + db_input high mandos/not-yet-configured || true +fi + +db_endblock +db_go || true + +exit 0 === added file 'debian/mandos.prerm' --- debian/mandos.prerm 1970-01-01 00:00:00 +0000 +++ debian/mandos.prerm 2008-09-21 04:22:50 +0000 @@ -0,0 +1,38 @@ +#! /bin/sh +# prerm script for mandos +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|deconfigure) + if [ -x /etc/init.d/ssh ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d ssh stop + else + /etc/init.d/ssh stop + fi + fi + ;; + upgrade|failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# + +exit 0 === added file 'debian/mandos.templates' --- debian/mandos.templates 1970-01-01 00:00:00 +0000 +++ debian/mandos.templates 2008-09-21 04:22:50 +0000 @@ -0,0 +1,9 @@ +Template: mandos/not-yet-configured +Type: note +_Description: Your system needs more configuration[ mandos] + Your system has not yet been completely configured as a + Mandos server - clients need to be added to to + /etc/mandos/clients.conf. Please read + /usr/share/doc/mandos/README.Debian.gz to find out how. + . + (The server has not been started.) === added directory 'debian/po' === added file 'debian/po/POTFILES.in' --- debian/po/POTFILES.in 1970-01-01 00:00:00 +0000 +++ debian/po/POTFILES.in 2008-09-21 04:22:50 +0000 @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] mandos.templates +[type: gettext/rfc822deb] mandos-client.templates === added file 'debian/po/sv.po' --- debian/po/sv.po 1970-01-01 00:00:00 +0000 +++ debian/po/sv.po 2008-09-21 04:22:50 +0000 @@ -0,0 +1,66 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the mandos package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: 1.0\n" +"Report-Msgid-Bugs-To: mandos@packages.debian.org\n" +"POT-Creation-Date: 2008-09-20 23:01+0200\n" +"PO-Revision-Date: 2008-09-21 06:01+0200\n" +"Last-Translator: Teddy Hogeborn \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: note +#. Description +#: ../mandos.templates:1001 +msgid "Your system needs more configuration[ mandos]" +msgstr "Ditt system behöver ytterligare konfigurering" + +#. Type: note +#. Description +#: ../mandos.templates:1001 +#| msgid "" +#| "Your system has not yet been completely configured as a Mandos server - " +#| "you need to setup /etc/mandos/clients.conf. Please read /usr/share/doc/" +#| "mandos/README.Debian.gz to find out how." +msgid "" +"Your system has not yet been completely configured as a Mandos server - " +"clients need to be added to to /etc/mandos/clients.conf. Please read /usr/" +"share/doc/mandos/README.Debian.gz to find out how." +msgstr "" +"Ditt system är inte helt inställd som en Mandos-server än -\n" +"det behövs läggas till klienter i Mandos-serverns\n" +"inställingar. Var vänlig läs\n" +"/usr/share/doc/mandos-client/README.Debian.gz för att få\n" +"veta hur." + +#. Type: note +#. Description +#: ../mandos.templates:1001 +msgid "(The server has not been started.)" +msgstr "(Servern har inte startats.)" + +#. Type: note +#. Description +#: ../mandos-client.templates:1001 +msgid "Your system needs more configuration[ mandos-client]" +msgstr "Ditt system behöver ytterligare konfigurering" + +#. Type: note +#. Description +#: ../mandos-client.templates:1001 +msgid "" +"Your system can not function as a Mandos client until a password for this " +"client has been added to the configuration on the Mandos server. Please " +"read /usr/share/doc/mandos-client/README.Debian.gz to find out how." +msgstr "" +"Ditt system kan inte fungera som en Mandos-klient förrän\n" +"ett krypterat lösenord har lagts till i Mandos-serverns\n" +"inställingar. Var vänlig läs\n" +"/usr/share/doc/mandos-client/README.Debian.gz för att få\n" +"veta hur." === modified file 'debian/rules' --- debian/rules 2008-09-19 13:50:22 +0000 +++ debian/rules 2008-09-21 04:22:50 +0000 @@ -38,6 +38,7 @@ rm -f build-arch-stamp build-indep-stamp configure-stamp dh_auto_clean dh_clean + debconf-updatepo install: install-indep install-arch install-indep: @@ -64,7 +65,7 @@ dh_testroot dh_installchangelogs dh_installdocs -# dh_installdebconf + dh_installdebconf dh_link dh_strip dh_compress