[ps-watcher] 75/88: set ps_prog to "/bin/ps"

Jan Wagner waja at alioth.debian.org
Fri Nov 8 23:06:49 UTC 2013


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository ps-watcher.

commit f24ac4d4f7fecc7c7b1533ff674e7dd2de6c4642
Author: Jan Wagner <waja at cyconet.org>
Date:   Wed Mar 28 06:50:43 2012 +0000

    set ps_prog to "/bin/ps"
---
 debian/changelog         |    2 ++
 debian/patches/ps_binary |   15 +++++++++++++++
 debian/patches/series    |    1 +
 3 files changed, 18 insertions(+)

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 <waja at cyconet.org>  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 <waja at 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?
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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/ps-watcher.git



More information about the Pkg-perl-cvs-commits mailing list