[arch-commits] Commit in flawfinder/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun Jun 2 18:12:51 UTC 2019


    Date: Sunday, June 2, 2019 @ 18:12:51
  Author: anthraxx
Revision: 476638

upgpkg: flawfinder 2.0.9-1

Modified:
  flawfinder/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-02 18:12:21 UTC (rev 476637)
+++ PKGBUILD	2019-06-02 18:12:51 UTC (rev 476638)
@@ -4,8 +4,8 @@
 # Contributor: Pranay Kanwar <pranay.kanwar at gmail.com>
 
 pkgname=flawfinder
-pkgver=2.0.8
-pkgrel=2
+pkgver=2.0.9
+pkgrel=1
 pkgdesc='Searches through source code for potential security flaws'
 url='https://www.dwheeler.com/flawfinder'
 arch=('any')
@@ -13,17 +13,18 @@
 depends=('python')
 makedepends=('python-setuptools')
 source=(https://www.dwheeler.com/flawfinder/flawfinder-${pkgver}.tar.gz)
-sha256sums=('65e05788c2e57b4037de58a42b787abd1e3f249656660cf6a3c1e9ad98a46b37')
-sha512sums=('9346c60808087ddf28f433067691c662beb0c36375903fdd0b4dbe3e53fe92b3893e38b13ecb0fe134586cf680fc554d33c92ff910dbd1cd4c3cbeab946038f4')
+sha256sums=('d7aefd002cb63e125ff20bc2960388cf63e202b7e7f971e47129f2214faca90a')
+sha512sums=('d359bbb63d8eba5bb1eec354e8843295100c1e3fe228c6326bc5c623e4b9ddebb33ce1ba68d2be6a9dd75adaa0f8b5f410fc26c2bdb56ff5900ab9b87dad543d')
 
 prepare() {
   cd ${pkgname}-${pkgver}
   sed 's|env python.*|env python|' -i flawfinder
+  sed -E 's|(diff_file = open\(diffhitlist_filename)\)|\1, "rb")|' -i flawfinder
 }
 
 check() {
   cd ${pkgname}-${pkgver}
-  make check
+  make test
 }
 
 package() {


More information about the arch-commits mailing list