mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
Merge pull request #198 from aniruddha2000/aniruddha2000/update-libuv-1.41.1
Update libuv to 1.41.1
This commit is contained in:
commit
fd1f496bad
@ -1,2 +1,3 @@
|
|||||||
DIST libuv-1.39.0.tar.gz 1272565 BLAKE2B a5ca826f99f2b7fc1736463df3c455caf2b63c8915fba61edd7b418639040910dfab6e170a089da0c18cd928d3b80c586cd10be4c5331a924a37105328960ca5 SHA512 b6aca197cbfc96125321ff071f6b2f3e56e99f85db8db6e20601019eae08056b42330ea7a73aa8c9960d142a1c8209910bc33050527f6fe0afaa8f7ed9f54066
|
DIST libuv-1.41.0.tar.gz 1281268 BLAKE2B 6d6fef33953c4d03835adfdd66e9a44c61071440ceeea48d88bcf6593e2a35c7d0878369c87b38a92f66ead2ab0f799d4b7476ced3707ca7f41e39f93875bdc4 SHA512 bb08a1970a10e8d9571ffea3d021643de30ec212cd51317b98d6cf0cfe55d6877992921fb01d1188a6d466687335b77885685d924f8cb7200a0bec30eee05c65
|
||||||
DIST libuv-1.40.0.tar.gz 1274587 BLAKE2B 91d0e64a92be5686c0da3c4ad35fa52351012434a2a23db3fd91c26fc8e7b42d20d183a861feb876e2b5ab43e45ab59e720299f622a79c6bbdc6350b4b9e6e3d SHA512 14a6880e636e9d046e1f4c86061d7ca5fe0cdae0efb0c6fec6b6ad03b17c626da479d6cc1ae84da281ec04a75e0d56fa99ef25164432cdb246cf59f0964a7e8b
|
DIST libuv-1.41.1.tar.gz 1281506 BLAKE2B 4102df9559724c4f6bab090c57c8c976b7784bdc28243047c6c4cb2d61ce97deeb6f02e322238b98e9900575c981e8a586db852d5d34f0fd222a0091fc391a5b SHA512 dfd4996a2e8d6cc1ffe141921b2472070c8678cbbb8f0cf333dba7e7a36be0dee7fc3515152a27253252bbe48a9b29766d654f7f77137dd6f6bf0a8330c90fc4
|
||||||
|
DIST libuv-1.42.0.tar.gz 1293478 BLAKE2B c2b46492167d759fd781b704dd256de100ca5bed62b0afe74fd8c46d5ecce15c53c4158d2e938314c578f26978e9be0bc69c4ffd0f40b2cd8419fa120df5dc2e SHA512 29982c975fccb99dcf28c8cc0f9fe9f15a0c546778b0723596a790021441b8be1ccece17f63319b5a1f0ccda8a846c0b544f9259d3482e84e14138461a0d882b
|
||||||
|
45
sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.41.0-darwin.patch
vendored
Normal file
45
sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.41.0-darwin.patch
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
--- a/src/unix/darwin-proctitle.c
|
||||||
|
+++ b/src/unix/darwin-proctitle.c
|
||||||
|
@@ -41,7 +41,7 @@ static int uv__pthread_setname_np(const char* name) {
|
||||||
|
strncpy(namebuf, name, sizeof(namebuf) - 1);
|
||||||
|
namebuf[sizeof(namebuf) - 1] = '\0';
|
||||||
|
|
||||||
|
- err = pthread_setname_np(namebuf);
|
||||||
|
+ err = 0;
|
||||||
|
if (err)
|
||||||
|
return UV__ERR(err);
|
||||||
|
|
||||||
|
--- a/src/unix/getaddrinfo.c
|
||||||
|
+++ b/src/unix/getaddrinfo.c
|
||||||
|
@@ -225,6 +225,13 @@ void uv_freeaddrinfo(struct addrinfo* ai) {
|
||||||
|
freeaddrinfo(ai);
|
||||||
|
}
|
||||||
|
|
||||||
|
+static size_t strnlen(char *x, size_t len) {
|
||||||
|
+ char *r = memchr(x, '\n', len);
|
||||||
|
+ if (r == NULL)
|
||||||
|
+ return len;
|
||||||
|
+ else
|
||||||
|
+ return r - x;
|
||||||
|
+}
|
||||||
|
|
||||||
|
int uv_if_indextoname(unsigned int ifindex, char* buffer, size_t* size) {
|
||||||
|
char ifname_buf[UV_IF_NAMESIZE];
|
||||||
|
--- a/src/unix/udp.c
|
||||||
|
+++ b/src/unix/udp.c
|
||||||
|
@@ -854,6 +854,7 @@ static int uv__udp_set_membership6(uv_udp_t* handle,
|
||||||
|
#if !defined(__OpenBSD__) && \
|
||||||
|
!defined(__NetBSD__) && \
|
||||||
|
!defined(__ANDROID__) && \
|
||||||
|
+ !defined(__APPLE__) && \
|
||||||
|
!defined(__DragonFly__) & \
|
||||||
|
!defined(__QNX__)
|
||||||
|
static int uv__udp_set_source_membership4(uv_udp_t* handle,
|
||||||
|
@@ -1046,6 +1047,7 @@ int uv_udp_set_source_membership(uv_udp_t* handle,
|
||||||
|
#if !defined(__OpenBSD__) && \
|
||||||
|
!defined(__NetBSD__) && \
|
||||||
|
!defined(__ANDROID__) && \
|
||||||
|
+ !defined(__APPLE__) && \
|
||||||
|
!defined(__DragonFly__) && \
|
||||||
|
!defined(__QNX__)
|
||||||
|
int err;
|
@ -1,18 +1,23 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit autotools multilib-minimal
|
inherit autotools multilib-minimal
|
||||||
|
|
||||||
DESCRIPTION="Cross-platform asychronous I/O"
|
DESCRIPTION="Cross-platform asychronous I/O"
|
||||||
HOMEPAGE="https://github.com/libuv/libuv"
|
HOMEPAGE="https://github.com/libuv/libuv"
|
||||||
SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/libuv/libuv.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
LICENSE="BSD BSD-2 ISC MIT"
|
LICENSE="BSD BSD-2 ISC MIT"
|
||||||
SLOT="0/1"
|
SLOT="0/1"
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="static-libs"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
sys-devel/libtool
|
sys-devel/libtool
|
||||||
@ -25,25 +30,29 @@ src_prepare() {
|
|||||||
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
||||||
> m4/libuv-extra-automake-flags.m4 || die
|
> m4/libuv-extra-automake-flags.m4 || die
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then
|
||||||
|
eapply "${FILESDIR}"/${PN}-1.41.0-darwin.patch
|
||||||
|
fi
|
||||||
|
|
||||||
# upstream fails to ship a configure script
|
# upstream fails to ship a configure script
|
||||||
eautoreconf
|
eautoreconf
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local myeconfargs=(
|
local myeconfargs=(
|
||||||
|
--disable-static
|
||||||
cc_cv_cflags__g=no
|
cc_cv_cflags__g=no
|
||||||
$(use_enable static-libs static)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_test() {
|
multilib_src_test() {
|
||||||
mkdir "${BUILD_DIR}"/test || die
|
|
||||||
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
|
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_install_all() {
|
multilib_src_install_all() {
|
||||||
einstalldocs
|
einstalldocs
|
||||||
find "${D}" -name '*.la' -delete || die
|
find "${ED}" -name '*.la' -delete || die
|
||||||
}
|
}
|
@ -1,18 +1,23 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit autotools multilib-minimal
|
inherit autotools multilib-minimal
|
||||||
|
|
||||||
DESCRIPTION="Cross-platform asychronous I/O"
|
DESCRIPTION="Cross-platform asychronous I/O"
|
||||||
HOMEPAGE="https://github.com/libuv/libuv"
|
HOMEPAGE="https://github.com/libuv/libuv"
|
||||||
SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/libuv/libuv.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
LICENSE="BSD BSD-2 ISC MIT"
|
LICENSE="BSD BSD-2 ISC MIT"
|
||||||
SLOT="0/1"
|
SLOT="0/1"
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="static-libs"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
sys-devel/libtool
|
sys-devel/libtool
|
||||||
@ -25,25 +30,29 @@ src_prepare() {
|
|||||||
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
||||||
> m4/libuv-extra-automake-flags.m4 || die
|
> m4/libuv-extra-automake-flags.m4 || die
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then
|
||||||
|
eapply "${FILESDIR}"/${PN}-1.41.0-darwin.patch
|
||||||
|
fi
|
||||||
|
|
||||||
# upstream fails to ship a configure script
|
# upstream fails to ship a configure script
|
||||||
eautoreconf
|
eautoreconf
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local myeconfargs=(
|
local myeconfargs=(
|
||||||
|
--disable-static
|
||||||
cc_cv_cflags__g=no
|
cc_cv_cflags__g=no
|
||||||
$(use_enable static-libs static)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_test() {
|
multilib_src_test() {
|
||||||
mkdir "${BUILD_DIR}"/test || die
|
|
||||||
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
|
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_install_all() {
|
multilib_src_install_all() {
|
||||||
einstalldocs
|
einstalldocs
|
||||||
find "${D}" -name '*.la' -delete || die
|
find "${ED}" -name '*.la' -delete || die
|
||||||
}
|
}
|
58
sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.42.0.ebuild
vendored
Normal file
58
sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.42.0.ebuild
vendored
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools multilib-minimal
|
||||||
|
|
||||||
|
DESCRIPTION="Cross-platform asychronous I/O"
|
||||||
|
HOMEPAGE="https://github.com/libuv/libuv"
|
||||||
|
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/libuv/libuv.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="BSD BSD-2 ISC MIT"
|
||||||
|
SLOT="0/1"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/libtool
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
||||||
|
> m4/libuv-extra-automake-flags.m4 || die
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then
|
||||||
|
eapply "${FILESDIR}"/${PN}-1.41.0-darwin.patch
|
||||||
|
fi
|
||||||
|
|
||||||
|
# upstream fails to ship a configure script
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
--disable-static
|
||||||
|
cc_cv_cflags__g=no
|
||||||
|
)
|
||||||
|
|
||||||
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
einstalldocs
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
}
|
@ -1,18 +1,23 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
inherit autotools git-r3 multilib-minimal
|
|
||||||
|
inherit autotools multilib-minimal
|
||||||
|
|
||||||
DESCRIPTION="Cross-platform asychronous I/O"
|
DESCRIPTION="Cross-platform asychronous I/O"
|
||||||
HOMEPAGE="https://github.com/libuv/libuv"
|
HOMEPAGE="https://github.com/libuv/libuv"
|
||||||
EGIT_REPO_URI="https://github.com/libuv/libuv"
|
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/libuv/libuv.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
LICENSE="BSD BSD-2 ISC MIT"
|
LICENSE="BSD BSD-2 ISC MIT"
|
||||||
SLOT="0/1"
|
SLOT="0/1"
|
||||||
KEYWORDS=""
|
|
||||||
IUSE="static-libs"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
sys-devel/libtool
|
sys-devel/libtool
|
||||||
@ -25,25 +30,29 @@ src_prepare() {
|
|||||||
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
|
||||||
> m4/libuv-extra-automake-flags.m4 || die
|
> m4/libuv-extra-automake-flags.m4 || die
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then
|
||||||
|
eapply "${FILESDIR}"/${PN}-1.41.0-darwin.patch
|
||||||
|
fi
|
||||||
|
|
||||||
# upstream fails to ship a configure script
|
# upstream fails to ship a configure script
|
||||||
eautoreconf
|
eautoreconf
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local myeconfargs=(
|
local myeconfargs=(
|
||||||
|
--disable-static
|
||||||
cc_cv_cflags__g=no
|
cc_cv_cflags__g=no
|
||||||
$(use_enable static-libs static)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_test() {
|
multilib_src_test() {
|
||||||
mkdir "${BUILD_DIR}"/test || die
|
|
||||||
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
|
cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_install_all() {
|
multilib_src_install_all() {
|
||||||
einstalldocs
|
einstalldocs
|
||||||
find "${D}" -name '*.la' -delete || die
|
find "${ED}" -name '*.la' -delete || die
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
<name>Gentoo KDE Project</name>
|
<name>Gentoo KDE Project</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<maintainer type="person">
|
<maintainer type="person">
|
||||||
<email>jer@gentoo.org</email>
|
<email>jakov.smolic@sartura.hr</email>
|
||||||
|
<name>Jakov Smolic</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<longdescription lang="en">
|
<longdescription lang="en">
|
||||||
libuv is a platform layer for node.js. Its purpose is to abstract
|
libuv is a platform layer for node.js. Its purpose is to abstract
|
||||||
|
Loading…
Reference in New Issue
Block a user