summaryrefslogtreecommitdiff
path: root/net/dhcpd-pools
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-05-27 06:41:42 +0000
committeradam <adam@pkgsrc.org>2011-05-27 06:41:42 +0000
commit317a98a5a296f1ea8340a7495126cf186e46e220 (patch)
tree68482421b6b8a770bb4081c63e87c74c153e9d52 /net/dhcpd-pools
parentd8acd89c71311ba2fbce65551371fb05f356b821 (diff)
downloadpkgsrc-317a98a5a296f1ea8340a7495126cf186e46e220.tar.gz
This is dhcpd-pools ISC dhcp shared network and pool range usage analysis.
Purpose of command is to count usage ratio of each IP range and shared network pool which ISC dhcpd is in control of. The command has no native monitoring capability, for instance the tool will not talk nagios protocol. To accomodiate this need the CSV output format is meant to be parsed by some organization specific script etc. Users of the command are most likely ISPs and other organizations that have large IP space.
Diffstat (limited to 'net/dhcpd-pools')
-rw-r--r--net/dhcpd-pools/DESCR7
-rw-r--r--net/dhcpd-pools/Makefile28
-rw-r--r--net/dhcpd-pools/PLIST5
-rw-r--r--net/dhcpd-pools/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/net/dhcpd-pools/DESCR b/net/dhcpd-pools/DESCR
new file mode 100644
index 00000000000..f3813c43e5c
--- /dev/null
+++ b/net/dhcpd-pools/DESCR
@@ -0,0 +1,7 @@
+This is dhcpd-pools ISC dhcp shared network and pool range usage analysis.
+Purpose of command is to count usage ratio of each IP range and shared network
+pool which ISC dhcpd is in control of. The command has no native monitoring
+capability, for instance the tool will not talk nagios protocol. To accomodiate
+this need the CSV output format is meant to be parsed by some organization
+specific script etc. Users of the command are most likely ISPs and other
+organizations that have large IP space.
diff --git a/net/dhcpd-pools/Makefile b/net/dhcpd-pools/Makefile
new file mode 100644
index 00000000000..b4c8ea0da3d
--- /dev/null
+++ b/net/dhcpd-pools/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/27 06:41:42 adam Exp $
+
+DISTNAME= dhcpd-pools-2.14
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dhcpd-pools/}
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://dhcpd-pools.sourceforge.net/
+COMMENT= ISC dhcpd lease analysis and reporting
+LICENSE= gnu-gpl-v3
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-dhcpd-leases=${VARBASE}/db/dhcpd.leases
+
+BUILD_DEFS+= VARBASE
+REPLACE_PERL= contrib/snmptest.pl
+
+SUBST_CLASSES+= fix-name
+SUBST_STAGE.fix-name= pre-configure
+SUBST_MESSAGE.fix-name= Removing program_invocation_short_name.
+SUBST_FILES.fix-name= src/dhcpd-pools.c src/other.c src/sort.c
+SUBST_SED.fix-name= -e 's,program_invocation_short_name,"dhcpd-pools",g'
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/dhcpd-pools/PLIST b/net/dhcpd-pools/PLIST
new file mode 100644
index 00000000000..1b7b1d79ddd
--- /dev/null
+++ b/net/dhcpd-pools/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/27 06:41:42 adam Exp $
+bin/dhcpd-pools
+man/man1/dhcpd-pools.1
+share/dhcpd-pools/dhcpd-pools.cgi
+share/dhcpd-pools/snmptest.pl
diff --git a/net/dhcpd-pools/distinfo b/net/dhcpd-pools/distinfo
new file mode 100644
index 00000000000..a4cbfec8eee
--- /dev/null
+++ b/net/dhcpd-pools/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/05/27 06:41:42 adam Exp $
+
+SHA1 (dhcpd-pools-2.14.tar.gz) = c30980fa9ea6dfc39d3bef633d42680c5adceb42
+RMD160 (dhcpd-pools-2.14.tar.gz) = bf24d5889354330b1d4a4307df5553310a7ea11a
+Size (dhcpd-pools-2.14.tar.gz) = 384847 bytes