mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/inetutils/inetutils-{{version.marketing}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/inetutils
|
|
match: /inetutils-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
strip:
|
|
- /inetutils-/
|
|
- /.tar.gz/
|
|
|
|
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
|
|
|
|
test: test "$(telnet --version | head -n1)" = "telnet (GNU inetutils) {{version.marketing}}"
|