summaryrefslogtreecommitdiff
path: root/net-analyzer/sqlninja
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/sqlninja
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/sqlninja')
-rw-r--r--net-analyzer/sqlninja/Manifest6
-rw-r--r--net-analyzer/sqlninja/files/sqlninja4
-rw-r--r--net-analyzer/sqlninja/metadata.xml11
-rw-r--r--net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild55
4 files changed, 76 insertions, 0 deletions
diff --git a/net-analyzer/sqlninja/Manifest b/net-analyzer/sqlninja/Manifest
new file mode 100644
index 000000000000..046a3f7a649d
--- /dev/null
+++ b/net-analyzer/sqlninja/Manifest
@@ -0,0 +1,6 @@
+AUX sqlninja 47 SHA256 67593808c0f076b9155ea0e0cd93d378642808835dd495f9f07d72502c8f6f82 SHA512 5ad7443ca0691e5e9a309d698d3503e683cf38d9ac980c7aaff562e008fc5120736a826ee87a44ea6c65da15fa868d9fcdf3291f97ad2f747ad3ceddb66065c4 WHIRLPOOL e2024d99119c6c704776a7352a40f5708d58fb02158cf964ba100e81be2e796ee82fb9e6defe5453a7ede8bbb2ca4fb0faa3e45e8a4bd702e3cb789cda508416
+DIST sqlninja-0.2.6-r1.tgz 454841 SHA256 7f8e9103d3fe58eb6e6f1476474589f7e5ca501703a82ae5299bd7a708342bc5 SHA512 18f6c8f0f1eca59d9ce6df80267f1f6bf45d151dfcd395b32d349119e1480389ba28f057778349b4276d480f60c41ca03578a1ca9c4e246f3fcb63653bc6ccf9 WHIRLPOOL 03b389d49e1854a16984db7272d391827488ca5004fa75e52e0a7b2708cfeeb1c6371c49ddf57dae332387f1ca0feca06d7b22547e1ed23ea2ba6627f9b8a9ac
+EBUILD sqlninja-0.2.6_p1-r1.ebuild 1085 SHA256 b878cefab6cddc45a0049ab3e6d8427ad4570405cfcb7fd578953c539851ee6f SHA512 04a353d57136d745435db0081a3712cda101bd84682b8298fc2e1f414047ee982bf0ecf1629505cf6b92012b64b347f2e41048fc3a2aff8a56821b6fa8167dac WHIRLPOOL 0ba88349a0f3a3b6d98311a8881a1e64d4d70ddc4733cd5bc5c780fe241cb4b5f2b4582f6555a38bbdb2518d432b3cd8ab97ca1abdbf304c5dc7fd34426d2a57
+MISC ChangeLog 2597 SHA256 82fac09507a1803ca4a1aa46dce8327947f5c283405e8cefb60beb2f323669ff SHA512 204a20cbf3552866cee353d9d10a179022398ff94a5e5368f71076bad940c598b85bd95fcd9a7ed5ed90dbd454c52419087a3522f548430729e77ecf770f9741 WHIRLPOOL 01b021a70e6e4264de9d8919932c9b0f8637204f5960b9a44317311d7fc374725bf25f6d86a3dc8e190daff33d5848a61b7a7f31e9a8e61d0189fd9811955190
+MISC ChangeLog-2015 739 SHA256 eb602402242fdcd4433c2d736a2e82ad4b09613184370c7c8c6a8b9bc8df6210 SHA512 f78182b79d271e8dcfa1e89712435f37d0761ceb436b9c1b77114229ccf103e0c717b50acab5552557f039ee63dbd14210af2983ebd52f6c024bc06f5a5254a9 WHIRLPOOL 2d39d61e2a63f29b61cc5e7ff739678a55f563121edea8c41f4dff7e344944af5f63314219a1cef88252c113696504680c04d1448a936152124dc38c294b3c2c
+MISC metadata.xml 358 SHA256 c43dfe1e9f547d16fd9a0474815de0dc923fad688db5517556c3fe3753a3c063 SHA512 54207d10d599ae5f3fb994b9c60fb3c5631a25b590aec06c86463e101e4d99b3d48a667868c5732a9bcb2feffd9a731166efc75b25d9793107ec11ff4c4cf0cd WHIRLPOOL 6da5fb83e191df3edad455aa7c1debe665a2c22a82bccd55143238e63f1946123f35342f0e50b080575b7099b6d7ac47d408e8c86cd21a05f97a916260f5b7dc
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..33aad216574c
--- /dev/null
+++ b/net-analyzer/sqlninja/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>netmon@gentoo.org</email>
+ <name>Gentoo network monitoring and analysis project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">sqlninja</remote-id>
+ </upstream>
+</pkgmetadata>
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..e85466b632e4
--- /dev/null
+++ b/net-analyzer/sqlninja/sqlninja-0.2.6_p1-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+RESTRICT="mirror"
+
+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}"
+}