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

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 21:46:16 UTC 2015


    Date: Sunday, September 6, 2015 @ 23:46:16
  Author: foutrelis
Revision: 245416

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

Added:
  psmisc/repos/staging-i686/
  psmisc/repos/staging-i686/PKGBUILD
    (from rev 245415, psmisc/trunk/PKGBUILD)
  psmisc/repos/staging-i686/psmisc-fuser.patch
    (from rev 245415, psmisc/trunk/psmisc-fuser.patch)
  psmisc/repos/staging-x86_64/
  psmisc/repos/staging-x86_64/PKGBUILD
    (from rev 245415, psmisc/trunk/PKGBUILD)
  psmisc/repos/staging-x86_64/psmisc-fuser.patch
    (from rev 245415, psmisc/trunk/psmisc-fuser.patch)

-----------------------------------+
 staging-i686/PKGBUILD             |   31 +++++++++++++++++++++++++++++++
 staging-i686/psmisc-fuser.patch   |   11 +++++++++++
 staging-x86_64/PKGBUILD           |   31 +++++++++++++++++++++++++++++++
 staging-x86_64/psmisc-fuser.patch |   11 +++++++++++
 4 files changed, 84 insertions(+)

Copied: psmisc/repos/staging-i686/PKGBUILD (from rev 245415, psmisc/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-06 21:46:16 UTC (rev 245416)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=psmisc
+pkgver=22.21
+pkgrel=3
+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 psmisc-fuser.patch)
+sha1sums=('09fabbef4539b58b6b8738a73da3d21d5daa1a58'
+          'e739ad5b14ca836db5859f0755d8f2fc8e86de69')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i ../psmisc-fuser.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: psmisc/repos/staging-i686/psmisc-fuser.patch (from rev 245415, psmisc/trunk/psmisc-fuser.patch)
===================================================================
--- staging-i686/psmisc-fuser.patch	                        (rev 0)
+++ staging-i686/psmisc-fuser.patch	2015-09-06 21:46:16 UTC (rev 245416)
@@ -0,0 +1,11 @@
+--- a/src/fuser.c
++++ b/src/fuser.c
+@@ -1174,7 +1174,7 @@
+ 		usage(_("No process specification given"));
+ 
+ 	/* Check if -M flag was used and if so check mounts */
+-	if (opts * OPT_ISMOUNTPOINT) {
++	if (opts & OPT_ISMOUNTPOINT) {
+ 	    check_mountpoints(&mounts, &names_head, &names_tail);
+ 	}
+ 

Copied: psmisc/repos/staging-x86_64/PKGBUILD (from rev 245415, psmisc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-06 21:46:16 UTC (rev 245416)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=psmisc
+pkgver=22.21
+pkgrel=3
+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 psmisc-fuser.patch)
+sha1sums=('09fabbef4539b58b6b8738a73da3d21d5daa1a58'
+          'e739ad5b14ca836db5859f0755d8f2fc8e86de69')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i ../psmisc-fuser.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: psmisc/repos/staging-x86_64/psmisc-fuser.patch (from rev 245415, psmisc/trunk/psmisc-fuser.patch)
===================================================================
--- staging-x86_64/psmisc-fuser.patch	                        (rev 0)
+++ staging-x86_64/psmisc-fuser.patch	2015-09-06 21:46:16 UTC (rev 245416)
@@ -0,0 +1,11 @@
+--- a/src/fuser.c
++++ b/src/fuser.c
+@@ -1174,7 +1174,7 @@
+ 		usage(_("No process specification given"));
+ 
+ 	/* Check if -M flag was used and if so check mounts */
+-	if (opts * OPT_ISMOUNTPOINT) {
++	if (opts & OPT_ISMOUNTPOINT) {
+ 	    check_mountpoints(&mounts, &names_head, &names_tail);
+ 	}
+ 



More information about the arch-commits mailing list