mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
packetstormexploits: merge all into one universal ebuild, symlinking
This commit is contained in:
parent
998946a00c
commit
0c42872991
11 changed files with 17 additions and 147 deletions
|
|
@ -12,13 +12,22 @@ MY_PV_MM="${AVC[1]}"
|
|||
|
||||
DESCRIPTION="Archive of packetstorm exploits"
|
||||
HOMEPAGE="http://packetstormsecurity.net"
|
||||
#Use yearly archivers
|
||||
SRC_URI="https://dl.packetstormsecurity.net/${MY_PV_YY}$((${MY_PV_MM}-1))-exploits/${MY_PV_YYYY}-exploits.tgz"
|
||||
IUSE=""
|
||||
|
||||
if [[ ${MY_PV_MM} == "12" ]]; then
|
||||
#Use yearly archivers
|
||||
SRC_URI="https://dl.packetstormsecurity.net/${MY_PV_YY}${MY_PV_MM}-exploits/${MY_PV_YYYY}-exploits.tgz"
|
||||
else
|
||||
#Use monthly archivers
|
||||
for MY_M in $(eval echo "{01..$MY_PV_MM}"); do
|
||||
SRC_URI="${SRC_URI} https://dl.packetstormsecurity.net/${MY_PV_YY}${MY_M}-exploits/${MY_PV_YY}${MY_M}-exploits.tgz"
|
||||
done
|
||||
fi
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="${MY_PV_YYYY}"
|
||||
|
||||
KEYWORDS="amd64 x86 arm"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!app-exploits/packetstormexploits:0"
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Archive of packetstorm exploits"
|
||||
HOMEPAGE="http://packetstormsecurity.net"
|
||||
IUSE=""
|
||||
|
||||
#Use yearly archivers
|
||||
SRC_URI="https://dl.packetstormsecurity.net/1312-exploits/2013-exploits.tgz"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="2013"
|
||||
KEYWORDS="amd64 x86 arm"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!app-exploits/packetstormexploits:0"
|
||||
|
||||
QA_PREBUILT="/usr/share/exploits/packetstormexploits/0001-exploits/bnc246
|
||||
/usr/share/exploits/packetstormexploits/0212-exploits/kadmin
|
||||
/usr/share/exploits/packetstormexploits/9902-exploits/SDI-lsof
|
||||
/usr/share/exploits/packetstormexploits/0204-exploits/7350fun"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/exploits/${PN}/
|
||||
doins -r *
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
packetstormexploits-2013.12.ebuild
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Archive of packetstorm exploits"
|
||||
HOMEPAGE="http://packetstormsecurity.net"
|
||||
IUSE=""
|
||||
|
||||
#Use yearly archivers
|
||||
SRC_URI="https://dl.packetstormsecurity.net/1412-exploits/2014-exploits.tgz"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="2014"
|
||||
KEYWORDS="amd64 x86 arm"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!app-exploits/packetstormexploits:0"
|
||||
|
||||
QA_PREBUILT="/usr/share/exploits/packetstormexploits/0001-exploits/bnc246
|
||||
/usr/share/exploits/packetstormexploits/0212-exploits/kadmin
|
||||
/usr/share/exploits/packetstormexploits/9902-exploits/SDI-lsof
|
||||
/usr/share/exploits/packetstormexploits/0204-exploits/7350fun"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/exploits/${PN}/
|
||||
doins -r *
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
packetstormexploits-2013.12.ebuild
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Archive of packetstorm exploits"
|
||||
HOMEPAGE="http://packetstormsecurity.net"
|
||||
#Use yearly archivers
|
||||
SRC_URI="https://dl.packetstormsecurity.net/1512-exploits/2015-exploits.tgz"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="2015"
|
||||
KEYWORDS="amd64 x86 arm"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!app-exploits/packetstormexploits:0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/exploits/${PN}/
|
||||
doins -r *
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
packetstormexploits-2013.12.ebuild
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Archive of packetstorm exploits"
|
||||
HOMEPAGE="http://packetstormsecurity.net"
|
||||
#Use yearly archivers
|
||||
SRC_URI="https://dl.packetstormsecurity.net/1612-exploits/2016-exploits.tgz"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="2016"
|
||||
KEYWORDS="amd64 x86 arm"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!app-exploits/packetstormexploits:0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/exploits/${PN}/
|
||||
doins -r *
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
packetstormexploits-2013.12.ebuild
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit versionator
|
||||
|
||||
AVC=( $(get_version_components) )
|
||||
MY_PV_YYYY="${AVC[0]}"
|
||||
MY_PV_YY="${AVC[0]:2:4}"
|
||||
MY_PV_MM="${AVC[1]}"
|
||||
|
||||
DESCRIPTION="Archive of packetstorm exploits"
|
||||
HOMEPAGE="http://packetstormsecurity.net"
|
||||
IUSE=""
|
||||
|
||||
#Use monthly archivers
|
||||
SRC_URI=""
|
||||
for MY_M in $(eval echo "{01..$MY_PV_MM}"); do
|
||||
SRC_URI="${SRC_URI} https://dl.packetstormsecurity.net/${MY_PV_YY}${MY_M}-exploits/${MY_PV_YY}${MY_M}-exploits.tgz"
|
||||
done
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="${MY_PV_YYYY}"
|
||||
|
||||
KEYWORDS="amd64 x86 arm"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!app-exploits/packetstormexploits:0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/exploits/${PN}/
|
||||
doins -r *
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
packetstormexploits-2013.12.ebuild
|
||||
Loading…
Reference in a new issue