From 7fb5c57c9a7573a1aeb881d5a3a6f0437292fa11 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Fri, 22 Jun 2018 03:30:12 +0000 Subject: system/net-tools: [PD] enable features, fix maintainer, modernize --- system/net-tools/APKBUILD | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) (limited to 'system/net-tools') diff --git a/system/net-tools/APKBUILD b/system/net-tools/APKBUILD index 6e2e9fdf4..bbe35e72d 100644 --- a/system/net-tools/APKBUILD +++ b/system/net-tools/APKBUILD @@ -1,34 +1,31 @@ -# Maintainer: Natanael Copa +# Contributor: Natanael Copa +# Maintainer: Dan Theisen pkgname=net-tools pkgver=1.60_git20140218 _ver=${pkgver%_git*} -pkgrel=2 +pkgrel=3 pkgdesc="Linux networking base tools" url="https://sourceforge.net/projects/net-tools/" arch="all" -license="GPL-2.0" +license="GPL-2.0+" depends="mii-tool" depends_dev="" -makedepends="$depends_dev bash linux-headers" -options="!check" +# we need gettext for 'msgfmt' +makedepends="$depends_dev bash linux-headers bluez-dev" +options="!check" # there is no testsuite for this package install="" -subpackages="$pkgname-doc $pkgname-dbg mii-tool:mii_tool" -source="https://downloads.sourceforge.net/project/net-tools/net-tools-$_ver.tar.bz2 +subpackages="$pkgname-doc $pkgname-lang $pkgname-dbg mii-tool:mii_tool" +source="https://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2 git.patch musl-fixes.patch " -builddir="$srcdir"/net-tools-$_ver +builddir="$srcdir"/$pkgname-$_ver 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 + default_prepare cat > config.make <