Index: Makefile =================================================================== RCS file: /home/pcvs/ports/dns/ddclient/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- Makefile 16 Jun 2006 13:14:30 -0000 1.18 +++ Makefile 16 Feb 2007 00:32:11 -0000 @@ -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 @@ 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: Index: distinfo =================================================================== RCS file: /home/pcvs/ports/dns/ddclient/distinfo,v retrieving revision 1.14 diff -u -r1.14 distinfo --- distinfo 16 Jun 2006 13:14:30 -0000 1.14 +++ distinfo 16 Feb 2007 00:32:11 -0000 @@ -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 Index: files/patch-ddclient =================================================================== RCS file: files/patch-ddclient diff -N files/patch-ddclient --- files/patch-ddclient 7 May 2006 00:03:25 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -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'};