mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
net-misc/socat: Sync with Gentoo
It's from Gentoo commit 1453c71e49a7f0af6adeda01c269d45ac394a5a1.
This commit is contained in:
parent
748a5dbbab
commit
0eeeaadd08
@ -1,3 +1,2 @@
|
|||||||
DIST socat-1.7.4.2.tar.gz 653068 BLAKE2B 0eba89e2f8993e6c5f2ffaa57ca9e93ae89cb01bf9d6f0f0d5e9550d4cd7e6aa390b26120a47e3661772550f4fb189807bedd31d1477ff0065f478ef2be062ab SHA512 c331a6348e0febb35cd8adc2b116e3b8896cd7f64bcd93e507df4b8197ee1e6738ca256abf74c9b225e7a3769cf9643f0e237826125c6f390b5124ce0f10c972
|
|
||||||
DIST socat-1.7.4.3.tar.gz 655520 BLAKE2B d91de7ef55332001e6439f64130555b9558338fb9b6c15c91ab5efc8f86a2e7e0f5fe0b292754731a198d83be5f511c3388c65c7c7f559c55691f42703f1849b SHA512 81cb34c245052b6a0ae38a711591358460b6070957af4a9eeb11a3cadb4aff184eeaedabbc7ecdc7fdf21a6126c06f90f19b24a87ce74b30bfd60a3879181046
|
DIST socat-1.7.4.3.tar.gz 655520 BLAKE2B d91de7ef55332001e6439f64130555b9558338fb9b6c15c91ab5efc8f86a2e7e0f5fe0b292754731a198d83be5f511c3388c65c7c7f559c55691f42703f1849b SHA512 81cb34c245052b6a0ae38a711591358460b6070957af4a9eeb11a3cadb4aff184eeaedabbc7ecdc7fdf21a6126c06f90f19b24a87ce74b30bfd60a3879181046
|
||||||
DIST socat-2.0.0-b9.tar.bz2 516673 BLAKE2B 808c8821b89ae2463074f87915dfae10f82b66ac6cd0b6ff56ab18f57c704e5a2a3ce76650152dccce41e4bd00e3a937948d4ade0a915b1f0e917c7543c6fc31 SHA512 f728bd634feeeacd2f0e4020c1c6aafdadaef3ba9da818d9ae1195e9f48fb693b2bea8dbbb208af8daddd8d6405217113d5ce31d05c2e9b27f5d2fba6b1cc834
|
DIST socat-2.0.0-b9.tar.bz2 516673 BLAKE2B 808c8821b89ae2463074f87915dfae10f82b66ac6cd0b6ff56ab18f57c704e5a2a3ce76650152dccce41e4bd00e3a937948d4ade0a915b1f0e917c7543c6fc31 SHA512 f728bd634feeeacd2f0e4020c1c6aafdadaef3ba9da818d9ae1195e9f48fb693b2bea8dbbb208af8daddd8d6405217113d5ce31d05c2e9b27f5d2fba6b1cc834
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit flag-o-matic toolchain-funcs
|
|
||||||
|
|
||||||
MY_P=${P/_beta/-b}
|
|
||||||
DESCRIPTION="Multipurpose relay (SOcket CAT)"
|
|
||||||
HOMEPAGE="http://www.dest-unreach.org/socat/ https://repo.or.cz/socat.git"
|
|
||||||
SRC_URI="http://www.dest-unreach.org/socat/download/${MY_P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
|
||||||
IUSE="bindist ipv6 readline ssl tcpd"
|
|
||||||
|
|
||||||
DEPEND="ssl? ( dev-libs/openssl:0= )
|
|
||||||
readline? ( sys-libs/readline:= )
|
|
||||||
tcpd? ( sys-apps/tcp-wrappers )"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
# Tests are a large bash script
|
|
||||||
# Hard to disable individual tests needing network or privileges
|
|
||||||
# in 1.7.4.2: FAILED: 59 329
|
|
||||||
RESTRICT="test ssl? ( readline? ( bindist ) )"
|
|
||||||
|
|
||||||
DOCS=( BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY )
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
# bug #587740
|
|
||||||
if use readline && use ssl ; then
|
|
||||||
elog "You are enabling both readline and openssl USE flags, the licenses"
|
|
||||||
elog "for these packages conflict. You may not be able to legally"
|
|
||||||
elog "redistribute the resulting binary."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# bug #293324
|
|
||||||
filter-flags '-Wno-error*'
|
|
||||||
|
|
||||||
tc-export AR
|
|
||||||
|
|
||||||
econf \
|
|
||||||
$(use_enable ssl openssl) \
|
|
||||||
$(use_enable readline) \
|
|
||||||
$(use_enable ipv6 ip6) \
|
|
||||||
$(use_enable tcpd libwrap)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
docinto html
|
|
||||||
dodoc doc/*.html doc/*.css
|
|
||||||
}
|
|
@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}"
|
|||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||||
IUSE="bindist ipv6 readline ssl tcpd"
|
IUSE="bindist ipv6 readline ssl tcpd"
|
||||||
|
|
||||||
DEPEND="ssl? ( dev-libs/openssl:0= )
|
DEPEND="ssl? ( dev-libs/openssl:0= )
|
||||||
|
Loading…
Reference in New Issue
Block a user