diff --git a/packages/extras-buildpkgs/90-htop.conf b/packages/extras-buildpkgs/90-htop.conf new file mode 100644 index 0000000000..874d74bc69 --- /dev/null +++ b/packages/extras-buildpkgs/90-htop.conf @@ -0,0 +1,19 @@ +# hostapd +local package_name="htop" +local package_repo="https://github.com/hishamhm/htop" +local package_ref="tag:2.2.0" + +local package_upstream_version="2.2.0-3" +local package_builddeps="debhelper dpkg-dev libhwloc-dev libncurses5-dev libncursesw5-dev pkg-config python-minimal:native" +local package_install_target="htop" +local package_component="${release}-utils" + +package_checkbuild() +{ + [[ $release != stretch && $release != bionic ]] +} + +package_checkinstall() +{ + true +} diff --git a/packages/extras-buildpkgs/htop/debian/changelog b/packages/extras-buildpkgs/htop/debian/changelog new file mode 100644 index 0000000000..54864b91e3 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/changelog @@ -0,0 +1,532 @@ +htop (2.2.0-1) unstable; urgency=medium + + * New upstream release 2.2.0 + * Update uscan to v4 and add gpg verification of upstream tarball + * Drop patches that were merged upstream + * Remove OpenVZ patch that wasn't merged upstream + (for now, upstream issue 464) + * Add upstream issue 780 patch + * Fix compile issue with regenerated header files (patch) + * Update policy to 4.1.4 (no changes required) + + -- Daniel Lange Thu, 26 Apr 2018 21:10:00 +0200 + +htop (2.1.0-3) unstable; urgency=medium + + * Fix case of dyscalculia in changelog entry for 2.1.0-1 + * Update Daniel Lange's email address + * Add debian/clean to remove autogenerated headers + * Refresh debian/patches/601-openvz-new-ctid-vpid.patch + * Fix issue with small terminals (Closes: #889693) + * Fix preservation of LDFLAGS value during configure script + * Handle unexpected values for character passed to isalnum + + -- Graham Inggs Sat, 17 Feb 2018 18:27:46 +0000 + +htop (2.1.0-2) unstable; urgency=medium + + * Add missing build-dependency on pkg-config + + -- Graham Inggs Mon, 05 Feb 2018 16:59:56 +0000 + +htop (2.1.0-1) unstable; urgency=medium + + [ Graham Inggs ] + * New upstream release 2.1.0 (Closes: #889634) + * Refresh debian/patches/601-openvz-new-ctid-vpid.patch + * Update Vcs-* URIs for move to salsa.debian.org + * Turn debhelper up to 11 + * Update debian/copyright + * Remove trailing whitespace from debian/changelog + * Use secure URI in Homepage and debian/watch + * Bump Standards-Version to 4.1.3, no changes + + [ Helmut Grohne ] + * Fix FTCBFS: Annotate python-minimal build dependency with :native. + (Closes: #864672) + + -- Graham Inggs Mon, 05 Feb 2018 13:22:25 +0000 + +htop (2.0.2-1) unstable; urgency=medium + + * Update to upstream version 2.0.2 + - Use SOURCE_DATE_EPOCH instead of current year in copyright message + to make build reproducible. (Closes: #822963) + - Fix build to detect the Hurd as a Linux platform. (Closes: #821747) + - Fix crash when setting CPU affinity and -fPIE. (LP: #1589549) + * Bump Standards to 3.9.8 (no changes required) + + -- Daniel Lange Mon, 25 Jul 2016 19:46:17 +0200 + +htop (2.0.1-1) unstable; urgency=medium + + * New upstream release 2.0.1. (Closes: #814401, #783893, #774930) + * Clean up patches from 1.0.3 -> 2.0.1 + * Update compat -> 9, rules -> debhelper/9 + * Update debian/copyright to copyright-format/1.0 (Closes: #749850) + * Add lsof as suggested (Closes: #817918) + * Change maintainership jackyf -> DLange, jackyf and ginggs will + co-maintain. Jackyf: Thank you very much for 8 years of htop + maintenance! + + -- Daniel Lange Thu, 14 Apr 2016 10:25:45 +0200 + +htop (1.0.3-1) unstable; urgency=low + + * New upstream release. + * debian/watch: + - Updated to use new download location (http://hisham.hm/htop/releases). + * debian/patches: + - 600-openvz-veid-on-kernels-gt-2.6.18.patch: refreshed. + - 610-io-priority-only-on-linux.patch: ported to new upstream version. + - 700-ltrace-support.patch: ported to new upstream version. + * debian/control: + - Bumped Standards-Version to 3.9.5, no changes needed. + - Updated Homepage to 'http://hisham.hm/htop/'. + + -- Eugene V. Lyubimkin Thu, 01 May 2014 13:16:56 +0300 + +htop (1.0.2-3) unstable; urgency=low + + * debian/patches: + - New patch 610-io-priority-only-on-linux.patch which should fix building + on non-Linux kernels. + + -- Eugene V. Lyubimkin Sat, 05 Oct 2013 13:17:13 +0300 + +htop (1.0.2-2) unstable; urgency=low + + * Upload to unstable. + + -- Eugene V. Lyubimkin Sat, 29 Jun 2013 22:25:41 +0300 + +htop (1.0.2-1) experimental; urgency=low + + * New upstream release. + - Ability to update process names on refreshes. (Closes: #475254) + - More precise value of CPU%. (Closes: #668410) + - Columns line up properly even when for more-than-5-digits process ids. + (Closes: #687280) + * debian/control: + - Bumped Standards-Version to 3.9.4, no changes needed. + * debian/patches: + - Deleted 200-dont-delete-htoprc-if-symlink.patch, applied upstream. + - 700-ltrace-support.patch: ported to new upstream version. + + -- Eugene V. Lyubimkin Sat, 01 Dec 2012 11:55:43 +0200 + +htop (1.0.1-4) unstable; urgency=low + + * debian/rules: + - Retrieve and pass also CPPFLAGS and LDFLAGS. Patch by Simon Ruderich. + (Closes: #685670) + + -- Eugene V. Lyubimkin Sat, 01 Sep 2012 14:29:59 +0300 + +htop (1.0.1-3) unstable; urgency=low + + * debian/rules: + - Retrieve CFLAGS from dpkg-buildflags as dpkg-buildpackage stopped to + export them. Thanks to Felix Geyer and Cyril Brulebois. + (Closes: #685670) + * debian/control: + - Build-depend on dpkg (>= 1.16.1) for using dpkg-buildflags. + + -- Eugene V. Lyubimkin Mon, 27 Aug 2012 19:51:54 +0300 + +htop (1.0.1-2) unstable; urgency=low + + * debian/patches: + - New patch 200-dont-delete-htoprc-if-symlink.patch from upstream VCS. + (Closes: #662087) + + -- Eugene V. Lyubimkin Mon, 30 Jul 2012 19:12:16 +0300 + +htop (1.0.1-1) unstable; urgency=low + + * New upstream release. + - Don't crash when trying to kill already finished process. + (Closes: #652563, 657675) + + -- Eugene V. Lyubimkin Sun, 19 Feb 2012 10:24:46 +0200 + +htop (1.0-1) unstable; urgency=low + + * New upstream release. + - Don't die after a terminal resize. (Closes: #464852) + - Don't abort when a number of processes are removed from the list at + once. (Closes: #541417) + - Fixed the inconsistency in the documentation about "[" and "]" keys. + (Closes: #610329) + * debian/patches: + - 100-fix-cgroups-crash.patch: deleted, upstream fixed it in a different + way. + - 600-openvz-veid-on-kernels-gt-2.6.18.patch: ported to new upstream + version. + - 700-ltrace-support.patch: ported to new upstream version. + - 700-ltrace-support.patch: ltrace hotkey is 'L', not 'l'. + * debian/control: + - Add libhwloc-dev to Build-Depends on non-linux architectures. + - Add libncursesw5-dev to Build-Depends, enabling unicode support. + * debian/rules: + - Enable native affinity functions on linux architectures and use hwloc + library everywhere else. + * debian/copyright: + - Updated upstream copyright years. + + -- Eugene V. Lyubimkin Sat, 26 Nov 2011 15:58:33 +0200 + +htop (0.9-4) unstable; urgency=low + + * debian/rules: + - Added 'build-arch' and 'build-indep' targets as suggested by Lintian. + * debian/patches: + - New patch 100-fix-cgroups-crash.patch fixing a crash when htop receives + an unexpected input from a cgroups file. (Closes: #628040) + + -- Eugene V. Lyubimkin Wed, 21 Sep 2011 21:17:17 +0300 + +htop (0.9-3) unstable; urgency=low + + * debian/rules: + - Enable cgroups support. (Closes: #627545) + * debian/README.source: + - added with standard instructions how to use quilt. + * debian/control: + - Fixed spelling as suggested by lintian. + - Bumped Standards-Version to 3.9.2, no changes needed. + + -- Eugene V. Lyubimkin Sun, 22 May 2011 12:05:09 +0300 + +htop (0.9-2) unstable; urgency=low + + * Upload to unstable. + + -- Eugene V. Lyubimkin Sun, 13 Feb 2011 10:41:53 +0200 + +htop (0.9-1) experimental; urgency=low + + * New upstream release. (Closes: #610229) + - Fixed by-process IO stats in some cases. (Closes: #526070) + - Do not display nan% as CPU load sometimes. (Closes: #590535) + * debian/patches: + - 600-openvz-veid-on-kernels-gt-2.6.18.patch: ported to new upstream + version. + - 700-ltrace-support.patch: refreshed. + * debian/control: + - Bumped Standards-Version to 3.9.1, no changes needed. + - Updated my mail address. + - Removed 'DM-Upload-Allowed' flag as not needed anymore. + * debian/copyright: + - Updated author copyright years. + * debian/watch: + - Removed 'uupdate' option, not needed for my workflow. + + -- Eugene V. Lyubimkin Sun, 16 Jan 2011 19:36:07 +0200 + +htop (0.8.3-1) unstable; urgency=low + + * New upstream release: + - 0.8.2 (LP: #385862): + - Integrated lsof output. (Closes: #426003) + - Handling of absend CPU should work now. (Closes: #494057, #476273) + - Fixed a crash when sorting by USER column. (Closes: #526362) + - Fixed display of gigabyte-sized values. + - Fixed incremental search. (Closes: #521376) + - Option to display hostname in the meters area. + - 0.8.3 + * debian/control: + - Suggested strace and ltrace. (Closes: #530449) + - Bumped Standards-Version to 3.8.2, no changes needed. + * debian/patches: + - 700-ltrace-support.patch: modified to not contradict with new upstream + release, the hotkey for ltrace output changed from 'l' to 'L'. + * debian/README: + - Added with note about ltrace support. + + -- Eugene V. Lyubimkin Mon, 29 Jun 2009 13:08:39 +0300 + +htop (0.8.1+svn149-2) unstable; urgency=low + + * debian/rules: + - Build with VServer support. (Closes: #522905) + + -- Eugene V. Lyubimkin Fri, 17 Apr 2009 21:54:45 +0300 + +htop (0.8.1+svn149-1) unstable; urgency=low + + * New upstream development snapshot: + - Allow building without PLPA support. (Closes: #521861) + * debian/patches: + - 010-make-desktop-file-valid.patch: deleted, merged upstream. + - 100-upstream-sort-by-processor-and-session.patch: deleted, merged + upstream. + - 110-upstream-fix-page-size-on-BSD.patch: deleted, merged upstream. + - 120-upstream-explain-cpu-bars-in-monochrome-mode.patch: deleted, merged + upstream. + - 200-filter-non-printable-characters.patch: deleted, upstream has own + version of this patch. + - 610-rename-veid-to-ctid.patch: deleted, merged upstream. + - 600-openvz-veid-on-kernels-gt-2.6.18.patch: refreshed. + - 800-tree-view-without-userland-threads.patch: deleted, merged upstream. + - 700-ltrace-support.patch: refreshed, added the description. + * debian/rules: + - Deal more robustly with config.{sub,guess} files, thanks to Roger Leigh. + + -- Eugene V. Lyubimkin Sun, 05 Apr 2009 11:51:34 +0300 + +htop (0.8.1-6) unstable; urgency=low + + * debian/patches: + - debian/patches/110-upstream-fix-page-size-on-BSD.patch was accidentally + incorrectly applied, causing zeroes in memory columns. Fixed. + * debian/rules: + - File Process.c somewhy is not regenerated during normal build process. + Regenerate it by hand. + + -- Eugene V. Lyubimkin Sun, 29 Mar 2009 22:37:49 +0300 + +htop (0.8.1-5) unstable; urgency=low + + * debian/patches: + - New 100-upstream-sort-by-processor-and-session.patch, cherry-picked from + upstream svn: allow sorting by 'processor' and 'session' columns. + (Closes: #501317) + - New debian/patches/110-upstream-fix-page-size-on-BSD.patch, + cherry-picked from upstream svn: fix page size on BSD systems. + (Closes: #485277) + - New debian/patches/120-upstream-explain-cpu-bars-in-monochrome-mode.patch, + cherry-picked from upstream svn: document meanings of chars in CPU bars + in monochrome mode. (Closes: #477222) + - 600-openvz-veid-on-kernels-gt-2.6.18.patch: added a description. + - 610-rename-veid-to-ctid.patch: added a description. + - 800-tree-view-without-userland-threads.patch: added a description. + * debian/control: + - Bump 'Standards-Version' to 3.8.1, no changes needed. + + -- Eugene V. Lyubimkin Sun, 29 Mar 2009 19:49:53 +0300 + +htop (0.8.1-4) unstable; urgency=low + + * debian/patches: + - New 600-openvz-veid-on-kernels-gt-2.6.18.patch: fix determining veid on + openvz-enabled kernels greater than 2.6.18. Patch by + Thorsten Schifferdecker . (Closes: #516846) + - New 610-rename-veid-to-ctid.patch: openvz: renames 'veid' -> 'ctid' since + it's now a preferred term. Patch by + Thorsten Schifferdecker . (Closes: #516847) + - New 700-ltrace-support.patch: add ltrace(1) support in addition to strace + support. Patch by . + - New 800-tree-view-with-userland-threads.patch: patch to fix tree view when + userland threads are hidden, taken from Ubuntu. + + -- Eugene V. Lyubimkin Mon, 02 Mar 2009 23:17:04 +0200 + +htop (0.8.1-3) unstable; urgency=low + + * debian/rules: + - Don't ship empty directories in the package. + + -- Eugene V. Lyubimkin Sun, 15 Feb 2009 13:56:41 +0200 + +htop (0.8.1-2) experimental; urgency=low + + * Disabled unicode support, it has both build and work problems yet. + (Closes: #507423) + * debian/patches: + - New patch 200-filter-non-printable-characters.patch to filter + non-printable characters in process names. Thanks to Josh Triplett + and Andrew O. Shadoura. (Closes: #504144) + - 010-make-desktop-file-valid.patch: comment added. + * debian/control: + - Added '${misc:Depends}' to 'Depends', fixes lintian warning. + - Added 'python-minimal' to 'Build-Depends' for MakeHeader.py. + + -- Eugene V. Lyubimkin Sat, 06 Dec 2008 11:03:18 +0200 + +htop (0.8.1-1) experimental; urgency=low + + * New maintainer. Thanks for work, Bartosz Fenski! + * New upstream release: + - Changes in 0.8.1 (Closes: #499928): + - Linux-VServer support. + - Battery meter (Closes: #484771). + - Fixed collection of IO stats in multithreaded processes. + - Removed assertion that fails on hardened kernels. + - Changes in 0.8.0 (Closes: #494646, #486213): + - Ability to change sort column with the mouse by + clicking column titles. + - Added support for Linux per-process IO statistics. + - Added Unicode support. + - Fixed display of CPU count for threaded processes. + - Avoid crashing when using many meters. + - Other fixes: + - Significantly increased line length limit (to 65535). + (Closes: #470280) + * debian/control: + - Bumped 'Standards-Version' to 3.8.0, no changes needed. + - Changed Build-Depends on debhelper to (>= 7) and 'libncurses5-dev' -> + 'libncursesw5-dev'. Added dependency on quilt (>= 0.40). + * debian/rules: + - Some cleanup, used debhelper v7 commands. + - Pass '--enable-taskstats' and '--enable-unicode' options to configure. + - Pass '--enable-openvz' to configure. (Closes: #480541) + * debian/patches: + - New 010-make-desktop-file-valid.patch: makes desktop file valid. + Thanks to Nathan Handler (Closes: #488912) + * debian/copyright: + - Fixed path for GPLv2 license. + * debian/menu: + - Set proper section, removed hint (now useless). + + -- Eugene V. Lyubimkin Sun, 16 Nov 2008 20:36:18 +0200 + +htop (0.7-1) unstable; urgency=low + + * New upstrem version. (Closes: #452634) + * Move URL to homepage header. + * Bumped Standards-Version (no changes needed). + * Fixed watch file. (Closes: #449631) + + -- Bartosz Fenski Sat, 26 Apr 2008 13:57:14 +0200 + +htop (0.6.6+svn20070915-1) unstable; urgency=low + + * New upstream snapshot with dedication to Nico Golde + (Closes: #410398, #410391, #427127) + - fixes problems with trailing newline in confi (Closes: #420856) + - fixes segfault on missing command line args (Closes: #435651) + - fixes FTBS with GCC 4.3 branch (Closes: #416852) + + -- Bartosz Fenski Sat, 15 Sep 2007 14:37:41 +0200 + +htop (0.6.3-1) unstable; urgency=low + + * New upstream version. + - allows to rekill tagged group of processes (Closes: #375219) + * Bumped Standards-Version to 3.7.2 (no changes needed). + + -- Bartosz Fenski Mon, 14 Aug 2006 13:03:15 +0200 + +htop (0.6.2-1) unstable; urgency=low + + * New upstream version. + - doesn't segfault running as root. (Closes: #354258) + + -- Bartosz Fenski Tue, 4 Jul 2006 07:53:58 +0200 + +htop (0.6-1) unstable; urgency=low + + * New upstream version. + - doesn't show pipe when some value is equal to zero. (Closes: #325058) + - allows renicing group of processes. (Closes: #317391) + + -- Bartosz Fenski Thu, 29 Dec 2005 13:22:07 +0100 + +htop (0.5.4-1) unstable; urgency=low + + * New upstream version. + - does not leave cruft on console on exit. (Closes: #334657) + + -- Bartosz Fenski Fri, 4 Nov 2005 17:25:27 +0100 + +htop (0.5.3-1) unstable; urgency=low + + * New upstream version. + * Bumped Standards-Version to 3.6.2 (no changes needed). + + -- Bartosz Fenski Tue, 20 Sep 2005 10:49:52 +0200 + +htop (0.5.2-1) unstable; urgency=low + + * New upstream bugfix release. + + -- Bartosz Fenski Wed, 8 Jun 2005 20:02:19 +0200 + +htop (0.5.1-1) unstable; urgency=low + + * New upstream version. + - correctly honors limits for nice values (Closes: #291502) + + -- Bartosz Fenski Sun, 10 Apr 2005 17:49:12 +0200 + +htop (0.5-2) unstable; urgency=low + + * watch file changed a little to handle weird upstream versions + * s/fenio@o2.pl/fenio@debian.org/ + + -- Bartosz Fenski Thu, 7 Apr 2005 12:00:11 +0200 + +htop (0.5-1) unstable; urgency=low + + * New upstream version. + - fixes problem with wrongly displayed CPU bar (Closes: #283212) + + -- Bartosz Fenski Sat, 27 Nov 2004 10:10:17 +0100 + +htop (0.4.1-3) unstable; urgency=low + + * Fixed handling of non-alphanumeric chars during search. + Thanks to Gian Piero Carrubba for noticing it (Closes: #269060) + * Added description of recursive search of processes to the manpage. + Should be now clear how does it work so (Closes: #269061) + + -- Bartosz Fenski Tue, 31 Aug 2004 21:40:15 +0200 + +htop (0.4.1-2) unstable; urgency=low + + * Included updated manpage. (Closes: #269064) + Thanks to Gian Piero Carrubba for provided patch. + + -- Bartosz Fenski Tue, 31 Aug 2004 21:08:13 +0200 + +htop (0.4.1-1) unstable; urgency=low + + * New upstream version. + - fixes FTBFS on some archs (Closes: #268373) + + -- Bartosz Fenski Fri, 27 Aug 2004 14:01:11 +0200 + +htop (0.4-1) unstable; urgency=low + + * New upstream version. + * Added debian/menu file. + + -- Bartosz Fenski Sun, 22 Aug 2004 13:09:12 +0200 + +htop (0.3.3-1) unstable; urgency=low + + * New upstream version. + * Added debian/watch file. + + -- Bartosz Fenski Sun, 20 Jun 2004 10:33:13 +0200 + +htop (0.3.1-1) unstable; urgency=low + + * New upstream version. + * Hopefully first official Debian release. (Closes: #248939) + Thanks for sponsoring goes to Cedric Delfosse. + * debian/rules: + - removed dh_installman, cause it's now included by upstream. + + -- Bartosz Fenski Mon, 31 May 2004 05:37:15 +0200 + +htop (0.3-1) unstable; urgency=low + + * New upstream version. + + -- Bartosz Fenski Thu, 20 May 2004 01:15:05 +0200 + +htop (0.2.1-1) unstable; urgency=low + + * New upstream version. + * Some updates to manual page. + + -- Bartosz Fenski Sat, 15 May 2004 10:15:03 +0200 + +htop (0.2-1) unstable; urgency=low + + * Initial Release. + + -- Bartosz Fenski Fri, 14 May 2004 10:37:04 +0200 + diff --git a/packages/extras-buildpkgs/htop/debian/clean b/packages/extras-buildpkgs/htop/debian/clean new file mode 100644 index 0000000000..29ab033a0d --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/clean @@ -0,0 +1,2 @@ +*.h +*/*.h diff --git a/packages/extras-buildpkgs/htop/debian/compat b/packages/extras-buildpkgs/htop/debian/compat new file mode 100644 index 0000000000..b4de394767 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/compat @@ -0,0 +1 @@ +11 diff --git a/packages/extras-buildpkgs/htop/debian/control b/packages/extras-buildpkgs/htop/debian/control new file mode 100644 index 0000000000..03a8737c16 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/control @@ -0,0 +1,30 @@ +Source: htop +Section: utils +Priority: optional +Maintainer: Daniel Lange +Uploaders: Eugene V. Lyubimkin , + Graham Inggs +Build-Depends: debhelper, + dpkg-dev (>= 1.16.1.1), + libhwloc-dev [!linux-any], + libkvm-dev [kfreebsd-any], + libncurses5-dev, + libncursesw5-dev, + pkg-config, + python-minimal:native +Standards-Version: 4.1.4 +Homepage: https://hisham.hm/htop/ +Vcs-Browser: https://salsa.debian.org/debian/htop +Vcs-Git: https://salsa.debian.org/debian/htop.git + +Package: htop +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Suggests: lsof, strace +Description: interactive processes viewer + Htop is an ncursed-based process viewer similar to top, but it + allows one to scroll the list vertically and horizontally to see + all processes and their full command lines. + . + Tasks related to processes (killing, renicing) can be done without + entering their PIDs. diff --git a/packages/extras-buildpkgs/htop/debian/copyright b/packages/extras-buildpkgs/htop/debian/copyright new file mode 100644 index 0000000000..bc6662ee6c --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/copyright @@ -0,0 +1,34 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: htop +Upstream-Contact: Hisham Muhammad +Source: http://hisham.hm/htop/releases/ + +Files: * +License: GPL-2+ +Copyright: 2004-2018 Hisham Muhammad + +Files: debian/* +License: GPL-2+ +Copyright: 2016 Daniel Lange + 2018 Graham Inggs + 2008-2016 Eugene V. Lyubimkin + 2004-2008 Bartosz Fenski + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/packages/extras-buildpkgs/htop/debian/docs b/packages/extras-buildpkgs/htop/debian/docs new file mode 100644 index 0000000000..6f12db5084 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +README diff --git a/packages/extras-buildpkgs/htop/debian/install b/packages/extras-buildpkgs/htop/debian/install new file mode 100644 index 0000000000..f502e6a8e8 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/install @@ -0,0 +1 @@ +htop usr/bin diff --git a/packages/extras-buildpkgs/htop/debian/patches/780-fix-option-string.patch b/packages/extras-buildpkgs/htop/debian/patches/780-fix-option-string.patch new file mode 100644 index 0000000000..a8273890de --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/patches/780-fix-option-string.patch @@ -0,0 +1,23 @@ +From 731acc8bced18c90fbe0e18381c32f007f71e0d9 Mon Sep 17 00:00:00 2001 +From: Christian Hesse +Date: Tue, 10 Apr 2018 16:21:46 +0200 +Subject: [PATCH] fix option string + +This broke with commit db05ba61065f64b59d0014518be0786b5439e54c. +--- + htop.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/htop.c b/htop.c +index 6db81dd7..678a3b8a 100644 +--- a/htop.c ++++ b/htop.c +@@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) { + + int opt, opti=0; + /* Parse arguments */ +- while ((opt = getopt_long(argc, argv, "hvCst::d:u:p:i", long_opts, &opti))) { ++ while ((opt = getopt_long(argc, argv, "hvCs:td:u:p:i", long_opts, &opti))) { + if (opt == EOF) break; + switch (opt) { + case 'h': diff --git a/packages/extras-buildpkgs/htop/debian/patches/fix-linux-process.patch b/packages/extras-buildpkgs/htop/debian/patches/fix-linux-process.patch new file mode 100644 index 0000000000..3caef041fa --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/patches/fix-linux-process.patch @@ -0,0 +1,13 @@ +Make sure the auto-regenerated headers (after scripts/MakeHeader.py) actually compile. + +--- a/linux/LinuxProcess.c 2018-04-26 18:17:31.349248819 +0200 ++++ b/linux/LinuxProcess.c 2018-04-11 02:58:46.994360617 +0200 +@@ -143,7 +143,7 @@ + } LinuxProcess; + + #ifndef Process_isKernelThread +-#define Process_isKernelThread(_process) ((LinuxProcess*)(_process)->isKernelThread) ++#define Process_isKernelThread(_process) (((LinuxProcess*)(_process))->isKernelThread) + #endif + + #ifndef Process_isUserlandThread diff --git a/packages/extras-buildpkgs/htop/debian/patches/series b/packages/extras-buildpkgs/htop/debian/patches/series new file mode 100644 index 0000000000..0f318621e7 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/patches/series @@ -0,0 +1,2 @@ +780-fix-option-string.patch +fix-linux-process.patch diff --git a/packages/extras-buildpkgs/htop/debian/rules b/packages/extras-buildpkgs/htop/debian/rules new file mode 100755 index 0000000000..d5bcbe3341 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +ifeq (linux,$(DEB_HOST_ARCH_OS)) + ARCH_DEPENDENT_CONFIGURE_PARAMS = --enable-linux-affinity +else + ARCH_DEPENDENT_CONFIGURE_PARAMS = --enable-hwloc +endif + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- \ + --enable-taskstats \ + --enable-openvz \ + --enable-vserver \ + --enable-cgroup \ + --enable-unicode \ + $(ARCH_DEPENDENT_CONFIGURE_PARAMS) diff --git a/packages/extras-buildpkgs/htop/debian/source/format b/packages/extras-buildpkgs/htop/debian/source/format new file mode 100644 index 0000000000..163aaf8d82 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/packages/extras-buildpkgs/htop/debian/upstream/signing-key.asc b/packages/extras-buildpkgs/htop/debian/upstream/signing-key.asc new file mode 100644 index 0000000000..0a418fa076 --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/upstream/signing-key.asc @@ -0,0 +1,65 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.22 (GNU/Linux) +Comment: from http://hisham.hm/public_key + +mQINBFgXtC8BEAC63n7b7ZaYuXjfAwHY5hVZLbc1nM33csFLGi+vIVuYO45nUUax +CM7QSwADncr9GLHqULEvVQ6hgPGPCik0La4FtyLphqiHXlNeKVwnLqO4OCo45KJv +KEYDkq7w8SK6wxNu+aEY0PVN7aEnk6AwidWsNavbott7GQbuS+9gDyN+LGazLi+6 +IB9+3mAlfvJUCG9qtKFIt2EsGqEYINie9TXTub4duw1ZEoR7Smjwo8caDQZUQQlc +Sbdc0TLymVtnfb1WAWyRZO059GG0lLgfoRNlupAkNkXQawXDLtU+3A6QJnJUD+qd +VbagJNqbpooeM5FY45s1Dpjpu+CQ7N4ufUYy5hzNhNdCphFmROehdo+ncpP3WRw1 +W4Ti36WC/NSocTmXKuMmwP4W3E8NVNy9jv3guaDcDZi8ugOFsz4sLa2stJDVj7QA +oiJHhQQHqbBWBC2sEt5Ya1KuHet23eiNbBt6bRCXzcs4veKBB1Ax3aFFIBW0P/kh +Pe+vy+lH74AtkcRNd2Qq7lMTW+04THSctI6jcLwWOlxKELZgp3M8hI89GvWwTV+g +ZNnzTY0Wi0GQGHC19fAeywxMijpAWEGiF/oLow3NNyVhxeA/38eAQCzBdzZPPFH+ +QiYO2DD1yE0UFDesYUEzmzml7bT8P5DX9geh5zLW5F6cqD+hE2i0Wt++BwARAQAB +tCZIaXNoYW0gTXVoYW1tYWQgPGhpc2hhbUBnb2JvbGludXgub3JnPokCNwQTAQgA +IQUCWBe0LwIbAwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRA/2PQ8K7PEeDSJ +EACER7tqgOEzoft81kBoDIAyhW4ioQMHsIi6cERpR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nw8hA4pU5d3j7s+ubddyA09+RUD1Fe9f33B7Rax49Y/mIcqx +j05MGUVY8JZHABEBAAGJAh8EGAEIAAkFAlgXtC8CGwwACgkQP9j0PCuzxHgThQ// +f8K+u6/Bo38u9TEduEdKOJXkPMUCYDda7PizQ/OXMaFCd9Jr6zNjfNpBVqk+YMzi +eziWqlUZGHj86zs5aQHBhBhj2H05jUMTi5lh8rM3j+5NZ7hlJm9Xn1Y0cfiMUlCO +7icG9J2J8zvJ82ONm+Vp3FOlluny8Axo9OkuwXzUbdbTV4JOyQtYiUYaEMPbbBtB +cVdjEH35jlGkFvc0OMTF5s2iHnjKfbexXDhqWHIhErJpH3hBerXB/yxRps1enyT9 +SRum2KFBjgKYQ0JVm4sZOK8zH41SYleGW6i1COxegXXfO3vKvDsAsnfDHpEXh0Zl +wZo8E8tU+zWw9PpS1ljTCBtTsGX25mS+dYBZ7Xfh92fJbWOM/etWUwt+AOAKsAyK +Pmr4jfXwDer9Dtw8RKIkt5xaI9k4o0RW/CH0Cv06Y93IBZCnKRFZubGk3BmHH2xA +xAcR3apL3ZUlvA17zgI1D7TMIo3ydr2qwPRepsLkrmh5nvSQmLD0k7ym8LVeO5tD +7rJIq8V2KUpzT0ldcpxYoCk9gN8ifQjTUdk0t64Cx+ywfsiLLJWHDTBq/iAhNq+M +4g6HOM1GZu8aIoIAtKSiPIeFQGHfuOJcX0kV4GVAsCYzokbuSFDGQCpdSrGiySHA +SJZKVMLCnjlSplh3gkfnEEZNmy8L727oON+zd0hth/4= +=2P/4 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/packages/extras-buildpkgs/htop/debian/watch b/packages/extras-buildpkgs/htop/debian/watch new file mode 100644 index 0000000000..b3c2edff4f --- /dev/null +++ b/packages/extras-buildpkgs/htop/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=dversionmangle=s/\+svn(.*)//,\ +pgpsigurlmangle=s/$/.asc/ \ +https://hisham.hm/htop/releases/([\d\.]+)/htop-([\d\.]+)\.tar\.gz