mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 08:40:57 +02:00
32 lines
687 B
Bash
32 lines
687 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
|
|
inherit toolchain-funcs eutils
|
|
|
|
DESCRIPTION="SIPcrack is a SIP protocol login cracker"
|
|
HOMEPAGE="http://www.remote-exploit.org/?page_id=418"
|
|
SRC_URI="http://www.remote-exploit.org/wp-content/uploads/2010/01/SIPcrack-0.4.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~x86 ~arm"
|
|
IUSE=""
|
|
|
|
DEPEND="net-libs/libpcap"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
sed -i "s|-O3|$CFLAGS|g" Makefile || die "sed faileD"
|
|
}
|
|
|
|
src_compile() {
|
|
emake -e CC="$(tc-getCC)" || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin sipcrack sipdump
|
|
dodoc README USAGE_EXAMPLES
|
|
}
|