/[gentoo-x86]/net-misc/vtun/vtun-3.0.1.ebuild
Gentoo

Contents of /net-misc/vtun/vtun-3.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Mar 3 19:29:39 2012 UTC (2 years, 9 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Parallel make fails, bug 364923; drop old.

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/vtun/vtun-3.0.1.ebuild,v 1.4 2007/07/12 02:52:15 mr_bones_ Exp $
4
5 DESCRIPTION="Create virtual tunnels over TCP/IP networks with traffic shaping, encryption, and compression."
6 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
7 HOMEPAGE="http://vtun.sourceforge.net"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
12 IUSE="lzo socks5 ssl zlib"
13
14 RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )
15 lzo? ( >=dev-libs/lzo-2 )
16 zlib? ( sys-libs/zlib )
17 socks5? ( net-proxy/dante )"
18 DEPEND="${RDEPEND}
19 sys-devel/bison"
20
21 src_compile() {
22 econf $(use_enable ssl) \
23 $(use_enable zlib) \
24 $(use_enable lzo) \
25 $(use_enable socks5 socks) \
26 --enable-shaper
27 emake || die "emake failed."
28 }
29
30 src_install() {
31 emake DESTDIR="${D}" install || die "emake install failed."
32 dodoc ChangeLog Credits FAQ README README.Setup README.Shaper TODO
33 newinitd "${FILESDIR}"/vtun.rc vtun
34 insinto etc
35 doins "${FILESDIR}"/vtund-start.conf
36 }
37
38 pkg_postinst() {
39 elog "You will need the Universal TUN/TAP driver compiled into"
40 elog "your kernel or as a module to use the associated tunnel"
41 elog "modes in vtun."
42 elog
43 elog "Also note that vtun-3 is not compatible with vtun-2."
44 }

  ViewVC Help
Powered by ViewVC 1.1.20