pentoo-overlay/app-exploits/packetstormexploits/packetstormexploits-2012.13.ebuild
2016-05-06 15:48:56 +08:00

51 lines
2 KiB
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Archive of packetstorm exploits"
HOMEPAGE="http://packetstormsecurity.net"
IUSE="1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 +2010 +2011 +2012"
#Use yearly archivers
SRC_URI="1999? ( https://dl.packetstormsecurity.net/9912-exploits/1999-exploits.tgz )
2000? ( https://dl.packetstormsecurity.net/0012-exploits/2000-exploits.tgz )
2001? ( https://dl.packetstormsecurity.net/0112-exploits/2001-exploits.tgz )
2002? ( https://dl.packetstormsecurity.net/0212-exploits/2002-exploits.tgz )
2003? ( https://dl.packetstormsecurity.net/0312-exploits/2003-exploits.tgz )
2004? ( https://dl.packetstormsecurity.net/0412-exploits/2004-exploits.tgz )
2005? ( https://dl.packetstormsecurity.net/0512-exploits/2005-exploits.tgz )
2006? ( https://dl.packetstormsecurity.net/0612-exploits/2006-exploits.tgz )
2007? ( https://dl.packetstormsecurity.net/0712-exploits/2007-exploits.tgz )
2008? ( https://dl.packetstormsecurity.net/0812-exploits/2008-exploits.tgz )
2009? ( https://dl.packetstormsecurity.net/0912-exploits/2009-exploits.tgz )
2010? ( https://dl.packetstormsecurity.net/1012-exploits/2010-exploits.tgz )
2011? ( https://dl.packetstormsecurity.net/1112-exploits/2011-exploits.tgz )
2012? ( https://dl.packetstormsecurity.net/1212-exploits/2012-exploits.tgz )"
LICENSE="HPND"
SLOT="2012"
KEYWORDS="amd64 x86 arm"
RESTRICT="fetch"
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}"
pkg_nofetch() {
einfo "Upstream's certificate chain is incomplete. Run the following command:"
einfo "wget \"${SRC_URI}\" --no-check-certificate"
einfo "and move the file into ${DISTDIR}"
}
src_install() {
insinto /usr/share/exploits/${PN}/
doins -r *
}