diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-01-11 22:30:09 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-01-11 22:30:23 +0100 |
commit | b1d47149c083ed60747e2a4fb46aaafdf1bc2781 (patch) | |
tree | 0cfaeecb711d78df56416a7e3c309e1788c5c7d0 /net-analyzer | |
parent | net-analyzer/syweb: Port to EAPI 8 (diff) | |
download | gentoo-b1d47149c083ed60747e2a4fb46aaafdf1bc2781.tar.gz gentoo-b1d47149c083ed60747e2a4fb46aaafdf1bc2781.tar.bz2 gentoo-b1d47149c083ed60747e2a4fb46aaafdf1bc2781.zip |
net-analyzer/sqlninja: Port to EAPI 8
Closes: https://bugs.gentoo.org/826818
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild b/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild index a4283bd9f1ac..17366ad59752 100644 --- a/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild +++ b/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild @@ -1,21 +1,21 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit versionator +EAPI=8 -MY_PV="$(replace_version_separator 3 '-')" +MY_PV="${PV//_/-}" MY_PV="${MY_PV/p/r}" MY_P="${PN}-${MY_PV}" DESCRIPTION="A SQL Server injection & takeover tool" HOMEPAGE="http://sqlninja.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" +S="${WORKDIR}/${MY_P}" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" - RESTRICT="mirror" RDEPEND=" @@ -28,28 +28,26 @@ RDEPEND=" dev-perl/NetPacket " -S="${WORKDIR}/${MY_P}" - 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} doins sqlninja.conf.example rm -r sources sqlninja-howto.html ChangeLog README LICENSE || die rm -r apps || die rm sqlninja.conf.example || die - dodir /usr/lib/"${PN}" - insinto /usr/lib/"${PN}" - exeinto /usr/lib/"${PN}" + dodir /usr/lib/${PN} + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} doins -r * doexe sqlninja - dosbin "${FILESDIR}"/"${PN}" + dosbin "${FILESDIR}"/${PN} } |