Created attachment 148435 [details] Use @sample for the conf file Installing the dhcpcd package will overwrite a custom dhcpcd.conf if it exists in /usr/local/etc/dhcpcd.conf before the package is installed. Attached patch to rename the file to .sample in the stage dir and use @sample.
Maintainer CC'd
This patch looks fine!
maintainer has approved the patch, moving to patch-ready pool.
A commit references this bug: Author: pawel Date: Tue Nov 4 17:59:55 UTC 2014 New revision: 372160 URL: https://svnweb.freebsd.org/changeset/ports/372160 Log: - Update to version 6.5.1, add pkg-message [1] - Prevent config overwrite by using @sample keyword [2] PR: 194486 [1], 194449 [2] Submitted by: maintainer [1], guyyur@gmail.com [2] Approved by: maintainer [2] Changes: head/net/dhcpcd/Makefile head/net/dhcpcd/distinfo head/net/dhcpcd/files/patch-dhcpcd.conf head/net/dhcpcd/pkg-message head/net/dhcpcd/pkg-plist