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
This commit is contained in:
Kai Knoblich 2019-05-18 10:28:32 +00:00
parent 7d3b225247
commit 146191d8d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501948
2 changed files with 6 additions and 7 deletions

View file

@ -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:

View file

@ -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