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/
This commit is contained in:
Ryan Steinmetz 2012-01-26 15:08:09 +00:00
parent acaa871bee
commit de13cf5bad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289851
4 changed files with 39 additions and 0 deletions

View file

@ -108,6 +108,7 @@
SUBDIR += dgd-lpmud
SUBDIR += dhcp6
SUBDIR += dhcpcd
SUBDIR += dhcpd-pools
SUBDIR += dhcpdump
SUBDIR += dhcperf
SUBDIR += dhcping

31
net/dhcpd-pools/Makefile Normal file
View file

@ -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>

2
net/dhcpd-pools/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (dhcpd-pools-2.16.tar.gz) = ce191a173dde60e7ce684fa257a216fe8d2bf6b94981c1eb7e9e267e5eeb4250
SIZE (dhcpd-pools-2.16.tar.gz) = 367461

View file

@ -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/