diff options
Diffstat (limited to 'net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild')
-rw-r--r-- | net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 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 new file mode 100644 index 000000000000..8621bda711d6 --- /dev/null +++ b/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit versionator + +MY_PV="$(replace_version_separator 3 '-')" +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" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + dev-lang/perl + dev-perl/IO-Socket-SSL + dev-perl/List-MoreUtils + dev-perl/Net-DNS + dev-perl/Net-Pcap + dev-perl/Net-RawIP + 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 + fi + + 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}" + doins -r * + + doexe sqlninja + dosbin "${FILESDIR}"/"${PN}" +} |