aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2021-06-07 06:55:22 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2021-06-07 06:56:02 +0000
commit4aa0249665752d95a0933dfd8727d1f5d96318c1 (patch)
tree898d77527c76a36b73eae97b2bb666d268e60bb9
parent8d2d3c00eb68c9abe071bf9eb40c0f27b549b4a8 (diff)
downloadaports-4aa0249665752d95a0933dfd8727d1f5d96318c1.tar.gz
aports-4aa0249665752d95a0933dfd8727d1f5d96318c1.tar.bz2
aports-4aa0249665752d95a0933dfd8727d1f5d96318c1.tar.xz
community/dhcp-probe: upgrade to 1.3.1
added -openrc subpackage added check() to APKBUILD
-rw-r--r--community/dhcp-probe/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/community/dhcp-probe/APKBUILD b/community/dhcp-probe/APKBUILD
index e9ad954d9b..39c7a3ed57 100644
--- a/community/dhcp-probe/APKBUILD
+++ b/community/dhcp-probe/APKBUILD
@@ -2,29 +2,28 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=dhcp-probe
_pkgname=dhcp_probe
-pkgver=1.3.0
-pkgrel=6
+pkgver=1.3.1
+pkgrel=0
pkgdesc="Allows network administrators to make calculations that will assist in subnetting a network"
url="https://www.net.princeton.edu/software/dhcp_probe/"
arch="all"
license="GPL"
makedepends="libnet-dev libpcap-dev"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-openrc"
source="http://www.net.princeton.edu/software/$_pkgname/$_pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd"
builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- default_prepare
- update_config_guess
- update_config_sub
-}
-
build() {
./configure --prefix=/usr
make
}
+
+check() {
+ make check
+}
+
package() {
make DESTDIR="$pkgdir" install
mkdir -p "$srcdir"/etc/dhcp-probe
@@ -38,6 +37,8 @@ package() {
done
}
-sha512sums="d643012529ee5149adbc0c1f19f8e579c55201e86de2aec9b3313be9412db4e973162f864d1baaf79fa340b7bd9a7385f0f1406d1b616e801ced3c7bb387c854 dhcp_probe-1.3.0.tar.gz
+sha512sums="
+1002683e6ceb3806289fa9e4879be3d957a9ddc42656d7114942708560f8efba0db058137e04cad092e5a083900987aa1f76c5a7c20db4b57c104dd6a6fcabb6 dhcp_probe-1.3.1.tar.gz
3753d6b4c5780f42a4793dfa1f23df2c9a21fa56ca42083f60d23585d720e76cb96f4f38bfeb31cb2e599f3e5659ef7decec1c7c9b3c885db5abd65c4302c63c dhcp-probe.initd
-0e500c4fc58892b70a85434d5dbba45e9ca89455223ac56e8dc544d5e16539bbd4cc63795de02096669951ad7b6a8a1606660a5ee7655f3f4375fa4c4d168b73 dhcp-probe.confd"
+0e500c4fc58892b70a85434d5dbba45e9ca89455223ac56e8dc544d5e16539bbd4cc63795de02096669951ad7b6a8a1606660a5ee7655f3f4375fa4c4d168b73 dhcp-probe.confd
+"