/[gentoo-x86]/net-misc/proxytunnel/proxytunnel-1.9.1-r1.ebuild
Gentoo

Contents of /net-misc/proxytunnel/proxytunnel-1.9.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jul 8 04:18:22 2015 UTC (4 years, 5 months ago) by vikraman
Branch: MAIN
CVS Tags: HEAD
Add patch to enable TLS. Fixes bug 551278. Drop old.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key B0A72FD2)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/proxytunnel/proxytunnel-1.9.1.ebuild,v 1.1 2014/01/26 21:01:17 vikraman Exp $
4
5 EAPI="5"
6
7 inherit flag-o-matic toolchain-funcs
8
9 DESCRIPTION="Connect stdin and stdout to a server somewhere on the network, through a standard HTTPS proxy"
10 HOMEPAGE="https://github.com/proxytunnel/proxytunnel/ http://proxytunnel.sourceforge.net/"
11 SRC_URI="https://github.com/proxytunnel/proxytunnel/archive/${PV}.tar.gz -> ${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~x86"
16 IUSE="static"
17
18 RDEPEND="dev-libs/openssl:="
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig
21 app-text/asciidoc
22 app-text/xmlto
23 "
24
25 src_prepare() {
26 sed -i -e 's/libssl/libssl libcrypto/' Makefile || die "Sed failed!"
27 epatch "${FILESDIR}"/${PN}-allowTLS.patch
28 }
29
30 src_compile() {
31 use static && append-ldflags -static
32 emake CC="$(tc-getCC)" || die
33 }
34
35 src_install() {
36 emake install prefix="${EPREFIX}"/usr DESTDIR="${D}" || die
37 dodoc CHANGES CREDITS INSTALL KNOWN_ISSUES LICENSE.txt README RELNOTES TODO
38 }

  ViewVC Help
Powered by ViewVC 1.1.20