pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ddclient Move ddclient cache file to $VARBASE/db/d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00b50982d0a3
branches:  trunk
changeset: 533852:00b50982d0a3
user:      bad <bad%pkgsrc.org@localhost>
date:      Wed Oct 03 18:31:19 2007 +0000

description:
Move ddclient cache file to $VARBASE/db/ddclient.cache by default.
Bump PKGREVISION.

diffstat:

 net/ddclient/Makefile         |   4 +++-
 net/ddclient/distinfo         |   4 ++--
 net/ddclient/patches/patch-aa |  26 +++++++++++++++++++++-----
 3 files changed, 26 insertions(+), 8 deletions(-)

diffs (71 lines):

diff -r 30df4d694c34 -r 00b50982d0a3 net/ddclient/Makefile
--- a/net/ddclient/Makefile     Wed Oct 03 14:45:41 2007 +0000
+++ b/net/ddclient/Makefile     Wed Oct 03 18:31:19 2007 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.25 2006/03/14 01:14:31 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2007/10/03 18:31:19 bad Exp $
 
 DISTNAME=      ddclient-3.6.6
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ddclient/}
 EXTRACT_SUFX=  .tar.bz2
@@ -26,6 +27,7 @@
 do-configure:
        cd ${WRKSRC}; for f in ddclient; do                             \
                ${SED}  -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"     \
+                       -e "s|@VARBASE@|${VARBASE}|g"                   \
                        -e "s|@PERL5@|${PERL5}|g"                       \
                        $${f} > $${f}.fixed;                    \
                if [ -x $${f} ]; then                           \
diff -r 30df4d694c34 -r 00b50982d0a3 net/ddclient/distinfo
--- a/net/ddclient/distinfo     Wed Oct 03 14:45:41 2007 +0000
+++ b/net/ddclient/distinfo     Wed Oct 03 18:31:19 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/08/02 09:55:38 wiz Exp $
+$NetBSD: distinfo,v 1.7 2007/10/03 18:31:19 bad Exp $
 
 SHA1 (ddclient-3.6.6.tar.bz2) = 55574b2bc4307122aece3dfccbdbd53771e2365b
 RMD160 (ddclient-3.6.6.tar.bz2) = afbc0c868c095408214397aab7398e36342ae666
 Size (ddclient-3.6.6.tar.bz2) = 34009 bytes
-SHA1 (patch-aa) = 0c721fd0b429387a9b49ab02927295709d226c13
+SHA1 (patch-aa) = 059cdfe339a6ef56fbcf5b9e6eddb84bd2e2da6f
diff -r 30df4d694c34 -r 00b50982d0a3 net/ddclient/patches/patch-aa
--- a/net/ddclient/patches/patch-aa     Wed Oct 03 14:45:41 2007 +0000
+++ b/net/ddclient/patches/patch-aa     Wed Oct 03 18:31:19 2007 +0000
@@ -1,14 +1,30 @@
-$NetBSD: patch-aa,v 1.3 2005/08/02 09:55:38 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2007/10/03 18:31:19 bad Exp $
 
---- ddclient.orig      Sun Nov 18 19:54:48 2001
-+++ ddclient
-@@ -1,3 +1,2 @@
+--- ddclient.orig      2005-03-20 12:01:23.000000000 +0100
++++ ddclient   2007-10-03 20:25:46.000000000 +0200
+@@ -1,5 +1,4 @@
 -#!/usr/bin/perl -w
 -#!/usr/local/bin/perl -w
 +#!@PERL5@ -w
  ######################################################################
-@@ -22,3 +21,3 @@
+ # $Header: /cvsroot/pkgsrc/net/ddclient/patches/patch-aa,v 1.4 2007/10/03 18:31:19 bad Exp $
+ #
+@@ -22,7 +21,8 @@
+ $program  =~ s/d$//;
+ my $now       = time;
  my $hostname  = hostname();
 -my $etc       = ($program =~ /test/i) ? './'   : '/etc/ddclient/';
 +my $etc       = ($program =~ /test/i) ? './'   : '@PKG_SYSCONFDIR@/';
++my $var       = ($program =~ /test/i) ? './'   : '@VARBASE@/';
  my $savedir   = ($program =~ /test/i) ? 'URL/' : '/tmp/';
+ my $msgs      = '';
+ my $last_msgs = '';
+@@ -217,7 +217,7 @@
+     'global-defaults'    => {
+       'daemon'              => setv(T_DELAY, 0, 0, 1, 0,                    interval('60s')),
+       'file'                => setv(T_FILE,  0, 0, 1, "$etc$program.conf",  undef),
+-      'cache'               => setv(T_FILE,  0, 0, 1, "$etc$program.cache", undef),
++      'cache'               => setv(T_FILE,  0, 0, 1, "${var}db/$program.cache", undef),
+       'pid'                 => setv(T_FILE,  0, 0, 1, "",                   undef),
+       'proxy'               => setv(T_FQDNP, 0, 0, 1, '',                   undef),
+       'protocol'            => setv(T_PROTO, 0, 0, 1, 'dyndns2',            undef),



Home | Main Index | Thread Index | Old Index