mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 16:33:09 +01:00
35 lines
700 B
Bash
35 lines
700 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
inherit versionator
|
|
|
|
AVC=( $(get_version_components) )
|
|
MY_PV_YYYY=${AVC[0]}
|
|
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} http://dl.packetstormsecurity.net/14${MY_M}-exploits/14${MY_M}-exploits.tgz"
|
|
done
|
|
|
|
LICENSE="HPND"
|
|
SLOT="2014"
|
|
KEYWORDS="amd64 x86 arm"
|
|
|
|
DEPEND=""
|
|
RDEPEND="!app-exploits/packetstormexploits:0"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
src_install() {
|
|
insinto /usr/share/exploits/${PN}/
|
|
doins -r *
|
|
}
|