[arch-commits] Commit in psmisc/repos (4 files)

2017-07-05 Thread Antonio Rojas
Date: Tuesday, July 4, 2017 @ 16:56:40
  Author: arojas
Revision: 299676

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  psmisc/repos/testing-i686/
  psmisc/repos/testing-i686/PKGBUILD
(from rev 299675, psmisc/trunk/PKGBUILD)
  psmisc/repos/testing-x86_64/
  psmisc/repos/testing-x86_64/PKGBUILD
(from rev 299675, psmisc/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   25 +
 testing-x86_64/PKGBUILD |   25 +
 2 files changed, 50 insertions(+)

Copied: psmisc/repos/testing-i686/PKGBUILD (from rev 299675, 
psmisc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2017-07-04 16:56:40 UTC (rev 299676)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=psmisc
+pkgver=23.1
+pkgrel=1
+pkgdesc="Miscellaneous procfs tools"
+arch=('i686' 'x86_64')
+url="http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('2e84d474cf75dfbe3ecdacfb797bbfab71a35c7c2639d1b9f6d5f18b2149ba30')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: psmisc/repos/testing-x86_64/PKGBUILD (from rev 299675, 
psmisc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-07-04 16:56:40 UTC (rev 299676)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=psmisc
+pkgver=23.1
+pkgrel=1
+pkgdesc="Miscellaneous procfs tools"
+arch=('i686' 'x86_64')
+url="http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('2e84d474cf75dfbe3ecdacfb797bbfab71a35c7c2639d1b9f6d5f18b2149ba30')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}


[arch-commits] Commit in psmisc/repos (4 files)

2014-04-18 Thread Eric Bélanger
Date: Saturday, April 19, 2014 @ 03:09:21
  Author: eric
Revision: 211515

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  psmisc/repos/testing-i686/
  psmisc/repos/testing-i686/PKGBUILD
(from rev 211514, psmisc/trunk/PKGBUILD)
  psmisc/repos/testing-x86_64/
  psmisc/repos/testing-x86_64/PKGBUILD
(from rev 211514, psmisc/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   25 +
 testing-x86_64/PKGBUILD |   25 +
 2 files changed, 50 insertions(+)

Copied: psmisc/repos/testing-i686/PKGBUILD (from rev 211514, 
psmisc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-04-19 01:09:21 UTC (rev 211515)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.21
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('09fabbef4539b58b6b8738a73da3d21d5daa1a58')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: psmisc/repos/testing-x86_64/PKGBUILD (from rev 211514, 
psmisc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-04-19 01:09:21 UTC (rev 211515)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.21
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('09fabbef4539b58b6b8738a73da3d21d5daa1a58')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}



[arch-commits] Commit in psmisc/repos (4 files)

2013-04-03 Thread Eric Bélanger
Date: Thursday, April 4, 2013 @ 03:40:48
  Author: eric
Revision: 181381

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  psmisc/repos/testing-i686/
  psmisc/repos/testing-i686/PKGBUILD
(from rev 181380, psmisc/trunk/PKGBUILD)
  psmisc/repos/testing-x86_64/
  psmisc/repos/testing-x86_64/PKGBUILD
(from rev 181380, psmisc/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   25 +
 testing-x86_64/PKGBUILD |   25 +
 2 files changed, 50 insertions(+)

Copied: psmisc/repos/testing-i686/PKGBUILD (from rev 181380, 
psmisc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-04-04 01:40:48 UTC (rev 181381)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.20
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('abdddc8d5c91251bba0f3190956ae9d05c058745')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: psmisc/repos/testing-x86_64/PKGBUILD (from rev 181380, 
psmisc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-04-04 01:40:48 UTC (rev 181381)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.20
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('abdddc8d5c91251bba0f3190956ae9d05c058745')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}



[arch-commits] Commit in psmisc/repos (4 files)

2012-06-24 Thread Eric Bélanger
Date: Sunday, June 24, 2012 @ 16:02:02
  Author: eric
Revision: 162304

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  psmisc/repos/testing-i686/
  psmisc/repos/testing-i686/PKGBUILD
(from rev 162303, psmisc/trunk/PKGBUILD)
  psmisc/repos/testing-x86_64/
  psmisc/repos/testing-x86_64/PKGBUILD
(from rev 162303, psmisc/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   25 +
 testing-x86_64/PKGBUILD |   25 +
 2 files changed, 50 insertions(+)

Copied: psmisc/repos/testing-i686/PKGBUILD (from rev 162303, 
psmisc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-06-24 20:02:02 UTC (rev 162304)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.19
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('4c8fb774449f966f78c4c6e1d77d1a24b4187410')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: psmisc/repos/testing-x86_64/PKGBUILD (from rev 162303, 
psmisc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-06-24 20:02:02 UTC (rev 162304)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.19
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('4c8fb774449f966f78c4c6e1d77d1a24b4187410')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}



[arch-commits] Commit in psmisc/repos (4 files)

2012-06-18 Thread Eric Bélanger
Date: Monday, June 18, 2012 @ 21:20:04
  Author: eric
Revision: 162032

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  psmisc/repos/testing-i686/
  psmisc/repos/testing-i686/PKGBUILD
(from rev 162031, psmisc/trunk/PKGBUILD)
  psmisc/repos/testing-x86_64/
  psmisc/repos/testing-x86_64/PKGBUILD
(from rev 162031, psmisc/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   25 +
 testing-x86_64/PKGBUILD |   25 +
 2 files changed, 50 insertions(+)

Copied: psmisc/repos/testing-i686/PKGBUILD (from rev 162031, 
psmisc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-06-19 01:20:04 UTC (rev 162032)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.18
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('964f6daa0950b128a0840d9df4dc0b671730a83c')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: psmisc/repos/testing-x86_64/PKGBUILD (from rev 162031, 
psmisc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-06-19 01:20:04 UTC (rev 162032)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.18
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('964f6daa0950b128a0840d9df4dc0b671730a83c')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}



[arch-commits] Commit in psmisc/repos (4 files)

2012-06-06 Thread Eric Bélanger
Date: Wednesday, June 6, 2012 @ 23:03:32
  Author: eric
Revision: 160929

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  psmisc/repos/testing-i686/
  psmisc/repos/testing-i686/PKGBUILD
(from rev 160928, psmisc/trunk/PKGBUILD)
  psmisc/repos/testing-x86_64/
  psmisc/repos/testing-x86_64/PKGBUILD
(from rev 160928, psmisc/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   25 +
 testing-x86_64/PKGBUILD |   25 +
 2 files changed, 50 insertions(+)

Copied: psmisc/repos/testing-i686/PKGBUILD (from rev 160928, 
psmisc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-06-07 03:03:32 UTC (rev 160929)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.17
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('5d400710cf030bf7396aec40f53e933942ec8b4a')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: psmisc/repos/testing-x86_64/PKGBUILD (from rev 160928, 
psmisc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-06-07 03:03:32 UTC (rev 160929)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.17
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('5d400710cf030bf7396aec40f53e933942ec8b4a')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}



[arch-commits] Commit in psmisc/repos (4 files)

2012-03-20 Thread Eric Bélanger
Date: Tuesday, March 20, 2012 @ 22:16:22
  Author: eric
Revision: 153947

db-move: moved psmisc from [testing] to [core] (i686)

Added:
  psmisc/repos/core-i686/PKGBUILD
(from rev 153946, psmisc/repos/testing-i686/PKGBUILD)
Deleted:
  psmisc/repos/core-i686/COMM_LEN-to-18.patch
  psmisc/repos/core-i686/PKGBUILD
  psmisc/repos/testing-i686/

--+
 COMM_LEN-to-18.patch |   85 -
 PKGBUILD |   52 ++---
 2 files changed, 25 insertions(+), 112 deletions(-)

Deleted: core-i686/COMM_LEN-to-18.patch
===
--- core-i686/COMM_LEN-to-18.patch  2012-03-21 01:36:41 UTC (rev 153946)
+++ core-i686/COMM_LEN-to-18.patch  2012-03-21 02:16:22 UTC (rev 153947)
@@ -1,85 +0,0 @@
-From: Craig Small csm...@users.sourceforge.net
-Date: Fri, 27 Jan 2012 01:02:48 + (+1100)
-Subject: Set COMM_LEN to 18 to include brackets in name
-X-Git-Url: 
http://psmisc.git.sourceforge.net/git/gitweb.cgi?p=psmisc%2Fpsmisc;a=commitdiff_plain;h=340f81524cb097d814fcf344a3743de17f988e3d
-
-Set COMM_LEN to 18 to include brackets in name
-
-Also use strncpy in case the command names grow.

-
-diff --git a/src/comm.h b/src/comm.h
-index 956383d..2b780b0 100644
 a/src/comm.h
-+++ b/src/comm.h
-@@ -1,18 +1,37 @@
--/* comm.h - command name length definition */
--
--/* Copyright 1995 Werner Almesberger. See file COPYING for details. */
--
-+/*
-+ * comm.h - command name length definition 
-+ *
-+ * Copyright 1995 Werner Almesberger
-+ * Copyright 2012 Craig Small csm...@enc.com.au
-+ *
-+ *
-+ * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-+ */
- 
- #ifndef COMM_H
- #define COMM_H
- 
--#if 0 /* broken in 1.3.xx */
--#include linux/sched.h
--#define COMM_LEN sizeof(dummy.comm)
--extern struct task_struct dummy;
--#else
--#define COMM_LEN 16   /* synchronize with size of comm in struct 
task_struct in
-- /usr/include/linux/sched.h */
-+#ifdef HAVE_CONFIG_H
-+#include config.h
- #endif
- 
-+/*
-+ * COMM_LEN should be the same size as TASK_COMM_LEN in the Linux source
-+ * at include/linux/sched.h
-+ * However, that doesn't include the brackets that may be in the field.
-+ */
-+#define COMM_LEN 18
-+
- #endif
-diff --git a/src/pstree.c b/src/pstree.c
-index 452f823..3129f76 100644
 a/src/pstree.c
-+++ b/src/pstree.c
-@@ -264,7 +264,7 @@ static PROC *new_proc(const char *comm, pid_t pid, uid_t 
uid)
- perror(malloc);
- exit(1);
- }
--strcpy(new-comm, comm);
-+strncpy(new-comm, comm, COMM_LEN);
- new-pid = pid;
- new-uid = uid;
- new-flags = 0;
-@@ -352,7 +352,7 @@ add_proc(const char *comm, pid_t pid, pid_t ppid, uid_t 
uid,
- this = new_proc(comm, pid, uid);
- #endif/*WITH_SELINUX */
- else {
--strcpy(this-comm, comm);
-+strncpy(this-comm, comm, COMM_LEN);
- this-uid = uid;
- }
- if (args)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-03-21 01:36:41 UTC (rev 153946)
+++ core-i686/PKGBUILD  2012-03-21 02:16:22 UTC (rev 153947)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger e...@archlinux.org
-
-pkgname=psmisc
-pkgver=22.15
-pkgrel=1
-pkgdesc=Miscellaneous procfs tools
-arch=('i686' 'x86_64')
-url=http://psmisc.sourceforge.net/index.html;
-license=('GPL')
-groups=('base')
-depends=('ncurses')
-source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz 
COMM_LEN-to-18.patch)
-sha1sums=('06f507d889afab70ac7ff20fbd419ca2ffcf90c0'
-  '6f45338fc34e453bea5273691a0cf81ed3e20fb8')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 -i ../COMM_LEN-to-18.patch
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-}

Copied: psmisc/repos/core-i686/PKGBUILD (from rev 153946, 
psmisc/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-03-21 02:16:22 UTC (rev 153947)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric 

[arch-commits] Commit in psmisc/repos (4 files)

2012-03-20 Thread Eric Bélanger
Date: Tuesday, March 20, 2012 @ 22:16:23
  Author: eric
Revision: 153948

db-move: moved psmisc from [testing] to [core] (x86_64)

Added:
  psmisc/repos/core-x86_64/PKGBUILD
(from rev 153946, psmisc/repos/testing-x86_64/PKGBUILD)
Deleted:
  psmisc/repos/core-x86_64/COMM_LEN-to-18.patch
  psmisc/repos/core-x86_64/PKGBUILD
  psmisc/repos/testing-x86_64/

--+
 COMM_LEN-to-18.patch |   85 -
 PKGBUILD |   52 ++---
 2 files changed, 25 insertions(+), 112 deletions(-)

Deleted: core-x86_64/COMM_LEN-to-18.patch
===
--- core-x86_64/COMM_LEN-to-18.patch2012-03-21 02:16:22 UTC (rev 153947)
+++ core-x86_64/COMM_LEN-to-18.patch2012-03-21 02:16:23 UTC (rev 153948)
@@ -1,85 +0,0 @@
-From: Craig Small csm...@users.sourceforge.net
-Date: Fri, 27 Jan 2012 01:02:48 + (+1100)
-Subject: Set COMM_LEN to 18 to include brackets in name
-X-Git-Url: 
http://psmisc.git.sourceforge.net/git/gitweb.cgi?p=psmisc%2Fpsmisc;a=commitdiff_plain;h=340f81524cb097d814fcf344a3743de17f988e3d
-
-Set COMM_LEN to 18 to include brackets in name
-
-Also use strncpy in case the command names grow.

-
-diff --git a/src/comm.h b/src/comm.h
-index 956383d..2b780b0 100644
 a/src/comm.h
-+++ b/src/comm.h
-@@ -1,18 +1,37 @@
--/* comm.h - command name length definition */
--
--/* Copyright 1995 Werner Almesberger. See file COPYING for details. */
--
-+/*
-+ * comm.h - command name length definition 
-+ *
-+ * Copyright 1995 Werner Almesberger
-+ * Copyright 2012 Craig Small csm...@enc.com.au
-+ *
-+ *
-+ * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-+ */
- 
- #ifndef COMM_H
- #define COMM_H
- 
--#if 0 /* broken in 1.3.xx */
--#include linux/sched.h
--#define COMM_LEN sizeof(dummy.comm)
--extern struct task_struct dummy;
--#else
--#define COMM_LEN 16   /* synchronize with size of comm in struct 
task_struct in
-- /usr/include/linux/sched.h */
-+#ifdef HAVE_CONFIG_H
-+#include config.h
- #endif
- 
-+/*
-+ * COMM_LEN should be the same size as TASK_COMM_LEN in the Linux source
-+ * at include/linux/sched.h
-+ * However, that doesn't include the brackets that may be in the field.
-+ */
-+#define COMM_LEN 18
-+
- #endif
-diff --git a/src/pstree.c b/src/pstree.c
-index 452f823..3129f76 100644
 a/src/pstree.c
-+++ b/src/pstree.c
-@@ -264,7 +264,7 @@ static PROC *new_proc(const char *comm, pid_t pid, uid_t 
uid)
- perror(malloc);
- exit(1);
- }
--strcpy(new-comm, comm);
-+strncpy(new-comm, comm, COMM_LEN);
- new-pid = pid;
- new-uid = uid;
- new-flags = 0;
-@@ -352,7 +352,7 @@ add_proc(const char *comm, pid_t pid, pid_t ppid, uid_t 
uid,
- this = new_proc(comm, pid, uid);
- #endif/*WITH_SELINUX */
- else {
--strcpy(this-comm, comm);
-+strncpy(this-comm, comm, COMM_LEN);
- this-uid = uid;
- }
- if (args)

Deleted: core-x86_64/PKGBUILD
===
--- core-x86_64/PKGBUILD2012-03-21 02:16:22 UTC (rev 153947)
+++ core-x86_64/PKGBUILD2012-03-21 02:16:23 UTC (rev 153948)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger e...@archlinux.org
-
-pkgname=psmisc
-pkgver=22.15
-pkgrel=1
-pkgdesc=Miscellaneous procfs tools
-arch=('i686' 'x86_64')
-url=http://psmisc.sourceforge.net/index.html;
-license=('GPL')
-groups=('base')
-depends=('ncurses')
-source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz 
COMM_LEN-to-18.patch)
-sha1sums=('06f507d889afab70ac7ff20fbd419ca2ffcf90c0'
-  '6f45338fc34e453bea5273691a0cf81ed3e20fb8')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 -i ../COMM_LEN-to-18.patch
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-}

Copied: psmisc/repos/core-x86_64/PKGBUILD (from rev 153946, 
psmisc/repos/testing-x86_64/PKGBUILD)
===
--- core-x86_64/PKGBUILD(rev 0)
+++ core-x86_64/PKGBUILD2012-03-21 02:16:23 UTC (rev 

[arch-commits] Commit in psmisc/repos (4 files)

2012-03-16 Thread Eric Bélanger
Date: Friday, March 16, 2012 @ 22:47:43
  Author: eric
Revision: 153643

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  psmisc/repos/testing-i686/
  psmisc/repos/testing-i686/PKGBUILD
(from rev 153642, psmisc/trunk/PKGBUILD)
  psmisc/repos/testing-x86_64/
  psmisc/repos/testing-x86_64/PKGBUILD
(from rev 153642, psmisc/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   25 +
 testing-x86_64/PKGBUILD |   25 +
 2 files changed, 50 insertions(+)

Copied: psmisc/repos/testing-i686/PKGBUILD (from rev 153642, 
psmisc/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-03-17 02:47:43 UTC (rev 153643)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.16
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('27f1c8deab06e79101af1914ff81a9d561f2fcfe')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: psmisc/repos/testing-x86_64/PKGBUILD (from rev 153642, 
psmisc/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-03-17 02:47:43 UTC (rev 153643)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Eric Bélanger e...@archlinux.org
+
+pkgname=psmisc
+pkgver=22.16
+pkgrel=1
+pkgdesc=Miscellaneous procfs tools
+arch=('i686' 'x86_64')
+url=http://psmisc.sourceforge.net/index.html;
+license=('GPL')
+groups=('base')
+depends=('ncurses')
+source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('27f1c8deab06e79101af1914ff81a9d561f2fcfe')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}



[arch-commits] Commit in psmisc/repos (4 files)

2012-02-06 Thread Eric Bélanger
Date: Monday, February 6, 2012 @ 06:42:35
  Author: eric
Revision: 149212

db-move: moved psmisc from [testing] to [core] (i686)

Added:
  psmisc/repos/core-i686/COMM_LEN-to-18.patch
(from rev 149211, psmisc/repos/testing-i686/COMM_LEN-to-18.patch)
  psmisc/repos/core-i686/PKGBUILD
(from rev 149211, psmisc/repos/testing-i686/PKGBUILD)
Deleted:
  psmisc/repos/core-i686/PKGBUILD
  psmisc/repos/testing-i686/

--+
 COMM_LEN-to-18.patch |   85 +
 PKGBUILD |   53 +++---
 2 files changed, 112 insertions(+), 26 deletions(-)

Copied: psmisc/repos/core-i686/COMM_LEN-to-18.patch (from rev 149211, 
psmisc/repos/testing-i686/COMM_LEN-to-18.patch)
===
--- core-i686/COMM_LEN-to-18.patch  (rev 0)
+++ core-i686/COMM_LEN-to-18.patch  2012-02-06 11:42:35 UTC (rev 149212)
@@ -0,0 +1,85 @@
+From: Craig Small csm...@users.sourceforge.net
+Date: Fri, 27 Jan 2012 01:02:48 + (+1100)
+Subject: Set COMM_LEN to 18 to include brackets in name
+X-Git-Url: 
http://psmisc.git.sourceforge.net/git/gitweb.cgi?p=psmisc%2Fpsmisc;a=commitdiff_plain;h=340f81524cb097d814fcf344a3743de17f988e3d
+
+Set COMM_LEN to 18 to include brackets in name
+
+Also use strncpy in case the command names grow.
+---
+
+diff --git a/src/comm.h b/src/comm.h
+index 956383d..2b780b0 100644
+--- a/src/comm.h
 b/src/comm.h
+@@ -1,18 +1,37 @@
+-/* comm.h - command name length definition */
+-
+-/* Copyright 1995 Werner Almesberger. See file COPYING for details. */
+-
++/*
++ * comm.h - command name length definition 
++ *
++ * Copyright 1995 Werner Almesberger
++ * Copyright 2012 Craig Small csm...@enc.com.au
++ *
++ *
++ * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
++ */
+ 
+ #ifndef COMM_H
+ #define COMM_H
+ 
+-#if 0 /* broken in 1.3.xx */
+-#include linux/sched.h
+-#define COMM_LEN sizeof(dummy.comm)
+-extern struct task_struct dummy;
+-#else
+-#define COMM_LEN 16   /* synchronize with size of comm in struct 
task_struct in
+- /usr/include/linux/sched.h */
++#ifdef HAVE_CONFIG_H
++#include config.h
+ #endif
+ 
++/*
++ * COMM_LEN should be the same size as TASK_COMM_LEN in the Linux source
++ * at include/linux/sched.h
++ * However, that doesn't include the brackets that may be in the field.
++ */
++#define COMM_LEN 18
++
+ #endif
+diff --git a/src/pstree.c b/src/pstree.c
+index 452f823..3129f76 100644
+--- a/src/pstree.c
 b/src/pstree.c
+@@ -264,7 +264,7 @@ static PROC *new_proc(const char *comm, pid_t pid, uid_t 
uid)
+ perror(malloc);
+ exit(1);
+ }
+-strcpy(new-comm, comm);
++strncpy(new-comm, comm, COMM_LEN);
+ new-pid = pid;
+ new-uid = uid;
+ new-flags = 0;
+@@ -352,7 +352,7 @@ add_proc(const char *comm, pid_t pid, pid_t ppid, uid_t 
uid,
+ this = new_proc(comm, pid, uid);
+ #endif/*WITH_SELINUX */
+ else {
+-strcpy(this-comm, comm);
++strncpy(this-comm, comm, COMM_LEN);
+ this-uid = uid;
+ }
+ if (args)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-02-06 10:51:29 UTC (rev 149211)
+++ core-i686/PKGBUILD  2012-02-06 11:42:35 UTC (rev 149212)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger e...@archlinux.org
-
-pkgname=psmisc
-pkgver=22.14
-pkgrel=1
-pkgdesc=Miscellaneous procfs tools
-arch=('i686' 'x86_64')
-url=http://psmisc.sourceforge.net/index.html;
-license=('GPL')
-groups=('base')
-depends=('glibc' 'ncurses')
-source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
-md5sums=('ba3f4e971895c92bba7770d81c981503')
-sha1sums=('dc6fc0ec131c11796d01512bbd80089719b04a66')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-}

Copied: psmisc/repos/core-i686/PKGBUILD (from rev 149211, 
psmisc/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD 

[arch-commits] Commit in psmisc/repos (4 files)

2012-02-06 Thread Eric Bélanger
Date: Monday, February 6, 2012 @ 06:42:36
  Author: eric
Revision: 149213

db-move: moved psmisc from [testing] to [core] (x86_64)

Added:
  psmisc/repos/core-x86_64/COMM_LEN-to-18.patch
(from rev 149211, psmisc/repos/testing-x86_64/COMM_LEN-to-18.patch)
  psmisc/repos/core-x86_64/PKGBUILD
(from rev 149211, psmisc/repos/testing-x86_64/PKGBUILD)
Deleted:
  psmisc/repos/core-x86_64/PKGBUILD
  psmisc/repos/testing-x86_64/

--+
 COMM_LEN-to-18.patch |   85 +
 PKGBUILD |   53 +++---
 2 files changed, 112 insertions(+), 26 deletions(-)

Copied: psmisc/repos/core-x86_64/COMM_LEN-to-18.patch (from rev 149211, 
psmisc/repos/testing-x86_64/COMM_LEN-to-18.patch)
===
--- core-x86_64/COMM_LEN-to-18.patch(rev 0)
+++ core-x86_64/COMM_LEN-to-18.patch2012-02-06 11:42:36 UTC (rev 149213)
@@ -0,0 +1,85 @@
+From: Craig Small csm...@users.sourceforge.net
+Date: Fri, 27 Jan 2012 01:02:48 + (+1100)
+Subject: Set COMM_LEN to 18 to include brackets in name
+X-Git-Url: 
http://psmisc.git.sourceforge.net/git/gitweb.cgi?p=psmisc%2Fpsmisc;a=commitdiff_plain;h=340f81524cb097d814fcf344a3743de17f988e3d
+
+Set COMM_LEN to 18 to include brackets in name
+
+Also use strncpy in case the command names grow.
+---
+
+diff --git a/src/comm.h b/src/comm.h
+index 956383d..2b780b0 100644
+--- a/src/comm.h
 b/src/comm.h
+@@ -1,18 +1,37 @@
+-/* comm.h - command name length definition */
+-
+-/* Copyright 1995 Werner Almesberger. See file COPYING for details. */
+-
++/*
++ * comm.h - command name length definition 
++ *
++ * Copyright 1995 Werner Almesberger
++ * Copyright 2012 Craig Small csm...@enc.com.au
++ *
++ *
++ * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
++ */
+ 
+ #ifndef COMM_H
+ #define COMM_H
+ 
+-#if 0 /* broken in 1.3.xx */
+-#include linux/sched.h
+-#define COMM_LEN sizeof(dummy.comm)
+-extern struct task_struct dummy;
+-#else
+-#define COMM_LEN 16   /* synchronize with size of comm in struct 
task_struct in
+- /usr/include/linux/sched.h */
++#ifdef HAVE_CONFIG_H
++#include config.h
+ #endif
+ 
++/*
++ * COMM_LEN should be the same size as TASK_COMM_LEN in the Linux source
++ * at include/linux/sched.h
++ * However, that doesn't include the brackets that may be in the field.
++ */
++#define COMM_LEN 18
++
+ #endif
+diff --git a/src/pstree.c b/src/pstree.c
+index 452f823..3129f76 100644
+--- a/src/pstree.c
 b/src/pstree.c
+@@ -264,7 +264,7 @@ static PROC *new_proc(const char *comm, pid_t pid, uid_t 
uid)
+ perror(malloc);
+ exit(1);
+ }
+-strcpy(new-comm, comm);
++strncpy(new-comm, comm, COMM_LEN);
+ new-pid = pid;
+ new-uid = uid;
+ new-flags = 0;
+@@ -352,7 +352,7 @@ add_proc(const char *comm, pid_t pid, pid_t ppid, uid_t 
uid,
+ this = new_proc(comm, pid, uid);
+ #endif/*WITH_SELINUX */
+ else {
+-strcpy(this-comm, comm);
++strncpy(this-comm, comm, COMM_LEN);
+ this-uid = uid;
+ }
+ if (args)

Deleted: core-x86_64/PKGBUILD
===
--- core-x86_64/PKGBUILD2012-02-06 11:42:35 UTC (rev 149212)
+++ core-x86_64/PKGBUILD2012-02-06 11:42:36 UTC (rev 149213)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger e...@archlinux.org
-
-pkgname=psmisc
-pkgver=22.14
-pkgrel=1
-pkgdesc=Miscellaneous procfs tools
-arch=('i686' 'x86_64')
-url=http://psmisc.sourceforge.net/index.html;
-license=('GPL')
-groups=('base')
-depends=('glibc' 'ncurses')
-source=(http://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.gz)
-md5sums=('ba3f4e971895c92bba7770d81c981503')
-sha1sums=('dc6fc0ec131c11796d01512bbd80089719b04a66')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-}

Copied: psmisc/repos/core-x86_64/PKGBUILD (from rev 149211, 
psmisc/repos/testing-x86_64/PKGBUILD)
===
--- core-x86_64/PKGBUILD