summaryrefslogtreecommitdiff
blob: b8aae7ecb0e71437e8d436a47b18f50a6a754186 (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
27
28
29
30
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit linux-info

DESCRIPTION="IP over DNS tunnel"
HOMEPAGE="http://code.kryo.se/iodine/"
SRC_URI="http://code.kryo.se/iodine/${P}.tar.gz"

CONFIG_CHECK="TUN"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~sparc ~x86"
IUSE="test"

DEPEND="sys-libs/zlib
	test? ( dev-libs/check )"
RDEPEND=""

src_install() {
	dobin bin/iodine bin/iodined
	dodoc README CHANGELOG
	doman man/iodine.8

	newinitd "${FILESDIR}"/iodined.init iodined
	newconfd "${FILESDIR}"/iodined.conf iodined
	keepdir /var/empty
}