/[gentoo-x86]/net-analyzer/sqlninja/sqlninja-0.2.6_p1.ebuild
Gentoo

Contents of /net-analyzer/sqlninja/sqlninja-0.2.6_p1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Oct 6 13:13:46 2012 UTC (2 years, 10 months ago) by pinkbyte
Branch: MAIN
Initial import wrt bug #208201

(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 inherit versionator
8
9 MY_PV="$(replace_version_separator 3 '-')"
10 MY_PV="${MY_PV/p/r}"
11 MY_P="${PN}-${MY_PV}"
12
13 DESCRIPTION="A SQL Server injection & takeover tool"
14 HOMEPAGE="http://sqlninja.sourceforge.net/"
15 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="doc"
20
21 DEPEND=""
22 RDEPEND="dev-lang/perl
23 dev-perl/NetPacket
24 dev-perl/Net-Pcap
25 dev-perl/Net-DNS
26 dev-perl/Net-RawIP
27 dev-perl/IO-Socket-SSL
28 dev-perl/List-MoreUtils"
29
30 S="${WORKDIR}/${MY_P}"
31
32 src_install () {
33 dodoc sqlninja-howto.html ChangeLog README
34 if use doc; then
35 dodoc -r sources
36 docompress -x /usr/share/doc/"${P}"/sources
37 fi
38 insinto /etc/"${PN}"
39 doins sqlninja.conf.example
40
41 rm -r sources sqlninja-howto.html ChangeLog README LICENSE || die 'removing docs failed'
42 rm -r apps || die 'removing bundles apps failed'
43 rm sqlninja.conf.example || die 'removing config failed'
44
45 dodir /usr/lib/"${PN}"
46 insinto /usr/lib/"${PN}"
47 exeinto /usr/lib/"${PN}"
48 doins -r *
49 doexe sqlninja
50 dosbin "${FILESDIR}"/"${PN}"
51 dosym /usr/lib/"${PN}"/makescr.pl /usr/sbin/makescr.pl
52 }

  ViewVC Help
Powered by ViewVC 1.1.20