mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
34 lines
684 B
Bash
34 lines
684 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit eutils git-r3
|
|
|
|
DESCRIPTION="All exploits from exploit-db.com"
|
|
HOMEPAGE="http://www.exploit-db.com/"
|
|
EGIT_REPO_URI="https://github.com/offensive-security/exploit-database"
|
|
|
|
LICENSE="public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~arm"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/disable-update.patch"
|
|
eapply_user
|
|
}
|
|
|
|
src_install() {
|
|
insinto /etc
|
|
doins "${FILESDIR}/searchsploit_rc"
|
|
|
|
insinto /usr/share/${PN}
|
|
doins -r *
|
|
|
|
fperms +x /usr/share/${PN}/searchsploit
|
|
dosym "${EPREFIX}"/usr/share/${PN}/searchsploit /usr/bin/searchsploit
|
|
}
|