debian/0000755000000000000000000000000012262635772007202 5ustar debian/postinst0000644000000000000000000000602311756105145011002 0ustar #!/bin/sh # postinst script for procps # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. # Move a conffile without triggering a dpkg question mv_conffile() { OLDCONFFILE="$1" NEWCONFFILE="$2" if [ -e "$OLDCONFFILE" ]; then echo "Preserving user changes to $NEWCONFFILE ..." mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new mv -f "$OLDCONFFILE" "$NEWCONFFILE" fi } # update alternative, if it exists check_alternatives() { BINNAME="$1" BINPATH="$2" MANSEC="$3" if [ -e "$BINPATH"/"$BINNAME".procps ] ; then update-alternatives --install "$BINPATH"/"$BINNAME" "$BINNAME" \ "$BINPATH"/"$BINNAME".procps 50 \ --slave /usr/share/man/man"$MANSEC"/"$BINNAME"."$MANSEC".gz "$BINNAME"."$MANSEC".gz \ /usr/share/man/man"$MANSEC"/"$BINNAME".procps."$MANSEC".gz fi } case "$1" in configure|abort-remove|abort-deconfigure) if [ -e /etc/psdevtab ] ; then rm -f /etc/psdevtab fi if [ -e /etc/psdatabase ] then rm -f /etc/psdatabase fi # Remove old procps init.d script, if it exists Closes: #55137 if [ -L /etc/rcS.d/S30procps.sh ] then update-rc.d -f procps.sh remove >/dev/null fi # and if that didn't work Closes: #92184 (#234306 with -L ) if [ -L /etc/rcS.d/S30procps.sh ] then rm -f /etc/rcS.d/S30procps.sh fi # Remove moved procps.sh file, if it is there if dpkg --compare-versions "$2" le "1:3.2.7-3"; then mv_conffile "/etc/init.d/procps.sh" "/etc/init.d/procps" fi # # Now to do the alternatives for w update-alternatives --install /usr/bin/w w /usr/bin/w.procps 50 \ --slave /usr/share/man/man1/w.1.gz w.1.gz /usr/share/man/man1/w.procps.1.gz # Do alternatives for uptime kill vmstat and ps, if required check_alternatives "uptime" "/usr/bin" "1" check_alternatives "kill" "/usr/bin" "1" check_alternatives "vmstat" "/usr/bin" "8" check_alternatives "ps" "/bin" "1" ;; abort-upgrade) # Nothing to do ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/docs0000644000000000000000000000011011756111432010032 0ustar Documentation/BUGS Documentation/FAQ Documentation/TODO top/README.top debian/procps.install.hurd0000644000000000000000000000006411756105145013032 0ustar # Files to install for hurd systems bin/* usr/bin/* debian/procps.menu0000644000000000000000000000023611756105145011370 0ustar ?package(procps):needs="text" section="Applications/System/Monitoring" \ title="Top" \ description="Display Linux tasks" \ command="/usr/bin/top" debian/preinst0000644000000000000000000000307011756105145010602 0ustar #!/bin/sh # preinst script for procps # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package prep_mv_conffile() { PKGNAME=$1 CONFFILE=$2 if [ -e "$CONFFILE" ]; then md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" if [ "$md5sum" = "$old_md5sum" ]; then rm -f "$CONFFILE" fi fi } upgradeoldconffile() { f=/etc/init.d/procps.sh [ ! -e "$f" ] && return curmd5=`md5sum "$f" |awk '{print $1}'` oldmd5=`dpkg-query -W -f='${Conffiles}' procps | sed "{\\'^ $f ' ! d; s///}"` [ "$curmd5" = "$oldmd5" ] && { # The admin has not modified $f echo "Preparing to remove obsolete, unmodified conffile: $f" mv -fv "$f" "$f.from-preinst" return } >&2 # The admim modified $f; cause a deliberate conffile prompt echo "Moving obsolete conffile to new pathname:" mv -fv "$f" "${f%.sh}" } case "$1" in install) ;; upgrade) prep_mv_conffile procps "/etc/init.d/procps.sh" ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/copyright0000644000000000000000000000414211756105145011127 0ustar This is the Debian Linux prepackaged version of the /proc file system utilities. This package was downloaded from: https://gitorious.org/procps Upstream Authors: Werner Almesberger , Roger Binns, Charles Blake , Brian Edmonds, David Engel , Larry Greenfield , Michael K. Johnson , Branko Lankester , Robert Nation , Michael Shields , Henry Ware , Matt Welsh , Albert D. Cahalan, Jim C. Warner , and Kjetil Torgrim Homme Copyright: free.c: Copyright 2003 Robert Love Copyright 2004 Albert Cahalan minimal.c: Copyright 1998,2004 Albert Cahalan pgrep.c: Copyright 2000 Kjetil Torgrim Homme pmap.c: Copyright 2002 by Albert Cahalan pwdx.c: Copyright 2004 Nicholas Miell skill.c: Copyright 1998-2002 by Albert Cahalan slabtop.c: Copyright 2003 Chris Rivera sysctl.c: Copyright 1999 George Staikos tload.c: Copyright 1992 Branko Lankester top.c: Copyright 2002 James C. Warner vmstat.c: Copyright 1994 Henry Ware Copyright 2002 Albert Cahalan ps/display.c, ps/parser.c: Copyright 1998-2003 by Albert Cahalan ps/global.c, ps/global.c: Copyright 1998-2002 by Albert Cahalan ps/help.c, ps/sortformat.c: Copyright 1998-2004 by Albert Cahalan ps/output.c: Copyright 1999-2004 by Albert Cahalan License: The programs sysctl and pgrep copyright by their authors and redistributable under the terms of the GNU General Public License. On Debian Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. All other software is copyright by their authors and redistributable under the terms of the GNU Library General Public License. On Debian Linux systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2'. debian/libprocps3.install.in0000644000000000000000000000011012126170033013226 0ustar usr/lib/${DEB_HOST_MULTIARCH}/libprocps.so.* lib/${DEB_HOST_MULTIARCH}/ debian/prerm0000644000000000000000000000025211756105145010242 0ustar #!/bin/sh set -e case "$1" in remove|deconfigure) update-alternatives --remove w /usr/bin/w.procps ;; upgrade|failed-upgrade) ;; esac #DEBHELPER# exit 0 debian/libprocps3-dev.links.in0000644000000000000000000000012412262635710013472 0ustar lib/${DEB_HOST_MULTIARCH}/libprocps.so.3 usr/lib/${DEB_HOST_MULTIARCH}/libprocps.so debian/procps.init.linux0000644000000000000000000000225012150642370012516 0ustar #! /bin/sh # /etc/init.d/procps: Set kernel variables from /etc/sysctl.conf # # written by Elrond ### BEGIN INIT INFO # Provides: procps # Required-Start: mountkernfs $local_fs # Required-Stop: # Should-Start: udev module-init-tools # X-Start-Before: $network # Default-Start: S # Default-Stop: # Short-Description: Configure kernel parameters at boottime # Description: Loads kernel parameters that are specified in /etc/sysctl.conf ### END INIT INFO PATH=/sbin:/bin SYSCTL=/sbin/sysctl test -x $SYSCTL || exit 0 . /lib/lsb/init-functions # Comment this out for sysctl to print every item changed QUIET_SYSCTL="-q" # Check for existance of the default file and exit if not there, # Closes #52839 for the boot-floppy people if [ -f /etc/default/rcS ] ; then . /etc/default/rcS fi set -e case "$1" in start|restart|force-reload|reload) log_action_begin_msg "Setting kernel variables " STATUS=0 $SYSCTL $QUIET_SYSCTL --system || STATUS=$? log_action_end_msg $STATUS ;; stop) ;; status) ;; *) echo "Usage: /etc/init.d/procps {start|stop|restart|reload|force-reload|status}" >&2 exit 3 ;; esac exit 0 debian/changelog0000644000000000000000000023371412262635761011064 0ustar procps (1:3.3.9-1ubuntu2) trusty; urgency=medium * Fix libprocps.so symlink to point to libprocps.so.3. -- Matthias Klose Mon, 06 Jan 2014 23:27:16 +0000 procps (1:3.3.9-1ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - debian/sysctl.d (Ubuntu-specific): + 10-console-messages.conf: stop low-level kernel messages on console. + 10-kernel-hardening.conf: add the kptr_restrict setting + 10-keyboard.conf.powerpc: mouse button emulation on PowerPC. + 10-ipv6-privacy.conf: add a file to sysctl.d to apply the defaults for IPv6 privacy extensions for interfaces. (LP: #176125, #841353) + 10-link-restrictions.conf: even though the Ubuntu kernel is built with these defaults in place, we want to make sure that people running stock kernels don't miss out. + 10-magic-sysrq.conf: Disable most magic sysrq by default, allowing critical sync, remount, reboot functions. (LP: #194676, LP: #1025467) + 10-network-security.conf: enable rp_filter and SYN-flood protection. + 10-ptrace.conf: describe new PTRACE setting. + 10-zeropage.conf: safe mmap_min_addr value for graceful fall-back. + README: describe how this directory is supposed to work. - debian/upstart (Ubuntu-specific): upstart configuration to replace old style sysv init script - Fix cross build - ignore_eaccess.patch: If we get eaccess when opening a sysctl file for writing, don't error out. Otherwise package upgrades can fail, especially in containers. (LP: #1157643) - Build using dh-autoreconf, update libtool.m4. - Build-depend on pkg-config. -- Matthias Klose Mon, 06 Jan 2014 15:28:04 +0100 procps (1:3.3.9-1) unstable; urgency=medium * New upstream version - watch interval capacity was increased Closes: #720445 - pwdx no longer fails in a nonexistent locale Closes: #718766 - top clarified summary area Mem/Swap stats Closes: #718670 - top batch mode -w (width) abend fixed Closes: #721204 - top man page removed 'Bd/Ed' mdoc macros Closes: #725713 - Skip some tests if kill cannot be found Closes: #725743 - Added stolen time to vmstat Closes: #695404 * Update to standards 3.9.4 - no change -- Craig Small Mon, 16 Dec 2013 21:56:39 +1100 procps (1:3.3.8-2ubuntu3) trusty; urgency=medium * Build-depend on pkg-config. -- Matthias Klose Thu, 05 Dec 2013 14:31:04 +0100 procps (1:3.3.8-2ubuntu2) trusty; urgency=low * Build using dh-autoreconf, update libtool.m4. * Fix build with glibc-2.18/linux-3.13. -- Matthias Klose Thu, 05 Dec 2013 13:27:37 +0100 procps (1:3.3.8-2ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - debian/sysctl.d (Ubuntu-specific): + 10-console-messages.conf: stop low-level kernel messages on console. + 10-kernel-hardening.conf: add the kptr_restrict setting + 10-keyboard.conf.powerpc: mouse button emulation on PowerPC. + 10-ipv6-privacy.conf: add a file to sysctl.d to apply the defaults for IPv6 privacy extensions for interfaces. (LP: #176125, #841353) + 10-link-restrictions.conf: even though the Ubuntu kernel is built with these defaults in place, we want to make sure that people running stock kernels don't miss out. + 10-magic-sysrq.conf: Disable most magic sysrq by default, allowing critical sync, remount, reboot functions. (LP: #194676, LP: #1025467) + 10-network-security.conf: enable rp_filter and SYN-flood protection. + 10-ptrace.conf: describe new PTRACE setting. + 10-zeropage.conf: safe mmap_min_addr value for graceful fall-back. + README: describe how this directory is supposed to work. - debian/upstart (Ubuntu-specific): upstart configuration to replace old style sysv init script - pwdx.c: Fix failure when executed in a nonexistent locale (LP: #1213160) - Fix cross build - ignore_eaccess.patch: If we get eaccess when opening a sysctl file for writing, don't error out. Otherwise package upgrades can fail, especially in containers. (LP: #1157643) * Disable one pmap test to allow the package to build on LP sbuild (the test suite seems a bit unreliable as the failures appear to vary between LP sbuild, local sbuild and local pbuilder). -- Stテゥphane Graber Mon, 21 Oct 2013 16:20:22 -0400 procps (1:3.3.8-2) unstable; urgency=low * Fixed numa dependencies Closes: #711312 * Removed some tests that choked pbuilder Closes: #710851 -- Craig Small Thu, 06 Jun 2013 22:10:37 +1000 procps (1:3.3.8-1) unstable; urgency=low * New upstream version - top.1 license changed Closes: #708967 - top has NUMA support Now require libnuma-dev for building - top suspend crash fixed Closes: #706259 - top %CPU and %MEM columns widths restored Closes: #707648 * libprocps1-dev conflicts with libprocps0-dev Closes: 706920 * init script uses --system Closes: #698888 * Removed .la file installation -- Craig Small Mon, 27 May 2013 21:25:22 +1000 procps (1:3.3.7-1) experimental; urgency=low * New upstream version - top adds a powerful new filter feature wherein any window can include or exlude selected fields which contain specific values Closes: #682082, #682083 - top user filtering with exclusion Closes: #682086 * Removed nocheck to build options Closes: #699716 * Minor typo in sysctl.conf fixed Closes: #698482 -- Craig Small Tue, 26 Mar 2013 22:11:49 +1100 procps (1:3.3.6-2) experimental; urgency=low * Experimental release * Has build-deps on dejagnu Closes: #699218 -- Craig Small Sat, 02 Feb 2013 18:09:45 +1100 procps (1:3.3.6-1) unstable; urgency=low * New upstream version - top has new inspect (Y key) feature that some program can be run against the selected PID - sysctl.8: format fix in synopsis Closes: #675848 - Expose freeproc for libproc Closes: #681653 - ps.1: format fix in notes Closes: #692170 - Add -c count option to pkill Closes: #693783 - vmstat occasional crashes fixed Closes: #677903 * libprocps now in Section: libs Closes: #693647 -- Craig Small Tue, 01 Jan 2013 13:47:29 +1100 procps (1:3.3.5-1) unstable; urgency=low * New upstream version * Stop SIGFPE on vmstat at times Closes: #677903 * Upstream took freebsd bug patch * Second re-release due to 3.3.4-2 required first -- Craig Small Sun, 18 Nov 2012 08:24:51 +1100 procps (1:3.3.4-2) unstable; urgency=medium * Rolled back 3.3.4 API changes Closes: #692063, #691847 -- Craig Small Sun, 04 Nov 2012 22:49:06 +1100 procps (1:3.3.4-1) unstable; urgency=low * New upstream version * kill: takes negative pids again Closes: #688731 * pgrep: -F doesnt need line feed Closes: #676709 * ps: removed bogus ps bogus message Closes: #670592 * watch: doesnt crash with wide characters Closes: #675069 * pgrep: -a modifies output -f changes matches Closes: #526355 * top: add major/minor page fault deltas Closes: #84992 * ps: favor truncation of long names over POSIX/UNIX standard Closes: #598089 * Added X-Start-Before to init script Closes: #676381 -- Craig Small Mon, 29 Oct 2012 22:12:08 +1100 procps (1:3.3.3-2ubuntu8) saucy; urgency=low * ignore_eaccess.patch: If we get eaccess when opening a sysctl file for writing, don't error out. Otherwise package upgrades can fail, especially in containers. (LP: #1157643) -- Serge Hallyn Wed, 16 Oct 2013 13:45:48 -0500 procps (1:3.3.3-2ubuntu7) saucy; urgency=low * Backport of a45dace4 and 95d01362 in order to enable dynamically allocated buffers in file2str. This fixes a number of seg fault problems including the one related to large numbers of groups per user. (LP: #1150413) -- Dave Chiluk Thu, 26 Sep 2013 15:32:17 -0700 procps (1:3.3.3-2ubuntu6) saucy; urgency=low * pwdx.c: Fix pwdx argument parsing, fixing FTBFS on arm64 (LP: #1213156) * pwdx.c: Fix failure when executed in a nonexistent locale (LP: #1213160) -- dann frazier Fri, 16 Aug 2013 10:07:49 -0600 procps (1:3.3.3-2ubuntu5) raring; urgency=low * Fix cross build. -- Matthias Klose Fri, 04 Jan 2013 17:13:35 +0100 procps (1:3.3.3-2ubuntu4) raring; urgency=low * debian/sysctl.d/10-link-restrictions.conf: even though the Ubuntu kernel is built with these defaults in place, we want to make sure that people running stock kernels don't miss out. -- Kees Cook Wed, 28 Nov 2012 11:13:01 -0800 procps (1:3.3.3-2ubuntu3) quantal; urgency=low * debian/sysctl.d/10-magic-sysrq.conf: adjust to 176 by default, retaining support for the critical sync, remount, reboot functions. SysRq+E and SysRq+I are still disabled, which unfortunately means SysRq by default cannot be used to kill a broken X server; but the only way to enable these would be to re-enable SysRq+F, which is one of the options that's problematic security-wise. LP: #1025467 -- Steve Langasek Mon, 16 Jul 2012 17:06:59 -0700 procps (1:3.3.3-2ubuntu2) quantal; urgency=low * Add debian/sysctl.d/10-magic-sysrq.conf: disable the magic sysrq key by default, since it's not needed for the average system, and exposes security issues such as memory disclosure and killing arbitrary processes including the screen lock. (LP: #194676) -- Marc Deslauriers Thu, 21 Jun 2012 08:19:56 -0400 procps (1:3.3.3-2ubuntu1) quantal; urgency=low * Merge from Debian unstable. Remaining changes: - debian/sysctl.d (Ubuntu-specific): + 10-console-messages.conf: stop low-level kernel messages on console. + 10-kernel-hardening.conf: add the kptr_restrict setting + 10-keyboard.conf.powerpc: mouse button emulation on PowerPC. + 10-network-security.conf: enable rp_filter and SYN-flood protection. + 10-ptrace.conf: describe new PTRACE setting. + 10-zeropage.conf: safe mmap_min_addr value for graceful fall-back. + README: describe how this directory is supposed to work. - debian/upstart (Ubuntu-specific): upstart configuration to replace old style sysv init script -- Oliver Grawert Wed, 20 Jun 2012 13:12:40 +0200 procps (1:3.3.3-2) unstable; urgency=low * Fixes for kFreeBSD Closes: #674785 * pgrep -u off by one fixed Closes: #676239 -- Craig Small Sun, 17 Jun 2012 17:58:55 +1000 procps (1:3.3.3-1) unstable; urgency=low * New upstream version - Changed labels of kB etc to KiB Closes: #662786 - top supports hotplugged memory and cpus Closes: #351934, #459287 - top %cpu not distorted when switch to/from threads Closes: #441166 - top can read old toprc configuration files Closes: #651213, #651863 - top supports input paste once again Closes: #663334 - top -p avoids SEGV when pid doesn't exist Closes: 668335 - pgrep.1 groff syntax fix Closes: #665425 - sysctl .conf off-by-one error Closes: #669128 - top forestview doesnt segfault Closes: #650864 - skill: fix argument parsing regression Closes: #659038 - sysctl: fix argument parsing regression Closes: #666181 - watch: inform about optional argument for -d switch Closes: #597021 - top.1: Fixed groff warnings Closes: #664015 * Update to standard version 3.9.3 - no changes -- Craig Small Sun, 20 May 2012 16:48:44 +1000 procps (1:3.3.2-3) unstable; urgency=low * Updated to debhelper compat level 9 * DH9 uses harden build flags Closes: #656511 * Added news entry about toprc file format change Closes: #651213 -- Craig Small Mon, 23 Jan 2012 22:28:38 +1100 procps (1:3.3.2-2) unstable; urgency=low * sysctl -p has no space, update init and man page Closes: #655685 -- Craig Small Fri, 13 Jan 2012 23:56:42 +1100 procps (1:3.3.2-1) unstable; urgency=low * New upstream version * libprocps split out into own package Closes: #651203, #651179 * free -b uses long long variables Closes: #654368 * w built with from on by default Closes: #651486 * libproc symlink corrected Closes: #651117 * Fixed install files for kfreebsd and hurd Closes: #652128 * reload option added to init Closes: #628980 -- Craig Small Mon, 09 Jan 2012 22:44:38 +1100 procps (1:3.3.1-1) unstable; urgency=low * New upstream version - pgrep -u finds processes Closes: #649591 - slabtop_once patch applied upstream - watch_8bitchar patch applied upstream - vmstat_part_format patch applied upstream * include correct libproc-ng.so symlink Closes: #650314, #638916, #651117 -- Craig Small Tue, 06 Dec 2011 21:51:15 +1100 procps (1:3.3.0-1) unstable; urgency=low * Forked upstream version from procps-ng - top fixed. Removed patches top_irix, top_stdin_eof, top_uid_length, top_c_resize, top_mintime, top_highlight, top_username - Manual pages updated: removed patches free.1, pmap.1, 10_ps.1, skill.1, slabtop_1, sysctl.8, tload.1, uptime.1, vmstat.8, watch.1, kill.1, top.1, top.1_cpustates, w.1, pgrep.1, top_1_options, top_1_typos, top_1_flt_output, top_1_swap - New build system, remove patch module_mk_shared, library_map_freeproc, makefile_dev_null, makefile_include - kfreebsd patches applied to upstream - cgroup for ps Closes: #583745 * Watch 8-bit temporary disabled * Added Multi-Arch: foreign to control Closes: #646834 * Removed ancient conflicts on packages no longer in Debian * silently accepts status for init script Closes: #646250 -- Craig Small Mon, 21 Nov 2011 22:34:17 +1100 procps (1:3.2.8-11ubuntu6) precise; urgency=low * debian/sysctl.d/10-zeroconf ... have armhf using teh same value that is used on armel for vm.mmap_min_addr (LP: #901847) -- Oliver Grawert Mon, 12 Dec 2011 18:31:15 +0100 procps (1:3.2.8-11ubuntu5) precise; urgency=low * debian/sysctl.d/10-ipv6-privacy.conf: add a file to sysctl.d to apply the defaults for IPv6 privacy extensions for interfaces. (LP: #176125, #841353) -- Mathieu Trudel-Lapierre Mon, 05 Dec 2011 12:46:24 +0100 procps (1:3.2.8-11ubuntu4) precise; urgency=low * Reintroduce the patch from -11ubuntu2 to run sysctl twice, this time with an upgrade-proof upstart job. -- Steve Langasek Thu, 17 Nov 2011 13:07:06 -0800 procps (1:3.2.8-11ubuntu3) precise; urgency=low * debian/upstart: Revert previous upload, breaks upgrades. (LP: #891369) -- Martin Pitt Thu, 17 Nov 2011 06:04:10 +0100 procps (1:3.2.8-11ubuntu2) precise; urgency=low * Make procps job run twice: as early as possible (for kernel parameters such as kernel.printk) and then after all network interfaces are up (to account for any kernel parameters relating to recently loaded networking modules) (LP: #771372). -- James Hunt Wed, 16 Nov 2011 15:17:38 +0000 procps (1:3.2.8-11ubuntu1) precise; urgency=low * Merge from Debian testing, remaining changes: - debian/rules (Ubuntu-specific): + use upstart for init script. + install sysctl files from new sysctl.d directory. + set init script to S17. - debian/sysctl.d (Ubuntu-specific): + 10-console-messages.conf: stop low-level kernel messages on console. + 10-kernel-hardening.conf: add the kptr_restrict setting + 10-keyboard.conf.powerpc: mouse button emulation on PowerPC. + 10-network-security.conf: enable rp_filter and SYN-flood protection. + 10-ptrace.conf: describe new PTRACE setting. + 10-zeropage.conf: safe mmap_min_addr value for graceful fall-back. + README: describe how this directory is supposed to work. - debian/upstart (Ubuntu-specific): upstart configuration to replace old style sysv init script. * Dropped changes, included in Debian: - debian/patch/ubuntu-handle-short-kernel-versions.patch -- quiet warning when kernel version are less than 3 digits. - pmap.c: pmap -x correctly reports Kbytes column and prints summaries for RSS and Dirty * Other dropped changes: - specifying '--error-handler=:': the correct way to avoid starting jobs in a schroot is by configuring policy-rc.d or by diverting invoke-rc.d; we should not silently ignore errors. * Mark procps multiarch: foreign. -- Steve Langasek Thu, 27 Oct 2011 09:26:56 -0700 procps (1:3.2.8-11) unstable; urgency=low * No more complaints for 3.0 kernels Closes: #632749 * vmstat truncated to 32bits Closes: #620557 * Update to standards version 3.9.2 -- Craig Small Mon, 25 Jul 2011 22:20:41 +1000 procps (1:3.2.8-10ubuntu5) oneiric; urgency=low * Add debian/sysctl.d/10-kernel-hardening.conf: add the kptr_restrict setting in the case of people running non-Ubuntu kernels to gain the protection, as well as providing direct documentation about the possible values. -- Kees Cook Thu, 23 Jun 2011 14:56:34 -0700 procps (1:3.2.8-10ubuntu4) oneiric; urgency=low * debian/patch/ubuntu-handle-short-kernel-versions.patch -- quiet warning when kernel version are less than 3 digits. -- Andy Whitcroft Fri, 10 Jun 2011 18:51:11 +0100 procps (1:3.2.8-10ubuntu3) natty; urgency=low * debian/rules: fix installation in a schroot by telling dh_installinit to use the old '|| :' behavior instead of the default behavior (exiting with error) by specifying '--error-handler=:' (LP: #753675) -- Marc Deslauriers Thu, 07 Apr 2011 11:22:04 -0400 procps (1:3.2.8-10ubuntu2) natty; urgency=low * pmap.c: pmap -x correctly reports Kbytes column and prints summaries for RSS and Dirty (LP: #753124) -- Andrey Bondarenko Thu, 07 Apr 2011 08:51:12 +0600 procps (1:3.2.8-10ubuntu1) natty; urgency=low * Merge from debian unstable (LP: #690632), remaining changes: - debian/rules (Ubuntu-specific): + use upstart for init script. + install sysctl files from new sysctl.d directory. - debian/sysctl.d (Ubuntu-specific): + 10-console-messages.conf: stop low-level kernel messages on console. + 10-network-security.conf: enable rp_filter and SYN-flood protection. + 10-keyboard.conf.powerpc: mouse button emulation on PowerPC. + 10-zeropage.conf: safe mmap_min_addr value for graceful fall-back. + README: describe how this directory is supposed to work. - debian/upstart, debian/postinst (Ubuntu-specific): upstart configuration to replace old style sysv init script. - Added debian/sysctl.d/10-ptrace.conf: + describe new PTRACE setting. + adjusted to include new yama path. - debian/procps.upstart: duplicate the original init script behavior of not failing on unknown keys (required for cross-kernel upgrades, etc). - debian/postinst, debian/rules: instead of manually calling 'start' in the postinst, allow dh_installinit to DTRT. - debian/sysctl.d/README: fix the documentation to point at the standard interfaces, not at the 'start' command. -- Lorenzo De Liso Wed, 15 Dec 2010 13:38:28 +0100 procps (1:3.2.8-10) unstable; urgency=low * PATH_MAX fix for hurd Closes: #588677 * Added sorting for mem% in ps Closes: #599043 * Adjusted Makefile includes for make 3.82 Closes: #603759 * Fixed minor typos in ps.1 Closes: #592116 * Added RedHat patch procps-3.2.8-longcmd to stop truncated lines * cgroup added to ps.1 from RedHat patch ps_cgroup_display * Read system time from /proc/stat instead of calculating - From SuSE patch btime-from-proc-stat * imported RedHat patch top-clrscr so top clears screen when quitting * Updated to standards version 3.9.1 -- Craig Small Thu, 18 Nov 2010 22:37:56 +1100 procps (1:3.2.8-9ubuntu5) natty; urgency=low [ Steve Langasek ] * debian/postinst, debian/rules: instead of manually calling 'start' in the postinst, allow dh_installinit to DTRT (LP: #602896). * debian/sysctl.d/README: fix the documentation to point at the standard interfaces, not at the 'start' command. -- Kees Cook Thu, 04 Nov 2010 10:32:25 -0700 procps (1:3.2.8-9ubuntu3) maverick; urgency=low * debian/sysctl.d/10-ptrace.conf: adjusted to include new yama path. -- Kees Cook Tue, 06 Jul 2010 15:23:12 -0700 procps (1:3.2.8-9ubuntu2) maverick; urgency=low * debian/procps.upstart: duplicate the original init script behavior of not failing on unknown keys (required for cross-kernel upgrades, etc). -- Kees Cook Wed, 09 Jun 2010 10:18:14 -0700 procps (1:3.2.8-9ubuntu1) maverick; urgency=low * Merge with Debian unstable; remaining changes: - debian/rules (Ubuntu-specific): - use upstart for init script. - install sysctl files from new sysctl.d directory. - debian/sysctl.d (Ubuntu-specific): - 10-console-messages.conf: stop low-level kernel messages on console. - 10-network-security.conf: enable rp_filter and SYN-flood protection. - 10-keyboard.conf.powerpc: mouse button emulation on PowerPC. - 10-zeropage.conf: safe mmap_min_addr value for graceful fall-back. - README: describe how this directory is supposed to work. - debian/upstart, debian/postinst (Ubuntu-specific): - upstart configuration to replace old style sysv init script. * Fixed upstream: debian/patches/60_linux_version_init.dpatch * Added debian/sysctl.d/10-ptrace.conf: describe new PTRACE setting. -- Kees Cook Tue, 08 Jun 2010 11:45:44 -0700 procps (1:3.2.8-9) unstable; urgency=low * Fix for patch on cgroup crash Closes: #579824 -- Craig Small Sun, 02 May 2010 21:06:06 +1000 procps (1:3.2.8-8) unstable; urgency=low * Work-around for kfreebsd HZ problem Bug #460331 * Added comments about ipv6 keys to README Closes: #507788 ipv6 is compiled in by default so this impacts custom kernels only * Added note the ipv4/tcp* keys effect ipv6 too Closes: #571281 * watch interprets ANSI color Closes: #129334 * Fixed off by one for top -u username Closes: #571790 * Document maj_flt and min_flt in ps.1 Closes: #434221 -- Craig Small Mon, 01 Mar 2010 12:37:06 +1100 procps (1:3.2.8-7) unstable; urgency=low * Adjusts skill_multiarg.patch so multiple args work Closes: #569030 -- Craig Small Wed, 10 Feb 2010 21:36:05 +1100 procps (1:3.2.8-6) unstable; urgency=low * Removed non-linux binaries from package Closes: #568255 * Cleaned up some extra files not needed in hurd and kfreebsd * top handles numeric arguments better Closes: #358724 * Explain what SWAP means in top.1 Closes: #217841 * w makes better guesses at process Closes: #187808 -- Craig Small Fri, 05 Feb 2010 23:03:38 +1100 procps (1:3.2.8-5) unstable; urgency=low * Need both ncurses*-dev depends Closes: #568038 -- Craig Small Tue, 02 Feb 2010 14:21:46 +1100 procps (1:3.2.8-4) unstable; urgency=low * Build-depends on libncurses5w-dev Closes: #567783 * Updated to standards 3.8.4 * Changed priority to important See: #564504 * Added Vcs-* fields to control -- Craig Small Mon, 01 Feb 2010 13:53:43 +1100 procps (1:3.2.8-3) unstable; urgency=low * Changed source format to 3.0 quilt * rules file to new debhelper tiny format * some pid points set to null if status file cannot be read Closes: #550009 * vmstat doesn't scale things that shouldn't Closes: #558134 * Limit counter wrap with vmstat Closes: #558361 * Adjusted rules file so wont build amd64 files on i386 Closes: #558089 * Removed kernel.maps_protect from example file Closes: #554808 * skill doesnt treat null param as 0 Closes: #551173 * Reduced init.d verbosity Closes: #567704 * Documented /etc/sysctl.d directory Closes: #551933 * sysctl.conf warns about RAs ignored with ipv6 forwarding Closes: #545007 * free -o better documented Closes: #526604 * slabtop -o doesnt use ncurses slabtop_once patch Closes: #503089 * libproc.so symlink in -dev package Closes: #306778 * skill/snice option parsing fixed Closes: #331419 * Forced libproc constructor order Closes: #460331 * pmap -x prints RSS and dirty columns Closes: #347476, #505571 -- Craig Small Sun, 31 Jan 2010 18:31:08 +1100 procps (1:3.2.8-2) unstable; urgency=low * ps displays supplementary groups Closes: #506303 * Updated to standards version 3.8.3 * Removed setproctitle reference in ps.1 Closes: #529045 * Fixed LGPL path in copyright Closes: 528814 * Adjusted printk in sysctl suggestion Closes: #526855 * Fixed package description Closes: #535954 * Renamed second SZ to SIZE in ps Closes: #541061 * Removed net options in sysctl.conf that are there by default Closes: #540186 * Updated free.1 Closes: #534198 * Fixed typo in NEWS.Debian Closes: #513381 * Removed comment about window scaling in sysctl example Closes: #512764 * ps.1 options sorted Closes: #518620 * Added PROCPS_USERLEN environment variable to set username length in w Closes: #396423 * Added PROCPS_FROMLEN environment variable to set from column width in w Closes: #341439 * Adjusted column width for ps.1 -- Craig Small Mon, 05 Oct 2009 21:14:10 +1100 procps (1:3.2.8-1.2) unstable; urgency=low * Non-maintainer upload to fix release goal. * Avoid using /usr/bin/which in init.d script, to make sure it work before /usr/ is mounted (Closes: #548802). -- Petter Reinholdtsen Thu, 01 Oct 2009 11:30:03 +0200 procps (1:3.2.8-1.1) unstable; urgency=low * Non-maintainer upload to fix release goal. * Correct init.d script dependencies and depend on initscripts to make sure the required script dependencies are present (Closes: #546888). * Add depend on ${misc:Depends} some times used by debhelper. -- Petter Reinholdtsen Wed, 16 Sep 2009 17:02:42 +0200 procps (1:3.2.8-1ubuntu4) lucid; urgency=low * debian/sysctl.d/10-zeropage.conf*: Reestablish a procps-controlled mmap_min_addr value so that when package-installed sysctl settings are removed, the secure default is restored. * debian/rules: enhance per-architecture sysctl install logic to allow installing "non-default" conf files instead of always building up a single arch-specific config. * debian/sysctl.d/README: clarify how to use procps when changing files. * debian/sysctl.conf: - remove outdated example of maps_protect (LP: #269715). - remove invalid warning about TCP Window Scaling. -- Kees Cook Wed, 16 Dec 2009 11:06:56 -0800 procps (1:3.2.8-1ubuntu3) karmic; urgency=low FFE LP: #427356. * Replace init script with Upstart job. - Do not start after upgrade. * debian/control: - Add missing ${misc:Depends} - Bump build-dependency on debhelper for Upstart-aware dh_installinit * Use contents of /etc/sysctl.conf after contents of files in /etc/sysctl.d LP: #292470. -- Scott James Remnant Tue, 15 Sep 2009 03:26:56 +0100 procps (1:3.2.8-1ubuntu2) karmic; urgency=low * New patch 60_linux_version_init, fixes linux version detection. This relied on a side-effect of the elf loader and previously hoped that constructors would be called in a certain order. That behavior was undefined and hence unreliable. For newer kernels, an elf note is now checked to extract HZ tick count. (LP: #364656). -- David Sugar Thu, 06 Aug 2009 10:02:54 +0000 procps (1:3.2.8-1ubuntu1) karmic; urgency=low * Merge from debian unstable, remaining changes: - debian/rules (Ubuntu-specific): - set init script to priority 17. - install sysctl files from new sysctl.d directory. - append debian/sysctl.d/*.conf.$DEB_HOST_ARCH to 10-arch-specific.conf - debian/sysctl.d (Ubuntu-specific): - 10-console-messages.conf: stop low-level kernel messages on console. - 10-network-security.conf: enable rp_filter and SYN-flood protection. - 10-keyboard.conf.powerpc: mouse button emulation on PowerPC. - Drop conf-file-cleanups in debian/{preinst,postinst,postrm}. - Drop pre-Hardy rcS.d procps.sh cleanups in debian/postinst. -- Kees Cook Wed, 03 Jun 2009 07:28:56 -0700 procps (1:3.2.8-1) unstable; urgency=low * New upstream release * Actually apply sort time patch Closes: #508435 * Corrected 35_path_max patch Closes: #519331 * fixed cumulative parameter in watch.1 Closes: #527193 * Applied vmstat -p fix patch Closes: #526360 -- Craig Small Thu, 28 May 2009 17:34:22 +1000 procps (1:3.2.7-11ubuntu2) jaunty; urgency=low * debian/{preinst,postinst,postrm}: drop sysctl.d/10-process-security.conf now that the defaults are carried in the kernel configurations (LP: #344955). -- Kees Cook Wed, 18 Mar 2009 14:52:48 -0700 procps (1:3.2.7-11ubuntu1) jaunty; urgency=low * Merge from debian unstable, remaining changes: - debian/{postinst,rules}: init script to priority 17, remove on upgrade. - debian/rules (Ubuntu-specific): - install sysctl files from new sysctl.d directory. - append debian/sysctl.d/*.conf.$DEB_HOST_ARCH to 10-arch-specific.conf - debian/sysctl.d (Ubuntu-specific): - 10-console-messages.conf: stop low-level kernel messages on console. - 10-network-security.conf: enable "rp_filter" by default. - 10-process-security.conf: block lower 64k allocations to protect kernel from NULL deref attacks. - 10-keyboard.conf.powerpc: mouse button emulation on PowerPC. * procps-3.2.7/debian/{preinst,postinst,postrm}: drop sysctl.d/10-tcp-timestamps-workaround.conf again now that we have a fixed kernel, and make sure it gets removed on upgrade to this version (LP: #264019, duplicated from 1:3.2.7-9ubuntu2.1). * debian/sysctl.d/10-network-security.conf: enable SYN-flood protection by default (LP: #57091). -- Kees Cook Fri, 06 Feb 2009 08:22:44 -0800 procps (1:3.2.7-11) unstable; urgency=low * Reversed rules line so init.d is in everything except kfreebsd Closes: #511513 -- Craig Small Mon, 12 Jan 2009 08:48:53 +1100 procps (1:3.2.7-10) unstable; urgency=low * PATH_MAX problem fixed Closes: #496274 * NOHZ patch appilied Closes: #495882 * Added some extra comments about sysctl Closes: #495884 * init script respects VERBOSE Closes: #495885 * More ps sorting Closes: #508435 * ps displays cgroups Closes: #469669 * Added cross build support Closes: #451812 * Added Hilko's fix for sysctl Closes: #511082 * Applied Mortys watch exec patch, thankyou!! Closes: #225549, #155227, #420377, #481679,#410967 * top UID length now increased to 5 Closes: #426782 * init script not installed for kFreeBSD Closes: #502729 * Fixed kernel.maps_protect entry in sysctl.conf Closes: #494655 * D flag documented in man page Closes: #495987 * w uses locale for centi-seconds Closes: #252575 * Corrected w-bassman patch which made ALL times change and documented what the times mean in w.1 Closes: #414906 * Changed dh_clean -k to dh_prep * Updated to debhelper 7 * Replaced may in kill.1 Closes: #375739 * Added precision wait time to watch Closes: #183486 * top exits if it cannot read /proc Closes: #378695 * Adjusted top.1 as CODE DATA fields were incorrect Closes: 267873 * Added --errexit flag on watch to exit on command error Closes: #183346 -- Craig Small Sun, 11 Jan 2009 12:29:42 +1100 procps (1:3.2.7-9.1) unstable; urgency=low * NMU * Removes spuirous debug printf() that breaks other packages (Closes: #511082) -- Hilko Bengen Wed, 07 Jan 2009 13:47:37 +0100 procps (1:3.2.7-9ubuntu3) jaunty; urgency=low * debian/sysctl.d/10-process-security.conf: - Remove kernel.maps_protect option, it has been dropped in 2.6.28 kernel tree: http://lkml.org/lkml/2008/10/9/399 (LP: #304117). -- Luca Falavigna Mon, 01 Dec 2008 20:17:15 +0100 procps (1:3.2.7-9ubuntu2) intrepid; urgency=low * Add debian/sysctl.d/10-tcp-timestamps-workaround.conf to disable TCP timestamping, since its implementation in the 2.6.27 kernel in Ubuntu 8.10 causes problems with certain routers (LP: #264019). -- Colin Watson Mon, 27 Oct 2008 10:47:21 +0000 procps (1:3.2.7-9ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: - debian/{postinst,rules}: init script to priority 17, remove on upgrade. - debian/patches/60_top_nohz: fix idle report when running NOHZ (debian bug #495882). - debian/init: respect $VERBOSE setting (debian bug #495885). - debian/sysctl.conf: recommend against tcp_syncookies since it blocks tcp window scaling (debian bug #495884). - debian/control: Maintainer field update. * debian/sysctl.d: move all Ubuntu-specific sysctl settings: - 10-console-messages.conf: stop low-level kernel messages on console. - 10-network-security.conf: enable "rp_filter" by default. - 10-process-security.conf: - block lower 64k allocations to protect kernel from NULL deref attacks. - enable /proc/$pid/maps protection. - 10-keyboard.conf.powerpc: Mouse button emulation. - 30-inotify-limits.conf: moved to "tracker" package for increasing inotify watches to 524,388 for tracker. * debian/rules: - install sysctl files from new sysctl.d directory. - append debian/sysctl.d/*.conf.$DEB_HOST_ARCH to 10-arch-specific.conf * debian/sysctl.conf: add comment drawing attention to sysctl.d directory (debian bug #495884). -- Kees Cook Sun, 17 Aug 2008 06:25:40 -0700 procps (1:3.2.7-9) unstable; urgency=low * Reverse order of sysctl file reads * Added sys.kernel.maps_protect option to syctl.conf Closes: #446466 * Add up 7 cpu numbers Closes: 460331 * Top closes when it gets EOF Closes: #458986, #416976 * Fixed -a option processing Closes: #408608 * Added German man page for w Closes: #390225 * Updated to standards version 3.8.0 -- Craig Small Sun, 10 Aug 2008 11:49:12 +1000 procps (1:3.2.7-8ubuntu2) intrepid; urgency=low * Remove rcS.d/S17procps.sh on upgrade, eliminating Ubuntu cruft. -- Adam Conrad Mon, 30 Jun 2008 15:46:16 -0600 procps (1:3.2.7-8ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes (LP: #242976): - debian/{postinst,rules}: Place init script at priority 17. - debian/patches/60_top_nohz: fix idle report when running NOHZ. - debian/sysctl.conf: enable /proc/$pid/maps protection. - debian/rules: allow for arch-specific sysctl.conf settings. (append debian/sysctl.conf.$DEB_HOST_ARCH, if it exists, to sysctl.conf) - debian/sysctl.conf.powerpc: Mouse button emulation. - debian/init: respect $VERBOSE setting. - debian/control: Maintainer field update. - debian/sysctl.conf: stop low-level kernel messages to console (this was formerly not documented in the changelog) - debian/sysctl.conf: increase inotify watches to 524,388 for tracker. - debian/sysctl.conf: enable "rp_filter" by default. - debian/sysctl.conf: comment added about tcp_syncookies setting disabling TCP Window Scaling - debian/sysctl.conf: enable lower 64k protection to stop NULL deref attacks. -- Lars Wirzenius Wed, 25 Jun 2008 22:36:33 +0300 procps (1:3.2.7-8) unstable; urgency=low * Quote $file in init script and remove weird *.conf directory Closes: #474710, #474725 -- Craig Small Tue, 08 Apr 2008 08:34:54 +1000 procps (1:3.2.7-7) unstable; urgency=low * Actually apply top patch Closes: #351065 * Irix mode + thread CPU fix Closes: #459890 * kill/skill prints error message Closes: #468363 * rule file changes for nostrip and passing CFLAGS Closes: #468656 * Duplicate ignore broadcast in sysctl.conf removed Closes: #474406 * Added IPv6 lines for redirects and source route to sysctl.conf Closes: #474431 * Fixed IPv6 forwarding line in sysctl.conf Closes: #469557, #464150 * pri field explained in ps.1 Closes: #465761 * sysct.conf now has TCP/IP instead of TCP.IP again Closes: #463652, #463824 * Added /etc/sysctl.d/ directory for other packages Closes: #370351 * Added bug presubj for kill Closes: #409118 * no-heading option documented in ps.1 Closes: #431081 -- Craig Small Mon, 07 Apr 2008 10:01:05 +1000 procps (1:3.2.7-6) unstable; urgency=low * Remove procps.sh version check Closes: #459680 * Added Paolo's patch to fix highlighting cutoffs Closes: #351065 * Cleaned up sysctl.conf Closes: #447076, #446466, #446989, #446990, #465449 * Removed missing option from sysctl.conf Closes: #460665 * Changed to standard version 3.7.3 -- Craig Small Fri, 01 Feb 2008 23:01:28 +1100 procps (1:3.2.7-5ubuntu2) hardy; urgency=low * debian/sysctl.conf: - enable "rp_filter" by default (LP: #201952). - clean up duplicated entries, adjust documentation about syn cookies. -- Kees Cook Thu, 13 Mar 2008 14:13:26 -0700 procps (1:3.2.7-5ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - debian/{postinst,rules}: Place init script at priority 17. - debian/patches/60_top_nohz: fix idle report when running NOHZ. - debian/sysctl.conf: enable /proc/$pid/maps protection. - debian/rules: allow for arch-specific sysctl.conf settings. - debian/sysctl.conf.powerpc: Mouse button emulation. - debian/init: respect $VERBOSE setting. - debian/control: Maintainer field update. - debian/sysctl.conf: increase inotify watches to 524,388 for tracker. * debian/sysctl.conf: enable lower 64k protection to stop NULL deref attacks. -- Kees Cook Wed, 24 Oct 2007 10:41:23 -0700 procps (1:3.2.7-5) unstable; urgency=low * Added headers into vmstat Closes: #436805 * totpages and pslab removed from vmstat.8 Closes: #436806 * Conditionally move procps.sh to procps init script Closes: #437063 * SEE ALSO section in pgrep.1 uses .BR Closes: #437678 * ipv4 forwarding example fixed Closes: #418804 * top minimum time adjusted Closes: #298347 * pgrep.1 patch doesnt add the -c option again Closes: #385621, #431884 * Fixed minor typo in free.1 Closes: #435540 * top.1 mentions st steal time Closes: #402478 * Added some security-enhancing options to sysctl.conf Closes: #324593 * Updated date on patched man pages as this is their new issue date -- Craig Small Thu, 04 Oct 2007 22:44:25 +1000 procps (1:3.2.7-4.1) unstable; urgency=low * armel porter NMU. * DEB_HOST_GNU_SYSTEM != linux-gnu on armel. Check DEB_HOST_ARCH_OS instead. Closes: #437613 -- Joey Hess Mon, 10 Sep 2007 15:55:08 -0400 procps (1:3.2.7-4) unstable; urgency=low * top exits with correct code Closes: #341272, #354255 * sysctl malloc extended by 1 Closes: #423704 * sysctl.conf has both rp_filter lines Closes: #389395 * Updated top.c resize patch Closes: #256376 * Changed /proc message Closes: #292721 * Correct return code for pgrep Closes: #413383 * Correct return code for vmstat Closes: #425492 * init script lost it .sh we dont need it Closes: #343620 * Adjusted the shlibs so they are more relaxed. -- Craig Small Wed, 08 Aug 2007 20:27:55 +1000 procps (1:3.2.7-3ubuntu7) hardy; urgency=low * No particular need for the maximum inotify instances to be that high, leave them at the default -- otherwise you'll exhaust file descriptors first. -- Scott James Remnant Sat, 10 Nov 2007 10:47:44 -0500 procps (1:3.2.7-3ubuntu6) hardy; urgency=low * Increase maximum inotify instances to 1,024 and watches to 524,388 - since tracker is in our default install, we need a lot more. -- Scott James Remnant Sun, 28 Oct 2007 10:34:10 -0400 procps (1:3.2.7-3ubuntu5) gutsy; urgency=low * Test for DEB_HOST_ARCH_OS=linux instead of DEB_HOST_GNU_SYSTEM=linux-gnu as the lpia DEB_HOST_GNU_SYSTEM is linux-gnulp instead, which breaks. -- Adam Conrad Tue, 31 Jul 2007 17:03:28 +1000 procps (1:3.2.7-3ubuntu4) gutsy; urgency=low * Fix idle counter display with NOHZ kernels. With massive SMP machines and NOHZ, it is possible that the CPU is really idle.. so idle that top will show 0.0% in idle. This one liner will make sure to report that the CPU is 100.0% in idle and produce a less confusing output. -- Fabio M. Di Nitto Fri, 20 Jul 2007 12:53:29 +0200 procps (1:3.2.7-3ubuntu3) gutsy; urgency=low * debian/sysctl.conf: enable /proc/$pid/maps protection, new in 2.6.22. -- Kees Cook Thu, 10 May 2007 00:39:48 -0700 procps (1:3.2.7-3ubuntu2) feisty; urgency=low * Rebuild for changes in the amd64 toolchain. * Set Ubuntu maintainer address. -- Matthias Klose Mon, 5 Mar 2007 01:24:55 +0000 procps (1:3.2.7-3ubuntu1) feisty; urgency=low * Merge from Debian unstable. Remaining Ubuntu changes: - debian/rules: Add debian/sysctl.conf.$(DEB_HOST_ARCH) to default sysctl.conf file. - debian/sysctl.conf.powerpc: Mouse button emulation. - debian/postinst, debian/rules: Place init script at priority 17. - debian/sysctl.conf: Set kernel.printk to default values 4 4 1 7 to avoid cluttering consoles on powerpc. - debian/procps.sh: Respect $VERBOSE. -- Martin Pitt Fri, 3 Nov 2006 18:28:41 +0100 procps (1:3.2.7-3) unstable; urgency=low * Changed init script dependencies Closes: #386637, #386341 * init script uses lsb logging Closes: #384920 -- Craig Small Wed, 13 Sep 2006 11:27:56 +1000 procps (1:3.2.7-2ubuntu3) edgy; urgency=low * debian/sysctl.conf: Explicitly set the kernel.printk sysctl to '4 4 1 7' to stop kernel log spewage to consoles on powerpc. On i386/amd64 this is the default printk setting anyway, thus does not change any default, but with the powerpc kernels the default is '0 0 0 0'. -- Martin Pitt Fri, 8 Sep 2006 15:44:45 +0200 procps (1:3.2.7-2ubuntu2) edgy; urgency=low * debian/rules: Re-add debian/sysctl.conf.$(DEB_HOST_ARCH) addition to the default sysctl.conf file (apparently this got dropped in the last merge). This repairs mouse F11/F12 mouse button emulation on powerpc. -- Martin Pitt Wed, 16 Aug 2006 15:19:51 +0200 procps (1:3.2.7-2ubuntu1) edgy; urgency=low [ Ubuntu Merge-o-Matic ] * Merge from debian unstable. -- Scott James Remnant Fri, 30 Jun 2006 01:33:16 +0100 procps (1:3.2.7-2) unstable; urgency=medium * pgrep c option patch works correctly Closes: #375791 * Made urgency medium as pgrep -c segfaults pgrep -- Craig Small Wed, 28 Jun 2006 22:28:02 +1000 procps (1:3.2.7-1ubuntu1) edgy; urgency=low [ Ongoing Merge Process ] * Merge from debian unstable. [ Scott James Remnant ] * Drop postinst migration now that dapper is released. -- Scott James Remnant Wed, 28 Jun 2006 23:31:06 +0100 procps (1:3.2.7-1) unstable; urgency=low * New upstream release * Fixed nroff typo in man page Closes: #326517 * pgrep/pkill: fix some realloc-related crashes Closes: #353894 * Using debhelper compat level 5 * Bumped standards versiob to 3.7.2 * watch difference check uses 8 bit char Closes: #207103 * Updated watch file location Closes: #354242 * Cleaned up init.d script Closes: #294765, #338970 * init.d script has those lsb dependency thingies Closes: #335320 * Removed .rej file out of gnu_kbsd patch Closes: #362875 * Removed duplicate -N option out of sysctl.8 Closes: #364894 * Explain load average in uptime.1 Closes: #365019 * Removed empty directories Closes: #359146 * IPv4/6 sysctl.conf examples fixed Closes: #341087 * sysctl.8 has optional filename for -p Closes: #297144 * top.1 Now has Bold enable=off as default Closes: #293981 * free.1 documents the -g (gigabytes) flag CloseS: #286900 * Cleanup man pages Closes: #282168 * added rollbacks to maint scripts Closes: #374456 * Updated gnu kbsd patch Closes: #349982 * Added list of commands to description Closes: #354686 * Changed copyright, most of it is under LGPL now * Move to admin section to stop dinstaller complaining at me * Actually apply cpu state top.1 patch Closes: #351998 * sysctl.conf doesn't mention /etc/network/options Closes: #339788 * sysctl.conf uses default instead of all for network stuff as networking rc is done later Closes: #337019 -- Craig Small Mon, 26 Jun 2006 08:16:19 +1000 procps (1:3.2.6-2.2) unstable; urgency=low * NMU * Document the copyright of the emacs bindings bit of pgrep in debian/copyright (Closes: #362876) -- Don Armstrong Sat, 22 Apr 2006 07:45:25 -0700 procps (1:3.2.6-2.1) unstable; urgency=low * NMU * Use a temporary file for the output of the check_gcc test to avoid removing /dev/null on failure. Thanks to Niv Altivanik for the patch. (Closes: #336710) -- Don Armstrong Sun, 19 Feb 2006 15:48:35 -0800 procps (1:3.2.6-2ubuntu4) dapper; urgency=low * Move init script to S17 so it gets run after all modules have probably been loaded, otherwise many sysctls will probably not be set. Users will have to worry about disabling things a different way (which this has never been useful for anyway). -- Scott James Remnant Mon, 23 Jan 2006 15:34:03 +0000 procps (1:3.2.6-2ubuntu3) dapper; urgency=low * Undo rename of init script, I was overzealously reading my notes and it's not necessary. Keeps the Debian diff smaller. -- Scott James Remnant Wed, 4 Jan 2006 10:41:49 +0000 procps (1:3.2.6-2ubuntu2) dapper; urgency=low * Move init script from S30 to S05 so it can apply options before modules are loaded; especially important for disabling networking features, etc. * Rename init script to avoid confusion, and avoid problems using exit in *.sh scripts. -- Scott James Remnant Thu, 15 Dec 2005 01:44:51 +0000 procps (1:3.2.6-2ubuntu1) dapper; urgency=low * resync with debian, merged by hand -- Michael Vogt Fri, 25 Nov 2005 17:50:43 +0100 procps (1:3.2.6-2) unstable; urgency=low * properly patched for kfreebsd Closes: #290719 -- Craig Small Wed, 2 Nov 2005 13:58:22 +1100 procps (1:3.2.6-1) unstable; urgency=low * New upstream source * ps: man page more detailed Closes: #334682 * spelling fixes Closes: #300333, #334684, #334685 * top: crash on resize fixed -- thanks Michal Maruska Closes: #320289 * vmstat: -p handles /dev/ and does not overflow Closes: #319523, #330969 * CPU states in top man page Closes: #312157, #228899 * w.bassman finally patched into w Closes: #45937 * w uses COLUMNS if ioctl fails, eg with pipe Closes: #252799 * GNU/kFreeBSD Support Closes: #290719 * Variables that are set are specified on init Closes: #330464 * sysctl.conf has netbase examples Closes: #331192 * sysctl.conf example has way to stop console logging Closes: #292834 -- Craig Small Mon, 31 Oct 2005 18:49:07 +1100 procps (1:3.2.5-1ubuntu1) breezy; urgency=low * Resynchronise with Debian. -- Adam Conrad Thu, 21 Apr 2005 08:50:56 +0000 procps (1:3.2.5-1) unstable; urgency=low * New upstream release display problem on 64-bit systems fixed Closes: #287947 top: help and version message on stdout, with exit(0) Closes: #283541 ps: SIGTSTP and SIGTTOU shouldn't print bug email address Closes: #246123 slabtop: fix overflow on huge NUMA boxes Closes: #264640 slabtop: accept any slabinfo 2.x format Closes: #287691 -- Craig Small Thu, 27 Jan 2005 11:07:46 +1100 procps (1:3.2.4-1ubuntu1) hoary; urgency=low * Resynchronise with Debian. -- Colin Watson Wed, 8 Dec 2004 10:45:17 +0100 procps (1:3.2.4-1) unstable; urgency=low * New upstream release ps: tolerate SubDomain security module CONTEXT/LABEL data Closes: #277401 * init.d doesnt print done when not verbose Closes: #264431 * init.d script runs sysctl with -q for quiet Closes: #277111 * sysctl.conf has warning about network overiding varables Closes: #275291 -- Craig Small Wed, 17 Nov 2004 12:56:21 +1100 procps (1:3.2.3-1ubuntu1) hoary; urgency=low * Resynchronise with Debian. -- Scott James Remnant Wed, 27 Oct 2004 14:28:50 +0100 procps (1:3.2.3-1) unstable; urgency=low * New upstream release -- Craig Small Wed, 18 Aug 2004 13:24:19 +1000 procps (1:3.2.2-2) unstable; urgency=low * Missed one more lib64 override. Works on os390 now -- Craig Small Fri, 30 Jul 2004 21:48:47 +1000 procps (1:3.2.2-1) unstable; urgency=low * New upstream release pgrep: man page SEE ALSO updated Closes: #226817 top: try to handle terminals lacking rmam and smam Closes: #235003 * Upstream now has quiet patch so removing dpatch for it. -- Craig Small Wed, 28 Jul 2004 16:25:34 +1000 procps (1:3.2.1-2ubuntu3) warty; urgency=low * On Macs, emulate the middle and right mouse buttons with F11 and F12 respectively (closes: Warty #1187). -- Colin Watson Tue, 14 Sep 2004 20:11:25 +0100 procps (1:3.2.1-2ubuntu2) warty; urgency=low * Added versioned depend on lsb-base -- Nathaniel McCallum Fri, 3 Sep 2004 15:15:09 -0400 procps (1:3.2.1-2ubuntu1) warty; urgency=low * debian/procps.sh: pretty initscript -- Nathaniel McCallum Fri, 3 Sep 2004 11:59:29 -0400 procps (1:3.2.1-2) unstable; urgency=low * Fix Makefile patch so it works with newer patch packages Closes: #242574 * Changed the way SHARED is used in Makefiles * init script looks nicer when setting multiple variables Closes: #241721 -- Craig Small Tue, 13 Apr 2004 07:59:25 +1000 procps (1:3.2.1-1) unstable; urgency=low * New upstream release * Changed init script output Closes: #238567 * menu item has text quoted -- Craig Small Thu, 1 Apr 2004 22:53:37 +1000 procps (1:3.2.0-1) unstable; urgency=low * New upstream release test scripts build on ia-64 Fix terminal when ^Z top Closes: #228822 slabtop added Closes: #226778 * postinst checks for symlink and not file to remove Closes: #234306 -- Craig Small Wed, 25 Feb 2004 16:35:03 +1100 procps (1:3.1.15-3) unstable; urgency=low * Removed entry in Makefile for /libc64 so sparc64 builds -- Craig Small Tue, 17 Feb 2004 11:01:24 +1100 procps (1:3.1.15-2) unstable; urgency=low * Removed offending test directory Closes: #227933 -- Craig Small Tue, 20 Jan 2004 10:20:44 +1100 procps (1:3.1.15-1) unstable; urgency=low * Now uses dpatch to handle the various patches * New upstream release - Supports SELINUX flags for kernel v2.6 Closes: #193648 - Hide kernel PID bug Closes: #217278, #219730, #217525, #224470 - Fixed top auto-margins problem Closes: #217559 * Fix top manual page Closes: #225089 * Patch so SELINUX flags work in v2.4 kernels * Extra +s in ps.1 removed Closes: #218220 * Added patch so sysctl has quiet -q flag Closes: #189100 -- Craig Small Fri, 26 Dec 2003 18:02:59 +1100 procps (1:3.1.14-1) unstable; urgency=low * New upstream release -- Craig Small Wed, 22 Oct 2003 11:59:53 +1000 procps (1:3.1.13-1) unstable; urgency=low * New upstream release -- Craig Small Wed, 24 Sep 2003 16:10:42 +1000 procps (1:3.1.12-1) unstable; urgency=low * New upstream release ps: $PS_FORMAT works properly Closes: #201575 man page: /var/run/utmp, not /etc/utmp Closes: #206583 required flags moved out of CFLAGS Closes: #205429 -- Craig Small Sat, 13 Sep 2003 21:11:09 +1000 procps (1:3.1.11-2) unstable; urgency=low * Made shlibs have a specific version Closes: #199118 * libproc.a is back in libproc-dev, use it * Added README to libproc-dev for people who use the library -- Craig Small Wed, 20 Aug 2003 15:31:59 +1000 procps (1:3.1.11-1) unstable; urgency=low * 3.1.11 New upstream version - handle GPLONLY_ symbols Closes: #143549, #188374 * freeproc now defined Closes: #189047 * warning in readproc.c fixed Closes: #197346 * Removed optarg and optind defines Closes: #197343 * Fixed saved_start_time warning Closes: #197342 -- Craig Small Thu, 24 Jul 2003 17:02:36 +1000 procps (1:3.1.9-1) unstable; urgency=low * New upstream source * memory sizes fixed for 64-bit w/ gcc 3.x Closes: #194376, #191933 * Doesn't segfault if /proc not mounted Closes: #172735 * No warning in top about memory key Closes: #188271 * More info in kill man page Closes: #182414 * Document the different oO options Closes: #169301 * Updated stabndards version to 3.5.9 * Changed disk to backing storage Closes: #175925 -- Craig Small Mon, 2 Jun 2003 02:31:03 +1000 procps (1:3.1.8-1) unstable; urgency=low * New upstream release watch man page fixed, Closes #182246 * Changed section for libproc-dev -- Craig Small Tue, 1 Apr 2003 10:19:05 +1000 procps (1:3.1.6-1) unstable; urgency=low * New upstream release - watch has --no-title option Closes: #179862 - ps -C can compare very long names Closes: #178127 * Fixed descriptions in manual pages Closes: #179046 * w wont crash if /proc unreadable Closes: #169398 -- Craig Small Sat, 22 Feb 2003 21:33:45 +1100 procps (1:3.1.5-1) unstable; urgency=low * New upstream version - watch don't drop empty lines Closes: #171005 - top has old sort keys Closes: #167249 - now count Inact_laundry as needed Closes: #172163 -- Craig Small Mon, 6 Jan 2003 13:49:32 +1100 procps (1:3.1.3-1) unstable; urgency=low * New upstream source -- Craig Small Fri, 13 Dec 2002 16:16:36 +1100 procps (1:3.1.1-1) unstable; urgency=low * New upstream source - vmstats reports memort counts Closes: #169774 -- Craig Small Wed, 4 Dec 2002 15:57:13 +1100 procps (1:3.1.0-1) unstable; urgency=low * New upstream version - vmstat displays IO-wait time instead of bogus "w" - when IO-wait hidden, count as idle, not as sys - pmap command added (like Sun has) * Manual pages cleaned up Closes: #165970, #164481 -- Craig Small Mon, 11 Nov 2002 12:03:46 +1100 procps (1:3.0.5-1) unstable; urgency=low * New upstream version - top tolerates super-wide displays Closes: #165497 - ELF note warning gone for some kernels Closes: #165900 - Fix ps and top man pages a bit, dropped bugs severity. -- Craig Small Tue, 29 Oct 2002 22:04:36 +1100 procps (1:3.0.4-1) unstable; urgency=low * New upstream version - ELF note warning removed Closes: #165093, #165343 - top works for most TERM= settings Closes: #164864, #164956 * w has FROM column again by default Closes: #165252 * debhelper dependency version fixed Closes: #165083 * ps.1 looks a bit better now Closes: #16448 -- Craig Small Mon, 21 Oct 2002 08:30:04 +1000 procps (1:3.0.3-1) unstable; urgency=low * New upstream version - w works with KOI8 locale Closes: #153043 - fix top for non-SMP 2.2.xx and 2.0.xx Closes: #164231 - negative idle time fixed Closes: #126260 - sysctl handles new vlan interface Closes: #140386 - vmstat documentation update Closes: #157935, #155684 - "skill -n blah blah blah" lets you test options Closes: #158630 - fixed ps --sort crash Closes: #164226 - vmstat compiles with latest gcc-3.x Closes: #164348 - bad (int*) cast in top removed Closes: #164468 - Support new/improved statistics interfaces in 2.5 /proc Closes: #164013 - top defaults to old layout and sort by pid Closes: #164277 - rant moved out of top.1 man page Closes: #164520 - top runs much faster Closes: #87779 -- Craig Small Sat, 12 Oct 2002 21:44:23 +1000 procps (1:3.0.0-2) unstable; urgency=low * Fixed pkill and skill, auto* is so broken. Closes: #163940, #163944 * Moved libproc.so.3 into /lib as it's needed early Closes: #163981,#163899 -- Craig Small Thu, 10 Oct 2002 07:19:45 +1000 procps (1:3.0.0-1) unstable; urgency=low * New upstream source Closes: #163698 - top has SMP Closes: #162316, #62282, #94896, #98277, #117040, #117735 - SELINUX support Closes: #142892 - top defaults to signal 15 to kill pids with Closes: #72158 - 64-bit time reduces the overflow problem Closes: #82382, #155908 - "w" program better at determining what a user is doing Closes: #88758, 115529 - oldps is gone Closes: #101917 - Handles /proc/tty/drivers Closes: #108654, #154046 - Supports scanf where locale uses , for decimal point Closes: #126873 - uptime --help now calls itself uptime Closes: #128880 - ps faster Closes: #147731 - top calculates screen better Closes: #162296 - top allows sorts by pid or swapped memory Closes: #79868, #159446 - support for s/390 Closes: #126295 - statm buffer size increased Closes: #145085 - new top has no typos Closes: #148918 - new top can handle lots of tasks Closes: #70900 * Fixed init.d file so it follows policy Closes: #121945 -- Craig Small Tue, 8 Oct 2002 12:29:45 +1000 procps (1:2.0.7-10) unstable; urgency=low * Fixes ps crash when system.map is exact multiple of 1024 Thankyou Colin for the patch! Closes: #109237, #142292 -- Craig Small Fri, 12 Apr 2002 21:02:04 +1000 procps (1:2.0.7-9) unstable; urgency=low * Sanity checking for Number of CPU Closes: #127561, #122617 This will keep the m68k and ARM boys happy. * uptime usage fixed Closes: #138351 * kill man page NAME updated Closes: #119400 * Better explanation for load average in uptime(1) Closes: #140902 * utmp in correct location in w(1) Closes: #115725 -- Craig Small Mon, 8 Apr 2002 14:18:20 +1000 procps (1:2.0.7-8) unstable; urgency=low * Removed -ggdb Closes: #117203 -- Craig Small Sat, 27 Oct 2001 07:02:38 +1000 procps (1:2.0.7-7) unstable; urgency=low * Added os/390 patches Closes: #113494 * w manpage now gives correct location for utmp Closes: #110723 * watch wrap-around problem fixed Closes: #111759 * Programs are compilied -O2 Closes: #108652 -- Craig Small Wed, 26 Sep 2001 08:08:43 +1000 procps (1:2.0.7-6) unstable; urgency=low * Re-fixed command line interpretation Closes: #103101 -- Craig Small Tue, 10 Jul 2001 17:32:02 +1000 procps (1:2.0.7-5) unstable; urgency=low * watch now copys strings better. Closes: #95404, #97948, #99780 * skill.1 loads tbl Closes: #92242, #67899 * long usernames are shown Closes: #86205, #94957 * Remove /etc/rcS.d/S30procps with good ole rm Closes: #92184 * /etc/init.d/procps.sh calls itself that Closes: #93302 * Cannot write config in secure mode Closes: #93948 -- Craig Small Sun, 29 Apr 2001 14:55:20 +1000 procps (1:2.0.7-4) unstable; urgency=low * watch doesnt crash with long command lines Closes: #88592, #87693 * bumped up a buffer in a proc read Closes: #85775 * Now we use 24 hour time Closes: #85640 * pgrep calls itself pgrep Closes: #86630 * Corrected symlink in libproc-dev Closes: #87865 -- Craig Small Mon, 19 Mar 2001 10:13:27 +1100 procps (1:2.0.7-3) unstable; urgency=low * Conflicts with pgrep, so no more conflicts Closes: #82835 * Minor fixes to ps.1 manpage Closes: #81921 * watch highlighs correctly Closes: #77737 * top wont die with evil HOMEs, Closes: #81452 * removed reference to suidregister * Remore -L reference in kill.1 Closes: #85913 -- Craig Small Thu, 8 Feb 2001 12:44:58 +1100 procps (1:2.0.7-2) unstable; urgency=medium * Moved kill back again, dammit why is the makefile so broken Closes: #82747 * Watch uses locale Closes: #82739 * top's scanf is protected from evil locale problems Closes: #82671, #69128 (Big thankyou to Guillaume for lending a test account) -- Craig Small Fri, 19 Jan 2001 09:15:36 +1100 procps (1:2.0.7-1) unstable; urgency=medium * New upstream version (010114) - Merges 2.0.7 code from RedHat Closes: #80832 - Made note that Shared memory report will be junk due to kernel Closes: #77818 - Remove html and null stuff from man page Closes: #81920 - vsize is kB in man page Closes: #82210 - man pages look better Closes: #70055, #70941 - vmstat increase Closes: #77886 - w tries harder to find things Closes: #24531 - 15 char user names Closes: #71211 * No HOME overflow in top Closes: 81452 * Added menu Hints Closes: #80051, #82324 -- Craig Small Wed, 17 Jan 2001 08:57:24 +1100 procps (1:2.0.6-9) unstable; urgency=medium * added libncurses5-dev to build-depends, Closes: #67533 * Put kill back into /bin Closes #67580, #67582 * Put 2.0.6-7 ps.1 back in Closes: #67451 -- Craig Small Tue, 25 Jul 2000 08:13:21 +1000 procps (1:2.0.6-8) unstable; urgency=low * New upstream source: * - sysctl EOF bug fixed Closes: #62877 * - stop crashes with unmounted /proc Closes: #63512, #55177 * - Versions checking tolerates RH /proc/ksyms Closes: #59798 * - Top works better with SMP Closes: #34734, #56547, #59703 -- Craig Small Fri, 14 Jul 2000 22:33:44 +1000 procps (1:2.0.6-7) unstable; urgency=low * Fixed missing version Closes: #62207, #62484, #59112 * Stop crashes with umounted /proc Closes: #63512, #55177 * Nicer man pages Closes: #63495, #59406 * Fixed sysctl eof bug Closes: #62877 * watch wraps properly Closes: #60913 * watch handles tabs Closes: #46213 * watch honors locale settings Closes: #63762 * now versioned replaces line for bsdutils -- Craig Small Mon, 29 May 2000 13:31:54 +1000 procps (1:2.0.6-6) unstable; urgency=low * New patchlevel (000221) * ps 'f' ASCII art forest fixed. Closes: #57134, #58644 * let insane people run ps setuid. Closes: #56701 * note that kernel 2.3 is now faster. Closes: #49130 * top with WCHAN was leaking memory. Closes: #58172, #52257, #56889 * can show current CPU. Closes: #37023 * w looks better now. Closes: #55952 * init.d/procps removed if exists. Closes: #55137, #55852 * Fixed skill/snice man page (thanks man-db maint!) Closes: #53736, #46743 * Fixed ps man page Closes: #58365 -- Craig Small Wed, 23 Feb 2000 10:31:37 +1100 procps (1:2.0.6-5) unstable; urgency=low * New upstream source * kill "_R(smp_|smp2gig_|2gig_)?[0-9a-fA-F]{8,}" Closes: #54394, #53208 * added type 'S' and scan past machine types Closes: #54396 * Fixed w(1) manpage Closes: #54709 * top now agrees with ps for RSS Closes: #52679 -- Craig Small Tue, 11 Jan 2000 08:23:56 +1100 procps (1:2.0.6-4) unstable; urgency=low * procps init.d script quietly dies if not /etc/default/rcS Closes: #52839 * Put the NEWS changelog back in Closes: #52678 * Fixed that damn Rsmp annoying message bug Closes: #48686 * Remove /etc/init.d/procps Closes: #53818 -- Craig Small Mon, 20 Dec 1999 11:14:53 +1100 procps (1:2.0.6-3) unstable; urgency=low * Patched ps so it complains if you chmod 711 /proc Closes: #52481 * Did the same for top. * Ditto for oldps. * Changed and int to a char* Closes: #52482 * sysctl.conf file references sysctl.conf (5) not 8 Closes: #52385 * props init.d script changed to procps.sh Closes: #52228 -- Craig Small Mon, 13 Dec 1999 11:57:01 +1100 procps (1:2.0.6-2) unstable; urgency=low * Changed psmisc from reccomends to suggests * %MEM now works, Closes: #50010 #50055 #50148 #50356 * top doesn't crash with > 204 processes Closes: #50055 * Another libproc fd leak fixed Closes: #45398 * ps silently ignores m and -m for future compatibility Closes: #48308 * Added a sysctl.conf and other files as suggested Closes: #51098 * Fix start field instability * ps.1 fixed Closes: #35137 -- Craig Small Tue, 7 Dec 1999 14:42:51 +1100 procps (1:2.0.6-1) unstable; urgency=low * New upstream * sysctl crash fixed, Closes: #49015 * libproc file descriptor leak fixed, Closes: #45398 * False positive System.map mismatches killed, Closes: #49047 * Supports 64 Hz for StrongARM/Shark Closes: #47461 * pr_time fixed, Closes: #46223 * libc num cpu workaround back in, Closes: #49039 * Fixed kill manpage, Closes: #47018 * This version definitely, absolutely has kill, Closes: #46762 -- Craig Small Fri, 5 Nov 1999 12:46:05 +1100 procps (1:2.0.3-5) unstable; urgency=low * Changed conflicts with replaces -- Craig Small Wed, 6 Oct 1999 14:36:48 +1000 procps (1:2.0.3-4) unstable; urgency=low * support SMP systems with versioned kernel modules Closes: #45621, #46465 * Added kill to this (it is removed from bsdutils). * We now need kill manpage, Closes: #46004 -- Craig Small Tue, 5 Oct 1999 10:28:01 +1000 procps (1:2.0.3-3) unstable; urgency=low * System.map support for non-i386 Closes: #45592, #45250 * Do not require /proc/ksyms Closes: #45128, #45132, #45619 * Alternative w.1 points to the right spot, Closes: #45331 * Copyright for skill and snice and ps fixed, Closes: #45119 -- Craig Small Tue, 21 Sep 1999 16:31:59 +1000 procps (1:2.0.3-2) unstable; urgency=medium * Now with top! Closes: #45106 -- Craig Small Wed, 15 Sep 1999 11:12:34 +1000 procps (1:2.0.3-1) unstable; urgency=low * New upstream source * Debian personality does m flag Closes: #44832 * Corrected typo in top.1 Closes: #44836 * New improved watch Closes: #29970 -- Craig Small Mon, 13 Sep 1999 16:59:16 +1000 procps (1:2.0.2-4) unstable; urgency=high * Fixed the nasty ps formatting problem (Bug #40859 #40856 #40839 ) -- Craig Small Wed, 7 Jul 1999 08:41:54 +1000 procps (1:2.0.2-3) unstable; urgency=low * New upstream patches/source * SMB Hz wierdness fixed (Bug #33023 #33284) * non-tty output does not get chopped at 80 columns (bug #36688) * BSD personalities set the default selection and output format (bug #36698) * Fixed collumn spacing problem (Bug #35309) * Work around for borken libs that return 0 processors (Bug #36902) * skill now uses process name not command line (Bug #19208) -- Craig Small Mon, 5 Jul 1999 07:29:47 +1000 procps (1:2.0.2-2) unstable; urgency=low * Removed kill and manual page (Bug #36421 #36551 #36375) * Put in patch for bogus sysconf return (Bug #36494 #36532 #36581) -- Craig Small Wed, 28 Apr 1999 09:04:59 +1000 procps (1:2.0.2-1) unstable; urgency=low * New upstream version (Bug #34394 #27291 #34250 #34956 #35240 #35247 #35520 #35756 #34580 ) -- Craig Small Mon, 19 Apr 1999 13:26:48 +1000 procps (1:2.0.0-1) unstable; urgency=low * New upstream version (Bug #33083 23347 33462 10556 33266 33371 ) -- Craig Small Mon, 15 Mar 1999 14:21:57 +1100 procps (1:1.9.0-2) unstable; urgency=low * top now resumes (Bug #32106 ) * debhelper text problem fixed in postinst (Bug #32963 #33122 #33003 33117 ) * oldps and ps now use alternatives (Bug #33083 ) * ps s format now not ugly (Bug #28266 ) * watch command line help and man page correct (Bug #31702 ) * sessreg removed from package (Bug #32294 ) * ps doesn't display extra spaces (Bug #27799 ) * top has spaces in command lines again (Bug #33060 ) * ps now has personality (Bug #22923 #18429 ) * moved non-free skill and snice to non-free package. -- Craig Small Tue, 9 Feb 1999 15:10:58 +1100 procps (1:1.9.0-1) unstable; urgency=low * New Upstream source -- Craig Small Thu, 4 Feb 1999 14:48:37 +1100 procps (1:1.2.9-3) unstable; urgency=low * Linked to ncurses4 -- Craig Small Fri, 30 Oct 1998 14:13:02 +1100 procps (1:1.2.9-2) unstable; urgency=low * top now has spaces in between command lines (Bug #28178 ) * --version or -V now shows proper version. -- Craig Small Mon, 26 Oct 1998 08:55:59 +1100 procps (1:1.2.9-1) unstable; urgency=low * New upstream version (Bug #27573 ) * Menu entry changed from System to Menu/System (Bug #27438 ) * Char variables changed to int for powerpc (Bug #26624 ) * libproc now nulls allocated structure (Bug #26225 ) * No longer uses psdevtab (yay!) (Bug #25388 ) * ps doesn't double space command line parameters (Bug #25306 #24293 ) * ps now silently ignores g flag for those BSD heads (Bug #24075 ) -- Craig Small Fri, 9 Oct 1998 09:15:11 +1000 procps (1:1.2.7-2) unstable; urgency=low * Top can suspend twice (or three times even) (Bug #22997 ) * Libraries properly built (Bug #20010 ) -- Craig Small Mon, 1 Jun 1998 09:16:09 +1000 procps (1:1.2.7-1) frozen unstable; urgency=high * New upstream source, fixes security bug (Bug #21475) -- Craig Small Thu, 23 Apr 1998 08:04:54 +1000 procps (1:1.2.6-2) unstable; urgency=low * Fixed Shared library dependencies (bugs #18388 #18394 18392 ) * Conflicts with earlier versions of w-bassman (bug #18389 ) -- Craig Small Mon, 23 Feb 1998 09:05:54 +1100 procps (1:1.2.6-1) unstable; urgency=low * New upstream source. * xload is undiverted (Bug #17102 ) * ps_fields.7.gz removed (Bug #18090 ) * Colour patches removed, color-related bugs gone (Bug #18008 #17217 #18090 ) * POSIX patches removed, cmd line bugs gone (Bug #15537 ) * w is now an alternative w.procps (Bug #17960 ) * skill now works with process names (Bug #17087 ) * ps and top man pages have their field descriptions (Bug #17360 ) * ps u fixed (Bug #17313 ) * Source code is no longer FUBAR (Bug #17892 ) * top now redraws screen after config screen (Bug #11896 ) * Circular dependency removed (Bug #16966 ) * top does mess up screens with wrong cmd line (Bug #17230 ) * top suspends with ctrl-Z (Bug #16703 ) -- Craig Small Tue, 17 Feb 1998 08:31:21 +1100 procps (1:1.2.5-2) unstable; urgency=low * Moved /bin into /bin/ps (Bug #17001 ) -- Craig Small Tue, 13 Jan 1998 07:50:43 +1100 procps (1:1.2.5-1) unstable; urgency=low * TTY selection works ( #16724 ) * top and ps now accept --colour and *_COLOURS * xproc copyright file not compressed ( #14491 ) * All #include now #include "proc/*.h" ( #13482 ) * Copyright doesn't mention psmisc now ( #16704 ) * Moved ps back into /bin ( #16737 #16705 ) * New upstream source ( #16795 ) -- Craig Small Mon, 12 Jan 1998 08:35:10 +1100 procps (1:1.2.2-1) unstable; urgency=low * New maintainer * Updated upstream source to 1.2.2 (instead of 1.2) * Merged Helmut's color/command line patches into upstream. * Copyright file is not compressed ( #14493 #14415 ) * psdatabase refreshed when installing ( #10693 ) * Fixed +/- line in free ( #10785 #10870 #11566 #12027 #12245 #12374 ) * w collumns corrected ( #10898 #13117 ) * top saves sort type ( #11553 ) * Linked to libc6 ( #11725 ) * top doesn't coredump with S option ( #11855 ) * skill works with given patch ( #12023 ) * libproc-dev has proper sym link ( #12697 ) * top -h doesn't change terminal settings ( #13513 ) * ps -s has "CAUGHT" not "CATCHED" ( #14342 ) * ps_colors.7 and ps_fields.7 reformatted ( #14109 #14544 #14545 ) * ps checks for tty before using colors ( #14596 ) * top sets stop signal handler later, stopping race ( #14769 ) * When using POSIX personality, processes show up ( #14780 ) * top checks for valid term type ( #15807 ) * xproc now Depends on procps-1.2.*-* ( #10762 #13347 ) * xproc dependencies fixed ( #12698 ) -- Craig Small Tue, 30 Dec 1997 11:33:54 +1100 procps (1.12.2.1) unstable; urgency=low * Non-maintainer release, built for libc6. * Added in free.c from new procps version 1.2.3 (from sunsite), seems to fix all the problems with free reporting bogus valus. -- Joey Hess Fri, 24 Oct 1997 13:34:35 -0400 procps (1.12.2) stable unstable; urgency=low * fixed meminfo handling again, as the fix wouldn't work on pre-2.1.x kernels. * fixed free to use the meminfo routines from libproc. -- Helmut Geyer Fri, 13 Jun 1997 22:42:14 +0200 procps (1.12.1) stable unstable; urgency=low * fixed several bugs * replaced utmp handling to support wrappers. * added /proc/meminfo support for 2.1.x kernels. -- Helmut Geyer Tue, 10 Jun 1997 23:59:41 +0200 procps (1.11.6) frozen unstable; urgency=medium * psmisc 1.14 : new upstream version (mainly bugfixes) * added a lot of new serial device major numbers to the device lookup code. Somehow it seems there are new serial devices every other week. * fixed a bug in top: broken .toprc may cause a segmentation fault. -- Helmut Geyer Sun, 4 May 1997 09:50:30 +0200 procps (1.11.5) frozen unstable; urgency=medium * minor changes to make it compile with libc6 * fix top behaviour on machines having nonstandard NR_TASKS up to 4k tasks -- Helmut Geyer Fri, 18 Apr 1997 02:07:46 +0200 procps (1.11.4) unstable; urgency=medium * strip libproc.so from unneeded symbols (Bug# 8311) * fixed watch.1 example (Bug# 8169) * partly fixed fuser sigsegv core dump (Bug# 8004) * menu entries for xproc and procps (Bug# 8325) * divertions for xmem and xload. (Bug# 7565) -- Helmut Geyer Sun, 13 Apr 1997 20:55:05 +0200 procps (1.11.3) unstable; urgency=low * fixed uptime again, minor Makefile changes -- Helmut Geyer Fri, 21 Feb 1997 16:22:04 +0100 procps (1.11.2) unstable; urgency=medium * fixed typo in ps_fields.7 (Bug#5457) * fixed typo in debian/rules (Bug #5585) * fixed bug in w introduced in 1.11.1 (Bugs #5489, #5694, #5695, #5705). * added support for non-standard serial devices (long overdue - Bug #5771). * fixed uptime option handling (Bug #6099). * fixed top problems with missing/corrupted utmp (Bug #5819). * fixed manpage problems (Bug #5936). -- Helmut Geyer Wed, 19 Feb 1997 18:49:26 +0100 procps (1.11.1) unstable; urgency=low * fixed bug in w * automatic resize if field length is exceeded. This changed the shared library, so popping the major number. * fixed numeric WCHAN output on Alphas and stupid bug in ps (again, thanks to H. Koenig). * fixed top memory statistics for systems with more than 100M memory or swap. -- Helmut Geyer Tue, 12 Nov 1996 02:57:18 +0100 procps (1.10.1) unstable; urgency=low * merged in ALPHA & Sparc patches (from ftp.azstarnet.com:/pub/linux/axp/glibc) * fixed ps --deselect/-N for pid lists * use shared libs from now on, install shlibs again * manpages for libproc * static lib compiled without -fPIC * added libproc package for development installing libproc headers, manpages and static library. * fixed PROC_REAL bug when PROC_FILLSTATUS isn't set. * fixed color bug in ps --forest * added xproc package for xload, xmem, xidle, xcpustate (XConsole left out as we use xconsole & klogd on debian) * adapted xload manpage for xidle and xmem * fixed xmem to cope with newer kernels (where shared pages are counted once for each additional reference) * fixed top change_fields bug (a field needs 24, not 21 spaces) * fixed several Alpha bugs (thanks to Harald Koenig) * due to popular demand, the old format for time intervals is back. for all program using this, a toggle command line option has been provided. The default behaviour depends on the compile time option NEW_TIME_DEFAULT (see main Makefile) -- Helmut Geyer Wed, 23 Oct 1996 21:30:54 +0200 procps (1.09.2) unstable; urgency=low * fixed cpu nice % in summary * fixed topsetup initialisation in top.h I messed up in last revision * fixed pipe output bug * fixed --deselect bug in SVR4/POSIX mode -- Helmut Geyer Sun, 20 Oct 1996 13:57:11 +0200 procps (1.09.1) unstable; urgency=low * fixed ps -w bug displaying too many empty lines * fixed SIGSEGV bug in ps -www * fixed bug in top not calculating length of the command/args/env fields at the field selection screen in some circumstances. * fixed SIGSEGV bug when using environ field -- Helmut Geyer Sat, 12 Oct 1996 07:59:29 +0200 procps (1.09) experimental; urgency=low * This is an experimental release of the procps suite. A lot of features have been added since the 1.01(a) release: - support for both BSD and POSIX (SVR4) style command line options. - completely configurable display of information. - colour markup of processes exceeding limits or belonging to a user. Please take a look at /usr/doc/procps/NEWS and the manpages for a concise list. This is how the next upstream release of procps may look (i.e. it will look like this if there is not too much resistance). -- Helmut Geyer Sat, 5 Oct 1996 14:26:57 +0200 debian/procps.lintian-overrides0000644000000000000000000000012011756105145014052 0ustar procps: package-name-doesnt-match-sonames procps: manpage-has-errors-from-man debian/libprocps3-dev.install.in0000644000000000000000000000015112150644606014020 0ustar usr/include/proc/*.h usr/lib/${DEB_HOST_MULTIARCH}/libprocps.a usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/* debian/libprocps3-dev.dirs0000644000000000000000000000003112126170033012672 0ustar usr/lib usr/include/proc debian/w.de.10000644000000000000000000000451511756105145010117 0ustar .\" -*-Nroff-*- .\" .TH W 1 "8 Dez 1993 " " " "Linux Benutzerhandbuch" .SH NAME w \- Zeigt an, wer am System angemeldet ist und was sie/er gerade tut. .SH SYNTAX .B w .RB [ \-husfVo ] .RI [ Benutzer ] .SH BESCHREIBUNG .B w zeigt Informationen über die gerade eingeloggten Benutzer und ihre Prozesse an. Die Kopfzeile enthält die aktuelle Zeit, die Zeit, seit der das System läuft, wie viele Benutzer gerade angemeldet sind und die durchschnittliche Systemlast der letzten 1, 5 und 15 Minuten. Die folgenden Daten werden für jeden Benutzer angezeigt: Der Login-Name, der tty-Name, der entfernte Host, die Login-Zeit, die Leerlaufzeit, JCPU , PCPU und die Kommandozeile des laufenden Prozesses. Die JCPU-Zeit ist die Zeit, die von allen Prozessen genutzt wurde, die an dem jeweiligen Terminal angemeldet sind. Sie enthält keine abgeschlossenen Hintergrund-Aufträge, jedoch die derzeit laufenden Hintergrund-Aufträge. Die PCPU-Zeit ist die Zeit, die vom derzeit laufenden Prozess bisher genutzt wurde. .PP .SH "OPTIONEN" .TP 0.5i .B "\-h " Die Kopfzeile nicht ausgegeben. .TP 0.5i .B "\-u " Ignoriert den Benutzernamen während der aktuelle Prozess und die CPU-Zeiten ermittelt werden. Probieren Sie die Option aus, indem Sie zunächst "su", danach "w" und "w \-u" eingeben. .TP 0.5i .B "\-s " Das kurze Ausgabeformat verwenden. Den Anmeldenamen, die JCPU und PCPU nicht ausgeben. .TP 0.5i .B "\-f " Umschalten des .B from (remote host) Feldes. Die Standardeinstellung ist, das .B from Feld nicht auszugeben. Evtl. hat ihr Systemadministrator oder Paketbetreuer jedoch auch eine Version kompiliert, in der das .B from Feld standardmäßig angezeigt wird. .TP 0.5i .B "\-V " Versionsinformation anzeigen. .TP 0.5i .B "\-o " Altes Ausgabeformat. Druckt Leerzeichen für Leerlaufzeiten unter einer Minute. .TP 0.5i .B "Benutzer " Zeigt nur Informationen über den angegebenen Benutzer an. .SH DATEIEN .TP .I /var/run/utmp Informationen darüber, wer gerade angemeldet ist .TP .I /proc Prozessinformationen .PP .SH "SIEHE AUCH" .BR free (1), .BR ps (1), .BR top (1), .BR uptime (1), .BR utmp (5), .BR who (1) .SH AUTOREN .B w ist von Charles Blake fast vollständig neu geschrieben worden. Die ursprüngliche Version wurde von Larry Greenfield und Michael K. Johnson geschrieben. Berichten Sie Fehler an debian/procps.install.kfreebsd0000644000000000000000000000007011756105145013652 0ustar # Files to install for kfreebsd systems bin/* usr/bin/* debian/NEWS0000644000000000000000000000116611756105145007676 0ustar procps (1:3.3.1-1) unstable; urgency=low * top has a new rcfile format from 3.3.1 which is not backwards compatible from a rcfile save from a pre-3.3.1 top. -- Craig Small Mon, 23 Jan 2012 22:26:16 +1100 procps (1:3.2.7-10) unstable; urgency=low * In this version I revert a long-standing (since potato I think) patch that incorrectly changed the time output for w for its Idle, PCPU and JCPU times. The patch should have only changed the times if the -o flag was used, instead of all the time. This is now fixed. -- Craig Small Fri, 09 Jan 2009 16:41:02 +1100 debian/examples0000644000000000000000000000002411756105145010730 0ustar debian/sysctl.conf debian/clean0000644000000000000000000000001112125021503010152 0ustar .version debian/libprocps3-dev.README0000644000000000000000000000077512126170033012705 0ustar README for libproc-dev ====================== This README is for people who want to use the libraries for their own programs. If you just want to use procps tools you don't need to use this and you can probably remove libproc-dev too. It is generally a bad idea to dynamically link to libproc. The API changes a fair bit and I cannot guarantee that it will stay the same between minor versions (though it will stay the same between Debian versions). I've now re-included the libproc.a file so use that. debian/procps.links0000644000000000000000000000007011756105145011540 0ustar usr/bin/pgrep usr/bin/pkill usr/bin/skill usr/bin/snice debian/procps.install0000644000000000000000000000022612262537425012074 0ustar # Files to install for non-kfreebsd and non-hurd systems # I think that just means linux debian/sysctl.conf etc etc/sysctl.d/* bin/* sbin/* usr/bin/* debian/upstart0000644000000000000000000000055312262537425010626 0ustar # procps - set sysctls from /etc/sysctl.conf # # This task sets kernel sysctl variables from /etc/sysctl.conf and # /etc/sysctl.d description "set sysctls from /etc/sysctl.conf" instance $UPSTART_EVENTS env UPSTART_EVENTS= start on virtual-filesystems or static-network-up task script cat /etc/sysctl.d/*.conf /etc/sysctl.conf | sysctl -e -p - end script debian/compat0000644000000000000000000000000211756105145010371 0ustar 9 debian/procps.manpages0000644000000000000000000000005611756105145012217 0ustar debian/tmp/usr/share/man/man?/* debian/w.de.1 debian/postrm0000644000000000000000000000216211756105145010443 0ustar #!/bin/sh # postrm script for procps # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package restoreoldconffile() { v=$1 f=/etc/init.d/procps c=1:3.2.7-5 [ ! -e "$f" ] && return dpkg --compare-versions "$1" ge "$c" || return mv "$f" "$f.sh" } case "$1" in abort-upgrade) restoreoldconffile ;; purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/patches/0000755000000000000000000000000012262537707010630 5ustar debian/patches/testsuite_unsupp0000644000000000000000000000672112253561052014212 0ustar Description: set some tests to unsupported Bug-Debian: http://bugs.debian.org/710851 Last-Update: 2013-06-06 Index: procps/testsuite/pgrep.test/pgrep.exp =================================================================== --- procps.orig/testsuite/pgrep.test/pgrep.exp 2013-12-16 22:19:06.938690769 +1100 +++ procps/testsuite/pgrep.test/pgrep.exp 2013-12-16 22:19:06.934690797 +1100 @@ -9,7 +9,7 @@ set gid [ exec id -g ] set not_gid [ expr { $gid + 1 } ] set ps "${topdir}ps/pscommand" -set raw_tty [ exec tty ] +set have_tty [ catch { exec tty } raw_tty ] regexp "/dev/(.+)" $raw_tty > tty set test "pgprep with no arguments" @@ -86,8 +86,12 @@ expect_blank "$test" set test "pgrep matches on tty" +if { $have_tty eq 0 } { spawn $pgrep -t $tty $testproc_comm expect_pass "$test" "^$testproc1_pid\\s+$testproc2_pid\\s*$" +} else { +unsupported "$test" +} set test "pgrep doesn't match with bogus tty" spawn $pgrep -t glass $testproc_comm Index: procps/testsuite/pkill.test/pkill.exp =================================================================== --- procps.orig/testsuite/pkill.test/pkill.exp 2013-12-16 22:19:06.938690769 +1100 +++ procps/testsuite/pkill.test/pkill.exp 2013-12-16 22:19:06.934690797 +1100 @@ -9,7 +9,7 @@ set gid [ exec id -g ] set not_gid [ expr { $gid + 1 } ] set ps "${topdir}ps/pscommand" -set raw_tty [ exec tty ] +set have_tty [ catch { exec tty} raw_tty ] regexp "/dev/(.+)" $raw_tty > tty set test "pkill with no arguments" Index: procps/testsuite/ps.test/ps_output.exp =================================================================== --- procps.orig/testsuite/ps.test/ps_output.exp 2013-12-16 22:19:06.938690769 +1100 +++ procps/testsuite/ps.test/ps_output.exp 2013-12-16 22:19:06.934690797 +1100 @@ -9,8 +9,8 @@ set not_uid [ expr { $uid + 1 } ] set gid [ exec id -g ] set not_gid [ expr { $gid + 1 } ] -set raw_tty [ exec tty ] -regexp "/dev/(.+)" $raw_tty > tty +#set has_tty [ catch { exec tty} raw_tty ] +#regexp "/dev/(.+)" $raw_tty > tty # All the fields # Cannot do args,cmd,comm Index: procps/testsuite/pwdx.test/pwdx.exp =================================================================== --- procps.orig/testsuite/pwdx.test/pwdx.exp 2013-12-16 22:19:06.938690769 +1100 +++ procps/testsuite/pwdx.test/pwdx.exp 2013-12-16 22:19:06.934690797 +1100 @@ -12,9 +12,10 @@ # Run pwdx with existing pid set test "pwdx finds sleep in cwd" -set sleep_pid [ exec sleep 600 & ] -set sleep_pwd [ pwd ] -spawn $pwdx $sleep_pid -expect_pass "$test" "^$sleep_pid: $sleep_pwd" -exec kill $sleep_pid +#set sleep_pid [ exec sleep 600 & ] +#set sleep_pwd [ pwd ] +#spawn $pwdx $sleep_pid +#expect_pass "$test" "^$sleep_pid: $sleep_pwd" +#exec kill $sleep_pid +untested "$test" Index: procps/testsuite/vmstat.test/vmstat.exp =================================================================== --- procps.orig/testsuite/vmstat.test/vmstat.exp 2013-12-16 22:19:06.938690769 +1100 +++ procps/testsuite/vmstat.test/vmstat.exp 2013-12-16 22:20:58.457898431 +1100 @@ -26,8 +26,9 @@ } set test "vmstat disk information (-d option)" -spawn $vmstat -d -expect_pass "$test" "^disk\[ -\]+reads\[ -\]+writes\[ -\]+IO\[ -\]+\\s+total\\s+merged\\s+sectors\\s+ms\\s+total\\s+merged\\s+sectors\\s+ms\\s+cur\\s+sec\\s+" +#spawn $vmstat -d +#expect_pass "$test" "^disk\[ -\]+reads\[ -\]+writes\[ -\]+IO\[ -\]+\\s+total\\s+merged\\s+sectors\\s+ms\\s+total\\s+merged\\s+sectors\\s+ms\\s+cur\\s+sec\\s+" +untested "$test" # Need a partition set diskstats [ exec cat /proc/diskstats ] debian/patches/uptime_test0000644000000000000000000000402112125011573013074 0ustar --- a/testsuite/w.test/w.exp +++ b/testsuite/w.test/w.exp @@ -5,10 +5,10 @@ set w "${topdir}w" set w_uptime "\\s+\\d{2}:\\d{2}:\\d{2} up (\\d+ days?,)?\\s*\\d+( min|:\\d+), +\\d+ users?, +load average: \[0-9.\]+, \[0-9.\]+, \[0-9.\]+\\s+" -set w_std_header "${w_uptime}USER\\s+TTY\\s+LOGIN@\\s+IDLE\\s+JCPU\\s+PCPU\\s+WHAT\\s+" -set w_short_header "${w_uptime}USER\\s+TTY\\s+IDLE\\s+WHAT\\s+" -set w_from_header "${w_uptime}USER\\s+TTY\\s+FROM\\s+LOGIN@\\s+IDLE\\s+JCPU\\s+PCPU\\s+WHAT\\s+" -set w_fromshort_header "${w_uptime}USER\\s+TTY\\s+FROM\\s+IDLE\\s+WHAT\\s+" +set w_from_header "${w_uptime}USER\\s+TTY\\s+LOGIN@\\s+IDLE\\s+JCPU\\s+PCPU\\s+WHAT\\s+" +set w_fromshort_header "${w_uptime}USER\\s+TTY\\s+IDLE\\s+WHAT\\s+" +set w_std_header "${w_uptime}USER\\s+TTY\\s+FROM\\s+LOGIN@\\s+IDLE\\s+JCPU\\s+PCPU\\s+WHAT\\s+" +set w_short_header "${w_uptime}USER\\s+TTY\\s+FROM\\s+IDLE\\s+WHAT\\s+" set w_user "\[A-Za-z0-9_-\]+" set w_tty "\[a-z0-9/]+" @@ -17,10 +17,10 @@ set w_idle "\(\\?xdm\\?\|\\?\|\\d+days\|\\d+:\\d+m?\|\\d+.\\d+s\)" set w_ival7 "\(\\?\|\\d+days\|\\d+:\\d+m?\|\\d+.\\d+s\)" set w_what "\[A-Za-z0-9_\/\\-\]+" -set w_std_userlines "\(${w_user}\\s+${w_tty}\\s+${w_login}\\s+${w_idle}\\s+${w_ival7}\\s+${w_ival7}\\s+${w_what}\\s*\)*" -set w_short_userlines "\(${w_user}\\s+${w_tty}\\s+${w_idle}\\s+${w_what}\\s*\)*" -set w_from_userlines "\(${w_user}\\s+${w_tty}\\s+${w_from}\\s+${w_login}\\s+${w_idle}\\s+${w_ival7}\\s+${w_ival7}\\s+${w_what}\\s*\)*" -set w_fromshort_userlines "\(${w_user}\\s+${w_tty}\\s+${w_from}\\s+${w_idle}\\s+${w_what}\\s*\)*" +set w_from_userlines "\(${w_user}\\s+${w_tty}\\s+${w_login}\\s+${w_idle}\\s+${w_ival7}\\s+${w_ival7}\\s+${w_what}\\s*\)*" +set w_fromshort_userlines "\(${w_user}\\s+${w_tty}\\s+${w_idle}\\s+${w_what}\\s*\)*" +set w_std_userlines "\(${w_user}\\s+${w_tty}\\s+${w_from}\\s+${w_login}\\s+${w_idle}\\s+${w_ival7}\\s+${w_ival7}\\s+${w_what}\\s*\)*" +set w_short_userlines "\(${w_user}\\s+${w_tty}\\s+${w_from}\\s+${w_idle}\\s+${w_what}\\s*\)*" set test "w with no arguments" spawn $w debian/patches/ignore_eaccess.patch0000644000000000000000000000133712262537425014623 0ustar Description: Ignore EACCESS when writing a new setting If we are running in a container, we're not allowed to write to any non-namespaced sysctls. Author: Serge Hallyn Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1157643 Index: procps-3.3.3/sysctl.c =================================================================== --- procps-3.3.3.orig/sysctl.c 2012-05-08 06:08:36.000000000 -0500 +++ procps-3.3.3/sysctl.c 2013-10-16 13:44:56.541389676 -0500 @@ -434,7 +434,7 @@ static int WriteSetting(const char *sett break; case EACCES: xwarnx(_("permission denied on key '%s'"), outname); - rc = -1; + rc = 0; break; default: xwarn(_("setting key \"%s\""), outname); debian/patches/p_pid-enum.diff0000644000000000000000000000502112262537425013512 0ustar --- procps-3.3.8.orig/top/top.c +++ procps-3.3.8/top/top.c @@ -2215,12 +2215,12 @@ static void zap_fieldstab (void) { char buf[8]; if (!once) { - Fieldstab[P_PID].width = Fieldstab[P_PPD].width + Fieldstab[TOP_P_PID].width = Fieldstab[P_PPD].width = Fieldstab[P_PGD].width = Fieldstab[P_SID].width = Fieldstab[P_TGD].width = Fieldstab[P_TPG].width = 5; if (5 < (digits = get_pid_digits())) { if (10 < digits) error_exit(N_txt(FAIL_widepid_txt)); - Fieldstab[P_PID].width = Fieldstab[P_PPD].width + Fieldstab[TOP_P_PID].width = Fieldstab[P_PPD].width = Fieldstab[P_PGD].width = Fieldstab[P_SID].width = Fieldstab[P_TGD].width = Fieldstab[P_TPG].width = digits; } @@ -4766,7 +4766,7 @@ static void keys_xtra (int ch) { // xmsg = "Memory"; break; case 'N': - w->rc.sortindx = P_PID; + w->rc.sortindx = TOP_P_PID; // xmsg = "Numerical"; break; case 'P': @@ -5226,7 +5226,7 @@ static const char *task_show (const WIN_ case P_PGD: cp = make_num(p->pgrp, W, Jn, AUTOX_NO); break; - case P_PID: + case TOP_P_PID: cp = make_num(p->tid, W, Jn, AUTOX_NO); break; case P_PPD: --- procps-3.3.8.orig/top/top.h +++ procps-3.3.8/top/top.h @@ -178,7 +178,7 @@ char *strcasestr(const char *haystack, c /* Flags for each possible field (and then some) -- these MUST be kept in sync with the FLD_t Fieldstab[] array !! */ enum pflag { - P_PID = 0, P_PPD, + TOP_P_PID = 0, P_PPD, P_UED, P_UEN, P_URD, P_URN, P_USD, P_USN, P_GID, P_GRP, P_PGD, P_TTY, P_TPG, P_SID, P_PRI, P_NCE, P_THD, @@ -596,7 +596,7 @@ typedef struct WIN_t { { P_CPU, DEF_WINFLGS, 0, \ COLOR_RED, COLOR_RED, COLOR_YELLOW, COLOR_RED, \ "Def", DEF_FIELDS }, \ - { P_PID, DEF_WINFLGS, 0, \ + { TOP_P_PID, DEF_WINFLGS, 0, \ COLOR_CYAN, COLOR_CYAN, COLOR_WHITE, COLOR_CYAN, \ "Job", JOB_FIELDS }, \ { P_MEM, DEF_WINFLGS, 0, \ --- procps-3.3.8.orig/top/top_nls.c +++ procps-3.3.8/top/top_nls.c @@ -121,8 +121,8 @@ static void build_two_nlstabs (void) { . */ /* Translation Hint: maximum 'PID' = 5 */ - Head_nlstab[P_PID] = _("PID"); - Desc_nlstab[P_PID] = _("Process Id"); + Head_nlstab[TOP_P_PID] = _("PID"); + Desc_nlstab[TOP_P_PID] = _("Process Id"); /* Translation Hint: maximum 'PPID' = 5 */ Head_nlstab[P_PPD] = _("PPID"); Desc_nlstab[P_PPD] = _("Parent Process pid"); debian/patches/series0000644000000000000000000000014112262537707012041 0ustar uptime_test ignore_eaccess.patch testsuite_unsupp pmap_test libtool-update.diff /p_pid-enum.diff debian/patches/pmap_test0000644000000000000000000000103312262537425012541 0ustar --- procps-3.3.8.orig/testsuite/pmap.test/pmap.exp +++ procps-3.3.8/testsuite/pmap.test/pmap.exp @@ -46,8 +46,9 @@ spawn $pmap -qd $mypid expect_table $test $pmap_procname $pmap_device_items "\$" set test "pmap extended output" -spawn $pmap -x $mypid -expect_table $test $pmap_ext_header $pmap_ext_items $pmap_ext_footer +#spawn $pmap -x $mypid +#expect_table $test $pmap_ext_header $pmap_ext_items $pmap_ext_footer +untested "$test" # -X and -XX have no real format as its dependent on smaps set test "pmap extra extended output" debian/patches/libtool-update.diff0000644000000000000000000000126612262537425014410 0ustar Index: b/m4/libtool.m4 =================================================================== --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1312,7 +1312,7 @@ rm -rf conftest* ;; -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext @@ -1352,7 +1352,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) debian/README.Debian0000644000000000000000000000251211756105145011234 0ustar README for Debian package of procps =================================== ipv6 sysctl keys ---------------- Modern Debian kernel packages have the IPv6 module compiled in by default. This means that the /proc/sys/net/ipv6 directory exists when the procps startup script runs. However if you make your own kernel then you may make ipv6 a module and get a race condition between the netbase and procps startup scripts. This is because netbase, by default, causes ipv6 module to be loaded but they don't (and cannot) depend on each-other. The solution is to either: - Not put ipv6 keys into /etc/sysctl.d/* or /etc/sysctl.conf - Compile the ipv6 module into the kernel - Load the module early by putting ipv6 into /etc/modules - Make a init script dependency by adding netbase to the Required-Start line in /etc/init.d/procps pgrep ----- pgrep is a new program, using the Unix standard name for something that greps for processes. If you are looking for Perl compatible regular expression grep, it is called pcregrep. forks ----- Procps upstream is forked. This one comes from procps.sf.net I'm really not interested when the others have new versions so please don't bug me about it. However if you see something neat in the others and would like it in the Debian one, report a *wishlist* level bug about it. Craig Small debian/sysctl.conf0000644000000000000000000000404412126170033011353 0ustar # # /etc/sysctl.conf - Configuration file for setting system variables # See /etc/sysctl.d/ for additional system variables. # See sysctl.conf (5) for information. # #kernel.domainname = example.com # Uncomment the following to stop low-level messages on console #kernel.printk = 3 4 1 3 ##############################################################3 # Functions previously found in netbase # # Uncomment the next two lines to enable Spoof protection (reverse-path filter) # Turn on Source Address Verification in all interfaces to # prevent some spoofing attacks #net.ipv4.conf.default.rp_filter=1 #net.ipv4.conf.all.rp_filter=1 # Uncomment the next line to enable TCP/IP SYN cookies # See http://lwn.net/Articles/277146/ # Note: This may impact IPv6 TCP sessions too #net.ipv4.tcp_syncookies=1 # Uncomment the next line to enable packet forwarding for IPv4 #net.ipv4.ip_forward=1 # Uncomment the next line to enable packet forwarding for IPv6 # Enabling this option disables Stateless Address Autoconfiguration # based on Router Advertisements for this host #net.ipv6.conf.all.forwarding=1 ################################################################### # Additional settings - these settings can improve the network # security of the host and prevent against some network attacks # including spoofing attacks and man in the middle attacks through # redirection. Some network environments, however, require that these # settings are disabled so review and enable them as needed. # # Do not accept ICMP redirects (prevent MITM attacks) #net.ipv4.conf.all.accept_redirects = 0 #net.ipv6.conf.all.accept_redirects = 0 # _or_ # Accept ICMP redirects only for gateways listed in our default # gateway list (enabled by default) # net.ipv4.conf.all.secure_redirects = 1 # # Do not send ICMP redirects (we are not a router) #net.ipv4.conf.all.send_redirects = 0 # # Do not accept IP source route packets (we are not a router) #net.ipv4.conf.all.accept_source_route = 0 #net.ipv6.conf.all.accept_source_route = 0 # # Log Martian Packets #net.ipv4.conf.all.log_martians = 1 # debian/control0000644000000000000000000000430212262537174010601 0ustar Source: procps Section: admin Priority: important Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Craig Small Build-Depends: debhelper (>= 9.20120115), dh-autoreconf, pkg-config, libncurses5-dev, libncursesw5-dev, dejagnu, libnuma-dev [amd64 i386 ia64 mips mipsel powerpc ppc64 ppc64el] Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/collab-maint/procps.git Vcs-Browser: http://git.debian.org/?p=collab-maint/procps.git;a=summary Homepage: http://gitorious.org/procps Package: procps Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-10), initscripts Breaks: xmem (<= 1.20-27.1), guymager (<= 0.5.9-1), open-vm-tools (<= 2011.12.20-562307-1 ) Provides: watch Conflicts: w-bassman (<< 1.0-3), pgrep (<< 3.3-5) Recommends: psmisc Description: /proc file system utilities This package provides command line and full screen utilities for browsing procfs, a "pseudo" file system dynamically generated by the kernel to provide information about the status of entries in its process table (such as whether the process is running, stopped, or a "zombie"). . It contains free, kill, pkill, pgrep, pmap, ps, pwdx, skill, slabtop, snice, sysctl, tload, top, uptime, vmstat, w, and watch. Package: libprocps3 Architecture: any Multi-Arch: same Section: libs Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: procps ( << 1:3.3.2-1) Description: library for accessing process information from /proc The libprocps library is a way of accessing information out of the /proc filesystem. . This package contains the shared libraries necessary to run programs compilied with libprocps. Package: libprocps3-dev Architecture: any Section: libdevel Priority: optional Depends: libprocps3 (=${binary:Version}), libc-dev, ${misc:Depends} Provides: libprocps-dev Conflicts: libproc-dev, libprocps0-dev, libprocps1-dev Replaces: libproc-dev, libprocps0-dev, libprocps1-dev Description: library for accessing process information from /proc These are the header files for libproc. Some packages using libproc to access process information from /proc need these to compile. debian/README.sysctl0000644000000000000000000000117711756105145011401 0ustar Kernel system variables configuration files Files found under the /etc/sysctl.d directory that end with .conf are parsed within sysctl(8) at boot time. If you want to set kernel variables you can either edit /etc/sysctl.conf or make a new file. The filename isn't important, but don't make it a package name as it may clash with something the package builder needs later. It must end with .conf though. My personal preference would be for local system settings to go into /etc/sysctl.d/local.conf but as long as you follow the rules for the names of the file, anything will work. See sysctl.conf(8) man page for details of the format. debian/sysctl.d/0000755000000000000000000000000012262537425010741 5ustar debian/sysctl.d/10-kernel-hardening.conf0000644000000000000000000000132612262537425015245 0ustar # These settings are specific to hardening the kernel itself from attack # from userspace, rather than protecting userspace from other malicious # userspace things. # # # When an attacker is trying to exploit the local kernel, it is often # helpful to be able to examine where in memory the kernel, modules, # and data structures live. As such, kernel addresses should be treated # as sensitive information. # # Many files and interfaces contain these addresses (e.g. /proc/kallsyms, # /proc/modules, etc), and this setting can censor the addresses. A value # of "0" allows all users to see the kernel addresses. A value of "1" # limits visibility to the root user, and "2" blocks even the root user. kernel.kptr_restrict = 1 debian/sysctl.d/10-zeropage.conf.armel0000644000000000000000000000102412262537425014736 0ustar # Protect the zero page of memory from userspace mmap to prevent kernel # NULL-dereference attacks against potential future kernel security # vulnerabilities. (Added in kernel 2.6.23.) # # While this default is built into the Ubuntu kernel, there is no way to # restore the kernel default if the value is changed during runtime; for # example via package removal (e.g. wine, dosemu). Therefore, this value # is reset to the secure default each time the sysctl values are loaded. # # ARM-specific default: vm.mmap_min_addr = 32768 debian/sysctl.d/10-zeropage.conf0000644000000000000000000000077212262537425013650 0ustar # Protect the zero page of memory from userspace mmap to prevent kernel # NULL-dereference attacks against potential future kernel security # vulnerabilities. (Added in kernel 2.6.23.) # # While this default is built into the Ubuntu kernel, there is no way to # restore the kernel default if the value is changed during runtime; for # example via package removal (e.g. wine, dosemu). Therefore, this value # is reset to the secure default each time the sysctl values are loaded. vm.mmap_min_addr = 65536 debian/sysctl.d/10-ipv6-privacy.conf0000644000000000000000000000075212262537425014371 0ustar # IPv6 Privacy Extensions (RFC 4941) # --- # IPv6 typically uses a device's MAC address when choosing an IPv6 address # to use in autoconfiguration. Privacy extensions allow using a randomly # generated IPv6 address, which increases privacy. # # Acceptable values: # 0 - don’t use privacy extensions. # 1 - generate privacy addresses # 2 - prefer privacy addresses and use them over the normal addresses. net.ipv6.conf.all.use_tempaddr = 2 net.ipv6.conf.default.use_tempaddr = 2 debian/sysctl.d/README0000644000000000000000000000100712262537425011617 0ustar This directory contains settings similar to those found in /etc/sysctl.conf. In general, files in the 10-*.conf range come from the procps package and serve as system defaults. Other packages install their files in the 30-*.conf range, to override system defaults. End-users can use 60-*.conf and above, or use /etc/sysctl.conf directly, which overrides anything in this directory. After making any changes, please run "service procps start" (or, from a Debian package maintainer script "invoke-rc.d procps start"). debian/sysctl.d/10-link-restrictions.conf0000644000000000000000000000040112262537425015504 0ustar # These settings eliminate an entire class of security vulnerability: # time-of-check-time-of-use cross-privilege attacks using guessable # filenames (generally seen as "/tmp file race" vulnerabilities). fs.protected_hardlinks = 1 fs.protected_symlinks = 1 debian/sysctl.d/10-ptrace.conf0000644000000000000000000000241412262537425013305 0ustar # The PTRACE system is used for debugging. With it, a single user process # can attach to any other dumpable process owned by the same user. In the # case of malicious software, it is possible to use PTRACE to access # credentials that exist in memory (re-using existing SSH connections, # extracting GPG agent information, etc). # # A PTRACE scope of "0" is the more permissive mode. A scope of "1" limits # PTRACE only to direct child processes (e.g. "gdb name-of-program" and # "strace -f name-of-program" work, but gdb's "attach" and "strace -fp $PID" # do not). The PTRACE scope is ignored when a user has CAP_SYS_PTRACE, so # "sudo strace -fp $PID" will work as before. For more details see: # https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace # # For applications launching crash handlers that need PTRACE, exceptions can # be registered by the debugee by declaring in the segfault handler # specifically which process will be using PTRACE on the debugee: # prctl(PR_SET_PTRACER, debugger_pid, 0, 0, 0); # # In general, PTRACE is not needed for the average running Ubuntu system. # To that end, the default is to set the PTRACE scope to "1". This value # may not be appropriate for developers or servers with only admin accounts. kernel.yama.ptrace_scope = 1 debian/sysctl.d/10-zeropage.conf.armhf0000644000000000000000000000102412262537425014733 0ustar # Protect the zero page of memory from userspace mmap to prevent kernel # NULL-dereference attacks against potential future kernel security # vulnerabilities. (Added in kernel 2.6.23.) # # While this default is built into the Ubuntu kernel, there is no way to # restore the kernel default if the value is changed during runtime; for # example via package removal (e.g. wine, dosemu). Therefore, this value # is reset to the secure default each time the sysctl values are loaded. # # ARM-specific default: vm.mmap_min_addr = 32768 debian/sysctl.d/10-magic-sysrq.conf0000644000000000000000000000224012262537425014263 0ustar # The magic SysRq key enables certain keyboard combinations to be # interpreted by the kernel to help with debugging. The kernel will respond # to these keys regardless of the current running applications. # # In general, the magic SysRq key is not needed for the average Ubuntu # system, and having it enabled by default can lead to security issues on # the console such as being able to dump memory or to kill arbitrary # processes including the running screen lock. # # Here is the list of possible values: # 0 - disable sysrq completely # 1 - enable all functions of sysrq # >1 - enable certain functions by adding up the following values: # 2 - enable control of console logging level # 4 - enable control of keyboard (SAK, unraw) # 8 - enable debugging dumps of processes etc. # 16 - enable sync command # 32 - enable remount read-only # 64 - enable signalling of processes (term, kill, oom-kill) # 128 - allow reboot/poweroff # 256 - allow nicing of all RT tasks # # For example, to enable both control of console logging level and # debugging dumps of processes: kernel.sysrq = 10 # kernel.sysrq = 176 debian/sysctl.d/10-console-messages.conf0000644000000000000000000000011512262537425015272 0ustar # the following stops low-level messages on console kernel.printk = 4 4 1 7 debian/sysctl.d/10-network-security.conf0000644000000000000000000000077512262537425015375 0ustar # Turn on Source Address Verification in all interfaces to # prevent some spoofing attacks. net.ipv4.conf.default.rp_filter=1 net.ipv4.conf.all.rp_filter=1 # Turn on SYN-flood protections. Starting with 2.6.26, there is no loss # of TCP functionality/features under normal conditions. When flood # protections kick in under high unanswered-SYN load, the system # should remain more stable, with a trade off of some loss of TCP # functionality/features (e.g. TCP Window scaling). net.ipv4.tcp_syncookies=1 debian/sysctl.d/10-keyboard.conf.powerpc0000644000000000000000000000030412262537425015301 0ustar # PowerPC: # Emulate the middle mouse button with F11 and the right with F12. dev.mac_hid.mouse_button_emulation = 1 dev.mac_hid.mouse_button2_keycode = 87 dev.mac_hid.mouse_button3_keycode = 88 debian/rules0000755000000000000000000000676312262537425010272 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PACKAGE="procps" DEBROOT=$(CURDIR)/debian/tmp DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS = PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config \ ac_cv_func_malloc_0_nonnull=yes \ ac_cv_func_realloc_0_nonnull=yes else CROSS= endif %: dh $@ --with autoreconf autogen-files := debian/libprocps3.install debian/libprocps3-dev.install \ debian/libprocps3-dev.links debian/%: debian/%.in sed -e 's/$${DEB_HOST_MULTIARCH}/$(DEB_HOST_MULTIARCH)/g' $< > $@ override_dh_auto_clean: dh_auto_clean rm -f $(autogen-files) override_dh_auto_configure: $(CROSS) ./configure \ --build=$(DEB_BUILD_GNU_TYPE) \ --enable-watch8bit --enable-w-from \ --enable-skill \ --disable-pidof \ --prefix=/usr \ --exec-prefix=/ \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ --build=$(DEB_BUILD_GNU_TYPE) \ --host=$(DEB_HOST_GNU_TYPE) \ override_dh_auto_install: $(autogen-files) dh_auto_install # Build up sysctl.d install -d $(DEBROOT)/etc/sysctl.d/ install --mode 644 -o root -g root debian/sysctl.d/*.conf debian/sysctl.d/README $(DEBROOT)/etc/sysctl.d/ ifneq (,$(wildcard debian/sysctl.d/*.conf.$(DEB_HOST_ARCH))) # If a non-arch-specific default exists, install the arch-specific # version of the conf in place of it, otherwise, build up a general # 10-arch-specific.conf file. for archconf in debian/sysctl.d/*.conf.$(DEB_HOST_ARCH); do \ conf=$$(basename $$archconf .$(DEB_HOST_ARCH)); \ if [ -f debian/sysctl.d/$$conf ]; then \ install --mode 644 -o root -g root $$archconf $(DEBROOT)/etc/sysctl.d/$$conf; \ else \ cat $$archconf >> $(DEBROOT)/etc/sysctl.d/10-arch-specific.conf; \ fi; \ done endif # Rename w as there are two of them (cd $(DEBROOT)/usr/bin && mv w w.procps ) (cd $(DEBROOT)/usr/share/man/man1 && mv w.1 w.procps.1 ) ifneq ($(DEB_HOST_ARCH_OS), linux) rm -f \ $(DEBROOT)/usr/bin/slabtop \ $(DEBROOT)/usr/share/man/man1/slabtop.1 \ $(DEBROOT)/sbin/sysctl \ $(DEBROOT)/usr/share/man/man8/sysctl.8 \ $(DEBROOT)/usr/share/man/man5/sysctl.conf.5 \ $(NULL) endif ifeq ($(DEB_HOST_ARCH_OS), kfreebsd) rm -f \ $(DEBROOT)/bin/kill \ $(DEBROOT)/usr/share/man/man1/kill.1 \ $(NULL) endif ifeq ($(DEB_HOST_ARCH_OS), hurd) rm -f \ $(DEBROOT)/usr/bin/pmap \ $(DEBROOT)/usr/share/man/man1/pmap.1 \ $(NULL) # Rename kill as there are two of them (cd $(DEBROOT)/bin && mv kill kill.procps ) (cd $(DEBROOT)/usr/share/man/man1 && mv kill.1 kill.procps.1 ) # Rename vmstat as there are two of them (cd $(DEBROOT)/usr/bin && mv vmstat vmstat.procps ) (cd $(DEBROOT)/usr/share/man/man8 && mv vmstat.8 vmstat.procps.8 ) # Rename uptime as there are two of them (cd $(DEBROOT)/usr/bin && mv uptime uptime.procps ) (cd $(DEBROOT)/usr/share/man/man1 && mv uptime.1 uptime.procps.1 ) # Rename ps as there are two of them (cd $(DEBROOT)/bin && mv ps ps.procps ) (cd $(DEBROOT)/usr/share/man/man1 && mv ps.1 ps.procps.1 ) endif override_dh_installchangelogs: dh_installchangelogs NEWS override_dh_installinit: ifeq ($(DEB_HOST_ARCH_OS), linux) dh_installinit --update-rcd-params='start 17 S .' endif override_dh_makeshlibs: dh_makeshlibs -V 'libprocps3' debian/source/0000755000000000000000000000000011756105145010473 5ustar debian/source/format0000644000000000000000000000001411756105145011701 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000041711756105145010226 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # Site Directory Pattern Version Script version=3 http://procps.sourceforge.net/download.html procps-(.*)\.tar\.gz debian/procps.bug-presubj0000644000000000000000000000024612126170033012640 0ustar If you are reporting on the kill program please make sure you are running /bin/kill and not the shell built-in kill program (which is usually the default one used).