From f24ac4d4f7fecc7c7b1533ff674e7dd2de6c4642 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Wed, 28 Mar 2012 06:50:43 +0000 Subject: [PATCH] set ps_prog to "/bin/ps" --- debian/changelog | 2 ++ debian/patches/ps_binary | 15 +++++++++++++++ debian/patches/series | 1 + 3 files changed, 18 insertions(+) create mode 100644 debian/patches/ps_binary create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 628a056..5a260e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ ps-watcher (1.08-3) UNRELEASED; urgency=low * Raise debhelper version to 9 * Switch packaging format to "3.0 (quilt)" * Add build-arch and build-indep targets to debian/rules + * Add patches/ps_binary to set ps_prog to "/bin/ps", thank to Gregory Davis + (Closes: 645791) -- Jan Wagner Wed, 10 Mar 2010 12:47:29 +0100 diff --git a/debian/patches/ps_binary b/debian/patches/ps_binary new file mode 100644 index 0000000..a5d1b8e --- /dev/null +++ b/debian/patches/ps_binary @@ -0,0 +1,15 @@ +From: Jan Wagner +Subject: Patch path of ps, so we don't need to have the binary installed on compiletime +Index: ps-watcher-1.08/ps-watcher.in.in +=================================================================== +--- ps-watcher-1.08.orig/ps-watcher.in.in 2012-03-28 08:37:45.000000000 +0200 ++++ ps-watcher-1.08/ps-watcher.in.in 2012-03-28 08:38:13.000000000 +0200 +@@ -339,7 +339,7 @@ + $opts{syslog} = 1; # Log errors to syslog + $opts{logfile} = $DEVNULL; + $opts{daemon} = 1; # Run as daemon; +- $opts{ps_prog} = '@PS@'; # Where is ps? ++ $opts{ps_prog} = '/bin/ps'; # Where is ps? + $opts{ps_pid_opts} = '@PS_PID_OPTS@'; # How do I get pids and commands? + + $ps_arg_opts = '@PS_ARGS@'; # How do I get full process command? diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..0d7b32d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +ps_binary