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

38 lines
991 B
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=""
#Use yearly archivers
SRC_URI="https://dl.packetstormsecurity.net/1312-exploits/2013-exploits.tgz"
LICENSE="HPND"
SLOT="2013"
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 *
}