From owner-svn-ports-all@freebsd.org Wed Oct 2 21:31:36 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9918D139BE3; Wed, 2 Oct 2019 21:31:36 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46k8Th3Zspz42bK; Wed, 2 Oct 2019 21:31:36 +0000 (UTC) (envelope-from cperciva@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5E3721B22; Wed, 2 Oct 2019 21:31:36 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x92LVa1w041653; Wed, 2 Oct 2019 21:31:36 GMT (envelope-from cperciva@FreeBSD.org) Received: (from cperciva@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x92LVZFd041648; Wed, 2 Oct 2019 21:31:35 GMT (envelope-from cperciva@FreeBSD.org) Message-Id: <201910022131.x92LVZFd041648@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cperciva set sender to cperciva@FreeBSD.org using -f From: Colin Percival Date: Wed, 2 Oct 2019 21:31:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513630 - in head/net: . dual-dhclient-daemon X-SVN-Group: ports-head X-SVN-Commit-Author: cperciva X-SVN-Commit-Paths: in head/net: . dual-dhclient-daemon X-SVN-Commit-Revision: 513630 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2019 21:31:36 -0000 Author: cperciva Date: Wed Oct 2 21:31:35 2019 New Revision: 513630 URL: https://svnweb.freebsd.org/changeset/ports/513630 Log: Add net/dual-dhclient-daemon port. This serves the same purpose as net/dual-dhclient, but does it better: While net/dual-dhclient is a trivial shell script which launches two dhclients, this is a daemon which (a) can be signalled by /etc/rc.d/dhclient stop, and (b) relays that signal to the two "child" dhclient daemons. This is deliberately not replacing the net/dual-dhclient port since in the unlikely event that something is broken I don't want to see pkg automatically upgrading people; but EC2 AMIs will be making use of this new port and I intend to remove the old dual-dhclient port at some point. Added: head/net/dual-dhclient-daemon/ head/net/dual-dhclient-daemon/Makefile (contents, props changed) head/net/dual-dhclient-daemon/distinfo (contents, props changed) head/net/dual-dhclient-daemon/pkg-descr (contents, props changed) head/net/dual-dhclient-daemon/pkg-message (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Wed Oct 2 21:09:34 2019 (r513629) +++ head/net/Makefile Wed Oct 2 21:31:35 2019 (r513630) @@ -136,6 +136,7 @@ SUBDIR += dtcp SUBDIR += dtcpclient SUBDIR += dual-dhclient + SUBDIR += dual-dhclient-daemon SUBDIR += easysoap SUBDIR += echoping SUBDIR += elixir-kafka_ex Added: head/net/dual-dhclient-daemon/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dual-dhclient-daemon/Makefile Wed Oct 2 21:31:35 2019 (r513630) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= dual-dhclient-daemon +PORTVERSION= 0.1 +CATEGORIES= net + +MAINTAINER= cperciva@FreeBSD.org +COMMENT= Spawns dhclients for a dual-stack network + +LICENSE= PD + +RUN_DEPENDS= ${LOCALBASE}/sbin/dhclient:net/isc-dhcp44-client + +USE_GITHUB= yes +GH_ACCOUNT= cperciva +GH_PROJECT= dual-dhclient + +PLIST_FILES= sbin/dual-dhclient + +CONFLICTS_INSTALL= dual-dhclient + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dual-dhclient ${STAGEDIR}${PREFIX}/sbin + +.include Added: head/net/dual-dhclient-daemon/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dual-dhclient-daemon/distinfo Wed Oct 2 21:31:35 2019 (r513630) @@ -0,0 +1,3 @@ +TIMESTAMP = 1569319837 +SHA256 (cperciva-dual-dhclient-0.1_GH0.tar.gz) = 48a6a70086f2a3610ec1d2d7dee2b725fbc4e96ae0961fac1499b3c7953be581 +SIZE (cperciva-dual-dhclient-0.1_GH0.tar.gz) = 1648 Added: head/net/dual-dhclient-daemon/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dual-dhclient-daemon/pkg-descr Wed Oct 2 21:31:35 2019 (r513630) @@ -0,0 +1,3 @@ +This port provides a daemon which spawns both /sbin/dhclient and +/usr/local/sbin/dhclient -6; this simplifies the configuration needed to +run DHCP on both protocols of a dual-stack network. Added: head/net/dual-dhclient-daemon/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dual-dhclient-daemon/pkg-message Wed Oct 2 21:31:35 2019 (r513630) @@ -0,0 +1,10 @@ +[ +{ type: install + message: <