1 |
commit: 7c887c1630b20bda8ad6a5407ce37b4438b7705e |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 28 16:42:12 2020 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 28 16:44:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c887c16 |
7 |
|
8 |
net-vpn/vtun: drop old |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
net-vpn/vtun/vtun-3.0.3.ebuild | 57 ------------------------------------------ |
13 |
1 file changed, 57 deletions(-) |
14 |
|
15 |
diff --git a/net-vpn/vtun/vtun-3.0.3.ebuild b/net-vpn/vtun/vtun-3.0.3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 153cff659a9..00000000000 |
18 |
--- a/net-vpn/vtun/vtun-3.0.3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,57 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-inherit eutils linux-info |
27 |
- |
28 |
-DESCRIPTION="Create tunnels over TCP/IP networks with shaping, encryption, and compression" |
29 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
30 |
-HOMEPAGE="http://vtun.sourceforge.net/" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~alpha amd64 ppc ~sparc x86" |
35 |
-IUSE="lzo socks5 ssl zlib" |
36 |
- |
37 |
-RDEPEND="ssl? ( dev-libs/openssl:0 ) |
38 |
- lzo? ( dev-libs/lzo:2 ) |
39 |
- zlib? ( sys-libs/zlib ) |
40 |
- socks5? ( net-proxy/dante )" |
41 |
-DEPEND="${RDEPEND} |
42 |
- sys-devel/bison" |
43 |
- |
44 |
-DOCS="ChangeLog Credits FAQ README README.Setup README.Shaper TODO" |
45 |
- |
46 |
-CONFIG_CHECK="~TUN" |
47 |
- |
48 |
-src_prepare() { |
49 |
- sed -i Makefile.in \ |
50 |
- -e '/^LDFLAGS/s|=|+=|g' \ |
51 |
- || die "sed Makefile" |
52 |
- epatch "${FILESDIR}"/${P}-includes.patch |
53 |
- # remove unneeded checking for /etc/vtund.conf |
54 |
- epatch "${FILESDIR}"/${PN}-3.0.2-remove-config-presence-check.patch |
55 |
- # GCC 5 compatibility, patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778164 |
56 |
- epatch "${FILESDIR}"/${P}-gcc5.patch |
57 |
- # portage takes care about striping binaries itself |
58 |
- sed -i 's:$(BIN_DIR)/strip $(DESTDIR)$(SBIN_DIR)/vtund::' Makefile.in || die |
59 |
- |
60 |
- epatch_user |
61 |
-} |
62 |
- |
63 |
-src_configure() { |
64 |
- econf \ |
65 |
- $(use_enable ssl) \ |
66 |
- $(use_enable zlib) \ |
67 |
- $(use_enable lzo) \ |
68 |
- $(use_enable socks5 socks) \ |
69 |
- --enable-shaper |
70 |
-} |
71 |
- |
72 |
-src_install() { |
73 |
- default |
74 |
- newinitd "${FILESDIR}"/vtun.rc vtun |
75 |
- insinto etc |
76 |
- doins "${FILESDIR}"/vtund-start.conf |
77 |
-} |