/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos.config

  • Committer: Teddy Hogeborn
  • Date: 2008-09-30 07:23:39 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080930072339-jn15gyrtfpdk2dhx
* .bzrignore: Added "man" directory (created by "make install-html").

* Makefile: Add "common.ent" dependency to all manual pages.
  (htmldir, version, SED): New variables.
  (CFLAGS): Add -D option to define VERSION to $(version).
  (MANPOST, HTMLPOST): Use $(SED).
  (PROGS): Use $(CPROGS)
  (CPROGS): New; C-only programs.
  (objects): Use $(CPROGS).
  (common.ent, mandos, mandos-keygen): New targets; update version
                                       number to $(version).
  (clean): Use $(CPROGS).
  (check): Depend on "all".
  (install-html): Install to $(htmldir).

* common.ent: New file with "version" entity.

* mandos-clients.conf.xml: Use "common.ent".
* mandos-keygen.xml: - '' -
* mandos.conf.xml: - '' -
* mandos.xml: - '' -
* plugin-runner.xml: - '' -
* plugins.d/mandos-client.xml: - '' -
* plugins.d/password-prompt.xml: - '' -

* plugin-runner.c (argp_program_version): Use VERSION.
* plugins.d/mandos-client.c (argp_program_version): - '' -
* plugins.d/password-prompt.c (argp_program_version): - '' -

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
#
 
3
# config        Mandos Debconf configuration.
 
4
#
 
5
 
 
6
# Source debconf library.
 
7
. /usr/share/debconf/confmodule
 
8
if ! db_version 2.0; then
 
9
    echo "mandos.config: need DebConf 2.0 or later"
 
10
    exit 1
 
11
fi
 
12
 
 
13
set -e
 
14
umask 022
 
15
 
 
16
# Now, interaction.  Batch it in case any front ends can use this.
 
17
db_beginblock
 
18
 
 
19
# If this is a first time install then prompt 
 
20
if [ "$1" = "configure" -a "$2" != "" ]; then
 
21
        db_input high mandos/not-yet-configured || true
 
22
fi
 
23
 
 
24
db_endblock
 
25
db_go || true
 
26
 
 
27
exit 0