diff options
Diffstat (limited to 'net-misc/vtun/vtun-3.0.3.ebuild')
-rw-r--r-- | net-misc/vtun/vtun-3.0.3.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/net-misc/vtun/vtun-3.0.3.ebuild b/net-misc/vtun/vtun-3.0.3.ebuild index 67921500af5a..2a5c6490db58 100644 --- a/net-misc/vtun/vtun-3.0.3.ebuild +++ b/net-misc/vtun/vtun-3.0.3.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=5 inherit eutils linux-info -DESCRIPTION="Create virtual tunnels over TCP/IP networks with traffic shaping, encryption, and compression" +DESCRIPTION="Create tunnels over TCP/IP networks with shaping, encryption, and compression" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://vtun.sourceforge.net/" @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~alpha amd64 ppc ~sparc x86" IUSE="lzo socks5 ssl zlib" -RDEPEND="ssl? ( dev-libs/openssl ) +RDEPEND="ssl? ( dev-libs/openssl:0 ) lzo? ( dev-libs/lzo:2 ) zlib? ( sys-libs/zlib ) socks5? ( net-proxy/dante )" @@ -33,8 +33,12 @@ src_prepare() { epatch "${FILESDIR}"/${P}-includes.patch # remove unneeded checking for /etc/vtund.conf epatch "${FILESDIR}"/${PN}-3.0.2-remove-config-presence-check.patch + # GCC 5 compatibility, patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778164 + epatch "${FILESDIR}"/${P}-gcc5.patch # portage takes care about striping binaries itself - sed -i 's:$(BIN_DIR)/strip $(DESTDIR)$(SBIN_DIR)/vtund::' Makefile.in + sed -i 's:$(BIN_DIR)/strip $(DESTDIR)$(SBIN_DIR)/vtund::' Makefile.in || die + + epatch_user } src_configure() { |