[arch-commits] Commit in psmisc/repos (6 files)
Eric Bélanger
eric at nymeria.archlinux.org
Sat Apr 26 17:22:21 UTC 2014
Date: Saturday, April 26, 2014 @ 19:22:21
Author: eric
Revision: 211800
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
psmisc/repos/testing-i686/
psmisc/repos/testing-i686/PKGBUILD
(from rev 211799, psmisc/trunk/PKGBUILD)
psmisc/repos/testing-i686/psmisc-fuser.patch
(from rev 211799, psmisc/trunk/psmisc-fuser.patch)
psmisc/repos/testing-x86_64/
psmisc/repos/testing-x86_64/PKGBUILD
(from rev 211799, psmisc/trunk/PKGBUILD)
psmisc/repos/testing-x86_64/psmisc-fuser.patch
(from rev 211799, psmisc/trunk/psmisc-fuser.patch)
-----------------------------------+
testing-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
testing-i686/psmisc-fuser.patch | 11 +++++++++++
testing-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
testing-x86_64/psmisc-fuser.patch | 11 +++++++++++
4 files changed, 84 insertions(+)
Copied: psmisc/repos/testing-i686/PKGBUILD (from rev 211799, psmisc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-04-26 17:22:21 UTC (rev 211800)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=psmisc
+pkgver=22.21
+pkgrel=2
+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/testing-i686/psmisc-fuser.patch (from rev 211799, psmisc/trunk/psmisc-fuser.patch)
===================================================================
--- testing-i686/psmisc-fuser.patch (rev 0)
+++ testing-i686/psmisc-fuser.patch 2014-04-26 17:22:21 UTC (rev 211800)
@@ -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/testing-x86_64/PKGBUILD (from rev 211799, psmisc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-04-26 17:22:21 UTC (rev 211800)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=psmisc
+pkgver=22.21
+pkgrel=2
+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/testing-x86_64/psmisc-fuser.patch (from rev 211799, psmisc/trunk/psmisc-fuser.patch)
===================================================================
--- testing-x86_64/psmisc-fuser.patch (rev 0)
+++ testing-x86_64/psmisc-fuser.patch 2014-04-26 17:22:21 UTC (rev 211800)
@@ -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