blob: c2999c329dd2a665920847394f8d30ac0a08f39f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/knock/knock-0.3.ebuild,v 1.2 2004/06/24 23:52:07 agriffis Exp $
DESCRIPTION="A simple port-knocking daemon"
HOMEPAGE="http://www.zeroflux.org/knock/"
SRC_URI="http://www.zeroflux.org/knock/${P}.tar.gz"
KEYWORDS="~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc README
dohtml doc/index.html
insinto /etc/conf.d; newins ${FILESDIR}/knockd.confd knock
exeinto /etc/init.d; newexe ${FILESDIR}/knockd.initd knock
}
|