summaryrefslogtreecommitdiff
blob: 55ca0de660512d0ea6866396d2fab42a624871bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit base toolchain-funcs

DESCRIPTION="Knocker is an easy to use security port scanner written in C"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://knocker.sourceforge.net"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc x86"

DOCS=( AUTHORS BUGS ChangeLog NEWS README TO-DO )

src_prepare() {
	epatch \
		"${FILESDIR}"/${P}-fency.patch \
		"${FILESDIR}"/${P}-free.patch \
		"${FILESDIR}"/${P}-knocker_user_is_root.patch

	tc-export CC
}