/mandos/release

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

Convert some programs to use the exit codes from <sysexits.h>.  Change
all programs using the "argp" parsing functions to use them correctly;
checking return value, using argp_error() to report parse errors etc.

* plugin-runner.c: Use <sysexits.h> exit codes.  Always use fallback,
                   even on option errors, except for "--help", etc.
  (getplugin): Make sure "errno" is set correctly on return.
  (main): Declare our own "--help", "--usage", and "--version"
          options which do not cause the fallback to be invoked.
          In all other options, use fallback on any error.
  (parse_opt, parse_opt_config_file): Reset errno at start and return
                                      errno.  No need to check "arg"
                                      for NULL.  New "--help",
                                      "--usage", and "--version"
                                      options.
  (parse_opt): Accept empty string as global option.  Do not print
               errors which will be detected and reported later.  Do
               "argp_error()" on parse error or empty plugin names.
* plugins.d/mandos-client.c: Use <sysexits.h> exit codes.  Do not
                             return successful exit code on "--help",
                             etc. since this would give the wrong
                             message to "plugin-runner".
  (main): Declare our own "--help", "--usage", and "--version"
          options which do not return a successful exit code.
  (parse_opt): Reset errno at start and return errno.  Do
               "argp_error()" on parse errors.  New "--help",
               "--usage", and "--version" options.
* plugins.d/password-prompt.c: Use exit codes from <sysexits.h>.  Do
                               not return successful exit code on
                               "--help", etc. since this would give
                               the wrong message to "plugin-runner".
  (main): Declare our own "--help", "--usage", and "--version" options
          which do not return a successful exit code.  Do
          close(STDOUT_FILENO) after writing to check its return code.
  (parse_opt): Reset errno at start and return errno.
Filename Latest Rev Last Changed Committer Comment Size
..
po 199 16 years ago Teddy Hogeborn * Makefile: Bug fix: fix syntax error. * debian/c Diff
changelog 237.2.155 15 years ago Teddy Hogeborn Merge from release branch. 5 KB Diff Download File
compat 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 2 bytes Diff Download File
control 237.2.133 15 years ago Teddy Hogeborn * debian/control (Standards-Version): Updated to " 2.3 KB Diff Download File
copyright 237.2.9 15 years ago Teddy Hogeborn * README: Update copyright year; add "2009". * deb 1.1 KB Diff Download File
mandos-client.dirs 237.2.65 15 years ago Teddy Hogeborn * Makefile (install-client-nokey): Move "initramfs 147 bytes Diff Download File
mandos-client.docs 234 16 years ago Teddy Hogeborn * debian/mandos-client.docs (NEWS): Added. * debia 17 bytes Diff Download File
mandos-client.links 191 16 years ago Teddy Hogeborn * debian/mandos-client.docs: New. Add README and 93 bytes Diff Download File
mandos-client.lintian-overrides 237.2.40 15 years ago Teddy Hogeborn * debian/mandos-client.lintian-overrides: Remove o 1.3 KB Diff Download File
mandos-client.postinst 237.2.111 15 years ago Teddy Hogeborn * debian/mandos-client.postinst (configure): Don't 2 KB Diff Download File
mandos-client.postrm 237.2.38 15 years ago Teddy Hogeborn * debian/mandos-client.postinst: Converted to Bour 1.2 KB Diff Download File
mandos-client.README.Debian 237.2.129 15 years ago Teddy Hogeborn * debian/mandos-client.README.Debian: Improved wor 3.5 KB Diff Download File
mandos.dirs 185 16 years ago Teddy Hogeborn * .bzr-builddeb/default.conf: New. * Makefile (in 70 bytes Diff Download File
mandos.docs 234 16 years ago Teddy Hogeborn * debian/mandos-client.docs (NEWS): Added. * debia 17 bytes Diff Download File
mandos.lintian-overrides 221 16 years ago Teddy Hogeborn * debian/changelog: New Debian revision. * debian 203 bytes Diff Download File
mandos.postinst 237.2.110 15 years ago Teddy Hogeborn * debian/mandos.postinst (configure): Don't look f 1.2 KB Diff Download File
mandos.prerm 237.2.38 15 years ago Teddy Hogeborn * debian/mandos-client.postinst: Converted to Bour 876 bytes Diff Download File
mandos.README.Debian 237.2.129 15 years ago Teddy Hogeborn * debian/mandos-client.README.Debian: Improved wor 427 bytes Diff Download File
File rules 237.2.39 15 years ago Teddy Hogeborn * debian/rules (install-indep): Removed "--no-star 2.2 KB Diff Download File
watch 237.2.32 15 years ago Teddy Hogeborn * debian/watch: New file. * debian/mandos-client. 96 bytes Diff Download File