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> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iputils pkgname=iputils
pkgver=20121221 pkgver=20121221
pkgrel=6 pkgrel=7
pkgdesc="IP Configuration Utilities (and Ping)" pkgdesc="IP Configuration Utilities (and Ping)"
url="http://www.linuxfoundation.org/en/Net:Iputils" url="http://www.linuxfoundation.org/en/Net:Iputils"
arch="all" arch="all"
...@@ -22,26 +22,16 @@ source="http://www.skbuff.net/$pkgname/$pkgname-s$pkgver.tar.bz2 ...@@ -22,26 +22,16 @@ source="http://www.skbuff.net/$pkgname/$pkgname-s$pkgver.tar.bz2
time.patch time.patch
fix-init-of-cmsg.patch fix-init-of-cmsg.patch
" "
options=suid options="!check suid"
_builddir="$srcdir"/$pkgname-s$pkgver 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
}
build() { build() {
cd "$_builddir" cd "$builddir"
make USE_GNUTLS=no KERNEL_INCLUDE=/usr/include || return 1 make USE_GNUTLS=no KERNEL_INCLUDE=/usr/include
} }
package() { package() {
cd "$_builddir" cd "$builddir"
for i in arping clockdiff ipg rarpd rdisc tftpd tracepath tracepath6; do for i in arping clockdiff ipg rarpd rdisc tftpd tracepath tracepath6; do
install -D -m755 $i "$pkgdir"/usr/sbin/$i install -D -m755 $i "$pkgdir"/usr/sbin/$i
done 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