diff options
author | R. Imura <imura@FreeBSD.org> | 2000-02-13 03:52:26 +0000 |
---|---|---|
committer | R. Imura <imura@FreeBSD.org> | 2000-02-13 03:52:26 +0000 |
commit | 7f031ba6eb0fe44fdc78f0944d43e2b7fea8602a (patch) | |
tree | c836bc4dc46221886049808dda2748ced0e341da /net/dhcpconf | |
parent | Style nits in the ports I maintain. (diff) |
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>
Notes
Notes:
svn path=/head/; revision=25735
Diffstat (limited to 'net/dhcpconf')
-rw-r--r-- | net/dhcpconf/Makefile | 32 | ||||
-rw-r--r-- | net/dhcpconf/distinfo | 1 | ||||
-rw-r--r-- | net/dhcpconf/files/patch-aa | 34 | ||||
-rw-r--r-- | net/dhcpconf/pkg-comment | 1 | ||||
-rw-r--r-- | net/dhcpconf/pkg-descr | 9 | ||||
-rw-r--r-- | net/dhcpconf/pkg-plist | 3 |
6 files changed, 80 insertions, 0 deletions
diff --git a/net/dhcpconf/Makefile b/net/dhcpconf/Makefile new file mode 100644 index 000000000000..8ca2fff6bd88 --- /dev/null +++ b/net/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/dhcpconf/distinfo b/net/dhcpconf/distinfo new file mode 100644 index 000000000000..f7f23a52c2ea --- /dev/null +++ b/net/dhcpconf/distinfo @@ -0,0 +1 @@ +MD5 (dhcp-conf.tgz) = 1aceda39e035a1817957896bf2ca1d96 diff --git a/net/dhcpconf/files/patch-aa b/net/dhcpconf/files/patch-aa new file mode 100644 index 000000000000..b1f1467673d7 --- /dev/null +++ b/net/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/dhcpconf/pkg-comment b/net/dhcpconf/pkg-comment new file mode 100644 index 000000000000..4dd22162a099 --- /dev/null +++ b/net/dhcpconf/pkg-comment @@ -0,0 +1 @@ +Neat console-based ISC DHCP server configuration-generating utility diff --git a/net/dhcpconf/pkg-descr b/net/dhcpconf/pkg-descr new file mode 100644 index 000000000000..ab1ffc76967a --- /dev/null +++ b/net/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/dhcpconf/pkg-plist b/net/dhcpconf/pkg-plist new file mode 100644 index 000000000000..7be764c6360f --- /dev/null +++ b/net/dhcpconf/pkg-plist @@ -0,0 +1,3 @@ +sbin/dhcpconf +share/dhcpconf/README +@dirrm share/dhcpconf |