Index: head/dns/ddclient/Makefile =================================================================== --- head/dns/ddclient/Makefile (revision 46942) +++ head/dns/ddclient/Makefile (revision 46943) @@ -1,33 +1,34 @@ # New ports collection makefile for: ddclient # Date created: Sun Aug 26 14:45:12 CEST 2001 # Whom: Dirk Froemberg # # $FreeBSD$ # PORTNAME= ddclient PORTVERSION= 3.5.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://burry.ca:4141/ddclient/ MAINTAINER= dirk@FreeBSD.org USE_PERL5= yes NO_BUILD= yes do-install: @/usr/bin/perl -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%PERL%%|${PERL}|g' ${WRKSRC}/ddclient @${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin @${INSTALL_DATA} ${WRKSRC}/sample-etc_ddclient.conf ${PREFIX}/etc/ddclient.conf.sample @${MKDIR} ${PREFIX}/share/ddclient .for i in COPYING COPYRIGHT README README.cisco sample-etc_cron.d_ddclient \ sample-etc_dhclient-enter-hooks sample-etc_dhcpc_dhcpcd-eth0.exe \ sample-etc_ppp_ip-up.local @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/ddclient .endfor @/usr/bin/perl -pe 's|%%PREFIX%%|${PREFIX}|g' < ${FILESDIR}/ddclient.sh.sample > ${WRKDIR}/ddclient.sh.sample @${INSTALL_SCRIPT} ${WRKDIR}/ddclient.sh.sample ${PREFIX}/etc/rc.d @/usr/bin/perl -pe 's|/usr/local|${PREFIX}|g' < ${PKGMESSAGE} .include Property changes on: head/dns/ddclient/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/dns/ddclient/files/patch-aa =================================================================== --- head/dns/ddclient/files/patch-aa (revision 46942) +++ head/dns/ddclient/files/patch-aa (revision 46943) @@ -1,29 +1,29 @@ --- ddclient.orig Sat Aug 25 17:17:28 2001 +++ ddclient Sun Aug 26 19:52:01 2001 @@ -1,5 +1,4 @@ -#!/usr/bin/perl -w -#!/usr/local/bin/perl -w +#!%%PERL%% -w ###################################################################### # $Header: /home/paul/src/ddclient/RCS/ddclient,v 3.5 2001/08/25 14:22:00 root Exp $ # @@ -20,8 +19,8 @@ $program =~ s/d$//; my $now = time; my $hostname = hostname(); -my $etc = ($program =~ /test/i) ? './' : '/etc/'; -my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/'; -+my $etc = '%%PREFIX%%/etc'; -+my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}" : "/var/tmp"); ++my $etc = '%%PREFIX%%/etc/'; ++my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}/" : "/var/tmp/"); my $msgs = ''; my $last_msgs = ''; @@ -29,7 +28,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'}; Property changes on: head/dns/ddclient/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/net/ddclient/Makefile =================================================================== --- head/net/ddclient/Makefile (revision 46942) +++ head/net/ddclient/Makefile (revision 46943) @@ -1,33 +1,34 @@ # New ports collection makefile for: ddclient # Date created: Sun Aug 26 14:45:12 CEST 2001 # Whom: Dirk Froemberg # # $FreeBSD$ # PORTNAME= ddclient PORTVERSION= 3.5.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://burry.ca:4141/ddclient/ MAINTAINER= dirk@FreeBSD.org USE_PERL5= yes NO_BUILD= yes do-install: @/usr/bin/perl -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%PERL%%|${PERL}|g' ${WRKSRC}/ddclient @${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin @${INSTALL_DATA} ${WRKSRC}/sample-etc_ddclient.conf ${PREFIX}/etc/ddclient.conf.sample @${MKDIR} ${PREFIX}/share/ddclient .for i in COPYING COPYRIGHT README README.cisco sample-etc_cron.d_ddclient \ sample-etc_dhclient-enter-hooks sample-etc_dhcpc_dhcpcd-eth0.exe \ sample-etc_ppp_ip-up.local @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/ddclient .endfor @/usr/bin/perl -pe 's|%%PREFIX%%|${PREFIX}|g' < ${FILESDIR}/ddclient.sh.sample > ${WRKDIR}/ddclient.sh.sample @${INSTALL_SCRIPT} ${WRKDIR}/ddclient.sh.sample ${PREFIX}/etc/rc.d @/usr/bin/perl -pe 's|/usr/local|${PREFIX}|g' < ${PKGMESSAGE} .include Property changes on: head/net/ddclient/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/net/ddclient/files/patch-aa =================================================================== --- head/net/ddclient/files/patch-aa (revision 46942) +++ head/net/ddclient/files/patch-aa (revision 46943) @@ -1,29 +1,29 @@ --- ddclient.orig Sat Aug 25 17:17:28 2001 +++ ddclient Sun Aug 26 19:52:01 2001 @@ -1,5 +1,4 @@ -#!/usr/bin/perl -w -#!/usr/local/bin/perl -w +#!%%PERL%% -w ###################################################################### # $Header: /home/paul/src/ddclient/RCS/ddclient,v 3.5 2001/08/25 14:22:00 root Exp $ # @@ -20,8 +19,8 @@ $program =~ s/d$//; my $now = time; my $hostname = hostname(); -my $etc = ($program =~ /test/i) ? './' : '/etc/'; -my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/'; -+my $etc = '%%PREFIX%%/etc'; -+my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}" : "/var/tmp"); ++my $etc = '%%PREFIX%%/etc/'; ++my $savedir = (exists($ENV{TMPDIR}) ? "$ENV{TMPDIR}/" : "/var/tmp/"); my $msgs = ''; my $last_msgs = ''; @@ -29,7 +28,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'}; Property changes on: head/net/ddclient/files/patch-aa ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property