1 |
commit: 2d1c978adbbe081b9831c091b55dc6fe90c73865 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 10 09:52:13 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 10 09:53:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d1c978a |
7 |
|
8 |
net-misc/socat: Version 1.7.3.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-misc/socat/Manifest | 1 + |
14 |
net-misc/socat/socat-1.7.3.3.ebuild | 67 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 68 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/socat/Manifest b/net-misc/socat/Manifest |
18 |
index 9de02486bea..e45a2fb0385 100644 |
19 |
--- a/net-misc/socat/Manifest |
20 |
+++ b/net-misc/socat/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST socat-1.7.3.2.tar.bz2 493324 BLAKE2B 8f30a47be52fcbaf9715435c7848e0d86bb8166fd7aa2de5ba2c7a297696ad1ebc6315acfb87fb8777f87645575fbc015c9e4b1a664fa6602bdf6cf2bc4481e5 SHA512 9ed4911deb09c36955b62a2efbcdfdff0e9d963fa30110e32396e49133d395afd7e61a19ca6a1a23e6e98ded4f603bcbb68c8eb3da4ce870f1450b8b6f7dd293 |
23 |
+DIST socat-1.7.3.3.tar.bz2 489901 BLAKE2B 5bd919dbef2efb64b4674ea072375d2b4e7c14629c2a48cd2f0233f31163c5aadd02f99d98a54b5f1375bbe7291d8134d4bb59d74a674d99d95714720b482cce SHA512 6073facb3db7cd24b9380f400876d73537b52b8e53ff6aac080388c2b1fc4a2decdfac7ce23bff6ab680fb2751251cda7fc67be9b09954edc46f449e0a7d0c7e |
24 |
DIST socat-2.0.0-b9.tar.bz2 516673 BLAKE2B 808c8821b89ae2463074f87915dfae10f82b66ac6cd0b6ff56ab18f57c704e5a2a3ce76650152dccce41e4bd00e3a937948d4ade0a915b1f0e917c7543c6fc31 SHA512 f728bd634feeeacd2f0e4020c1c6aafdadaef3ba9da818d9ae1195e9f48fb693b2bea8dbbb208af8daddd8d6405217113d5ce31d05c2e9b27f5d2fba6b1cc834 |
25 |
|
26 |
diff --git a/net-misc/socat/socat-1.7.3.3.ebuild b/net-misc/socat/socat-1.7.3.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..5d48079d56c |
29 |
--- /dev/null |
30 |
+++ b/net-misc/socat/socat-1.7.3.3.ebuild |
31 |
@@ -0,0 +1,67 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+inherit autotools flag-o-matic toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="Multipurpose relay (SOcket CAT)" |
39 |
+HOMEPAGE="http://www.dest-unreach.org/socat/" |
40 |
+MY_P=${P/_beta/-b} |
41 |
+S="${WORKDIR}/${MY_P}" |
42 |
+SRC_URI="http://www.dest-unreach.org/socat/download/${MY_P}.tar.bz2" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
47 |
+IUSE="bindist libressl ssl readline ipv6 tcpd" |
48 |
+ |
49 |
+DEPEND=" |
50 |
+ ssl? ( |
51 |
+ !libressl? ( dev-libs/openssl:0= ) |
52 |
+ libressl? ( dev-libs/libressl:= ) |
53 |
+ ) |
54 |
+ readline? ( sys-libs/readline:= ) |
55 |
+ tcpd? ( sys-apps/tcp-wrappers ) |
56 |
+" |
57 |
+RDEPEND=" |
58 |
+ ${DEPEND} |
59 |
+" |
60 |
+RESTRICT=" |
61 |
+ test |
62 |
+ ssl? ( readline? ( bindist ) ) |
63 |
+" |
64 |
+DOCS=( |
65 |
+ BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY |
66 |
+) |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ # bug #587740 |
70 |
+ if use readline && use ssl; then |
71 |
+ elog "You are enabling both readline and openssl USE flags, the licenses" |
72 |
+ elog "for these packages conflict. You may not be able to legally" |
73 |
+ elog "redistribute the resulting binary." |
74 |
+ fi |
75 |
+} |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ default |
79 |
+ |
80 |
+ eautoreconf |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ filter-flags '-Wno-error*' #293324 |
85 |
+ tc-export AR |
86 |
+ econf \ |
87 |
+ $(use_enable ssl openssl) \ |
88 |
+ $(use_enable readline) \ |
89 |
+ $(use_enable ipv6 ip6) \ |
90 |
+ $(use_enable tcpd libwrap) |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ default |
95 |
+ |
96 |
+ docinto html |
97 |
+ dodoc doc/*.html doc/*.css |
98 |
+} |