From 146191d8d9cbdf76b5ccbcd6915a9ed6be5ff5cd Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Sat, 18 May 2019 10:28:32 +0000 Subject: [PATCH] dns/ddclient: Fix default permissions of config files and update pkg-message * Change the default permissions of the configuration files to avoid a warning at the first start. * Also update the instructions in pkg-message because since r433788 users no longer need to create a copy of the configuration file after installation. While I'm here: * Fix the license and add the location to the license file PR: 237651 Submitted by: Samy Mahmoudi Approved by: maintainer --- dns/ddclient/Makefile | 6 ++++-- dns/ddclient/files/pkg-message.in | 7 ++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index 461efaa039b2..b9dfa27e3af3 100644 --- a/dns/ddclient/Makefile +++ b/dns/ddclient/Makefile @@ -5,12 +5,14 @@ PORTNAME= ddclient DISTVERSIONPREFIX= v DISTVERSION= 3.8.3-104 DISTVERSIONSUFFIX= -gec2acfb +PORTREVISION= 1 CATEGORIES= dns MAINTAINER= mjl@luckie.org.nz COMMENT= Update dynamic DNS entries -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-Data-Validate-IP>0:net-mgmt/p5-Data-Validate-IP @@ -32,7 +34,7 @@ SSL_RUN_DEPENDS=ca_root_nss>0:security/ca_root_nss \ PORTDOCS= COPYRIGHT ChangeLog README.cisco README.ssl README.md \ sample-etc_cron.d_ddclient sample-etc_dhclient-exit-hooks \ sample-etc_dhcpc_dhcpcd-eth0.exe sample-etc_ppp_ip-up.local -PLIST_FILES= "@sample etc/ddclient.conf.sample" etc/periodic/daily/ddclient_force \ +PLIST_FILES= "@sample(,,600) etc/ddclient.conf.sample" etc/periodic/daily/ddclient_force \ sbin/ddclient post-patch: diff --git a/dns/ddclient/files/pkg-message.in b/dns/ddclient/files/pkg-message.in index c2b0b6a31f5b..a320b5b7808b 100644 --- a/dns/ddclient/files/pkg-message.in +++ b/dns/ddclient/files/pkg-message.in @@ -1,11 +1,8 @@ *********************************************************** -Copy - %%PREFIX%%/etc/ddclient.conf.sample -to - %%PREFIX%%/etc/ddclient.conf +To configure ddclient, edit the following file: -and edit it to fit your needs. + %%PREFIX%%/etc/ddclient.conf If you would like to run ddclient as a daemon add the following line to /etc/rc.conf