kind: manual
depends:
- foundation.bst
- unmaintained/networking-utils/libpcap.bst
- unmaintained/networking-utils/libnet.bst
sources:
- kind: git
  url: upstream:iputils
  track: s20140519
  ref: d25e54e25107bc7c5d14737ed65f5f52b54f1472
config:
  configure-commands:
    (<):
    - sed -i "s/USE_GNUTLS=yes/USE_GNUTLS=no/" Makefile
  build-commands:
  - make
  - make ninfod
  install-commands:
  - install -D -m 755 clockdiff "%{install-root}%{prefix}"/bin/clockdiff
  - install -D -m 755 rdisc "%{install-root}%{prefix}"/bin/rdisc
  - install -D -m 755 tracepath "%{install-root}%{prefix}"/bin/tracepath
  - install -D -m 755 tracepath6 "%{install-root}%{prefix}"/bin/tracepath6
  - install -D -m 755 ninfod/ninfod "%{install-root}%{prefix}"/bin/ninfod
  - install -D -m 755 rarpd "%{install-root}%{prefix}"/bin/rarpd
  - install -D -m 755 traceroute6 "%{install-root}%{prefix}"/bin/traceroute6
  - install -D -m 755 arping "%{install-root}%{prefix}"/sbin/arping
  - install -D -m 755 tftpd "%{install-root}%{prefix}"/sbin/tftpd
  - install -D -m 755 ping "%{install-root}"/bin/ping
  - install -D -m 755 ping6 "%{install-root}"/bin/ping6
