Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/flawfinder/
Date: Fri, 10 Sep 2021 07:08:24
Message-Id: 1631257683.4831a9f5dba2ae669fa5b73054aa403714050e76.tupone@gentoo
1 commit: 4831a9f5dba2ae669fa5b73054aa403714050e76
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 10 07:08:03 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 10 07:08:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4831a9f5
7
8 dev-util/flawfinder: bump 2.0.19
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-util/flawfinder/Manifest | 1 +
14 dev-util/flawfinder/flawfinder-2.0.19.ebuild | 32 ++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-util/flawfinder/Manifest b/dev-util/flawfinder/Manifest
18 index 32ed1bbf1ae..02ffdca4ea9 100644
19 --- a/dev-util/flawfinder/Manifest
20 +++ b/dev-util/flawfinder/Manifest
21 @@ -1,2 +1,3 @@
22 DIST flawfinder-2.0.15.tar.gz 253677 BLAKE2B 5c4a0e21e0a7f144382c6ca25f713aef9bdb413d4bb5a73f66632ef365f55c75e755ab59cf92fb54dc2d043c8b88be8c28d5f5fca36df6795dabc00313b839f2 SHA512 12b637bae789ee86710c7d6ee203b811e78414ad5d173730bfffe3ea783a76ce999878c57ddaa8019744cac6bf94967663fd9fd80769d7a24b0a79d23c0b0d9d
23 DIST flawfinder-2.0.18.tar.gz 259960 BLAKE2B 8ddc04d7cef5946d574db499c9d3bd61f9bf8c556d58d649b50544d8c70e76c7dab15391464f5dac3dc229602a6988ddbfaa194dab579cc1b56112af519d6102 SHA512 630be03190f1a8900c001143a9cbb98d2bbd4cc1134097070b39b34a51ff8ee98ff060f082dd7fb5c6773ce1e751926a1b95faac6c307facdba445d919547940
24 +DIST flawfinder-2.0.19.tar.gz 260817 BLAKE2B d9b74d1882a363fa37aabd4ea6c53a5c18e15d27ee755ce2a2ea7421cb052505ef45290b5dfe7df0c3f92de1f561d274624986291d297dad8d8bf0b3550d5cdd SHA512 7ac8684f157f30cb7cc0e2d9c270f92bb26e9207d9879530c499cc93af10070c2558f3794cc8b1a0a51b52ae771a4aa47157b467d0e6578cab96360cb0c6d90b
25
26 diff --git a/dev-util/flawfinder/flawfinder-2.0.19.ebuild b/dev-util/flawfinder/flawfinder-2.0.19.ebuild
27 new file mode 100644
28 index 00000000000..a188bbd5294
29 --- /dev/null
30 +++ b/dev-util/flawfinder/flawfinder-2.0.19.ebuild
31 @@ -0,0 +1,32 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Examines C/C++ source code for security flaws"
42 +HOMEPAGE="https://www.dwheeler.com/flawfinder/"
43 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="GPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
48 +
49 +PATCHES=( "${FILESDIR}"/${PN}-2.0.18-setup.patch )
50 +
51 +src_prepare() {
52 + sed -e "s/${PN}.1.gz/${PN}.1/g" -i setup.py || die 'sed failed'
53 + default
54 +}
55 +
56 +python_test() {
57 + emake test
58 +}
59 +
60 +python_install_all() {
61 + local DOCS=( announcement ChangeLog README.md ${PN}.pdf )
62 + distutils-r1_python_install_all
63 +}