Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/socat/
Date: Sun, 29 Jan 2017 09:34:36
Message-Id: 1485682467.a2e998fabab3f46a0e608e8d5c37ecbde9353731.jer@gentoo
1 commit: a2e998fabab3f46a0e608e8d5c37ecbde9353731
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 09:33:17 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 09:34:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e998fa
7
8 net-misc/socat: Version bump by Marek Behun (bug #607478).
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-misc/socat/Manifest | 1 +
13 net-misc/socat/socat-1.7.3.2.ebuild | 71 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/net-misc/socat/Manifest b/net-misc/socat/Manifest
17 index 7622d70..3a32dc6 100644
18 --- a/net-misc/socat/Manifest
19 +++ b/net-misc/socat/Manifest
20 @@ -1,2 +1,3 @@
21 DIST socat-1.7.3.1.tar.bz2 488467 SHA256 d2da659540c38139f388e9437bfaae16bb458d174d056cb3228432a8f489fbaa SHA512 463340f578d4d1d54458b8ef9573ad3eff51dbcc736205e1b62e9a4782770d4bb76e6a07506350fd35405b130660559aaa79dfa2664c53ea268d7d64231f9b32 WHIRLPOOL 09f0fc537eaad194cac97cce73971c9f69047c648f03788fa69ac3444673ff73f143b2657d0ed28d082e2cfc36829304ed7bf0ff79c7ed75e96c991292f94dd4
22 +DIST socat-1.7.3.2.tar.bz2 493324 SHA256 e3561f808739383eb10fada1e5d4f26883f0311b34fd0af7837d0c95ef379251 SHA512 9ed4911deb09c36955b62a2efbcdfdff0e9d963fa30110e32396e49133d395afd7e61a19ca6a1a23e6e98ded4f603bcbb68c8eb3da4ce870f1450b8b6f7dd293 WHIRLPOOL d5b25ee77fd9ac77fd2a0dd33c39ae636cfe380608b8cee0d14f4d2e042bd53f9269edb466ae6c5403ccd5f5e2bff48b5f1ab15504957419f5ec759fc84a84f4
23 DIST socat-2.0.0-b9.tar.bz2 516673 SHA256 49efb0a5c66b94b279014addc2851faf8ebbd1ec4b7e31c1de7e912d7b4983d2 SHA512 f728bd634feeeacd2f0e4020c1c6aafdadaef3ba9da818d9ae1195e9f48fb693b2bea8dbbb208af8daddd8d6405217113d5ce31d05c2e9b27f5d2fba6b1cc834 WHIRLPOOL e293f9da0fed9573a02658b79ae87c24e2d88c57f6d8b1ddaeecd52e035b5012eaebbfa82da80f8442da666114d14e1c2767cf929e57b634f762e198ed4e3b50
24
25 diff --git a/net-misc/socat/socat-1.7.3.2.ebuild b/net-misc/socat/socat-1.7.3.2.ebuild
26 new file mode 100644
27 index 00000000..8c61f2e
28 --- /dev/null
29 +++ b/net-misc/socat/socat-1.7.3.2.ebuild
30 @@ -0,0 +1,71 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +
37 +inherit autotools flag-o-matic toolchain-funcs
38 +
39 +DESCRIPTION="Multipurpose relay (SOcket CAT)"
40 +HOMEPAGE="http://www.dest-unreach.org/socat/"
41 +MY_P=${P/_beta/-b}
42 +S="${WORKDIR}/${MY_P}"
43 +SRC_URI="http://www.dest-unreach.org/socat/download/${MY_P}.tar.bz2"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
48 +IUSE="bindist libressl ssl readline ipv6 tcpd"
49 +
50 +DEPEND="
51 + ssl? (
52 + !libressl? ( dev-libs/openssl:0= )
53 + libressl? ( dev-libs/libressl:= )
54 + )
55 + readline? ( sys-libs/readline:= )
56 + tcpd? ( sys-apps/tcp-wrappers )
57 +"
58 +RDEPEND="${DEPEND}"
59 +
60 +RESTRICT="test
61 + ssl? ( readline? ( bindist ) )"
62 +
63 +DOCS=(
64 + BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY
65 +)
66 +
67 +PATCHES=(
68 + "${FILESDIR}"/${PN}-1.7.3.0-filan-build.patch
69 +)
70 +
71 +pkg_setup() {
72 + # bug #587740
73 + if use readline && use ssl; then
74 + elog "You are enabling both readline and openssl USE flags, the licenses"
75 + elog "for these packages conflict. You may not be able to legally"
76 + elog "redistribute the resulting binary."
77 + fi
78 +}
79 +
80 +src_prepare() {
81 + default
82 +
83 + eautoreconf
84 +}
85 +
86 +src_configure() {
87 + filter-flags '-Wno-error*' #293324
88 + tc-export AR
89 + econf \
90 + $(use_enable ssl openssl) \
91 + $(use_enable readline) \
92 + $(use_enable ipv6 ip6) \
93 + $(use_enable tcpd libwrap)
94 +}
95 +
96 +src_install() {
97 + default
98 +
99 + docinto html
100 + dodoc doc/*.html doc/*.css
101 +}