[arch-commits] Commit in flawfinder/repos/community-any (PKGBUILD PKGBUILD)

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


    Date: Sunday, June 2, 2019 @ 18:12:55
  Author: anthraxx
Revision: 476639

archrelease: copy trunk to community-any

Added:
  flawfinder/repos/community-any/PKGBUILD
    (from rev 476638, flawfinder/trunk/PKGBUILD)
Deleted:
  flawfinder/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-02 18:12:51 UTC (rev 476638)
+++ PKGBUILD	2019-06-02 18:12:55 UTC (rev 476639)
@@ -1,36 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Python Shell <pythonshell at yeah.net>
-# Contributor: paraxor <paraxor5344 at gmail.com>
-# Contributor: Pranay Kanwar <pranay.kanwar at gmail.com>
-
-pkgname=flawfinder
-pkgver=2.0.8
-pkgrel=2
-pkgdesc='Searches through source code for potential security flaws'
-url='https://www.dwheeler.com/flawfinder'
-arch=('any')
-license=('GPL2')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python2')
-source=(https://www.dwheeler.com/flawfinder/flawfinder-${pkgver}.tar.gz)
-sha256sums=('65e05788c2e57b4037de58a42b787abd1e3f249656660cf6a3c1e9ad98a46b37')
-sha512sums=('9346c60808087ddf28f433067691c662beb0c36375903fdd0b4dbe3e53fe92b3893e38b13ecb0fe134586cf680fc554d33c92ff910dbd1cd4c3cbeab946038f4')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  sed 's|env python.*|env python|' -i flawfinder
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" prefix=/usr install
-  install -Dm 644 README.md ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: flawfinder/repos/community-any/PKGBUILD (from rev 476638, flawfinder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-02 18:12:55 UTC (rev 476639)
@@ -0,0 +1,36 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Python Shell <pythonshell at yeah.net>
+# Contributor: paraxor <paraxor5344 at gmail.com>
+# Contributor: Pranay Kanwar <pranay.kanwar at gmail.com>
+
+pkgname=flawfinder
+pkgver=2.0.9
+pkgrel=1
+pkgdesc='Searches through source code for potential security flaws'
+url='https://www.dwheeler.com/flawfinder'
+arch=('any')
+license=('GPL2')
+depends=('python')
+makedepends=('python-setuptools')
+source=(https://www.dwheeler.com/flawfinder/flawfinder-${pkgver}.tar.gz)
+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 test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" prefix=/usr install
+  install -Dm 644 README.md ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list