aboutsummaryrefslogtreecommitdiffstats
path: root/net/dhcpd-pools
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2012-01-26 23:08:09 +0800
committerzi <zi@FreeBSD.org>2012-01-26 23:08:09 +0800
commit48f1edc7fc96e2af8a0f0077515d2da9317ed37f (patch)
tree12fe59ec2d3d0759a44d736ec60ccc778994f510 /net/dhcpd-pools
parent4ef14e3f17a49b78eaa158269ed419d1c946cd88 (diff)
downloadfreebsd-ports-gnome-48f1edc7fc96e2af8a0f0077515d2da9317ed37f.tar.gz
freebsd-ports-gnome-48f1edc7fc96e2af8a0f0077515d2da9317ed37f.tar.zst
freebsd-ports-gnome-48f1edc7fc96e2af8a0f0077515d2da9317ed37f.zip
New port: net/dhcpd-pools
Counts the usage ratio of each IP range and shared network pool that ISC dhcpd is in control of. It also allows you to generate csv output files for use with monitoring software. WWW: http://dhcpd-pools.sourceforge.net/
Diffstat (limited to 'net/dhcpd-pools')
-rw-r--r--net/dhcpd-pools/Makefile31
-rw-r--r--net/dhcpd-pools/distinfo2
-rw-r--r--net/dhcpd-pools/pkg-descr5
3 files changed, 38 insertions, 0 deletions
diff --git a/net/dhcpd-pools/Makefile b/net/dhcpd-pools/Makefile
new file mode 100644
index 000000000000..0f39cb8ce57d
--- /dev/null
+++ b/net/dhcpd-pools/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: dhcpd-pools
+# Date created: 26 January 2012
+# Whom: Ryan Steinmetz (zi@FreeBSD.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= dhcpd-pools
+PORTVERSION= 2.16
+CATEGORIES= net
+MASTER_SITES= SF/${PORTNAME}
+
+MAINTAINER= zi@FreeBSD.org
+COMMENT= A tool to analyze isc-dhcp pool usage based on leases
+
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-dhcpd-conf=${LOCALBASE}/etc/dhcpd.conf \
+ --with-dhcpd-leases=/var/db/dhcpd/dhcpd.leases
+
+PLIST_FILES= bin/dhcpd-pools
+PORTDATA= dhcpd-pools.cgi snmptest.pl
+
+MAN1= dhcpd-pools.1
+
+post-patch:
+ @${REINPLACE_CMD} -e '/features.h/d' ${WRKSRC}/src/getdata.c
+
+.include <bsd.port.mk>
diff --git a/net/dhcpd-pools/distinfo b/net/dhcpd-pools/distinfo
new file mode 100644
index 000000000000..fcac148e89aa
--- /dev/null
+++ b/net/dhcpd-pools/distinfo
@@ -0,0 +1,2 @@
+SHA256 (dhcpd-pools-2.16.tar.gz) = ce191a173dde60e7ce684fa257a216fe8d2bf6b94981c1eb7e9e267e5eeb4250
+SIZE (dhcpd-pools-2.16.tar.gz) = 367461
diff --git a/net/dhcpd-pools/pkg-descr b/net/dhcpd-pools/pkg-descr
new file mode 100644
index 000000000000..1bef947c1edb
--- /dev/null
+++ b/net/dhcpd-pools/pkg-descr
@@ -0,0 +1,5 @@
+Counts the usage ratio of each IP range and shared network pool
+that ISC dhcpd is in control of. It also allows you to generate
+csv output files for use with monitoring software.
+
+WWW: http://dhcpd-pools.sourceforge.net/