Bug#931205: chkrootkit: Honor Single Unix Specification (SUS) by allowing multiple arguments to be grouped behind single `-`

2023-07-15 Thread Richard Lewis
On Fri, 28 Jun 2019 13:39:46 +0530 Avinash Sonawane 
wrote:

> As per SUS Utility syntax guideline 5[0], command-line utility should
allow
> multiple arguments to be grouped behind single `-` delimiter.

This is a valid request and would be reasonably straightforward for someone
to implement. The only complication is that Debian has added at least one
option over the years ( -s) so implementing this will require changes to
several other patches: it cant just be a simple patch to chkrootkit but
needs to update any existing patch that touches options.

So im not personally going to work on this any time soon. But patches are
welcome.


Bug#931205: chkrootkit: Honor Single Unix Specification (SUS) by allowing multiple arguments to be grouped behind single `-`

2019-06-28 Thread Avinash Sonawane
Package: chkrootkit
Version: 0.50-4+deb9u1
Severity: normal

Dear Maintainer,

As per SUS Utility syntax guideline 5[0], command-line utility should allow
multiple arguments to be grouped behind single `-` delimiter.

I have yet to come across the *nix utility which doesn't follow this
convention. Can we please honor the Single Unix Specification?

[0] https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/

$ chkrootkit -qn
Usage: ./chkrootkit [options] [test ...]
Options:
-hshow this help and exit
-Vshow version information and exit
-lshow available tests and exit
-ddebug
-qquiet mode
-xexpert mode
-r diruse dir as the root directory
-p dir1:dir2:dirN path for the external commands used by chkrootkit
-nskip NFS mounted dirs
$ chkrootkit -q -n

$



-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8), LANGUAGE=en_IN:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages chkrootkit depends on:
ii  binutils   2.28-5
ii  debconf [debconf-2.0]  1.5.61
ii  libc6  2.24-11+deb9u4
ii  net-tools  1.60+git20161116.90da8a0-1
ii  openssh-client 1:7.4p1-10+deb9u6
ii  procps 2:3.3.12-3+deb9u1

chkrootkit recommends no packages.

chkrootkit suggests no packages.

-- debconf information:
  chkrootkit/run_daily_opts: -q
  chkrootkit/diff_mode: false
  chkrootkit/run_daily: false