Diff pjproject-2.13-r2 with a pjproject-2.13.1
/usr/portage/net-libs/pjproject/pjproject-2.13.1.ebuild 2023-10-09 14:52:34.596368479 +0300 | ||
---|---|---|
7 | 7 | |
8 | 8 |
DESCRIPTION="Open source SIP, Media, and NAT Traversal Library" |
9 | 9 |
HOMEPAGE="https://github.com/pjsip/pjproject https://www.pjsip.org/" |
10 |
SRC_URI="https://github.com/pjsip/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
|
11 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" |
|
10 |
SRC_URI="https://github.com/pjsip/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
|
11 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
|
12 | 12 | |
13 | 13 |
LICENSE="GPL-2" |
14 | 14 |
SLOT="0/${PV}" |
... | ... | |
47 | 47 | |
48 | 48 |
PATCHES=( |
49 | 49 |
"${FILESDIR}/pjproject-2.13-r1-Make-sure-that-NOTIFY-tdata-is-set-before-sending-it_new.patch" |
50 |
"${FILESDIR}/pjproject-2.13-r1-CVE-2022-23537-buffer-overread-on-STUN-error-decode.patch" |
|
51 |
"${FILESDIR}/pjproject-2.13-r1-CVE-2022-23547-buffer-overread-on-STUN-decode.patch" |
|
50 |
"${FILESDIR}/pjproject-2.13.1-fix-ptimesized-wav-input.patch" |
|
52 | 51 |
) |
53 | 52 | |
54 | 53 |
src_prepare() { |
... | ... | |
57 | 56 |
mv aconfigure.ac configure.ac || die "Unable to rename configure script source" |
58 | 57 |
eautoreconf |
59 | 58 | |
60 |
cp "${FILESDIR}/pjproject-2.12.1-config_site.h" "${S}/pjlib/include/pj/config_site.h" || die "Unable to create config_site.h" |
|
59 |
cp "${FILESDIR}/pjproject-2.12.1-config_site.h" "${S}/pjlib/include/pj/config_site.h" \ |
|
60 |
|| die "Unable to create config_site.h" |
|
61 | 61 |
} |
62 | 62 | |
63 | 63 |
_pj_enable() { |
... | ... | |
73 | 73 |
_pj_set_define() { |
74 | 74 |
local c=$(_pj_get_define "$1") |
75 | 75 |
[[ "$c" = "$2" ]] && return 0 |
76 |
sed -re "s/^#define[[:space:]]+$1[[:space:]].*/#define $1 $2/" -i "${S}/pjlib/include/pj/config_site.h" || die "sed failed updating $1 to $2." |
|
76 |
sed -re "s/^#define[[:space:]]+$1[[:space:]].*/#define $1 $2/" -i "${S}/pjlib/include/pj/config_site.h" \ |
|
77 |
|| die "sed failed updating $1 to $2." |
|
77 | 78 |
[[ "$(_pj_get_define "$1")" != "$2" ]] && die "sed failed to perform update for $1 to $2." |
78 | 79 |
} |
79 | 80 |