fuzzdb: fix eapi and general ebuild usage

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-03-20 13:46:34 -04:00
parent 9ef5524a8c
commit de1953eeca
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 31 additions and 25 deletions

1
app-fuzz/fuzzdb/Manifest Normal file
View file

@ -0,0 +1 @@
DIST fuzzdb-1.09_p20200226.tar.gz 6231372 BLAKE2B 59ca84dba3d6e3229ceb2b073e01f61d694d0fb90061cd4cc2b5840aaeb20c4d4078bbca0b57a63a66d6572b37be606d5adb14acb930219dea46f2c36dd9d86c SHA512 f69b0507f67a060b31449081742082f2fc15efc90ce9d356770f5a8217b8e6ab2fa65aa2c56b096439763e9312c4505b5e890f7b064dafa0520a105ae52bdcd4

View file

@ -1,25 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit git-r3
DESCRIPTION="Attack and Discovery Pattern Database for Application Fuzz Testing"
HOMEPAGE="https://github.com/fuzzdb-project"
EGIT_REPO_URI="https://github.com/fuzzdb-project/fuzzdb.git"
EGIT_COMMIT="ecb0850538bc9152949fa4579654d6b64e2fdb97"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_install() {
dodir "/usr/share/${PN}/"
cp -R "${S}"/* "${D}"/usr/share/"${PN}"/ || die "Install failed!"
}

View file

@ -0,0 +1,30 @@
# Copyright 1999-2023 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Attack and Discovery Pattern Database for Application Fuzz Testing"
HOMEPAGE="https://github.com/fuzzdb-project"
LICENSE="BSD"
SLOT="0"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fuzzdb-project/fuzzdb.git"
else
inherit vcs-snapshot
KEYWORDS="~amd64 ~arm ~x86"
EGIT_COMMIT="5656ab25dc6bb43bae32236fab775658a90d7380"
SRC_URI="https://github.com/fuzzdb-project/fuzzdb/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
fi
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
dodir "/usr/share/${PN}/"
cp -R "${S}"/* "${D}"/usr/share/"${PN}"/ || die "Install failed!"
}