1 |
commit: a71b49cf150f9a10f06717c16906284eaf9af446 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 8 20:55:48 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 8 20:55:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71b49cf |
7 |
|
8 |
dev-util/flawfinder: take it and bump to 2.0.15 |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-util/flawfinder/Manifest | 1 + |
14 |
dev-util/flawfinder/flawfinder-2.0.15.ebuild | 35 ++++++++++++++++++++++++++++ |
15 |
dev-util/flawfinder/metadata.xml | 5 +++- |
16 |
3 files changed, 40 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-util/flawfinder/Manifest b/dev-util/flawfinder/Manifest |
19 |
index 34f027c5797..b68e7219d41 100644 |
20 |
--- a/dev-util/flawfinder/Manifest |
21 |
+++ b/dev-util/flawfinder/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST flawfinder-2.0.11.tar.gz 256777 BLAKE2B e2aa109a0cc435da7a8ba5f40b5dc6474e27ec340785c0070fce4a648fb5a186f6f0f5ab4e53c8e06c91fb1cb15179ecdb605a7f7477968e4d5595fc46cbd7c8 SHA512 4236da49914fa6317eb2fae1b3fd7ba08aa96a34bc5245bfd15b6532049193cbd0367bb3620e32252ce71cdd1128bec4b20c0e88b02c55d0ede1bb5bb091ddeb |
24 |
+DIST flawfinder-2.0.15.tar.gz 253677 BLAKE2B 5c4a0e21e0a7f144382c6ca25f713aef9bdb413d4bb5a73f66632ef365f55c75e755ab59cf92fb54dc2d043c8b88be8c28d5f5fca36df6795dabc00313b839f2 SHA512 12b637bae789ee86710c7d6ee203b811e78414ad5d173730bfffe3ea783a76ce999878c57ddaa8019744cac6bf94967663fd9fd80769d7a24b0a79d23c0b0d9d |
25 |
|
26 |
diff --git a/dev-util/flawfinder/flawfinder-2.0.15.ebuild b/dev-util/flawfinder/flawfinder-2.0.15.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..445563b0e66 |
29 |
--- /dev/null |
30 |
+++ b/dev-util/flawfinder/flawfinder-2.0.15.ebuild |
31 |
@@ -0,0 +1,35 @@ |
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_{7,8} ) |
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 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+ |
51 |
+DEPEND="${PYTHON_DEPS}" |
52 |
+RDEPEND="${DEPEND}" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ sed -i "s/${PN}.1.gz/${PN}.1/g" setup.py || die 'sed failed.' |
56 |
+ default |
57 |
+} |
58 |
+ |
59 |
+python_test() { |
60 |
+ emake test |
61 |
+} |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ local DOCS=( announcement ChangeLog README.md ${PN}.pdf ) |
65 |
+ distutils-r1_python_install_all |
66 |
+} |
67 |
|
68 |
diff --git a/dev-util/flawfinder/metadata.xml b/dev-util/flawfinder/metadata.xml |
69 |
index 3f47036fbef..885fb2b15f8 100644 |
70 |
--- a/dev-util/flawfinder/metadata.xml |
71 |
+++ b/dev-util/flawfinder/metadata.xml |
72 |
@@ -1,7 +1,10 @@ |
73 |
<?xml version="1.0" encoding="UTF-8"?> |
74 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
75 |
<pkgmetadata> |
76 |
- <!-- maintainer-needed --> |
77 |
+ <maintainer type="person"> |
78 |
+ <email>tupone@g.o</email> |
79 |
+ <name>Tupone Alfredo</name> |
80 |
+ </maintainer> |
81 |
<upstream> |
82 |
<changelog>https://sourceforge.net/p/flawfinder/code/ci/master/tree/ChangeLog</changelog> |
83 |
<bugs-to>https://sourceforge.net/p/flawfinder/bugs/</bugs-to> |