exploitdb: cleanup, migrate to gitlab

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-01-31 12:17:29 -05:00
parent dc4fe57d20
commit b706048ef2
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 7 additions and 5 deletions

View file

@ -1,17 +1,19 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils git-r3
EAPI=8
DESCRIPTION="All exploits from exploit-db.com"
HOMEPAGE="https://www.exploit-db.com/"
EGIT_REPO_URI="https://github.com/offensive-security/exploit-database"
if [[ ${PV} != *9999 ]]; then
EGIT_COMMIT="${PV:0:4}-${PV:4:2}-${PV:6:2}"
SRC_URI="https://gitlab.com/exploit-database/exploitdb/-/archive/2022-11-22/exploitdb-${EGIT_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
KEYWORDS="amd64 x86"
else
EGIT_REPO_URI="https://gitlab.com/exploit-database/exploitdb.git"
inherit git-r3
fi
LICENSE="GPL-2"