Date: Sun, 2 Sep 2018 21:02:11 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478819 - in head/net/dhcp6: . files Message-ID: <201809022102.w82L2Bdo029508@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Sun Sep 2 21:02:10 2018 New Revision: 478819 URL: https://svnweb.freebsd.org/changeset/ports/478819 Log: net/dhcp6: several fixes - rcorder incorrect (Circular dependency on provision `DAEMON') - command_flags do not need to be referenced inside of the command_args - dhcp6s exits because of shutdown on non-connected UDP socket PR: 216673, 217452, 228994 Submitted by: tdb, Andrey Pevnev <apevnev@me.com>, leres, Dries Michiels <driesm.michiels@gmail.com> Approved by: hrs (maintainer timeout) Differential Revision: D16994 Added: head/net/dhcp6/files/patch-dhcp6s.c (contents, props changed) Modified: head/net/dhcp6/Makefile head/net/dhcp6/files/dhcp6c.in head/net/dhcp6/files/dhcp6s.in Modified: head/net/dhcp6/Makefile ============================================================================== --- head/net/dhcp6/Makefile Sun Sep 2 20:47:15 2018 (r478818) +++ head/net/dhcp6/Makefile Sun Sep 2 21:02:10 2018 (r478819) @@ -4,7 +4,7 @@ PORTNAME= dhcp6 PORTVERSION= 20080615.2 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MAINTAINER= hrs@FreeBSD.org Modified: head/net/dhcp6/files/dhcp6c.in ============================================================================== --- head/net/dhcp6/files/dhcp6c.in Sun Sep 2 20:47:15 2018 (r478818) +++ head/net/dhcp6/files/dhcp6c.in Sun Sep 2 21:02:10 2018 (r478819) @@ -42,7 +42,7 @@ load_rc_config $name required_files="${dhcp6c_config}" pidfile="${dhcp6c_pidfile}" -command_args="-c ${dhcp6c_config} -p ${dhcp6c_pidfile} ${dhcp6c_flags} ${dhcp6c_interfaces}" +command_args="-c ${dhcp6c_config} -p ${dhcp6c_pidfile} ${dhcp6c_interfaces}" dhcp6c_precmd() { Modified: head/net/dhcp6/files/dhcp6s.in ============================================================================== --- head/net/dhcp6/files/dhcp6s.in Sun Sep 2 20:47:15 2018 (r478818) +++ head/net/dhcp6/files/dhcp6s.in Sun Sep 2 21:02:10 2018 (r478819) @@ -35,7 +35,7 @@ load_rc_config $name : ${dhcp6s_config="%%PREFIX%%/etc/${name}.conf"} required_files=${dhcp6s_config} -command_args="-c ${dhcp6s_config} ${dhcp6s_flags} ${dhcp6s_interface}" +command_args="-c ${dhcp6s_config} ${dhcp6s_interface}" dhcp6s_precmd() { Added: head/net/dhcp6/files/patch-dhcp6s.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/dhcp6/files/patch-dhcp6s.c Sun Sep 2 21:02:10 2018 (r478819) @@ -0,0 +1,11 @@ +--- dhcp6s.c.orig 2018-09-02 19:43:29 UTC ++++ dhcp6s.c +@@ -527,7 +527,7 @@ server6_init() + strerror(errno)); + exit(1); + } +-#if !defined(__linux__) && !defined(__sun__) ++#if !defined(__linux__) && !defined(__sun__) && !defined(__FreeBSD__) + /* make the socket write-only */ + if (shutdown(outsock, 0)) { + d_printf(LOG_ERR, FNAME, "shutdown(outbound, 0): %s",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809022102.w82L2Bdo029508>