blob: 6412ed6d8070533c3db0737c664ed00a02a3446c (
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
43
44
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ptrtd/ptrtd-0.5.2.ebuild,v 1.4 2004/06/25 00:06:03 agriffis Exp $
DESCRIPTION="Portable Transport Relay Translator Daemon for IPv6"
HOMEPAGE="http://v6web.litech.org/ptrtd/"
SRC_URI="http://v6web.litech.org/ptrtd/dist/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=""
RDEPEND="sys-apps/iproute2"
src_unpack() {
unpack ${A}
cd ${S}
mv -f Makefile.in ${T}
sed -e "s:-Wall -g:-Wall ${CFLAGS}:" \
${T}/Makefile.in > Makefile.in
}
src_install() {
einstall || die
dodir /etc/init.d
dodir /etc/conf.d
exeinto /etc/init.d/
newexe ${FILESDIR}/ptrtd.initd ptrtd
insinto /etc/conf.d/
newins ${FILESDIR}/ptrtd.confd ptrtd
dodoc README
}
pkg_postinst() {
einfo "ptrtd requires access to the 'tun' and 'tap' interfaces to function"
einfo "Make sure you have compiled support for it under"
einfo "Network Device Support -> Universal TUN/TAP device driver support"
}
|