diff options
Diffstat (limited to 'net-misc/htun/htun-0.9.5.ebuild')
-rw-r--r-- | net-misc/htun/htun-0.9.5.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net-misc/htun/htun-0.9.5.ebuild b/net-misc/htun/htun-0.9.5.ebuild new file mode 100644 index 000000000000..a8c2975b59f8 --- /dev/null +++ b/net-misc/htun/htun-0.9.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/htun/htun-0.9.5.ebuild,v 1.1 2003/12/30 22:29:50 zul Exp $ + +DESCRIPTION="Project to tunnel IP traffic over HTTP" +HOMEPAGE="http://htun.runslinux.net/" +SRC_URI="http://htun.runslinux.net/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +DEPEND="virtual/glibc" +RDEPEND="" + +S=${WORKDIR}/${P} + + +src_compile() { + + cd ${S}/src + make all || die +} + +src_install() { + dosbin ${S}/src/htund + + insinto /etc + doins ${S}/doc/htund.conf + dodoc doc/* + + einfo " " + einfo " " + einfo "NOTE: HTun requires the Universal TUN/TAP module " + einfo "available in the Linux kernel. Make sure you have" + einfo "compiled the tun.o driver as a module! " + einfo " " + einfo "It can be found in the kernel configuration under " + einfo "Network Device Support --> Universal TUN/TAP " + einfo " " + einfo "To configure HTun, run the following commands as root: " + einfo " # mknod /dev/net/tun c 10 200 " + einfo " # echo \"alias char-major-10-200 tun\" >> /etc/modules.conf" + einfo " # depmod -e " + einfo " " + einfo " " +} |