aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-08-24 14:11:35 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-08-24 14:11:35 +0000
commit105df11a76e467fc8d32fea8efb32bcd45b2f046 (patch)
tree404dbc52346ce7cb48cdb6be2851fb1198d567f2
parent691ddd22b40139be2455e51dd7fb182911347b0f (diff)
downloadaports-105df11a76e467fc8d32fea8efb32bcd45b2f046.tar.bz2
aports-105df11a76e467fc8d32fea8efb32bcd45b2f046.tar.xz
testing/dhcp_probe: tool that helps to locate rogue dhcp server
-rw-r--r--testing/dhcp_probe/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/dhcp_probe/APKBUILD b/testing/dhcp_probe/APKBUILD
new file mode 100644
index 0000000000..3b5985f7a1
--- /dev/null
+++ b/testing/dhcp_probe/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=dhcp_probe
+pkgver=1.3.0
+pkgrel=0
+pkgdesc="Allows network administrators to make calculations that will assist in subnetting a network"
+url="http://www.net.princeton.edu/software/dhcp_probe/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="libnet-dev libpcap-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.net.princeton.edu/software/dhcp_probe/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$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() {
+ cd "$_builddir"
+ ./configure --prefix=/usr
+ make || return 1
+}
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+md5sums="8067e696fbd88120bdcc2ffef4b64da2 dhcp_probe-1.3.0.tar.gz"