Hi!

- fix permission on the sampled config file to avoid the warning:

WARNING: file /etc/ddclient/ddclient.conf must be accessible only by its owner 
(fixed).

- add a runtime dep on security/p5-Digest-SHA1 to avoid the error:

FATAL: Error loading the Perl module Digest::SHA1 needed for freedns update.
FATAL: On Debian, the package libdigest-sha1-perl must be installed.


Ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/ddclient/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile    17 Jul 2013 03:27:01 -0000      1.17
+++ Makefile    18 Sep 2013 10:07:29 -0000
@@ -4,7 +4,7 @@ COMMENT=                Dynamic DNS service update cli
 
 DISTNAME=              ddclient-3.8.1
 CATEGORIES=            net
-REVISION =             0
+REVISION =             1
 
 HOMEPAGE=              http://ddclient.sourceforge.net/
 
@@ -13,7 +13,8 @@ PERMIT_PACKAGE_CDROM= Yes
 
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ddclient/}
 
-RUN_DEPENDS=           security/p5-IO-Socket-SSL
+RUN_DEPENDS=           security/p5-Digest-SHA1 \
+                       security/p5-IO-Socket-SSL
 
 NO_BUILD=              Yes
 NO_TEST=               Yes
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/ddclient/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 PLIST
--- pkg/PLIST   1 Dec 2010 09:58:43 -0000       1.8
+++ pkg/PLIST   18 Sep 2013 10:07:29 -0000
@@ -9,7 +9,9 @@ share/examples/ddclient/
 share/examples/ddclient/sample-ddclient-wrapper.sh
 share/examples/ddclient/sample-etc_cron.d_ddclient
 share/examples/ddclient/sample-etc_ddclient.conf
+@mode 0600
 @sample ${SYSCONFDIR}/ddclient/ddclient.conf
+@mode
 share/examples/ddclient/sample-etc_dhclient-exit-hooks
 share/examples/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe
 share/examples/ddclient/sample-etc_ppp_ip-up.local

Reply via email to