diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-02-17 23:05:24 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-02-17 23:05:24 +0000 |
commit | e16f86438da79c07e9209eaff9655c9865fb93b3 (patch) | |
tree | 4b6c573541fe0f68e764a5bb68a835866dfb01e6 /dns | |
parent | Trap an exception and set a default fqn when gethostbyaddr fails with (diff) |
- Update to 3.7.1
Approved by: RadosÅaw Kozlowski <radek@raadradd.com>
Notes
Notes:
svn path=/head/; revision=185400
Diffstat (limited to 'dns')
-rw-r--r-- | dns/ddclient/Makefile | 11 | ||||
-rw-r--r-- | dns/ddclient/distinfo | 6 | ||||
-rw-r--r-- | dns/ddclient/files/patch-ddclient | 22 |
3 files changed, 10 insertions, 29 deletions
diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index c3395963ce20..73f3277ad6a4 100644 --- a/dns/ddclient/Makefile +++ b/dns/ddclient/Makefile @@ -6,10 +6,9 @@ # PORTNAME= ddclient -PORTVERSION= 3.7.0 +PORTVERSION= 3.7.1 CATEGORIES= dns -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= SF MAINTAINER= radek@raadradd.com COMMENT= Update dynamic DNS entries @@ -33,7 +32,11 @@ PORTDOCS= COPYING COPYRIGHT Changelog README README.cisco README.ssl \ post-patch: @${GREP} -lr '/usr' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ + @${REINPLACE_CMD} \ + -e 's|/etc/ddclient|${PREFIX}/etc|' \ + -e 's|/tmp|/var/tmp|' \ + -e 's|/var/cache/ddclient|/var/tmp/ddclient|' \ + -e '/PATH/s|/etc:/usr/local/lib:||' \ -e 's|/usr.*perl|${PERL}|g' ${WRKSRC}/ddclient do-install: diff --git a/dns/ddclient/distinfo b/dns/ddclient/distinfo index 89fc9bdb9614..86d0471db3ee 100644 --- a/dns/ddclient/distinfo +++ b/dns/ddclient/distinfo @@ -1,3 +1,3 @@ -MD5 (ddclient-3.7.0.tar.bz2) = 41a3307ca32cce0f67c0f3281c5f17f2 -SHA256 (ddclient-3.7.0.tar.bz2) = c2b6878833e443f5e86fc1d94347e26d72a23de8026d5e6aec263a65d2de0025 -SIZE (ddclient-3.7.0.tar.bz2) = 36800 +MD5 (ddclient-3.7.1.tar.bz2) = f41cd854e28333f56821166cf3e49836 +SHA256 (ddclient-3.7.1.tar.bz2) = 1052c85fbe2f26161febe565aa9502b32b76cd0563dc3e3440975f13ae237e14 +SIZE (ddclient-3.7.1.tar.bz2) = 37781 diff --git a/dns/ddclient/files/patch-ddclient b/dns/ddclient/files/patch-ddclient deleted file mode 100644 index 7ec54b489035..000000000000 --- a/dns/ddclient/files/patch-ddclient +++ /dev/null @@ -1,22 +0,0 @@ ---- ./ddclient.orig Sun Dec 18 18:03:42 2005 -+++ ./ddclient Tue May 2 18:38:16 2006 -@@ -21,8 +20,8 @@ - $program =~ s/d$//; - my $now = time; - my $hostname = hostname(); --my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/'; --my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/'; -+my $etc = '%%PREFIX%%/etc/'; -+my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}/" : "/var/tmp/"); - my $msgs = ''; - my $last_msgs = ''; - -@@ -30,7 +29,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:/usr/bin:"; - - sub T_ANY {'any'}; - sub T_STRING {'string'}; |