Commit 5d5eeec1 authored by A. Wilcox's avatar A. Wilcox Committed by Timo Teräs

main/iputils: modernise and mark as having no test suite

parent 130f9161
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iputils
pkgver=20121221
pkgrel=6
pkgrel=7
pkgdesc="IP Configuration Utilities (and Ping)"
url="http://www.linuxfoundation.org/en/Net:Iputils"
arch="all"
......@@ -22,26 +22,16 @@ source="http://www.skbuff.net/$pkgname/$pkgname-s$pkgver.tar.bz2
time.patch
fix-init-of-cmsg.patch
"
options=suid
_builddir="$srcdir"/$pkgname-s$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
options="!check suid"
builddir="$srcdir"/$pkgname-s$pkgver
build() {
cd "$_builddir"
make USE_GNUTLS=no KERNEL_INCLUDE=/usr/include || return 1
cd "$builddir"
make USE_GNUTLS=no KERNEL_INCLUDE=/usr/include
}
package() {
cd "$_builddir"
cd "$builddir"
for i in arping clockdiff ipg rarpd rdisc tftpd tracepath tracepath6; do
install -D -m755 $i "$pkgdir"/usr/sbin/$i
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment