pentoo-overlay/app-exploits/packetstormexploits/packetstormexploits-2013.08-r1.ebuild
2013-10-12 01:45:00 +00:00

35 lines
688 B
Bash

# Copyright 1999-2013 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 "{1..$MY_PV_MM}"); do
SRC_URI="${SRC_URI} http://dl.packetstormsecurity.net/13${MY_M}-exploits/13${MY_M}-exploits.tgz"
done
LICENSE="HPND"
SLOT="2013"
KEYWORDS="amd64 x86 arm"
DEPEND=""
RDEPEND=""
S="${WORKDIR}"
src_install() {
insinto /usr/share/exploits/${PN}/
doins -r * || die "install failed"
}