2023-04-01 00:02:06 +03:00
|
|
|
distributable:
|
2023-05-08 18:17:44 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/inetutils/inetutils-{{version.marketing}}.tar.gz
|
2023-04-01 00:02:06 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-08 18:17:44 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/inetutils
|
|
|
|
match: /inetutils-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /inetutils-/
|
|
|
|
- /.tar.gz/
|
2023-04-01 00:02:06 +03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
gnu.org/libidn2: '*'
|
|
|
|
invisible-island.net/ncurses: '*'
|
|
|
|
|
|
|
|
build:
|
|
|
|
script: |
|
|
|
|
./configure $ARGS
|
|
|
|
make SUIDMODE= install
|
|
|
|
mkdir "{{prefix}}"/sbin
|
|
|
|
cd "{{prefix}}"/libexec
|
|
|
|
for x in *; do ln -s ../libexec/$x ../sbin; done
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --prefix="{{prefix}}"
|
|
|
|
- --disable-silent-rules
|
|
|
|
- --with-idn
|
|
|
|
- --with-ncurses-include-dir="{{ deps.invisible-island.net/ncurses.prefix }}/include"
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/dnsdomainname
|
|
|
|
- bin/ftp
|
|
|
|
- bin/hostname
|
|
|
|
- bin/ifconfig
|
|
|
|
- bin/logger
|
|
|
|
- bin/ping
|
|
|
|
- bin/ping6
|
|
|
|
- bin/rcp
|
|
|
|
- bin/rexec
|
|
|
|
- bin/rlogin
|
|
|
|
- bin/rsh
|
|
|
|
- bin/talk
|
|
|
|
- bin/telnet
|
|
|
|
- bin/tftp
|
|
|
|
- bin/traceroute
|
|
|
|
- bin/whois
|
|
|
|
- sbin/ftpd
|
|
|
|
- sbin/inetd
|
|
|
|
- sbin/rexecd
|
|
|
|
- sbin/rlogind
|
|
|
|
- sbin/rshd
|
|
|
|
- sbin/syslogd
|
|
|
|
- sbin/talkd
|
|
|
|
- sbin/telnetd
|
|
|
|
- sbin/tftpd
|
|
|
|
- sbin/uucpd
|
|
|
|
|
2023-10-02 03:41:57 +03:00
|
|
|
test: test "$(telnet --version | head -n1)" = "telnet (GNU inetutils) {{version.marketing}}"
|