Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: net-misc/tcptunnel/, net-misc/tcptunnel/files/
Date: Sun, 02 Dec 2012 17:14:04
Message-Id: 1354468376.dd5185795d0a811866dbd933d92a7ae828dbf05c.sping@gentoo
1 commit: dd5185795d0a811866dbd933d92a7ae828dbf05c
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Sun Dec 2 17:12:56 2012 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 2 17:12:56 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=dd518579
7
8 net-misc/tcptunnel: 0.6
9
10 ---
11 .../tcptunnel/files/tcptunnel-0.6-makefile.patch | 19 ++++++++++++++
12 net-misc/tcptunnel/tcptunnel-0.6.ebuild | 27 ++++++++++++++++++++
13 2 files changed, 46 insertions(+), 0 deletions(-)
14
15 diff --git a/net-misc/tcptunnel/files/tcptunnel-0.6-makefile.patch b/net-misc/tcptunnel/files/tcptunnel-0.6-makefile.patch
16 new file mode 100644
17 index 0000000..fdad6fa
18 --- /dev/null
19 +++ b/net-misc/tcptunnel/files/tcptunnel-0.6-makefile.patch
20 @@ -0,0 +1,19 @@
21 +--- Makefile 2012-12-02 18:08:34.832851536 +0100
22 ++++ Makefile 2012-12-02 18:08:56.146589218 +0100
23 +@@ -1,12 +1,12 @@
24 + all:
25 +- cd src; make
26 ++ $(MAKE) -C src
27 +
28 + install:
29 +- cd src; make install
30 ++ $(MAKE) -C src install
31 +
32 + uninstall:
33 +- cd src; make uninstall
34 ++ $(MAKE) -C src uninstall
35 +
36 + clean:
37 +- cd src; make clean
38 ++ $(MAKE) -C src clean
39 +
40
41 diff --git a/net-misc/tcptunnel/tcptunnel-0.6.ebuild b/net-misc/tcptunnel/tcptunnel-0.6.ebuild
42 new file mode 100644
43 index 0000000..0dd851d
44 --- /dev/null
45 +++ b/net-misc/tcptunnel/tcptunnel-0.6.ebuild
46 @@ -0,0 +1,27 @@
47 +# Copyright 1999-2012 Gentoo Foundation
48 +# Distributed under the terms of the GNU General Public License v2
49 +# $Header: $
50 +
51 +EAPI="4"
52 +inherit eutils
53 +
54 +DESCRIPTION="TCP port forwarder (and traffic spy)"
55 +HOMEPAGE="http://www.vakuumverpackt.de/tcptunnel/"
56 +SRC_URI="http://www.vakuumverpackt.de/${PN}/${P}.tar.gz"
57 +
58 +LICENSE="GPL-2"
59 +SLOT="0"
60 +KEYWORDS="~amd64 ~x86"
61 +IUSE=""
62 +
63 +#DEPEND
64 +#RDEPEND
65 +
66 +src_prepare() {
67 + epatch "${FILESDIR}"/${P}-makefile.patch
68 +}
69 +
70 +src_install() {
71 + emake BINDIR="${D}"/usr STRIP=/bin/true install || die
72 + dodoc README || die
73 +}