Date: Sunday, March 25, 2018 @ 20:57:01
  Author: anatolik
Revision: 320320

upgpkg: lsof 4.90-2

FS#57859: fix excessive reporting

Modified:
  lsof/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-25 17:32:56 UTC (rev 320319)
+++ PKGBUILD    2018-03-25 20:57:01 UTC (rev 320320)
@@ -7,7 +7,7 @@
 
 pkgname=lsof
 pkgver=4.90
-pkgrel=1
+pkgrel=2
 pkgdesc="Lists open files for running Unix processes"
 arch=('x86_64')
 url="http://people.freebsd.org/~abe/";
@@ -14,8 +14,10 @@
 license=('custom')
 depends=('glibc')
 source=(ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/lsof_$pkgver.tar.bz2
+        
fix_excessive_reporting.patch::https://github.com/masatake/lsof-linux/commit/f5d024877006deb5d0a500235068f8c4f928939e.patch
         license.txt)
 sha1sums=('9980f2ed68242c292f7aeb077d450c1e911ded88'
+          '6d5b5ab446e85253af287d1adbb9feec95fbcde5'
           'db6b6d90ce895e4053f91ad25c7761fbf9a37dd6')
 #validpgpkeys=(9AFD62A840BD3D55) It is PGP-2 key
 
@@ -24,6 +26,8 @@
        tar xf lsof_${pkgver}_src.tar
        cd lsof_${pkgver}_src
        sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' 
dialects/linux/machine.h
+
+       patch -p1 < $srcdir/fix_excessive_reporting.patch
 }
 
 build() {

Reply via email to