Diff socat-1.7.4.3 with a socat-1.7.4.4
/usr/portage/net-misc/socat/socat-1.7.4.4.ebuild 2023-10-09 14:52:34.700368481 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
8 | 8 |
MY_P=${P/_beta/-b} |
9 | 9 |
DESCRIPTION="Multipurpose relay (SOcket CAT)" |
10 | 10 |
HOMEPAGE="http://www.dest-unreach.org/socat/ https://repo.or.cz/socat.git" |
11 |
SRC_URI="http://www.dest-unreach.org/socat/download/${MY_P}.tar.gz" |
|
11 |
SRC_URI="http://www.dest-unreach.org/socat/download/${MY_P}.tar.bz2" |
|
12 | 12 |
S="${WORKDIR}/${MY_P}" |
13 | 13 | |
14 | 14 |
LICENSE="GPL-2" |
... | ... | |
43 | 43 | |
44 | 44 |
tc-export AR |
45 | 45 | |
46 |
# getprotobynumber_r doesn't exist on musl, so avoid probing for it |
|
47 |
# and possibly getting it wrong. TODO: fix configure? |
|
48 |
# (Grabbed from Alpine Linux: https://git.alpinelinux.org/aports/commit/main/socat/APKBUILD?id=5edc9195355ced3db991c1a7cda5648d52019b11) |
|
49 |
# bug #831016 |
|
50 |
use elibc_musl && export sc_cv_getprotobynumber_r=2 |
|
51 | ||
52 | 46 |
econf \ |
53 | 47 |
$(use_enable ssl openssl) \ |
54 | 48 |
$(use_enable readline) \ |