5726e55644
/bin/bash, add comment to patch, define LICENSE.
18 lines
701 B
Text
18 lines
701 B
Text
$NetBSD: patch-aa,v 1.7 2014/12/14 15:35:49 schmonz Exp $
|
|
|
|
Use pkgsrc paths.
|
|
|
|
--- ddclient.orig 2013-12-26 09:04:25.000000000 +0000
|
|
+++ ddclient
|
|
@@ -1,3 +1,2 @@
|
|
-#!/usr/bin/perl -w
|
|
-#!/usr/local/bin/perl -w
|
|
+#!@PERL5@ -w
|
|
######################################################################
|
|
@@ -31,4 +30,4 @@ my $now = time;
|
|
my $hostname = hostname();
|
|
-my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/';
|
|
-my $cachedir = ($program =~ /test/i) ? './' : '/var/cache/ddclient/';
|
|
+my $etc = ($program =~ /test/i) ? './' : '@PKG_SYSCONFDIR@/';
|
|
+my $cachedir = ($program =~ /test/i) ? './' : '@VARBASE@/db/';
|
|
my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
|