[arch-commits] Commit in htop/repos (6 files)
Date: Sunday, March 13, 2016 @ 23:40:46 Author: dreisner Revision: 261421 archrelease: copy trunk to extra-i686, extra-x86_64 Added: htop/repos/extra-i686/PKGBUILD (from rev 261420, htop/trunk/PKGBUILD) htop/repos/extra-x86_64/PKGBUILD (from rev 261420, htop/trunk/PKGBUILD) Deleted: htop/repos/extra-i686/0001-Fix-buffer-reuse.patch htop/repos/extra-i686/PKGBUILD htop/repos/extra-x86_64/0001-Fix-buffer-reuse.patch htop/repos/extra-x86_64/PKGBUILD --+ /PKGBUILD| 74 + extra-i686/0001-Fix-buffer-reuse.patch | 25 - extra-i686/PKGBUILD | 45 - extra-x86_64/0001-Fix-buffer-reuse.patch | 25 - extra-x86_64/PKGBUILD| 45 - 5 files changed, 74 insertions(+), 140 deletions(-) Deleted: extra-i686/0001-Fix-buffer-reuse.patch === --- extra-i686/0001-Fix-buffer-reuse.patch 2016-03-13 22:39:06 UTC (rev 261420) +++ extra-i686/0001-Fix-buffer-reuse.patch 2016-03-13 22:40:46 UTC (rev 261421) @@ -1,25 +0,0 @@ -From 0b70439316b4e4608c0916317ded7e6e56982de6 Mon Sep 17 00:00:00 2001 -From: Hisham-Date: Sat, 13 Feb 2016 02:18:28 -0200 -Subject: [PATCH] Fix buffer reuse. - - linux/LinuxProcessList.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c -index 591210e..ec643ab 100644 a/linux/LinuxProcessList.c -+++ b/linux/LinuxProcessList.c -@@ -446,7 +446,7 @@ static void LinuxProcessList_readOomData(LinuxProcess* process, const char* dirn - } - - static void setCommand(Process* process, const char* command, int len) { -- if (process->comm && process->commLen <= len) { -+ if (process->comm && process->commLen >= len) { - strncpy(process->comm, command, len + 1); -} else { - free(process->comm); --- -2.7.1 - Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2016-03-13 22:39:06 UTC (rev 261420) +++ extra-i686/PKGBUILD 2016-03-13 22:40:46 UTC (rev 261421) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Contributor: Eric Belanger -# Contributor: Daniel J Griffiths - -pkgname=htop -pkgver=2.0.0 -pkgrel=2 -pkgdesc="Interactive process viewer" -arch=('i686' 'x86_64') -url="http://hisham.hm/htop/; -license=('GPL') -depends=('ncurses') -makedepends=('python') -optdepends=('lsof: show files opened by a process' -'strace: attach to a running process') -options=('!emptydirs') -source=("http://hisham.hm/$pkgname/releases/$pkgver/$pkgname-$pkgver.tar.gz; -"0001-Fix-buffer-reuse.patch") -md5sums=('06f76c7d644ce8ae611c9feb10439a30' - '487c286d714139dca6f27bf5f79a0e1f') - -prepare() { - cd "$pkgname-$pkgver" - - patch -Np1 <../0001-Fix-buffer-reuse.patch -} - -build() { - cd "$pkgname-$pkgver" - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-unicode \ - --enable-openvz \ - --enable-vserver \ - --enable-cgroup - - make -} - -package() { - make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install -} Copied: htop/repos/extra-i686/PKGBUILD (from rev 261420, htop/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2016-03-13 22:40:46 UTC (rev 261421) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Contributor: Eric Belanger +# Contributor: Daniel J Griffiths + +pkgname=htop +pkgver=2.0.1 +pkgrel=1 +pkgdesc="Interactive process viewer" +arch=('i686' 'x86_64') +url="http://hisham.hm/htop/; +license=('GPL') +depends=('ncurses') +makedepends=('python') +optdepends=('lsof: show files opened by a process' +'strace: attach to a running process') +options=('!emptydirs') +source=("http://hisham.hm/$pkgname/releases/$pkgver/$pkgname-$pkgver.tar.gz;) +md5sums=('f75fe92b4defaa80d99109830f34b5e2') + +build() { + cd "$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-unicode \ + --enable-openvz \ + --enable-vserver \ + --enable-cgroup + + make +} + +package() { + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install +} Deleted: extra-x86_64/0001-Fix-buffer-reuse.patch === --- extra-x86_64/0001-Fix-buffer-reuse.patch2016-03-13 22:39:06 UTC (rev 261420) +++ extra-x86_64/0001-Fix-buffer-reuse.patch2016-03-13 22:40:46 UTC (rev 261421) @@ -1,25 +0,0 @@ -From 0b70439316b4e4608c0916317ded7e6e56982de6 Mon Sep 17 00:00:00 2001 -From: Hisham -Date: Sat,
[arch-commits] Commit in htop/repos (6 files)
Date: Tuesday, February 16, 2016 @ 13:31:29 Author: dreisner Revision: 259567 archrelease: copy trunk to extra-i686, extra-x86_64 Added: htop/repos/extra-i686/0001-Fix-buffer-reuse.patch (from rev 259566, htop/trunk/0001-Fix-buffer-reuse.patch) htop/repos/extra-i686/PKGBUILD (from rev 259566, htop/trunk/PKGBUILD) htop/repos/extra-x86_64/0001-Fix-buffer-reuse.patch (from rev 259566, htop/trunk/0001-Fix-buffer-reuse.patch) htop/repos/extra-x86_64/PKGBUILD (from rev 259566, htop/trunk/PKGBUILD) Deleted: htop/repos/extra-i686/PKGBUILD htop/repos/extra-x86_64/PKGBUILD --+ /PKGBUILD| 90 + extra-i686/0001-Fix-buffer-reuse.patch | 25 extra-i686/PKGBUILD | 37 --- extra-x86_64/0001-Fix-buffer-reuse.patch | 25 extra-x86_64/PKGBUILD| 37 --- 5 files changed, 140 insertions(+), 74 deletions(-) Copied: htop/repos/extra-i686/0001-Fix-buffer-reuse.patch (from rev 259566, htop/trunk/0001-Fix-buffer-reuse.patch) === --- extra-i686/0001-Fix-buffer-reuse.patch (rev 0) +++ extra-i686/0001-Fix-buffer-reuse.patch 2016-02-16 12:31:29 UTC (rev 259567) @@ -0,0 +1,25 @@ +From 0b70439316b4e4608c0916317ded7e6e56982de6 Mon Sep 17 00:00:00 2001 +From: Hisham+Date: Sat, 13 Feb 2016 02:18:28 -0200 +Subject: [PATCH] Fix buffer reuse. + +--- + linux/LinuxProcessList.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c +index 591210e..ec643ab 100644 +--- a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c +@@ -446,7 +446,7 @@ static void LinuxProcessList_readOomData(LinuxProcess* process, const char* dirn + } + + static void setCommand(Process* process, const char* command, int len) { +- if (process->comm && process->commLen <= len) { ++ if (process->comm && process->commLen >= len) { + strncpy(process->comm, command, len + 1); +} else { + free(process->comm); +-- +2.7.1 + Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2016-02-16 12:31:02 UTC (rev 259566) +++ extra-i686/PKGBUILD 2016-02-16 12:31:29 UTC (rev 259567) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez -# Contributor: Eric Belanger -# Contributor: Daniel J Griffiths - -pkgname=htop -pkgver=2.0.0 -pkgrel=1 -pkgdesc="Interactive process viewer" -arch=('i686' 'x86_64') -url="http://hisham.hm/htop/; -license=('GPL') -depends=('ncurses') -makedepends=('python2') -optdepends=('lsof: show files opened by a process' -'strace: attach to a running process') -options=('!emptydirs') -source=("http://hisham.hm/$pkgname/releases/$pkgver/$pkgname-$pkgver.tar.gz;) -md5sums=('06f76c7d644ce8ae611c9feb10439a30') - -build() { - cd "$pkgname-$pkgver" - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --enable-unicode \ - --enable-openvz \ - --enable-vserver \ - --enable-cgroup - - make -} - -package() { - make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install -} Copied: htop/repos/extra-i686/PKGBUILD (from rev 259566, htop/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2016-02-16 12:31:29 UTC (rev 259567) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Angel Velasquez +# Contributor: Eric Belanger +# Contributor: Daniel J Griffiths + +pkgname=htop +pkgver=2.0.0 +pkgrel=2 +pkgdesc="Interactive process viewer" +arch=('i686' 'x86_64') +url="http://hisham.hm/htop/; +license=('GPL') +depends=('ncurses') +makedepends=('python') +optdepends=('lsof: show files opened by a process' +'strace: attach to a running process') +options=('!emptydirs') +source=("http://hisham.hm/$pkgname/releases/$pkgver/$pkgname-$pkgver.tar.gz; +"0001-Fix-buffer-reuse.patch") +md5sums=('06f76c7d644ce8ae611c9feb10439a30' + '487c286d714139dca6f27bf5f79a0e1f') + +prepare() { + cd "$pkgname-$pkgver" + + patch -Np1 <../0001-Fix-buffer-reuse.patch +} + +build() { + cd "$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-unicode \ + --enable-openvz \ + --enable-vserver \ + --enable-cgroup + + make +} + +package() { + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install +} Copied: htop/repos/extra-x86_64/0001-Fix-buffer-reuse.patch (from rev 259566, htop/trunk/0001-Fix-buffer-reuse.patch) === --- extra-x86_64/0001-Fix-buffer-reuse.patch
[arch-commits] Commit in htop/repos (6 files)
Date: Friday, April 25, 2014 @ 15:42:30 Author: dreisner Revision: 211746 archrelease: copy trunk to extra-i686, extra-x86_64 Added: htop/repos/extra-i686/PKGBUILD (from rev 211745, htop/trunk/PKGBUILD) htop/repos/extra-x86_64/PKGBUILD (from rev 211745, htop/trunk/PKGBUILD) Deleted: htop/repos/extra-i686/PKGBUILD htop/repos/extra-i686/tree-crash.patch htop/repos/extra-x86_64/PKGBUILD htop/repos/extra-x86_64/tree-crash.patch ---+ /PKGBUILD | 86 extra-i686/PKGBUILD | 45 extra-i686/tree-crash.patch | 13 -- extra-x86_64/PKGBUILD | 45 extra-x86_64/tree-crash.patch | 13 -- 5 files changed, 86 insertions(+), 116 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2014-04-25 13:42:02 UTC (rev 211745) +++ extra-i686/PKGBUILD 2014-04-25 13:42:30 UTC (rev 211746) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Contributor: Eric Belanger e...@archlinux.org -# Contributor: Daniel J Griffiths ghost1...@archlinux.us - -pkgname=htop -pkgver=1.0.2 -pkgrel=2 -pkgdesc=Interactive process viewer -arch=('i686' 'x86_64') -url=http://htop.sourceforge.net/; -license=('GPL') -depends=('ncurses') -makedepends=('python2') -optdepends=('lsof: show files opened by a process' -'strace: attach to a running process') -options=('!emptydirs') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz; -tree-crash.patch) -md5sums=('0d01cca8df3349c74569cefebbd9919e' - '48eba3c0303bfd19d761b859bc69d713') - -build() { - cd $pkgname-$pkgver - - sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure - sed -i 's|python|python2|' scripts/MakeHeader.py - - # Boost field buffer size - crashes when trying to draw very deep UTF-8 trees - # Test by nesting 30 shells - patch -N -i ../tree-crash.patch - - ./configure \ - --prefix=/usr \ - --enable-unicode \ - --enable-openvz \ - --enable-vserver \ - --enable-cgroup - - make -} - -package() { - make -C $pkgname-$pkgver DESTDIR=$pkgdir install -} Copied: htop/repos/extra-i686/PKGBUILD (from rev 211745, htop/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2014-04-25 13:42:30 UTC (rev 211746) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Eric Belanger e...@archlinux.org +# Contributor: Daniel J Griffiths ghost1...@archlinux.us + +pkgname=htop +pkgver=1.0.3 +pkgrel=1 +pkgdesc=Interactive process viewer +arch=('i686' 'x86_64') +url=http://htop.sourceforge.net/; +license=('GPL') +depends=('ncurses') +makedepends=('python2') +optdepends=('lsof: show files opened by a process' +'strace: attach to a running process') +options=('!emptydirs') +source=(http://hisham.hm/$pkgname/releases/$pkgver/$pkgname-$pkgver.tar.gz;) +md5sums=('e768b9b55c033d9c1dffda72db3a6ac7') + +prepare() { + cd $pkgname-$pkgver + + sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure + sed -i 's|python|python2|' scripts/MakeHeader.py +} + +build() { + cd $pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --enable-unicode \ + --enable-openvz \ + --enable-vserver \ + --enable-cgroup + + make +} + +package() { + make -C $pkgname-$pkgver DESTDIR=$pkgdir install +} Deleted: extra-i686/tree-crash.patch === --- extra-i686/tree-crash.patch 2014-04-25 13:42:02 UTC (rev 211745) +++ extra-i686/tree-crash.patch 2014-04-25 13:42:30 UTC (rev 211746) @@ -1,13 +0,0 @@ -Index: Process.c -=== Process.c (revision 302) -+++ Process.c (working copy) -@@ -371,7 +371,7 @@ - } - - static void Process_writeField(Process* this, RichString* str, ProcessField field) { -- char buffer[128]; buffer[127] = '\0'; -+ char buffer[256]; buffer[255] = '\0'; -int attr = CRT_colors[DEFAULT_COLOR]; -int baseattr = CRT_colors[PROCESS_BASENAME]; -int n = sizeof(buffer) - 1; Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2014-04-25 13:42:02 UTC (rev 211745) +++ extra-x86_64/PKGBUILD 2014-04-25 13:42:30 UTC (rev 211746) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Contributor: Eric Belanger e...@archlinux.org -# Contributor: Daniel J Griffiths ghost1...@archlinux.us - -pkgname=htop -pkgver=1.0.2 -pkgrel=2 -pkgdesc=Interactive process viewer -arch=('i686' 'x86_64') -url=http://htop.sourceforge.net/; -license=('GPL') -depends=('ncurses') -makedepends=('python2') -optdepends=('lsof: show files
[arch-commits] Commit in htop/repos (6 files)
Date: Wednesday, December 12, 2012 @ 12:29:21 Author: heftig Revision: 173197 archrelease: copy trunk to extra-i686, extra-x86_64 Added: htop/repos/extra-i686/PKGBUILD (from rev 173196, htop/trunk/PKGBUILD) htop/repos/extra-i686/tree-crash.patch (from rev 173196, htop/trunk/tree-crash.patch) htop/repos/extra-x86_64/PKGBUILD (from rev 173196, htop/trunk/PKGBUILD) htop/repos/extra-x86_64/tree-crash.patch (from rev 173196, htop/trunk/tree-crash.patch) Deleted: htop/repos/extra-i686/PKGBUILD htop/repos/extra-x86_64/PKGBUILD ---+ extra-i686/PKGBUILD | 84 +--- extra-i686/tree-crash.patch | 13 ++ extra-x86_64/PKGBUILD | 84 +--- extra-x86_64/tree-crash.patch | 13 ++ 4 files changed, 116 insertions(+), 78 deletions(-) Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-12-12 17:28:09 UTC (rev 173196) +++ extra-i686/PKGBUILD 2012-12-12 17:29:21 UTC (rev 173197) @@ -1,39 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Contributor: Eric Belanger e...@archlinux.org -# Contributor: Daniel J Griffiths ghost1...@archlinux.us - -pkgname=htop -pkgver=1.0.2 -pkgrel=1 -pkgdesc=Interactive process viewer -arch=('i686' 'x86_64') -url=http://htop.sourceforge.net/; -license=('GPL') -depends=('ncurses') -makedepends=('python2') -optdepends=('lsof: show files opened by a process' -'strace: attach to a running process') -options=('!emptydirs') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz;) -md5sums=('0d01cca8df3349c74569cefebbd9919e') - -build() { - cd $pkgname-$pkgver - - sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure - sed -i 's|python|python2|' scripts/MakeHeader.py - - ./configure \ - --prefix=/usr \ - --enable-unicode \ - --enable-openvz \ - --enable-vserver \ - --enable-cgroup - - make -} - -package() { - make -C $pkgname-$pkgver DESTDIR=$pkgdir install -} Copied: htop/repos/extra-i686/PKGBUILD (from rev 173196, htop/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-12-12 17:29:21 UTC (rev 173197) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Eric Belanger e...@archlinux.org +# Contributor: Daniel J Griffiths ghost1...@archlinux.us + +pkgname=htop +pkgver=1.0.2 +pkgrel=2 +pkgdesc=Interactive process viewer +arch=('i686' 'x86_64') +url=http://htop.sourceforge.net/; +license=('GPL') +depends=('ncurses') +makedepends=('python2') +optdepends=('lsof: show files opened by a process' +'strace: attach to a running process') +options=('!emptydirs') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz; +tree-crash.patch) +md5sums=('0d01cca8df3349c74569cefebbd9919e' + '48eba3c0303bfd19d761b859bc69d713') + +build() { + cd $pkgname-$pkgver + + sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure + sed -i 's|python|python2|' scripts/MakeHeader.py + + # Boost field buffer size - crashes when trying to draw very deep UTF-8 trees + # Test by nesting 30 shells + patch -N -i ../tree-crash.patch + + ./configure \ + --prefix=/usr \ + --enable-unicode \ + --enable-openvz \ + --enable-vserver \ + --enable-cgroup + + make +} + +package() { + make -C $pkgname-$pkgver DESTDIR=$pkgdir install +} Copied: htop/repos/extra-i686/tree-crash.patch (from rev 173196, htop/trunk/tree-crash.patch) === --- extra-i686/tree-crash.patch (rev 0) +++ extra-i686/tree-crash.patch 2012-12-12 17:29:21 UTC (rev 173197) @@ -0,0 +1,13 @@ +Index: Process.c +=== +--- Process.c (revision 302) Process.c (working copy) +@@ -371,7 +371,7 @@ + } + + static void Process_writeField(Process* this, RichString* str, ProcessField field) { +- char buffer[128]; buffer[127] = '\0'; ++ char buffer[256]; buffer[255] = '\0'; +int attr = CRT_colors[DEFAULT_COLOR]; +int baseattr = CRT_colors[PROCESS_BASENAME]; +int n = sizeof(buffer) - 1; Deleted: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2012-12-12 17:28:09 UTC (rev 173196) +++ extra-x86_64/PKGBUILD 2012-12-12 17:29:21 UTC (rev 173197) @@ -1,39 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Contributor: Eric Belanger e...@archlinux.org -# Contributor: Daniel J Griffiths ghost1...@archlinux.us - -pkgname=htop -pkgver=1.0.2 -pkgrel=1 -pkgdesc=Interactive process viewer -arch=('i686' 'x86_64') -url=http://htop.sourceforge.net/; -license=('GPL')
[arch-commits] Commit in htop/repos (6 files)
Date: Tuesday, November 6, 2012 @ 20:25:17 Author: dreisner Revision: 170397 archrelease: copy trunk to extra-i686, extra-x86_64 Added: htop/repos/extra-i686/PKGBUILD (from rev 170396, htop/trunk/PKGBUILD) htop/repos/extra-x86_64/PKGBUILD (from rev 170396, htop/trunk/PKGBUILD) Deleted: htop/repos/extra-i686/ChangeLog htop/repos/extra-i686/PKGBUILD htop/repos/extra-x86_64/ChangeLog htop/repos/extra-x86_64/PKGBUILD + extra-i686/ChangeLog | 25 --- extra-i686/PKGBUILD| 77 +++ extra-x86_64/ChangeLog | 25 --- extra-x86_64/PKGBUILD | 77 +++ 4 files changed, 78 insertions(+), 126 deletions(-) Deleted: extra-i686/ChangeLog === --- extra-i686/ChangeLog2012-11-07 01:24:59 UTC (rev 170396) +++ extra-i686/ChangeLog2012-11-07 01:25:17 UTC (rev 170397) @@ -1,25 +0,0 @@ -2012-02-19 Angel Velasquez an...@archlinux.org - * Version bump to 1.0.1 - -2011-10-19 Andrea Scarpino and...@archlinux.org -* Enable cgroup support (FS#26155) -* Add lsof and strace optional depends (FS#25778) -* Fix crash when column is less than 40 (closes FS#25823) - -2011-05-17 Angel Velasquez an...@archlinux.org - * Added patch to fix --sort-key (closes FS#23224) - -2009-09-21 Eric Belanger e...@archlinux.org - - * htop 0.8.3-1 - * Upstream update - * Built with vserver and openvz support (close FS#12755) - -2008-12-09 Alexander Fehr pizzapunk gmail com - - * htop-0.8.1-1: - * New upstream release - * New maintainer - * Added patch to fix FS#12235 - * Enabled Unicode support - * Added ChangeLog Deleted: extra-i686/PKGBUILD === --- extra-i686/PKGBUILD 2012-11-07 01:24:59 UTC (rev 170396) +++ extra-i686/PKGBUILD 2012-11-07 01:25:17 UTC (rev 170397) @@ -1,38 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez an...@archlinux.org -# Contributor: Eric Belanger e...@archlinux.org -# Contributor: Daniel J Griffiths ghost1...@archlinux.us - -pkgname=htop -pkgver=1.0.1 -pkgrel=1 -pkgdesc=Interactive process viewer -arch=('i686' 'x86_64') -url=http://htop.sourceforge.net/; -license=('GPL') -depends=('ncurses') -makedepends=('python2') -optdepends=('lsof' 'strace') -options=('!emptydirs') -changelog=ChangeLog -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('d3b80d905a6bff03f13896870787f901') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - - sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c configure - sed -i 's|python|python2|' scripts/MakeHeader.py - - ./configure --prefix=/usr \ - --enable-unicode \ - --enable-openvz \ - --enable-vserver \ - --enable-cgroup - make -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install -} Copied: htop/repos/extra-i686/PKGBUILD (from rev 170396, htop/trunk/PKGBUILD) === --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-11-07 01:25:17 UTC (rev 170397) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Eric Belanger e...@archlinux.org +# Contributor: Daniel J Griffiths ghost1...@archlinux.us + +pkgname=htop +pkgver=1.0.2 +pkgrel=1 +pkgdesc=Interactive process viewer +arch=('i686' 'x86_64') +url=http://htop.sourceforge.net/; +license=('GPL') +depends=('ncurses') +makedepends=('python2') +optdepends=('lsof: show files opened by a process' +'strace: attach to a running process') +options=('!emptydirs') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz;) +md5sums=('0d01cca8df3349c74569cefebbd9919e') + +build() { + cd $pkgname-$pkgver + + sed -i 's|ncursesw/curses.h|curses.h|' RichString.[ch] configure + sed -i 's|python|python2|' scripts/MakeHeader.py + + ./configure \ + --prefix=/usr \ + --enable-unicode \ + --enable-openvz \ + --enable-vserver \ + --enable-cgroup + + make +} + +package() { + make -C $pkgname-$pkgver DESTDIR=$pkgdir install +} Deleted: extra-x86_64/ChangeLog === --- extra-x86_64/ChangeLog 2012-11-07 01:24:59 UTC (rev 170396) +++ extra-x86_64/ChangeLog 2012-11-07 01:25:17 UTC (rev 170397) @@ -1,25 +0,0 @@ -2012-02-19 Angel Velasquez an...@archlinux.org - * Version bump to 1.0.1 - -2011-10-19 Andrea Scarpino and...@archlinux.org -* Enable cgroup support (FS#26155) -* Add lsof and strace optional depends (FS#25778) -* Fix crash when column is less than 40 (closes FS#25823) - -2011-05-17 Angel Velasquez an...@archlinux.org - * Added patch to fix
[arch-commits] Commit in htop/repos (6 files)
Date: Tuesday, November 22, 2011 @ 10:51:43 Author: angvp Revision: 143084 archrelease: copy trunk to testing-i686, testing-x86_64 Added: htop/repos/testing-i686/ htop/repos/testing-i686/ChangeLog (from rev 143083, htop/trunk/ChangeLog) htop/repos/testing-i686/PKGBUILD (from rev 143083, htop/trunk/PKGBUILD) htop/repos/testing-x86_64/ htop/repos/testing-x86_64/ChangeLog (from rev 143083, htop/trunk/ChangeLog) htop/repos/testing-x86_64/PKGBUILD (from rev 143083, htop/trunk/PKGBUILD) --+ testing-i686/ChangeLog | 22 ++ testing-i686/PKGBUILD| 38 ++ testing-x86_64/ChangeLog | 22 ++ testing-x86_64/PKGBUILD | 38 ++ 4 files changed, 120 insertions(+) Copied: htop/repos/testing-i686/ChangeLog (from rev 143083, htop/trunk/ChangeLog) === --- testing-i686/ChangeLog (rev 0) +++ testing-i686/ChangeLog 2011-11-22 15:51:43 UTC (rev 143084) @@ -0,0 +1,22 @@ +2011-10-19 Andrea Scarpino and...@archlinux.org +* Enable cgroup support (FS#26155) +* Add lsof and strace optional depends (FS#25778) +* Fix crash when column is less than 40 (closes FS#25823) + +2011-05-17 Angel Velasquez an...@archlinux.org + * Added patch to fix --sort-key (closes FS#23224) + +2009-09-21 Eric Belanger e...@archlinux.org + + * htop 0.8.3-1 + * Upstream update + * Built with vserver and openvz support (close FS#12755) + +2008-12-09 Alexander Fehr pizzapunk gmail com + + * htop-0.8.1-1: + * New upstream release + * New maintainer + * Added patch to fix FS#12235 + * Enabled Unicode support + * Added ChangeLog Copied: htop/repos/testing-i686/PKGBUILD (from rev 143083, htop/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2011-11-22 15:51:43 UTC (rev 143084) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Eric Belanger e...@archlinux.org +# Contributor: Daniel J Griffiths ghost1...@archlinux.us + +pkgname=htop +pkgver=1.0 +pkgrel=1 +pkgdesc=Interactive process viewer +arch=('i686' 'x86_64') +url=http://htop.sourceforge.net/; +license=('GPL') +depends=('ncurses') +makedepends=('python2') +optdepends=('lsof' 'strace') +options=('!emptydirs') +changelog=ChangeLog +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('325112ca7947ea1f6d6441f631e00384') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + sed -i 's|ncursesw/curses.h|curses.h|' RichString.h RichString.c configure + sed -i 's|python|python2|' scripts/MakeHeader.py + + ./configure --prefix=/usr \ + --enable-unicode \ + --enable-openvz \ + --enable-vserver \ + --enable-cgroup + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} Copied: htop/repos/testing-x86_64/ChangeLog (from rev 143083, htop/trunk/ChangeLog) === --- testing-x86_64/ChangeLog(rev 0) +++ testing-x86_64/ChangeLog2011-11-22 15:51:43 UTC (rev 143084) @@ -0,0 +1,22 @@ +2011-10-19 Andrea Scarpino and...@archlinux.org +* Enable cgroup support (FS#26155) +* Add lsof and strace optional depends (FS#25778) +* Fix crash when column is less than 40 (closes FS#25823) + +2011-05-17 Angel Velasquez an...@archlinux.org + * Added patch to fix --sort-key (closes FS#23224) + +2009-09-21 Eric Belanger e...@archlinux.org + + * htop 0.8.3-1 + * Upstream update + * Built with vserver and openvz support (close FS#12755) + +2008-12-09 Alexander Fehr pizzapunk gmail com + + * htop-0.8.1-1: + * New upstream release + * New maintainer + * Added patch to fix FS#12235 + * Enabled Unicode support + * Added ChangeLog Copied: htop/repos/testing-x86_64/PKGBUILD (from rev 143083, htop/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2011-11-22 15:51:43 UTC (rev 143084) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Angel Velasquez an...@archlinux.org +# Contributor: Eric Belanger e...@archlinux.org +# Contributor: Daniel J Griffiths ghost1...@archlinux.us + +pkgname=htop +pkgver=1.0 +pkgrel=1 +pkgdesc=Interactive process viewer +arch=('i686' 'x86_64') +url=http://htop.sourceforge.net/; +license=('GPL') +depends=('ncurses') +makedepends=('python2') +optdepends=('lsof' 'strace') +options=('!emptydirs') +changelog=ChangeLog