From owner-svn-ports-head@freebsd.org Sun Dec 6 09:50:50 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2696D73F9; Sun, 6 Dec 2015 09:50:50 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF6C21097; Sun, 6 Dec 2015 09:50:49 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tB69onDe031050; Sun, 6 Dec 2015 09:50:49 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tB69omHj031044; Sun, 6 Dec 2015 09:50:48 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201512060950.tB69omHj031044@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 6 Dec 2015 09:50:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403095 - in head/net: . dhcpd dhcpd/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 09:50:50 -0000 Author: pi Date: Sun Dec 6 09:50:48 2015 New Revision: 403095 URL: https://svnweb.freebsd.org/changeset/ports/403095 Log: New port: net/dhcpd This is the FreeBSD port of the OpenBSD dhcpd. The Dynamic Host Configuration Protocol (DHCP) is a standardized network protocol used on Internet Protocol (IP) networks for dynamically distributing network configuration parameters, such as IP addresses for interfaces and services. WWW: https://github.com/koue/dhcpd PR: 197361 Submitted by: Nikola Kolev Added: head/net/dhcpd/ head/net/dhcpd/Makefile (contents, props changed) head/net/dhcpd/distinfo (contents, props changed) head/net/dhcpd/files/ head/net/dhcpd/files/dhcpd.in (contents, props changed) head/net/dhcpd/pkg-descr (contents, props changed) head/net/dhcpd/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Sun Dec 6 09:43:55 2015 (r403094) +++ head/net/Makefile Sun Dec 6 09:50:48 2015 (r403095) @@ -95,6 +95,7 @@ SUBDIR += dgd-lpmud SUBDIR += dhcp6 SUBDIR += dhcpcd + SUBDIR += dhcpd SUBDIR += dhcpd-pools SUBDIR += dhcpdump SUBDIR += dhcperf Added: head/net/dhcpd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dhcpd/Makefile Sun Dec 6 09:50:48 2015 (r403095) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= dhcpd +PORTVERSION= 5.8.20151202 +CATEGORIES= net + +MAINTAINER= koue@chaosophia.net +COMMENT= OpenBSD dhcp daemon + +LICENSE= BSD3CLAUSE + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src/usr.sbin/${PORTNAME} + +USE_GITHUB= yes +GH_ACCOUNT= koue + +CONFLICTS= isc-dhcp4[1-3]-server* + +USE_OPENSSL= yes +USE_RC_SUBR= dhcpd + +CFLAGS+= -Wall + +MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man + +USERS= dhcpd +GROUPS= dhcpd + +.include + +post-install: + ${INSTALL_DATA} ${WRKSRC}/dhcpd.conf \ + ${STAGEDIR}${PREFIX}/etc/dhcpd.conf.sample + +.include Added: head/net/dhcpd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dhcpd/distinfo Sun Dec 6 09:50:48 2015 (r403095) @@ -0,0 +1,2 @@ +SHA256 (koue-dhcpd-5.8.20151202_GH0.tar.gz) = 662889ea3b4654b75ed298a32b9c7dd3e2bf5f82320b84397ed330c4c75d36bc +SIZE (koue-dhcpd-5.8.20151202_GH0.tar.gz) = 105960 Added: head/net/dhcpd/files/dhcpd.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dhcpd/files/dhcpd.in Sun Dec 6 09:50:48 2015 (r403095) @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: dhcpd +# REQUIRE: DAEMON +# BEFORE: LOGIN +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable dhcpd: +# dhcpd_enable="YES" +# dhcpd_flags="" + +. /etc/rc.subr + +name=dhcpd +rcvar=dhcpd_enable + +command="%%PREFIX%%/sbin/dhcpd" + +dhcpd_enable=${dhcpd_enable:-"NO"} +dhcpd_flags=${dhcpd_flags:-"-c %%PREFIX%%/etc/dhcpd.conf"} + +load_rc_config $name +run_rc_command "$1" Added: head/net/dhcpd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dhcpd/pkg-descr Sun Dec 6 09:50:48 2015 (r403095) @@ -0,0 +1,8 @@ +This is the FreeBSD port of the OpenBSD dhcpd. + +The Dynamic Host Configuration Protocol (DHCP) is a standardized +network protocol used on Internet Protocol (IP) networks for dynamically +distributing network configuration parameters, such as IP addresses for +interfaces and services. + +WWW: https://github.com/koue/dhcpd Added: head/net/dhcpd/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dhcpd/pkg-plist Sun Dec 6 09:50:48 2015 (r403095) @@ -0,0 +1,6 @@ +@sample etc/dhcpd.conf.sample +man/man5/dhcp-options.5.gz +man/man5/dhcpd.conf.5.gz +man/man5/dhcpd.leases.5.gz +man/man8/dhcpd.8.gz +sbin/dhcpd