mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+gnu.org/inetutils (#860)
* +gnu.org/inetutils * Removed g prefix, symlinked libexec binaries to sbin, moved libidn to a runtime dependency * Fixed test. It has a 'missing executables:' error on my computer. Is it a bug? * Fixed symlinks * add ncurses (for bin/talk) --------- Co-authored-by: James Reynolds <magnsuviri@me.com> Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
70d7559112
commit
ab17c08e03
1 changed files with 63 additions and 0 deletions
63
projects/gnu.org/inetutils/package.yml
Normal file
63
projects/gnu.org/inetutils/package.yml
Normal file
|
@ -0,0 +1,63 @@
|
|||
distributable:
|
||||
url: https://ftp.gnu.org/gnu/inetutils/inetutils-{{version.marketing}}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
#TODO HTML listing: https://ftp.gnu.org/gnu/inetutils
|
||||
- 2.4
|
||||
|
||||
dependencies:
|
||||
gnu.org/libidn2: '*'
|
||||
invisible-island.net/ncurses: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
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:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
ls -al
|
||||
test "$(telnet --version | head -n1)" = "telnet (GNU inetutils) {{version.marketing}}"
|
Loading…
Reference in a new issue