Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  6 Feb 2000 12:42:47 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/16520: new port: net/dhcpconf
Message-ID:  <20000206174247.9B18C1A0E@argon.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         16520
>Category:       ports
>Synopsis:       new port: net/dhcpconf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb  6 09:50:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Jan 28 16:46:16 EST 2000     root@argon.blackdawn.com:/usr/src/sys/compile/KRYPTON  i386

>Description:

dhcpconf depends on a newt library that depends on
a libslang library built using libc.so.4, not libc.so.3,
so the patch for libslang needs to be committed before
either newt or dhcpconf can be committed.

This is a nice console dhcpd.conf generator.

>How-To-Repeat:

Use the shar below to add the port to tree.

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dhcpconf
#	dhcpconf/files
#	dhcpconf/files/md5
#	dhcpconf/pkg
#	dhcpconf/pkg/COMMENT
#	dhcpconf/pkg/DESCR
#	dhcpconf/pkg/PLIST
#	dhcpconf/patches
#	dhcpconf/patches/patch-aa
#	dhcpconf/Makefile
#
echo c - dhcpconf
mkdir -p dhcpconf > /dev/null 2>&1
echo c - dhcpconf/files
mkdir -p dhcpconf/files > /dev/null 2>&1
echo x - dhcpconf/files/md5
sed 's/^X//' >dhcpconf/files/md5 << 'END-of-dhcpconf/files/md5'
XMD5 (dhcp-conf.tgz) = 1aceda39e035a1817957896bf2ca1d96
END-of-dhcpconf/files/md5
echo c - dhcpconf/pkg
mkdir -p dhcpconf/pkg > /dev/null 2>&1
echo x - dhcpconf/pkg/COMMENT
sed 's/^X//' >dhcpconf/pkg/COMMENT << 'END-of-dhcpconf/pkg/COMMENT'
END-of-dhcpconf/pkg/COMMENT
echo x - dhcpconf/pkg/DESCR
sed 's/^X//' >dhcpconf/pkg/DESCR << 'END-of-dhcpconf/pkg/DESCR'
XWWW: http://members.xoom.com/_XMCM/vschade/dhcp-conf/index.html
XAuthor: Vee Schade <vschade@mindless.com>
END-of-dhcpconf/pkg/DESCR
echo x - dhcpconf/pkg/PLIST
sed 's/^X//' >dhcpconf/pkg/PLIST << 'END-of-dhcpconf/pkg/PLIST'
Xsbin/dhcpconf
Xshare/dhcpconf/README
X@dirrm share/dhcpconf
END-of-dhcpconf/pkg/PLIST
echo c - dhcpconf/patches
mkdir -p dhcpconf/patches > /dev/null 2>&1
echo x - dhcpconf/patches/patch-aa
sed 's/^X//' >dhcpconf/patches/patch-aa << 'END-of-dhcpconf/patches/patch-aa'
X--- Makefile	Wed Dec 15 12:45:24 1999
X+++ Makefile.new	Wed Jan 26 23:15:10 2000
X@@ -1,23 +1,24 @@
X TARGET = dhcp-conf
X-CC = gcc
X-LIBS = -lgdbm -lnewt
X+CC ?= gcc
X+CFLAGS = $(PCFLAGS) -I$(PREFIX)/include
X+LIBS = -L$(PREFIX)/lib -lgdbm -lnewt
X OBJS = main.o screen.o help.o data.o
X #OPTS = -D__DEBUG__ -D__TRACE__
X 
X $(TARGET) : $(OBJS)
X-	$(CC) -o $(TARGET) $(LIBS) $(OBJS)
X+	$(CC) $(CFLAGS) -o $(TARGET) $(LIBS) $(OBJS)
X 
X main.o : main.c includes.h main-proto.h screen-proto.h
X-	$(CC) -c main.c $(OPTS)
X+	$(CC) $(CFLAGS) -c main.c $(OPTS)
X 
X screen.o : screen.c includes.h screen-proto.h
X-	$(CC) -c screen.c $(OPTS)
X+	$(CC) $(CFLAGS) -c screen.c $(OPTS)
X 
X help.o : help.c includes.h help-proto.h
X-	$(CC) -c help.c $(OPTS)
X+	$(CC) $(CFLAGS) -c help.c $(OPTS)
X 
X data.o : data.c includes.h data-proto.h
X-	$(CC) -c data.c $(OPTS)
X+	$(CC) $(CFLAGS) -c data.c $(OPTS)
X 
X install : $(TARGET)
X 	chown root dhcp-conf
END-of-dhcpconf/patches/patch-aa
echo x - dhcpconf/Makefile
sed 's/^X//' >dhcpconf/Makefile << 'END-of-dhcpconf/Makefile'
X# New ports collection makefile for:	dhcp-conf
X# Version required:	0.7.0
X# Date created:		20 Dec 1999
X# Whom:			Will Andrews <andrews@technologist.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	dhcp-conf
XPKGNAME=	dhcpconf-${VERSION}
XCATEGORIES=	net sysutils
XMASTER_SITES=	http://members.xoom.com/vschade/dhcp-conf/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	andrews@technologist.com
X
XLIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm \
X		newt.0:${PORTSDIR}/devel/newt
X
XALL_TARGET=	${DISTNAME}
XVERSION=	0.7.0
XWRKSRC=		${WRKDIR}/${DISTNAME}_${VERSION}
XMAKE_ENV+=	PCFLAGS="${CFLAGS}"
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/dhcp-conf ${PREFIX}/sbin/dhcpconf
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/dhcpconf
X	@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/dhcpconf
X.endif
X
X.include <bsd.port.mk>
END-of-dhcpconf/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000206174247.9B18C1A0E>