diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-08-16 23:35:47 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-28 08:40:45 +0000 |
commit | 5d5eeec136f9b92a3a146954dbc5890f2a8a68f7 (patch) | |
tree | 73921da81127b60d53b9e3815cfff726ff767298 /main/iputils | |
parent | 130f916153c1acfbfb9cb37c26b75e720a5b2741 (diff) | |
download | aports-5d5eeec136f9b92a3a146954dbc5890f2a8a68f7.tar.bz2 aports-5d5eeec136f9b92a3a146954dbc5890f2a8a68f7.tar.xz |
main/iputils: modernise and mark as having no test suite
Diffstat (limited to 'main/iputils')
-rw-r--r-- | main/iputils/APKBUILD | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/main/iputils/APKBUILD b/main/iputils/APKBUILD index 0b5dd755cd..89d96fb60c 100644 --- a/main/iputils/APKBUILD +++ b/main/iputils/APKBUILD @@ -1,7 +1,7 @@ # 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 |