set ps_prog to "/bin/ps"

This commit is contained in:
Jan Wagner 2012-03-28 06:50:43 +00:00
parent 5cf9d869f4
commit f24ac4d4f7
3 changed files with 18 additions and 0 deletions

2
debian/changelog vendored
View file

@ -4,6 +4,8 @@ ps-watcher (1.08-3) UNRELEASED; urgency=low
* Raise debhelper version to 9 * Raise debhelper version to 9
* Switch packaging format to "3.0 (quilt)" * Switch packaging format to "3.0 (quilt)"
* Add build-arch and build-indep targets to debian/rules * 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 <waja@cyconet.org> Wed, 10 Mar 2010 12:47:29 +0100 -- Jan Wagner <waja@cyconet.org> Wed, 10 Mar 2010 12:47:29 +0100

15
debian/patches/ps_binary vendored Normal file
View file

@ -0,0 +1,15 @@
From: Jan Wagner <waja@cyconet.org>
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?

1
debian/patches/series vendored Normal file
View file

@ -0,0 +1 @@
ps_binary