diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-29 03:04:32 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-29 03:04:32 -0500 |
| commit | 1c2bb144efdfa7abb1e6ff9c0dc1f10c01eb43d1 (patch) | |
| tree | 977e8a4ceec4c6469193a34c8bd0f3cbb26f3878 /net-misc/socat | |
| parent | d078a6bb97ca56a274a131a62e0cfe7d85c4452d (diff) | |
| download | baldeagleos-repo-1c2bb144efdfa7abb1e6ff9c0dc1f10c01eb43d1.tar.gz baldeagleos-repo-1c2bb144efdfa7abb1e6ff9c0dc1f10c01eb43d1.tar.xz baldeagleos-repo-1c2bb144efdfa7abb1e6ff9c0dc1f10c01eb43d1.zip | |
Adding metadata
Diffstat (limited to 'net-misc/socat')
| -rw-r--r-- | net-misc/socat/Manifest | 1 | ||||
| -rw-r--r-- | net-misc/socat/socat-1.8.1.3.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/net-misc/socat/Manifest b/net-misc/socat/Manifest index ad64f1373296..e43ddd3d326a 100644 --- a/net-misc/socat/Manifest +++ b/net-misc/socat/Manifest @@ -1 +1,2 @@ DIST socat-1.8.1.1.tar.bz2 606348 BLAKE2B 877231c973e55e401637aee78edd637e0f66097eb472033d65be8f2ec07e26f6e7f8416e867ff2fa55be6c4dc52764bf3c340f14120322e5cdd04dead1e795ac SHA512 2e87225454365c1396da704a546566681076585a921847a2808d58c9ae8e5d7ad3ac28c321d2d0223b5711762a375dd84893dc67902c355fcce0e4a080909940 +DIST socat-1.8.1.3.tar.bz2 605749 BLAKE2B 4fa98884ec27b807aa20d8cf073236b136051d4b7e1f6d842e9b10d6d94d9f99f50cc073e253766465d39cf5b638921dac33be811143b8045188afafed258ba1 SHA512 7e17ce1c5adeb8f1f7ac2386fcef43de5353a616feca8d8c567cc4dcc191aba02631ad587bf3e11f3b00af2012b8f475a5b3c1bc4c980b522a70afa26dff6941 diff --git a/net-misc/socat/socat-1.8.1.3.ebuild b/net-misc/socat/socat-1.8.1.3.ebuild new file mode 100644 index 000000000000..9d2e42d82cb6 --- /dev/null +++ b/net-misc/socat/socat-1.8.1.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo 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.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="ipv6 readline ssl tcpd" +# bug #946404 (and many others), whack-a-mole with timeouts and friends +# Try again in the future. +RESTRICT="test" + +DEPEND=" + ssl? ( >=dev-libs/openssl-3:= ) + readline? ( sys-libs/readline:= ) + tcpd? ( sys-apps/tcp-wrappers ) +" +RDEPEND="${DEPEND}" + +DOCS=( BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY ) + +src_configure() { + # bug #293324 + filter-flags '-Wno-error*' + + tc-export AR + + local myeconfargs=( + $(use_enable ssl openssl) + $(use_enable readline) + $(use_enable ipv6 ip6) + $(use_enable tcpd libwrap) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # Most tests are skipped because they need network access or a TTY + # Some are for /dev permissions probing (bug #940740) + # 518 519 need extra permissions + edo ./test.sh -v --expect-fail 13,15,87,217,311,313,370,388,410,466,478,518,519,528 +} + +src_install() { + default + + docinto html + dodoc doc/*.html doc/*.css + + if use elibc_musl; then + QA_CONFIG_IMPL_DECL_SKIP=( getprotobynumber_r ) + fi +} |
