explolitdb-papers: move to gitlab, fix last commit

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

View file

@ -1 +1 @@
DIST exploitdb-papers-20221109.tar.gz 2680632207 BLAKE2B a1dd9c0b260ca1d0b5adb07cdfdf36601460839dfcc924c8a05211fc6ad03a37c7493434123a7e2a5fb4401beb66caff61ad20d7201ab5091c51d580634a0750 SHA512 8406342731604dcda71608c0b6dccd0148ad833a46b58fe51c25f0aefd521624089385088da14b80d4d77e60ee7cc5befc5d41f00b20b06f86b1f004dbef09d0
DIST exploitdb-papers-20221122.tar.bz2 2686825257 BLAKE2B c685b50cd62e32c700b703472a894e018ee352186eb581146e359b97a9323e6059269b15ec0f7368d8df454527ad69329b501cfbd3f524a483ec5b092cbcaeec SHA512 a52c4e92bb805057cb18edf4ad7c7ffc11bc78f1e1460f432ac0a64be90c629c2d117f2a3c3f7baeb1f2de7e51dd32abc03c8cdb6b61a30692a8de2d38836f35

View file

@ -7,13 +7,13 @@ DESCRIPTION="Exploit database's papers"
HOMEPAGE="https://www.exploit-db.com/"
if [[ ${PV} != *9999 ]]; then
inherit vcs-snapshot
EGIT_COMMIT="${PV:0:4}-${PV:4:2}-${PV:6:2}"
SRC_URI="https://github.com/offensive-security/exploitdb-papers/archive/refs/tags/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
SRC_URI="https://gitlab.com/exploit-database/exploitdb-papers/-/archive/${EGIT_COMMIT}/exploitdb-${EGIT_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
KEYWORDS="amd64 x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/offensive-security/exploitdb-papers"
EGIT_REPO_URI="https://gitlab.com/exploit-database/exploitdb-papers.git"
fi
LICENSE="GPL-2"

View file

@ -0,0 +1 @@
DIST exploitdb-20221122.tar.bz2 35182981 BLAKE2B 4245e643c5939dea9ca9c21af88430aab4657fcb00324bd779c622a3cb3ba333e1a1e2b3764f36b7d606259abdfd3a709f2d1d8bb520129f1c8dc4a87fbf32c8 SHA512 f0971bd6b53e74e04dd6d8e203ab1f9f8a150e248e0d14ca14238065e717d67c6b37c861a1a532f5d3953860f7ea81882cc170440566e588a697b7d2b511c269

View file

@ -8,7 +8,7 @@ HOMEPAGE="https://www.exploit-db.com/"
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"
SRC_URI="https://gitlab.com/exploit-database/exploitdb/-/archive/${EGIT_COMMIT}/exploitdb-${EGIT_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
KEYWORDS="amd64 x86"
else