net/dhcpcd-devel: Remove -devel version of dhcpcd

Development version no longer necessary following 9.1.0 stable release
which saw dhcpcd capsicumized with privilege separation.
This commit is contained in:
Ben Woods 2020-09-03 03:19:44 +00:00
parent 63bed43873
commit f043c1154a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547403
8 changed files with 1 additions and 124 deletions

1
MOVED
View File

@ -15409,3 +15409,4 @@ security/scamp||2020-08-29|Removed at maintainer request, no longer viable
graphics/gmt5|graphics/gmt|2020-08-29|Obsolete, please use graphics/gmt instead
graphics/gmt5-dcw|graphics/gmt-dcw|2020-08-29|Rename to align port name with graphics/gmt
graphics/gmt5-gshhg|graphics/gmt-gshhg|2020-08-29|Rename to align port name with graphics/gmt
net/dhcpcd-devel|net/dhcpcd|2020-09-03|Development version no longer necessary following 9.1.0 stable release which saw dhcpcd capsicumized with privilege separation

View File

@ -115,7 +115,6 @@
SUBDIR += dgd-lpmud
SUBDIR += dhcp6
SUBDIR += dhcpcd
SUBDIR += dhcpcd-devel
SUBDIR += dhcpcd-ui
SUBDIR += dhcpd
SUBDIR += dhcpd-pools

View File

@ -1,35 +0,0 @@
# Created by: Roy Marples <roy@marples.name>
# $FreeBSD$
PORTNAME= dhcpcd
PORTVERSION= g20200616
CATEGORIES= net
MASTER_SITES= https://roy.marples.name/cgit/dhcpcd.git/snapshot/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${GITTAG}
GITTAG= 6ae7a01
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= DHCP/IPv4LL/IPv6RS/DHCPv6 client
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= dhcpcd
USES= compiler:c11 cpe tar:xz
CPE_VENDOR= dhcpcd_project
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples \
--privsepuser="_dhcp" \
--without-udev
USE_RC_SUBR= dhcpcd
post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf \
${STAGEDIR}${PREFIX}/share/examples/dhcpcd
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dhcpcd
${MKDIR} ${STAGEDIR}/var/db/dhcpcd
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1592311576
SHA256 (dhcpcd-6ae7a01.tar.xz) = 60502734a19018679d5f28b1035fc5be4a2e8825b2b3ae0da91a7ad92db07a96
SIZE (dhcpcd-6ae7a01.tar.xz) = 248824

View File

@ -1,43 +0,0 @@
#!/bin/sh
# PROVIDE: dhclient dhcpcd
# KEYWORD: nojail
#
. /etc/rc.subr
. /etc/network.subr
name="dhcpcd"
ifn="$2"
command="%%PREFIX%%/sbin/dhcpcd"
command_args="$ifn"
if [ -n "$ifn" ]; then
specific="$(get_if_var $ifn dhcpcd_flags_IF)"
if [ -z "$flags" -a -n "$specific" ]; then
rc_flags="$specific"
fi
pidfile="/var/run/dhcpcd/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:/usr/local/bin
}
load_rc_config $name
load_rc_config network
if [ -n "$ifn" ]; then
if ! dhcpif $ifn; then
err 1 "$ifn is not enabled for DHCP"
fi
fi
run_rc_command "$1"

View File

@ -1,15 +0,0 @@
dhcpcd is a DHCP/IPv4LL/IPv6RS/DHCPv6 client.
It can also act as a network manager, responding to new interfaces,
listening for carrier up/down events and managing routes.
dhcpcd-9 introduces a number of security improvements:
- privilege separation
operations are performed across multiple processes, and those which do
not require root privileges are run as the unprivileged _dhcp user
- sanboxed with capsicum(4)
processes run in capability mode, limiting their access and therefore
the potential impact of security vulnerabilities
This is an experimental version for testing purposes.
WWW: https://roy.marples.name/projects/dhcpcd

View File

@ -1,12 +0,0 @@
[
{ type: install
message: <<EOM
The default FreeBSD kernel does not allow userland to provide IPv6
Prefix Routes when the kernel is handling Router Advertisements.
The default dhcpcd configuration will disable the kernel from handling
Router Advertisements.
See http://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194485 for a patch.
EOM
}
]

View File

@ -1,15 +0,0 @@
libexec/dhcpcd-hooks/01-test
libexec/dhcpcd-hooks/20-resolv.conf
libexec/dhcpcd-hooks/30-hostname
libexec/dhcpcd-hooks/50-ntp.conf
libexec/dhcpcd-run-hooks
man/man5/dhcpcd.conf.5.gz
man/man8/dhcpcd-run-hooks.8.gz
man/man8/dhcpcd.8.gz
sbin/dhcpcd
%%EXAMPLESDIR%%/hooks/10-wpa_supplicant
%%EXAMPLESDIR%%/hooks/15-timezone
%%EXAMPLESDIR%%/hooks/29-lookup-hostname
%%EXAMPLESDIR%%/hooks/50-ypbind
@sample %%EXAMPLESDIR%%/dhcpcd.conf etc/dhcpcd.conf
@dir(_dhcp,_dhcp,) /var/db/dhcpcd