diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2012-10-06 13:13:47 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2012-10-06 13:13:47 +0000 |
commit | 94c5d70bebf54674944529c544ea3b873d8e6285 (patch) | |
tree | 75e208bb4a6d61bef82ac21bf4f253f171b9a7f4 /net-analyzer/sqlninja | |
parent | initial import (diff) | |
download | gentoo-2-94c5d70bebf54674944529c544ea3b873d8e6285.tar.gz gentoo-2-94c5d70bebf54674944529c544ea3b873d8e6285.tar.bz2 gentoo-2-94c5d70bebf54674944529c544ea3b873d8e6285.zip |
Initial import wrt bug #208201
(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/sqlninja')
-rw-r--r-- | net-analyzer/sqlninja/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/sqlninja/files/sqlninja | 4 | ||||
-rw-r--r-- | net-analyzer/sqlninja/metadata.xml | 9 | ||||
-rw-r--r-- | net-analyzer/sqlninja/sqlninja-0.2.6_p1.ebuild | 52 |
4 files changed, 76 insertions, 0 deletions
diff --git a/net-analyzer/sqlninja/ChangeLog b/net-analyzer/sqlninja/ChangeLog new file mode 100644 index 000000000000..d0f99804ecb2 --- /dev/null +++ b/net-analyzer/sqlninja/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-analyzer/sqlninja +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sqlninja/ChangeLog,v 1.1 2012/10/06 13:13:46 pinkbyte Exp $ + +*sqlninja-0.2.6_p1 (06 Oct 2012) + + 06 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> +sqlninja-0.2.6_p1.ebuild, + +files/sqlninja, +metadata.xml: + Initial import wrt bug #208201. Ebuild is picked up from pentoo overlay with + a bunch of improvements + diff --git a/net-analyzer/sqlninja/files/sqlninja b/net-analyzer/sqlninja/files/sqlninja new file mode 100644 index 000000000000..bb0f9e18b747 --- /dev/null +++ b/net-analyzer/sqlninja/files/sqlninja @@ -0,0 +1,4 @@ +#!/bin/sh + +cd /usr/lib/sqlninja/ +./sqlninja $@ diff --git a/net-analyzer/sqlninja/metadata.xml b/net-analyzer/sqlninja/metadata.xml new file mode 100644 index 000000000000..7b47a3a9c4a9 --- /dev/null +++ b/net-analyzer/sqlninja/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>netmon</herd> + <maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> +</pkgmetadata> diff --git a/net-analyzer/sqlninja/sqlninja-0.2.6_p1.ebuild b/net-analyzer/sqlninja/sqlninja-0.2.6_p1.ebuild new file mode 100644 index 000000000000..f70c95bba019 --- /dev/null +++ b/net-analyzer/sqlninja/sqlninja-0.2.6_p1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sqlninja/sqlninja-0.2.6_p1.ebuild,v 1.1 2012/10/06 13:13:46 pinkbyte Exp $ + +EAPI=4 + +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" + +DEPEND="" +RDEPEND="dev-lang/perl + dev-perl/NetPacket + dev-perl/Net-Pcap + dev-perl/Net-DNS + dev-perl/Net-RawIP + dev-perl/IO-Socket-SSL + dev-perl/List-MoreUtils" + +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 'removing docs failed' + rm -r apps || die 'removing bundles apps failed' + rm sqlninja.conf.example || die 'removing config failed' + + dodir /usr/lib/"${PN}" + insinto /usr/lib/"${PN}" + exeinto /usr/lib/"${PN}" + doins -r * + doexe sqlninja + dosbin "${FILESDIR}"/"${PN}" + dosym /usr/lib/"${PN}"/makescr.pl /usr/sbin/makescr.pl +} |