Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109840442
D32907.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D32907.diff
View Options
diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile
--- a/net/dhcpcd/Makefile
+++ b/net/dhcpcd/Makefile
@@ -2,6 +2,7 @@
PORTNAME= dhcpcd
DISTVERSION= 9.4.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://roy.marples.name/downloads/dhcpcd/
@@ -15,15 +16,14 @@
CPE_VENDOR= dhcpcd_project
USE_RC_SUBR= dhcpcd
-GNU_CONFIGURE= yes
+HAS_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples \
+ --prefix=${PREFIX} \
--privsepuser="_dhcp" \
--without-udev
post-install:
- ${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf \
- ${STAGEDIR}${PREFIX}/share/examples/dhcpcd
+ ${MV} ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf ${STAGEDIR}${PREFIX}/etc/dhcpcd.conf.sample
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/dhcpcd
- ${MKDIR} ${STAGEDIR}/var/db/dhcpcd
.include <bsd.port.mk>
diff --git a/net/dhcpcd/pkg-plist b/net/dhcpcd/pkg-plist
--- a/net/dhcpcd/pkg-plist
+++ b/net/dhcpcd/pkg-plist
@@ -3,13 +3,13 @@
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
+share/man/man5/dhcpcd.conf.5.gz
+share/man/man8/dhcpcd-run-hooks.8.gz
+share/man/man8/dhcpcd.8.gz
+@sample etc/dhcpcd.conf.sample
@dir(_dhcp,_dhcp,) /var/db/dhcpcd
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 5:22 AM (10 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16589298
Default Alt Text
D32907.diff (1 KB)
Attached To
Mode
D32907: net/dhcpcd: Use HAS_CONFIGURE over GNU_CONFIGURE
Attached
Detach File
Event Timeline
Log In to Comment