#!/bin/bash # iputils # # Douglas Thrift # # $Id$ name=iputils version=021109 revision=0 categories=(base net) description='IP Configuration Utilities (and Ping)' url='ftp://ftp.inr.ac.ru/ip-routing/' depends=('base/iana-etc') sources=(http://www.tux.org/pub/net/ip-routing/$name-ss$version-try.tar.bz2 iputils.patch) sourcedir=$name function build() { gnu_patch iputils.patch || return $? gmake && gmake man || return $? install -dv $package/{{,s}bin,usr/s{bin,hare/man/man8}} || return $? install -v -m 4755 ping{,6} $package/bin || return $? install -v arping $package/sbin || return $? install -v -m 4755 traceroute6 $package/usr/sbin || return $? install -v tracepath{,6} clockdiff r{arpd,disc} ipg tftpd $package/usr/sbin || return $? install -v -m 0644 doc/!(setkey).8 $package/usr/share/man/man8 || return $? ln -sv ping.8 $package/usr/share/man/man8/ping6.8 }