mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-08 01:15:00 +01:00
30 lines
670 B
Bash
30 lines
670 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
|
|
DESCRIPTION="archive of packetstorm exploits"
|
|
HOMEPAGE="http://packetstormsecurity.org/"
|
|
# this is such a ugly piece of shit, but it works :)
|
|
SRC_URI="$(
|
|
local year
|
|
local curyear="$(echo $PV|cut -c1-4)"
|
|
for year in $(seq 1999 $curyear)
|
|
do
|
|
echo http://packetstormsecurity.org/$(echo $year|cut -c3-4)12-exploits/$year-exploits.tgz
|
|
done
|
|
)"
|
|
LICENSE="public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
|
|
src_install() {
|
|
insinto /usr/share/exploits/$PN
|
|
doins -r * || die "install failed"
|
|
}
|
|
|