Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/torsocks/
Date: Fri, 09 Oct 2015 00:20:15
Message-Id: 1444350341.060eaee9e0f13776851bab4a20a276fbb1a8e8a7.blueness@gentoo
1 commit: 060eaee9e0f13776851bab4a20a276fbb1a8e8a7
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 00:25:41 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 00:25:41 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=060eaee9
7
8 net-proxy/torsocks: version bump 2.1.0, bug #558984.
9
10 Package-Manager: portage-2.2.20.1
11
12 net-proxy/torsocks/Manifest | 1 +
13 net-proxy/torsocks/torsocks-2.1.0.ebuild | 48 ++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/net-proxy/torsocks/Manifest b/net-proxy/torsocks/Manifest
17 index 2d5c114..d5d7882 100644
18 --- a/net-proxy/torsocks/Manifest
19 +++ b/net-proxy/torsocks/Manifest
20 @@ -1,2 +1,3 @@
21 DIST torsocks-1.2.tar.gz 456453 SHA256 bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4 SHA512 c48cf466c1d4f6204c90ccb5f741d14304b24651d18d080a73952b9a06bbe146e3f6e6c4343ed06ed7a73714d86561cde3eba369e17fc4e155f3553a8d0f3890 WHIRLPOOL af892c2a6f8070308f6867154c50ee8ce6fd20c761dbd6466ea1ae3b46730452ce0757e9de8bf698f8bd455649f3f76a4e9a0bd883408f464c619c1d41e937cf
22 DIST torsocks-2.0.0.tar.gz 96281 SHA256 a01f9e5ccc8a6e1d4e13704581ec9675129c147d10d08f86635f7bceb8001f48 SHA512 fa30244a5a06c6371a86090088b3abe9f4513eefce90580e7c7899843887b8a1eac641500dee81e576f27fa0f1b447b34f7b8300a889bcda2119779deb69d77d WHIRLPOOL 41ea31225866c50153dd0d46bc0659311835c5617f42a3c8275d5046cc0019fc4caa0ab9ef06d1b3552c1f082cb01a2036fc14c61a061378d01f988ff586a9c5
23 +DIST torsocks-2.1.0.tar.gz 106339 SHA256 a72c3ea757f5fe81d1ab91e0d5f0d83f195e235aae66d4df2f88a20db7028104 SHA512 5bdec6fd6c2d99effb73e418acd37ee135b3c912fad7811bfc8c724282370beea23149c6e94b995cfed0e61be43e63ac11d8c6ef420ba0137a19b96d8ac370e5 WHIRLPOOL 4511c9bff51ec25efb9b6f211d4b37931ba9c23ad89b1b272adf6b60351308e59a5e3d5157ba4adfab9e085deba435a9a1a8b4c69ec98514069c42561799c25c
24
25 diff --git a/net-proxy/torsocks/torsocks-2.1.0.ebuild b/net-proxy/torsocks/torsocks-2.1.0.ebuild
26 new file mode 100644
27 index 0000000..e404f63
28 --- /dev/null
29 +++ b/net-proxy/torsocks/torsocks-2.1.0.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +inherit autotools eutils multilib versionator
38 +
39 +MY_PV="$(replace_version_separator 3 -)"
40 +MY_PF="${PN}-${MY_PV}"
41 +S=${WORKDIR}/${MY_PF}
42 +
43 +DESCRIPTION="Use most socks-friendly applications with Tor"
44 +HOMEPAGE="https://github.com/dgoulet/torsocks"
45 +SRC_URI="https://github.com/dgoulet/torsocks/archive/v${MY_PV}.tar.gz -> ${MY_PF}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~x86"
50 +IUSE="static-libs"
51 +
52 +# We do not depend on tor which might be running on a different box
53 +DEPEND=""
54 +RDEPEND="${DEPEND}"
55 +
56 +src_prepare() {
57 + sed -i -e "/dist_doc_DATA/s/^/#/" Makefile.am doc/Makefile.am || die
58 +
59 + # Disable tests requiring network access.
60 + sed -i -e '/^\.\/test_dns$/d' tests/test_list || \
61 + die "failed to disable network tests"
62 +
63 + eautoreconf
64 +}
65 +
66 +src_configure() {
67 + econf $(use_enable static-libs static)
68 +}
69 +
70 +src_install() {
71 + default
72 +
73 + dodoc ChangeLog README.md TODO doc/notes/DEBUG doc/socks/{SOCKS5,socks-extensions.txt}
74 +
75 + #Remove libtool .la files
76 + cd "${D}"/usr/$(get_libdir)/torsocks
77 + rm -f *.la
78 +}