gentoo/net-analyzer
Cristian Othón Martínez Vera 29fb2cfd5a
net-analyzer/testssl: fix RDEPEND
```testssl.sh``` is a bash script, and the fixed dependencies matches with the used command line tools.

bash-3.2 is the minimum requirement.

    [ ${BASH_VERSINFO[0]} -le 3 ] && [ ${BASH_VERSINFO[1]} -le 1 ] && printf "\n\033[1;35m Minimum requirement is bash 3.2. You have $BASH_VERSION \033[m\n\n"  >&2 && exit $ERR_BASH

The following deps are taken from this function:

    check_base_requirements() {
         local binary=''
         local whitelist=' hexdump grep awk sed '

         for binary in 'hexdump' 'dd' 'grep' 'awk' 'tr' 'sed' 'wc' 'date' 'cat' 'ps' 'kill' 'head' 'tail' 'dirname';  do
              if ! type -p "${binary}" &> /dev/null; then
                   fatal "You need to install ${binary} for this program to work" $ERR_RESOURCE

* app-alternatives/awk: it's compatible with any awk version, it has workarounds for gawk
* sys-apps/coreutils - uses:
  - /usr/bin/cat
  - /usr/bin/date
  - /usr/bin/dd
  - /usr/bin/dirname
  - /usr/bin/head
  - /usr/bin/tail
  - /usr/bin/tr
  - /usr/bin/tty
  - /usr/bin/wc
* sys-apps/grep - uses:
  - /bin/grep
* sys-apps/sed - not included in RDEPEND, always available thanks to PMS
* sys-apps/util-linux - uses:
  - /usr/bin/hexdump
* sys-libs/ncurses - it doesn't link with any library (slot not needed), uses:
  - /usr/bin/tput
* sys-process/procps - uses:
  - /bin/kill
  - /bin/ps

Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
Part-of: https://github.com/gentoo/gentoo/pull/42658
Closes: https://github.com/gentoo/gentoo/pull/42658
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
2025-07-30 22:07:09 +02:00
..
2025-04-29 09:35:21 +02:00
2025-04-29 09:35:20 +02:00
2025-05-28 22:08:09 -04:00
2025-04-19 03:16:33 +01:00
2025-06-08 12:10:13 +01:00
2025-05-08 20:14:28 +03:00
2025-07-05 09:50:50 +03:00
2025-03-25 21:42:34 -07:00
2025-07-30 22:07:09 +02:00
2025-05-30 14:25:45 +02:00
2025-07-23 15:19:55 +02:00