blob: dceee216923d8c5360c05a5892d4b9121f37f5b5 (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/totd/totd-1.5.1.ebuild,v 1.5 2009/05/15 21:48:46 halcy0n Exp $
inherit eutils
DESCRIPTION="Trick Or Treat Daemon, a DNS proxy for 6to4"
HOMEPAGE="http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html"
SRC_URI="ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/${P}.tar.gz"
LICENSE="BSD as-is"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-no_werror.patch
}
src_compile() {
econf --enable-ipv4 --enable-ipv6 --enable-stf \
--enable-scoped-rewrite --disable-http-server || die "configure failed"
emake || die "make failed"
}
src_install() {
dosbin totd
doman totd.8
dodoc totd.conf.sample README INSTALL
doinitd "${FILESDIR}"/totd
}
pkg_postinst() {
elog "The totd.conf.sample file in /usr/share/doc/${P}/ contains"
elog "a sample config file for totd. Make sure you create"
elog "/etc/totd.conf with the necessary configurations"
}
|