diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-05-08 20:58:45 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-05-08 20:58:45 +0000 |
commit | d3b4a2b6d28ab3ec6dfc29caae03ebef0ee984cf (patch) | |
tree | 9afd6bd7eabf7e9cf2dd0f5eafbf4bbb0ef6dd35 /net/dhcpcd | |
parent | 8c12d6abe4d9a4ff937cdad79bcedae1570ebf1d (diff) |
Notes
Diffstat (limited to 'net/dhcpcd')
-rw-r--r-- | net/dhcpcd/Makefile | 6 | ||||
-rw-r--r-- | net/dhcpcd/distinfo | 6 | ||||
-rw-r--r-- | net/dhcpcd/files/dhcpcd.in | 7 | ||||
-rw-r--r-- | net/dhcpcd/pkg-plist | 11 |
4 files changed, 17 insertions, 13 deletions
diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile index f946742f3f5d..3be4b2c76438 100644 --- a/net/dhcpcd/Makefile +++ b/net/dhcpcd/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= dhcpcd -PORTVERSION= 6.11.5 -PORTREVISION= 1 +PORTVERSION= 7.2.2 CATEGORIES= net MASTER_SITES= http://roy.marples.name/downloads/dhcpcd/ \ ftp://roy.marples.name/pub/dhcpcd/\ @@ -17,6 +16,7 @@ COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client LICENSE= BSD2CLAUSE USES= cpe tar:xz + CPE_VENDOR= dhcpcd_project GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples @@ -24,7 +24,7 @@ USE_RC_SUBR= dhcpcd post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf \ - ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf.sample + ${STAGEDIR}${PREFIX}/share/examples/dhcpcd @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dhcpcd .include <bsd.port.mk> diff --git a/net/dhcpcd/distinfo b/net/dhcpcd/distinfo index 95e2b56046d6..d1aa68a6f0e7 100644 --- a/net/dhcpcd/distinfo +++ b/net/dhcpcd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1481766500 -SHA256 (dhcpcd-6.11.5.tar.xz) = 6f9674dc7e27e936cc787175404a6171618675ecfb6903ab9887b1b66a87d69e -SIZE (dhcpcd-6.11.5.tar.xz) = 198080 +TIMESTAMP = 1557061439 +SHA256 (dhcpcd-7.2.2.tar.xz) = 3db7ff18cba9274da1d2176fb3c7cbe23926a8e58d5c8e244ad55c62d38ba09e +SIZE (dhcpcd-7.2.2.tar.xz) = 213600 diff --git a/net/dhcpcd/files/dhcpcd.in b/net/dhcpcd/files/dhcpcd.in index 58968892c178..6ef6063b9c55 100644 --- a/net/dhcpcd/files/dhcpcd.in +++ b/net/dhcpcd/files/dhcpcd.in @@ -1,6 +1,6 @@ #!/bin/sh -# PROVIDE: dhclient +# PROVIDE: dhclient dhcpcd # KEYWORD: nojail # @@ -19,13 +19,16 @@ if [ -n "$ifn" ]; then pidfile="/var/run/dhcpcd-$ifn.pid" else pidfile="$($command -P $rc_flags)" + : ${dhcpcd_enable:=NO} + rcvar=dhcpcd_enable + fi start_precmd="dhcpcd_precmd" dhcpcd_precmd() { # dhcpcd may need local binaries - export PATH=${PATH}:/usr/local/sbin + export PATH=${PATH}:/usr/local/sbin:/usr/local/bin } load_rc_config $name diff --git a/net/dhcpcd/pkg-plist b/net/dhcpcd/pkg-plist index 2e27fe4e4e59..40515d9a83cd 100644 --- a/net/dhcpcd/pkg-plist +++ b/net/dhcpcd/pkg-plist @@ -1,4 +1,3 @@ -@sample etc/dhcpcd.conf.sample libexec/dhcpcd-hooks/01-test libexec/dhcpcd-hooks/02-dump libexec/dhcpcd-hooks/20-resolv.conf @@ -9,7 +8,9 @@ man/man5/dhcpcd.conf.5.gz man/man8/dhcpcd-run-hooks.8.gz man/man8/dhcpcd.8.gz sbin/dhcpcd -share/examples/dhcpcd/hooks/10-wpa_supplicant -share/examples/dhcpcd/hooks/15-timezone -share/examples/dhcpcd/hooks/29-lookup-hostname -share/examples/dhcpcd/hooks/50-ypbind +%%EXAMPLESDIR%%/hooks/10-wpa_supplicant +%%EXAMPLESDIR%%/hooks/15-timezone +%%EXAMPLESDIR%%/hooks/29-lookup-hostname +%%EXAMPLESDIR%%/hooks/50-ypbind +@dir /var/db/dhcpcd +@sample %%EXAMPLESDIR%%/dhcpcd.conf etc/dhcpcd.conf |