- Update to 3.7.1

Approved by:	Radosław Kozlowski <radek@raadradd.com>
This commit is contained in:
Andrew Pantyukhin 2007-02-17 23:05:24 +00:00
parent d9df07306d
commit e16f86438d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185400
3 changed files with 10 additions and 29 deletions

View file

@ -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:

View file

@ -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

View file

@ -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'};