diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2019-05-18 10:28:32 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2019-05-18 10:28:32 +0000 |
commit | 146191d8d9cbdf76b5ccbcd6915a9ed6be5ff5cd (patch) | |
tree | fc3419bcbeffa6fd57521a66cd59cd089e521279 /dns/ddclient | |
parent | 7d3b225247f6ff2567e65dbc7c9c5018932de5d9 (diff) | |
download | ports-146191d8d9cbdf76b5ccbcd6915a9ed6be5ff5cd.tar.gz ports-146191d8d9cbdf76b5ccbcd6915a9ed6be5ff5cd.zip |
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 <samy.mahmoudi@gmail.com>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=501948
Diffstat (limited to 'dns/ddclient')
-rw-r--r-- | dns/ddclient/Makefile | 6 | ||||
-rw-r--r-- | 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 |