summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorimura <imura@FreeBSD.org>2000-02-13 03:52:26 +0000
committerimura <imura@FreeBSD.org>2000-02-13 03:52:26 +0000
commit3116f2842201e6784782aef05dec128a55e65944 (patch)
tree06d291fe44c053eadf1a390438b47fb966a9b387 /net-mgmt
parentef42441ef62482246c769467dc9f2a1e0ccb7374 (diff)
downloadFreeBSD-ports-3116f2842201e6784782aef05dec128a55e65944.zip
FreeBSD-ports-3116f2842201e6784782aef05dec128a55e65944.tar.gz
Initial import of dhcpconf-0.7.0.
Neat console-based ISC DHCP server configuration-generating utility. PR: 16520 Submitted by: Will Andrews <andrews@technologist.com>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/dhcpconf/Makefile32
-rw-r--r--net-mgmt/dhcpconf/distinfo1
-rw-r--r--net-mgmt/dhcpconf/files/patch-aa34
-rw-r--r--net-mgmt/dhcpconf/pkg-comment1
-rw-r--r--net-mgmt/dhcpconf/pkg-descr9
-rw-r--r--net-mgmt/dhcpconf/pkg-plist3
6 files changed, 80 insertions, 0 deletions
diff --git a/net-mgmt/dhcpconf/Makefile b/net-mgmt/dhcpconf/Makefile
new file mode 100644
index 0000000..8ca2fff
--- /dev/null
+++ b/net-mgmt/dhcpconf/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: dhcp-conf
+# Version required: 0.7.0
+# Date created: 20 Dec 1999
+# Whom: Will Andrews <andrews@technologist.com>
+#
+# $FreeBSD$
+#
+
+DISTNAME= dhcp-conf
+PKGNAME= dhcpconf-${VERSION}
+CATEGORIES= net sysutils
+MASTER_SITES= http://members.xoom.com/vschade/dhcp-conf/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= andrews@technologist.com
+
+LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm \
+ newt.0:${PORTSDIR}/devel/newt
+
+ALL_TARGET= ${DISTNAME}
+VERSION= 0.7.0
+WRKSRC= ${WRKDIR}/${DISTNAME}_${VERSION}
+MAKE_ENV+= PCFLAGS="${CFLAGS}"
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/dhcp-conf ${PREFIX}/sbin/dhcpconf
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/dhcpconf
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/dhcpconf
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/dhcpconf/distinfo b/net-mgmt/dhcpconf/distinfo
new file mode 100644
index 0000000..f7f23a5
--- /dev/null
+++ b/net-mgmt/dhcpconf/distinfo
@@ -0,0 +1 @@
+MD5 (dhcp-conf.tgz) = 1aceda39e035a1817957896bf2ca1d96
diff --git a/net-mgmt/dhcpconf/files/patch-aa b/net-mgmt/dhcpconf/files/patch-aa
new file mode 100644
index 0000000..b1f1467
--- /dev/null
+++ b/net-mgmt/dhcpconf/files/patch-aa
@@ -0,0 +1,34 @@
+--- Makefile Wed Dec 15 12:45:24 1999
++++ Makefile.new Wed Jan 26 23:15:10 2000
+@@ -1,23 +1,24 @@
+ TARGET = dhcp-conf
+-CC = gcc
+-LIBS = -lgdbm -lnewt
++CC ?= gcc
++CFLAGS = $(PCFLAGS) -I$(PREFIX)/include
++LIBS = -L$(PREFIX)/lib -lgdbm -lnewt
+ OBJS = main.o screen.o help.o data.o
+ #OPTS = -D__DEBUG__ -D__TRACE__
+
+ $(TARGET) : $(OBJS)
+- $(CC) -o $(TARGET) $(LIBS) $(OBJS)
++ $(CC) $(CFLAGS) -o $(TARGET) $(LIBS) $(OBJS)
+
+ main.o : main.c includes.h main-proto.h screen-proto.h
+- $(CC) -c main.c $(OPTS)
++ $(CC) $(CFLAGS) -c main.c $(OPTS)
+
+ screen.o : screen.c includes.h screen-proto.h
+- $(CC) -c screen.c $(OPTS)
++ $(CC) $(CFLAGS) -c screen.c $(OPTS)
+
+ help.o : help.c includes.h help-proto.h
+- $(CC) -c help.c $(OPTS)
++ $(CC) $(CFLAGS) -c help.c $(OPTS)
+
+ data.o : data.c includes.h data-proto.h
+- $(CC) -c data.c $(OPTS)
++ $(CC) $(CFLAGS) -c data.c $(OPTS)
+
+ install : $(TARGET)
+ chown root dhcp-conf
diff --git a/net-mgmt/dhcpconf/pkg-comment b/net-mgmt/dhcpconf/pkg-comment
new file mode 100644
index 0000000..4dd2216
--- /dev/null
+++ b/net-mgmt/dhcpconf/pkg-comment
@@ -0,0 +1 @@
+Neat console-based ISC DHCP server configuration-generating utility
diff --git a/net-mgmt/dhcpconf/pkg-descr b/net-mgmt/dhcpconf/pkg-descr
new file mode 100644
index 0000000..ab1ffc7
--- /dev/null
+++ b/net-mgmt/dhcpconf/pkg-descr
@@ -0,0 +1,9 @@
+dhcpconf is a neat configuration utility for the ISC DHCP server.
+It works by bringing up a couple dialog boxes that look strangely
+like they're created using ncurses but really newt - and then checking
+your options and generating a dhcpd.conf.
+
+WWW: http://members.xoom.com/vschade/dhcp-conf/
+Author: Vee Schade <vschade@mindless.com>
+
+--Will <andrews@technologist.com>
diff --git a/net-mgmt/dhcpconf/pkg-plist b/net-mgmt/dhcpconf/pkg-plist
new file mode 100644
index 0000000..7be764c
--- /dev/null
+++ b/net-mgmt/dhcpconf/pkg-plist
@@ -0,0 +1,3 @@
+sbin/dhcpconf
+share/dhcpconf/README
+@dirrm share/dhcpconf
OpenPOWER on IntegriCloud