[Midnightbsd-cvs] mports [16655] trunk/dns/ddclient: ddclient 3.8.2

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Aug 27 06:30:13 EDT 2014


Revision: 16655
          http://svnweb.midnightbsd.org/mports/?rev=16655
Author:   laffer1
Date:     2014-08-27 06:30:12 -0400 (Wed, 27 Aug 2014)
Log Message:
-----------
ddclient 3.8.2

Modified Paths:
--------------
    trunk/dns/ddclient/Makefile
    trunk/dns/ddclient/distinfo
    trunk/dns/ddclient/files/patch-ddclient

Modified: trunk/dns/ddclient/Makefile
===================================================================
--- trunk/dns/ddclient/Makefile	2014-08-27 02:32:58 UTC (rev 16654)
+++ trunk/dns/ddclient/Makefile	2014-08-27 10:30:12 UTC (rev 16655)
@@ -1,16 +1,16 @@
 # $MidnightBSD$
 
 PORTNAME=	ddclient
-PORTVERSION=	3.8.1
-PORTREVISION=	2
+PORTVERSION=	3.8.2
 CATEGORIES=	dns
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Update dynamic DNS entries
+
 LICENSE=	gpl2
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 USE_PERL5_RUN=	yes
 NO_BUILD=	yes
 USE_RC_SUBR=	${PORTNAME}
@@ -21,13 +21,14 @@
 .include <bsd.mport.options.mk>
 
 .if ${PORT_OPTIONS:MSSL}
-RUN_DEPENDS+=	p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
+RUN_DEPENDS+=	ca_root_nss>0:${PORTSDIR}/security/ca_root_nss \
+		p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL
 .endif
 
 SUB_FILES=	pkg-message ddclient_force
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-PORTDOCS=	COPYING COPYRIGHT Changelog README README.cisco README.ssl \
+PORTDOCS=	COPYING COPYRIGHT Changelog README.cisco README.ssl \
 		sample-etc_cron.d_ddclient sample-etc_dhclient-exit-hooks \
 		sample-etc_dhcpc_dhcpcd-eth0.exe sample-etc_ppp_ip-up.local
 

Modified: trunk/dns/ddclient/distinfo
===================================================================
--- trunk/dns/ddclient/distinfo	2014-08-27 02:32:58 UTC (rev 16654)
+++ trunk/dns/ddclient/distinfo	2014-08-27 10:30:12 UTC (rev 16655)
@@ -1,2 +1,2 @@
-SHA256 (ddclient-3.8.1.tar.bz2) = 77a82668a53fdbed1e05ad6febe6dbefb093e3922afb20b993d4ad9ee868258f
-SIZE (ddclient-3.8.1.tar.bz2) = 43711
+SHA256 (ddclient-3.8.2.tar.bz2) = f343d2297b97b769949d4d6c3f603a8c52433acf2104245538808a2ea003ed5e
+SIZE (ddclient-3.8.2.tar.bz2) = 41996

Modified: trunk/dns/ddclient/files/patch-ddclient
===================================================================
--- trunk/dns/ddclient/files/patch-ddclient	2014-08-27 02:32:58 UTC (rev 16654)
+++ trunk/dns/ddclient/files/patch-ddclient	2014-08-27 10:30:12 UTC (rev 16655)
@@ -1,10 +1,12 @@
 --- ./ddclient.orig	2011-07-25 19:41:39.000000000 -0700
 +++ ./ddclient	2011-07-25 19:41:48.000000000 -0700
-@@ -1,4 +1,3 @@
+@@ -1,5 +1,4 @@
 -#!/usr/bin/perl -w
- #!/usr/local/bin/perl -w
+-#!/usr/local/bin/perl -w
++#!%%PERL%% -w
  ######################################################################
- # $Id: patch-ddclient,v 1.4 2012-09-08 22:50:39 laffer1 Exp $
+ # $Id: ddclient 157 2013-12-26 09:02:05Z wimpunk $
+ #
 @@ -19,6 +18,7 @@
  use Getopt::Long;
  use Sys::Hostname;
@@ -11,9 +13,31 @@
  use IO::Socket;
 +use POSIX 'setsid';
  
- my ($VERSION) = q$Revision: 1.4 $ =~ /(\d+)/;
+ my ($VERSION) = q$Revision: 157 $ =~ /(\d+)/;
  
-@@ -668,6 +668,9 @@
+@@ -29,9 +29,9 @@
+ $program  =~ s/d$//;
+ my $now       = time;
+ my $hostname  = hostname();
+-my $etc       = ($program =~ /test/i) ? './'   : '/etc/ddclient/';
+-my $cachedir  = ($program =~ /test/i) ? './'   : '/var/cache/ddclient/';
+-my $savedir   = ($program =~ /test/i) ? 'URL/' : '/tmp/';
++my $etc       = ($program =~ /test/i) ? './'   : '%%ETCDIR%%/';
++my $cachedir  = ($program =~ /test/i) ? './'   : '/var/tmp/';
++my $savedir   = ($program =~ /test/i) ? 'URL/' : '/var/tmp/';
+ my $msgs      = '';
+ my $last_msgs = '';
+ 
+@@ -39,7 +39,7 @@
+ local $file   = '';
+ local $lineno = '';
+ 
+-$ENV{'PATH'} = (exists($ENV{PATH}) ? "$ENV{PATH}:" : "") . "/sbin:/usr/sbin:/bin:/usr/bin:/etc:/usr/lib:";
++$ENV{'PATH'} = (exists($ENV{PATH}) ? "$ENV{PATH}:" : "") . "/sbin:/usr/sbin:/bin:";
+ 
+ sub T_ANY	{'any'};
+ sub T_STRING	{'string'};
+@@ -678,6 +678,9 @@
      ;
  } elsif (opt('daemon')) {
      $SIG{'CHLD'}   = 'IGNORE';
@@ -23,7 +47,7 @@
      my $pid = fork;
      if ($pid < 0) {
  	print STDERR "${program}: can not fork ($!)\n";
-@@ -675,10 +678,9 @@
+@@ -685,10 +688,9 @@
      } elsif ($pid) {
  	exit 0;
      }
@@ -36,7 +60,7 @@
  }
  
  # write out the pid file if we're daemon'ized
-@@ -1463,17 +1465,17 @@
+@@ -1478,17 +1480,17 @@
      ## execute the command.
      local *FD;
      if (! open(FD, $cmd)) {
@@ -58,3 +82,11 @@
  
      } else {
  	$ok = 1;
+@@ -1878,6 +1880,7 @@
+ 	    $sd = IO::Socket::SSL->new(
+             PeerAddr => $peer,
+             PeerPort => $port,
++            SSL_ca_file => '%%LOCALBASE%%/share/certs/ca-root-nss.crt',
+             Proto => 'tcp',
+             MultiHomed => 1,
+             Timeout => opt('timeout'),



More information about the Midnightbsd-cvs mailing list