mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
sqlninja: EAPI=7
This commit is contained in:
parent
db7074c30e
commit
642377e76b
3 changed files with 23 additions and 21 deletions
|
|
@ -1 +1 @@
|
|||
DIST sqlninja-0.2.999-alpha1.tgz 613341 SHA256 cd1e51434fdbe8900fbfb117b753e390415a1821b0b917812f1f6040ab55f9d6 SHA512 86ec16202098f1e51049f8db6e8567486f2dfb4626c402b03cc9a5f2c43001b3c759cdaac4880886be002a53f44848bc1da896aeaa9194f5050676e24c2ecfa8 WHIRLPOOL 38c10349d87f5a8db26e0821ecdd7530e91d767412c5dc86433a3de2c6cf7c243136563e5dae5a49ab1805a45db0aec8b63c376237b9af3ab916035c82352017
|
||||
DIST sqlninja-0.2.999-alpha1.tgz 613341 BLAKE2B 7b810c06408346e1f6a3e072f97ff9b86afb1311b8bc7c221a358a817497df4534bfedf10fad5f29eaecb3492f585cad48d124179e6adf82a7689891bb7a225d SHA512 86ec16202098f1e51049f8db6e8567486f2dfb4626c402b03cc9a5f2c43001b3c759cdaac4880886be002a53f44848bc1da896aeaa9194f5050676e24c2ecfa8
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /usr/lib/sqlninja/
|
||||
./sqlninja $@
|
||||
|
|
@ -1,50 +1,56 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild,v 1.1 2012/12/09 00:39:50 zerochaos Exp $
|
||||
|
||||
EAPI=4
|
||||
# TODO: it's a deprecated package
|
||||
|
||||
inherit versionator
|
||||
EAPI=7
|
||||
|
||||
MY_PV="$(replace_version_separator 3 '-')"
|
||||
MY_PV="$(ver_rs 3 '-')"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="A SQL Server injection & takeover tool"
|
||||
HOMEPAGE="http://sqlninja.sourceforge.net/"
|
||||
HOMEPAGE="https://sqlninja.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-lang/perl
|
||||
RDEPEND="
|
||||
dev-lang/perl:0=
|
||||
dev-perl/NetPacket
|
||||
dev-perl/Net-Pcap
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/Net-RawIP
|
||||
dev-perl/IO-Socket-SSL
|
||||
dev-perl/List-MoreUtils"
|
||||
dev-perl/List-MoreUtils
|
||||
dev-perl/DBI"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:require \"lib/:require \"/usr/share/sqlninja/lib/:g" \
|
||||
-i sqlninja || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dodoc sqlninja-howto.html ChangeLog README
|
||||
if use doc; then
|
||||
dodoc -r sources
|
||||
docompress -x /usr/share/doc/"${P}"/sources
|
||||
docompress -x "/usr/share/doc/${P}/sources"
|
||||
fi
|
||||
insinto /etc/"${PN}"
|
||||
|
||||
insinto "/etc/${PN}"
|
||||
newins sqlninja.conf sqlninja.conf.example
|
||||
|
||||
rm -r sources sqlninja-howto.html ChangeLog README LICENSE || die 'removing docs failed'
|
||||
rm -r apps || die 'removing bundles apps failed'
|
||||
rm sqlninja.conf || die 'removing config failed'
|
||||
|
||||
dodir /usr/lib/"${PN}"
|
||||
insinto /usr/lib/"${PN}"
|
||||
exeinto /usr/lib/"${PN}"
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r *
|
||||
doexe sqlninja
|
||||
dosbin "${FILESDIR}"/"${PN}"
|
||||
dobin sqlninja
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue