SOURCES: ntpwatchd-libexec.patch (NEW) - patch that removes hardcoded libex...
jajcus
jajcus at pld-linux.org
Thu May 15 15:17:16 CEST 2008
Author: jajcus Date: Thu May 15 13:17:16 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patch that removes hardcoded libexec from ntpwatchd startup script
---- Files affected:
SOURCES:
ntpwatchd-libexec.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ntpwatchd-libexec.patch
diff -u /dev/null SOURCES/ntpwatchd-libexec.patch:1.1
--- /dev/null Thu May 15 15:17:16 2008
+++ SOURCES/ntpwatchd-libexec.patch Thu May 15 15:17:10 2008
@@ -0,0 +1,21 @@
+diff -durN -x '*~' ntpwatchd-0.1.orig/ntpwatchd.pl ntpwatchd-0.1/ntpwatchd.pl
+--- ntpwatchd-0.1.orig/ntpwatchd.pl 2008-02-04 15:36:02.000000000 +0100
++++ ntpwatchd-0.1/ntpwatchd.pl 2008-05-15 15:12:39.000000000 +0200
+@@ -14,7 +14,7 @@
+ my $paddr =gethostbyname($address)
+ or die("Cannot bind address of NTP server ($address).");
+
+-system(qw(killall -q /usr/libexec/ntpwatchd)); # just in case
++system(qw(killall -q /usr/sbin/ntpwatchd)); # just in case
+
+ $SIG{CHLD} = sub {
+ die("Sub process has ended");
+@@ -38,7 +38,7 @@
+ open(STDERR, ">", $DN);
+ POSIX::setsid();
+ %ENV=();
+- exec("/usr/libexec/ntpwatchd") or
++ exec("/usr/sbin/ntpwatchd") or
+ exec("/bin/false");
+ }
+ # Allow crashing if it wants to crash
================================================================
More information about the pld-cvs-commit
mailing list