/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 mandos-keygen

  • 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:
20
20
# Contact the authors at <mandos@fukt.bsnet.se>.
21
21
22
22
 
23
 
VERSION="1.0.1"
 
23
VERSION="1.0"
24
24
 
25
25
KEYDIR="/etc/keys/mandos"
26
26
KEYTYPE=DSA
289
289
        fi
290
290
    fi | gpg --quiet --batch --no-tty --no-options --enable-dsa2 \
291
291
        --homedir "$RINGDIR" --trust-model always --armor --encrypt \
292
 
        --sign --recipient "$FINGERPRINT" --comment "$FILECOMMENT" \
 
292
        --recipient "$FINGERPRINT" --comment "$FILECOMMENT" \
293
293
        > "$SECFILE"
294
294
    status="${PIPESTATUS[0]}"
295
295
    if [ "$status" -ne 0 ]; then