mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 16:33:09 +01:00
31 lines
874 B
Bash
31 lines
874 B
Bash
# Copyright 1999-2004 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /root/portage/net-analyzer/sqlat/sqlat-1.1.0.ebuild,v 1.1.1.1 2006/02/27 20:03:41 grimmlin Exp $
|
|
|
|
inherit eutils
|
|
DESCRIPTION="SQLAT is a suite of tools which could be usefull for pentesting a MS SQL Server"
|
|
HOMEPAGE="http://www.cqure.net/tools.jsp?id=6"
|
|
SRC_URI="http://www.cqure.net/tools/${PN}-src-${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="=dev-db/freetds-0.62*"
|
|
|
|
src_compile() {
|
|
if ! built_with_use dev-db/freetds mssql ; then
|
|
eerror "In order to build ${PN}, you need to have freetds with mssql support"
|
|
die "Re-emerge freetds with mssql useflag"
|
|
else
|
|
econf || die "Configure failed"
|
|
emake || die "Make failed"
|
|
fi
|
|
}
|
|
|
|
src_install () {
|
|
mkdir -p ${D}usr/bin
|
|
make DESTDIR=${D}usr install || die
|
|
dodoc README
|
|
}
|