From a71b49cf150f9a10f06717c16906284eaf9af446 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Mon, 8 Feb 2021 21:55:48 +0100 Subject: dev-util/flawfinder: take it and bump to 2.0.15 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfredo Tupone --- dev-util/flawfinder/Manifest | 1 + dev-util/flawfinder/flawfinder-2.0.15.ebuild | 35 ++++++++++++++++++++++++++++ dev-util/flawfinder/metadata.xml | 5 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 dev-util/flawfinder/flawfinder-2.0.15.ebuild (limited to 'dev-util') diff --git a/dev-util/flawfinder/Manifest b/dev-util/flawfinder/Manifest index 34f027c57971..b68e7219d417 100644 --- a/dev-util/flawfinder/Manifest +++ b/dev-util/flawfinder/Manifest @@ -1 +1,2 @@ DIST flawfinder-2.0.11.tar.gz 256777 BLAKE2B e2aa109a0cc435da7a8ba5f40b5dc6474e27ec340785c0070fce4a648fb5a186f6f0f5ab4e53c8e06c91fb1cb15179ecdb605a7f7477968e4d5595fc46cbd7c8 SHA512 4236da49914fa6317eb2fae1b3fd7ba08aa96a34bc5245bfd15b6532049193cbd0367bb3620e32252ce71cdd1128bec4b20c0e88b02c55d0ede1bb5bb091ddeb +DIST flawfinder-2.0.15.tar.gz 253677 BLAKE2B 5c4a0e21e0a7f144382c6ca25f713aef9bdb413d4bb5a73f66632ef365f55c75e755ab59cf92fb54dc2d043c8b88be8c28d5f5fca36df6795dabc00313b839f2 SHA512 12b637bae789ee86710c7d6ee203b811e78414ad5d173730bfffe3ea783a76ce999878c57ddaa8019744cac6bf94967663fd9fd80769d7a24b0a79d23c0b0d9d diff --git a/dev-util/flawfinder/flawfinder-2.0.15.ebuild b/dev-util/flawfinder/flawfinder-2.0.15.ebuild new file mode 100644 index 000000000000..445563b0e667 --- /dev/null +++ b/dev-util/flawfinder/flawfinder-2.0.15.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Examines C/C++ source code for security flaws" +HOMEPAGE="https://www.dwheeler.com/flawfinder/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i "s/${PN}.1.gz/${PN}.1/g" setup.py || die 'sed failed.' + default +} + +python_test() { + emake test +} + +python_install_all() { + local DOCS=( announcement ChangeLog README.md ${PN}.pdf ) + distutils-r1_python_install_all +} diff --git a/dev-util/flawfinder/metadata.xml b/dev-util/flawfinder/metadata.xml index 3f47036fbefc..885fb2b15f87 100644 --- a/dev-util/flawfinder/metadata.xml +++ b/dev-util/flawfinder/metadata.xml @@ -1,7 +1,10 @@ - + + tupone@gentoo.org + Tupone Alfredo + https://sourceforge.net/p/flawfinder/code/ci/master/tree/ChangeLog https://sourceforge.net/p/flawfinder/bugs/ -- cgit v1.2.3-65-gdbad