Package: autogen
Version: 1:5.18.5-2
Severity: grave
Tags: upstream
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?
Trying to run autogen on my def files fails consistently after upgrading
5.18.5. Downgrading to the .4 version works again.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
$ autogen ocpasswd-args.def

(the file is attached)


   * What was the outcome of this action?
Error in template /usr/share/autogen/optlib.tlib, line 780
        DEFINITIONS ERROR in /usr/share/autogen/optlib.tlib line 780 for
ocpasswd-args.h:
        Error:  value for opt passwd is `c'
must be single char or 'NUMBER'
Failing Guile command:  = = = = =

(error (sprintf
    "Error:  value for opt %s is `%s'\nmust be single char or 'NUMBER'"
    (get "name") (get "value")))

=================================

   * What outcome did you expect instead?
""

no output. The .c and .h files should have been generated.




-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autogen depends on:
ii  guile-2.0-libs  2.0.11+1-9
ii  libc6           2.19-18
ii  libopts25       1:5.18.5-2
ii  libopts25-dev   1:5.18.5-2
ii  libxml2         2.9.2+dfsg1-3

Versions of packages autogen recommends:
ii  autogen-doc  1:5.18.5-2

autogen suggests no packages.
AutoGen Definitions options;
prog-name     = ocpasswd;
prog-title    = "OpenConnect server password utility";
prog-desc     = "OpenConnect VPN server plain password file handling program.";
disable-save;
no-xlate = opt;
gnu-usage;
config-header = config.h;
long-opts;
no-misuse-usage;
short-usage   = "Usage: ocpasswd -c [passwd] [options] username\nocpasswd 
--help for usage instructions.\n";
explain       = "";
reorder-args;
argument      = "[username]";

detail  = "This program is openconnect password (ocpasswd) utility. It allows 
the generation
and handling of a 'plain' password file used by ocserv.";

copyright = {
    date  = "2013, 2014";
    owner = "Nikos Mavrogiannopoulos";
    author = "Nikos Mavrogiannopoulos";
    eaddr  = "openconnect-de...@lists.infradead.org";
    type  = gplv2;
};

flag = {
    name      = passwd;
    value     = c;
    arg-type  = file;
    descrip   = "Password file";
    doc   = "";
};

flag = {
    name      = groupname;
    value     = g;
    arg-type  = string;
    descrip   = "User's group name";
    doc   = "";
};

flag = {
    name      = delete;
    value     = d;
    descrip   = "Delete user";
    doc   = "Removes the specified user from the password file";
};

flag = {
    name      = lock;
    value     = l;
    descrip   = "Lock user";
    doc   = "Prevents the specified user from logging in";
};

flag = {
    name      = unlock;
    value     = u;
    descrip   = "Unlock user";
    doc   = "Re-enables login for the specified user";
};

help-value    = h;


doc-section = {
  ds-type = 'FILES';
  ds-format = 'texi';
  ds-text   = <<-_EOT_
@subheading Password file format
The password format of ocpasswd is as follows.

@example
username:groupname:encoded-password
@end example

The crypt(3) encoding is used for the encoded-password.

_EOT_;
};

doc-section = {
  ds-type = 'EXAMPLES';
  ds-format = 'texi';
  ds-text   = <<-_EOT_
@subheading Adding a user
@example
$ ocpasswd -c ocpasswd my_username
@end example

@subheading Locking a user
@example
$ ocpasswd -c ocpasswd -l my_username
@end example

@subheading Unlocking a user
@example
$ ocpasswd -c ocpasswd -u my_username
@end example
_EOT_;
};

doc-section = {
  ds-type   = 'SEE ALSO';
  ds-format = 'man';
  ds-text   = <<-_EOText_
ocserv(8), occtl(8)
_EOText_;
};

Reply via email to