Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
88
.gitignore
vendored
88
.gitignore
vendored
@ -1 +1,87 @@
|
||||
SOURCES/libuv-v1.41.1.tar.gz
|
||||
*.src.rpm
|
||||
libuv-v*/
|
||||
*~
|
||||
*.swp
|
||||
/libuv-0.9.3git09b0222.tar.gz
|
||||
/libuv-0.9.4gitdc559a5.tar.gz
|
||||
/libuv-0.10.0git5462dab.tar.gz
|
||||
/libuv-v0.10.3.tar.gz
|
||||
/libuv-v0.10.4.tar.gz
|
||||
/libuv-v0.10.5.tar.gz
|
||||
/libuv-v0.10.7.tar.gz
|
||||
/libuv-v0.10.8.tar.gz
|
||||
/libuv-v0.10.9.tar.gz
|
||||
/libuv-v0.10.11.tar.gz
|
||||
/libuv-v0.10.12.tar.gz
|
||||
/libuv-v0.10.13.tar.gz
|
||||
/libuv-v0.10.14.tar.gz
|
||||
/libuv-v0.10.15.tar.gz
|
||||
/libuv-v0.10.17.tar.gz
|
||||
/libuv-v0.10.18.tar.gz
|
||||
/libuv-v0.10.19.tar.gz
|
||||
/libuv-v0.10.20.tar.gz
|
||||
/libuv-v0.10.21.tar.gz
|
||||
/libuv-v0.10.23.tar.gz
|
||||
/libuv-v0.10.25.tar.gz
|
||||
/libuv-v0.10.27.tar.gz
|
||||
/libuv-v0.10.28.tar.gz
|
||||
/libuv-v0.10.29.tar.gz
|
||||
/libuv-v0.10.33.tar.gz
|
||||
/libuv-v1.4.0.tar.gz
|
||||
/libuv-v1.7.5.tar.gz
|
||||
/libuv-v1.8.0.tar.gz
|
||||
/libuv-v1.9.0.tar.gz
|
||||
/libuv-v1.9.1.tar.gz
|
||||
/libuv-v1.10.0.tar.gz
|
||||
/libuv-v1.10.1.tar.gz
|
||||
/libuv-v1.10.2.tar.gz
|
||||
/libuv-v1.11.0.tar.gz
|
||||
/libuv-v1.12.0.tar.gz
|
||||
/libuv-v1.13.1.tar.gz
|
||||
/libuv-v1.14.0.tar.gz
|
||||
/libuv-v1.14.1.tar.gz
|
||||
/libuv-v1.15.0.tar.gz
|
||||
/libuv-v1.16.0.tar.gz
|
||||
/libuv-v1.16.1.tar.gz
|
||||
/libuv-v1.19.0.tar.gz
|
||||
/libuv-v1.19.1.tar.gz
|
||||
/libuv-v1.19.2.tar.gz
|
||||
/libuv-v1.20.0.tar.gz
|
||||
/libuv-v1.20.2.tar.gz
|
||||
/libuv-v1.20.3.tar.gz
|
||||
/libuv-v1.21.0.tar.gz
|
||||
/libuv-v1.22.0.tar.gz
|
||||
/libuv-v1.23.0.tar.gz
|
||||
/libuv-v1.23.2.tar.gz
|
||||
/libuv-v1.24.1.tar.gz
|
||||
/libuv-v1.26.0.tar.gz
|
||||
/libuv-v1.27.0.tar.gz
|
||||
/libuv-v1.28.0.tar.gz
|
||||
/libuv-v1.29.0.tar.gz
|
||||
/libuv-v1.29.1.tar.gz
|
||||
/libuv-v1.30.0.tar.gz
|
||||
/libuv-v1.30.1.tar.gz
|
||||
/libuv-v1.31.0.tar.gz
|
||||
/libuv-v1.32.0.tar.gz
|
||||
/libuv-v1.33.0.tar.gz
|
||||
/libuv-v1.33.1.tar.gz
|
||||
/libuv-v1.34.0.tar.gz
|
||||
/libuv-v1.34.1.tar.gz
|
||||
/libuv-v1.34.2.tar.gz
|
||||
/libuv-v1.36.0.tar.gz
|
||||
/libuv-v1.37.0.tar.gz
|
||||
/libuv-v1.38.0.tar.gz
|
||||
/libuv-v1.38.1.tar.gz
|
||||
/libuv-v1.39.0.tar.gz
|
||||
/libuv-v1.40.0.tar.gz
|
||||
/libuv-v1.41.0.tar.gz
|
||||
/libuv-v1.41.1.tar.gz
|
||||
/libuv-v1.42.0.tar.gz
|
||||
/libuv-v1.43.0.tar.gz
|
||||
/libuv-v1.44.0.tar.gz
|
||||
/libuv-v1.44.1.tar.gz
|
||||
/libuv-v1.44.2.tar.gz
|
||||
/libuv-v1.45.0.tar.gz
|
||||
/libuv-v1.46.0.tar.gz
|
||||
/libuv-v1.47.0.tar.gz
|
||||
/libuv-v1.48.0.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
be3d7de877456af49313208b98f6aafdb6db46c0 SOURCES/libuv-v1.41.1.tar.gz
|
33
0001-unix-ignore-ifaddrs-with-NULL-ifa_addr-4218.patch
Normal file
33
0001-unix-ignore-ifaddrs-with-NULL-ifa_addr-4218.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From b963f0a75bd6c95fbfa0ac17e46ab1f9d1a787c4 Mon Sep 17 00:00:00 2001
|
||||
From: Stephen Gallagher <sgallagh@redhat.com>
|
||||
Date: Tue, 14 Nov 2023 04:23:28 -0500
|
||||
Subject: [PATCH 1/2] unix: ignore ifaddrs with NULL ifa_addr (#4218)
|
||||
|
||||
Passing this to uv__is_ipv6_link_local() is causing a segmentation
|
||||
fault. Note that the documentation for getifaddrs() explicitly states
|
||||
that this value may be NULL.
|
||||
|
||||
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
|
||||
---
|
||||
src/unix/tcp.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/unix/tcp.c b/src/unix/tcp.c
|
||||
index a6b53e5913271d0c83e1d7f7e4cb8140f5f3936d..29f4532e747db50146a8b821389f4d45304c5cd0 100644
|
||||
--- a/src/unix/tcp.c
|
||||
+++ b/src/unix/tcp.c
|
||||
@@ -233,8 +233,9 @@ static int uv__ipv6_link_local_scope_id(void) {
|
||||
return 0;
|
||||
|
||||
for (p = ifa; p != NULL; p = p->ifa_next)
|
||||
- if (uv__is_ipv6_link_local(p->ifa_addr))
|
||||
- break;
|
||||
+ if (p->ifa_addr != NULL)
|
||||
+ if (uv__is_ipv6_link_local(p->ifa_addr))
|
||||
+ break;
|
||||
|
||||
rv = 0;
|
||||
if (p != NULL) {
|
||||
--
|
||||
2.41.0
|
||||
|
58
0002-test-check-if-ipv6-link-local-traffic-is-routable.patch
Normal file
58
0002-test-check-if-ipv6-link-local-traffic-is-routable.patch
Normal file
@ -0,0 +1,58 @@
|
||||
From 21e403424060d71e97ee1ef328288fdb9d24a191 Mon Sep 17 00:00:00 2001
|
||||
From: Ben Noordhuis <info@bnoordhuis.nl>
|
||||
Date: Tue, 14 Nov 2023 10:58:02 +0100
|
||||
Subject: [PATCH 2/2] test: check if ipv6 link-local traffic is routable
|
||||
|
||||
Fixes: https://github.com/libuv/libuv/issues/4211
|
||||
---
|
||||
test/test-tcp-connect6-error.c | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
diff --git a/test/test-tcp-connect6-error.c b/test/test-tcp-connect6-error.c
|
||||
index 1e6d7c78da999d5d6d1f5e1e57646e34aba4a33b..dc2fce82f8958ac5afaeafafa8f2efccf2a1e1ec 100644
|
||||
--- a/test/test-tcp-connect6-error.c
|
||||
+++ b/test/test-tcp-connect6-error.c
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "task.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
|
||||
static int connect_cb_called = 0;
|
||||
@@ -75,9 +76,13 @@ TEST_IMPL(tcp_connect6_error_fault) {
|
||||
|
||||
|
||||
TEST_IMPL(tcp_connect6_link_local) {
|
||||
+ uv_interface_address_t* ifs;
|
||||
+ uv_interface_address_t* p;
|
||||
struct sockaddr_in6 addr;
|
||||
uv_connect_t req;
|
||||
uv_tcp_t server;
|
||||
+ int ok;
|
||||
+ int n;
|
||||
|
||||
if (!can_ipv6())
|
||||
RETURN_SKIP("IPv6 not supported");
|
||||
@@ -90,6 +95,18 @@ TEST_IMPL(tcp_connect6_link_local) {
|
||||
RETURN_SKIP("Test does not currently work in QEMU");
|
||||
#endif /* defined(__QEMU__) */
|
||||
|
||||
+ /* Check there's an interface that routes link-local (fe80::/10) traffic. */
|
||||
+ ASSERT_OK(uv_interface_addresses(&ifs, &n));
|
||||
+ for (p = ifs; p < &ifs[n]; p++)
|
||||
+ if (p->address.address6.sin6_family == AF_INET6)
|
||||
+ if (!memcmp(&p->address.address6.sin6_addr, "\xfe\x80", 2))
|
||||
+ break;
|
||||
+ ok = (p < &ifs[n]);
|
||||
+ uv_free_interface_addresses(ifs, n);
|
||||
+
|
||||
+ if (!ok)
|
||||
+ RETURN_SKIP("IPv6 link-local traffic not supported");
|
||||
+
|
||||
ASSERT_OK(uv_ip6_addr("fe80::0bad:babe", 1337, &addr));
|
||||
ASSERT_OK(uv_tcp_init(uv_default_loop(), &server));
|
||||
|
||||
--
|
||||
2.41.0
|
||||
|
34
0003-test_fs.c-Fix-issue-on-32-bit-systems-using-btrfs.patch
Normal file
34
0003-test_fs.c-Fix-issue-on-32-bit-systems-using-btrfs.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From 3d10efa49dc063831787bc01501ab946f6d91282 Mon Sep 17 00:00:00 2001
|
||||
From: Stephen Gallagher <sgallagh@redhat.com>
|
||||
Date: Thu, 16 Nov 2023 10:00:20 -0500
|
||||
Subject: [PATCH 3/3] test_fs.c: Fix issue on 32-bit systems using btrfs
|
||||
|
||||
On Fedora's build system, the build environment runs on btrfs. This
|
||||
revealed a bug in the test on i686 systems, where this comparison was
|
||||
being performed as a comparison of two signed integers, but the
|
||||
filesystem type of btrfs happens to use the higher-order bits, resulting
|
||||
in it appearing as a negative value.
|
||||
|
||||
BTRFS_SUPER_MAGIC 0x9123683e
|
||||
|
||||
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
|
||||
---
|
||||
test/test-fs.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/test-fs.c b/test/test-fs.c
|
||||
index 1acdc5c67082c7ea4f579f25af82cd9bd3fefc71..ab8a9e07ccea95493e479703a07bebca5e29be30 100644
|
||||
--- a/test/test-fs.c
|
||||
+++ b/test/test-fs.c
|
||||
@@ -343,7 +343,7 @@ static void statfs_cb(uv_fs_t* req) {
|
||||
defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
ASSERT_OK(stats->f_type);
|
||||
#else
|
||||
- ASSERT_GT(stats->f_type, 0);
|
||||
+ ASSERT_UINT64_GT(stats->f_type, 0);
|
||||
#endif
|
||||
|
||||
ASSERT_GT(stats->f_bsize, 0);
|
||||
--
|
||||
2.41.0
|
||||
|
@ -1,85 +0,0 @@
|
||||
From a0ea40baa41a201bd3a4777a66c7eae41d2bcbc3 Mon Sep 17 00:00:00 2001
|
||||
From: rpm-build <rpm-build>
|
||||
Date: Wed, 5 Jun 2024 14:40:40 +0200
|
||||
Subject: [PATCH] Disable failing network tests
|
||||
|
||||
Signed-off-by: rpm-build <rpm-build>
|
||||
---
|
||||
Makefile.am | 4 ----
|
||||
test/test-list.h | 12 ------------
|
||||
2 files changed, 16 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index e8bab49..a190637 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -250,13 +250,11 @@ test_run_tests_SOURCES = test/blackhole-server.c \
|
||||
test/test-tcp-bind-error.c \
|
||||
test/test-tcp-bind6-error.c \
|
||||
test/test-tcp-close-accept.c \
|
||||
- test/test-tcp-close-while-connecting.c \
|
||||
test/test-tcp-close.c \
|
||||
test/test-tcp-close-reset.c \
|
||||
test/test-tcp-create-socket-early.c \
|
||||
test/test-tcp-connect-error-after-write.c \
|
||||
test/test-tcp-connect-error.c \
|
||||
- test/test-tcp-connect-timeout.c \
|
||||
test/test-tcp-connect6-error.c \
|
||||
test/test-tcp-flags.c \
|
||||
test/test-tcp-open.c \
|
||||
@@ -293,8 +291,6 @@ test_run_tests_SOURCES = test/blackhole-server.c \
|
||||
test/test-udp-mmsg.c \
|
||||
test/test-udp-multicast-interface.c \
|
||||
test/test-udp-multicast-interface6.c \
|
||||
- test/test-udp-multicast-join.c \
|
||||
- test/test-udp-multicast-join6.c \
|
||||
test/test-udp-multicast-ttl.c \
|
||||
test/test-udp-open.c \
|
||||
test/test-udp-options.c \
|
||||
diff --git a/test/test-list.h b/test/test-list.h
|
||||
index 7458840..5545b2e 100644
|
||||
--- a/test/test-list.h
|
||||
+++ b/test/test-list.h
|
||||
@@ -127,10 +127,6 @@ TEST_DECLARE (tcp_bind_invalid_flags)
|
||||
TEST_DECLARE (tcp_bind_writable_flags)
|
||||
TEST_DECLARE (tcp_listen_without_bind)
|
||||
TEST_DECLARE (tcp_connect_error_fault)
|
||||
-TEST_DECLARE (tcp_connect_timeout)
|
||||
-TEST_DECLARE (tcp_local_connect_timeout)
|
||||
-TEST_DECLARE (tcp6_local_connect_timeout)
|
||||
-TEST_DECLARE (tcp_close_while_connecting)
|
||||
TEST_DECLARE (tcp_close)
|
||||
TEST_DECLARE (tcp_close_reset_accepted)
|
||||
TEST_DECLARE (tcp_close_reset_accepted_after_shutdown)
|
||||
@@ -167,8 +163,6 @@ TEST_DECLARE (udp_send_hang_loop)
|
||||
TEST_DECLARE (udp_send_immediate)
|
||||
TEST_DECLARE (udp_send_unreachable)
|
||||
TEST_DECLARE (udp_mmsg)
|
||||
-TEST_DECLARE (udp_multicast_join)
|
||||
-TEST_DECLARE (udp_multicast_join6)
|
||||
TEST_DECLARE (udp_multicast_ttl)
|
||||
TEST_DECLARE (udp_multicast_interface)
|
||||
TEST_DECLARE (udp_multicast_interface6)
|
||||
@@ -692,10 +686,6 @@ TASK_LIST_START
|
||||
TEST_ENTRY (tcp_bind_writable_flags)
|
||||
TEST_ENTRY (tcp_listen_without_bind)
|
||||
TEST_ENTRY (tcp_connect_error_fault)
|
||||
- TEST_ENTRY (tcp_connect_timeout)
|
||||
- TEST_ENTRY (tcp_local_connect_timeout)
|
||||
- TEST_ENTRY (tcp6_local_connect_timeout)
|
||||
- TEST_ENTRY (tcp_close_while_connecting)
|
||||
TEST_ENTRY (tcp_close)
|
||||
TEST_ENTRY (tcp_close_reset_accepted)
|
||||
TEST_ENTRY (tcp_close_reset_accepted_after_shutdown)
|
||||
@@ -744,8 +734,6 @@ TASK_LIST_START
|
||||
TEST_ENTRY (udp_mmsg)
|
||||
TEST_ENTRY (udp_multicast_interface)
|
||||
TEST_ENTRY (udp_multicast_interface6)
|
||||
- TEST_ENTRY (udp_multicast_join)
|
||||
- TEST_ENTRY (udp_multicast_join6)
|
||||
TEST_ENTRY (udp_multicast_ttl)
|
||||
TEST_ENTRY (udp_sendmmsg_error)
|
||||
TEST_ENTRY (udp_try_send)
|
||||
--
|
||||
2.45.1
|
||||
|
@ -1,86 +0,0 @@
|
||||
From 2990b945015b067b3dc2ab95dde9587258552295 Mon Sep 17 00:00:00 2001
|
||||
From: rpm-build <rpm-build>
|
||||
Date: Wed, 5 Jun 2024 14:46:35 +0200
|
||||
Subject: [PATCH] Fix for CVE-2024-24806
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
- fix: always zero-terminate idna output
|
||||
Original-Commit: https://github.com/libuv/libuv/commit/0f2d7e784a256b54b2385043438848047bc2a629
|
||||
|
||||
- fix: reject zero-length idna inputs
|
||||
Original-Commit: https://github.com/libuv/libuv/commit/3530bcc30350d4a6ccf35d2f7b33e23292b9de70
|
||||
|
||||
- test: empty strings are not valid IDNA
|
||||
Original-Commit: https://github.com/libuv/libuv/commit/e0327e1d508b8207c9150b6e582f0adf26213c39
|
||||
|
||||
Signed-off-by: Jan Staněk <jstanek@redhat.com>
|
||||
Signed-off-by: rpm-build <rpm-build>
|
||||
---
|
||||
src/idna.c | 8 ++++++--
|
||||
test/test-idna.c | 7 ++++++-
|
||||
2 files changed, 12 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/idna.c b/src/idna.c
|
||||
index b44cb16..abbfe87 100644
|
||||
--- a/src/idna.c
|
||||
+++ b/src/idna.c
|
||||
@@ -273,6 +273,9 @@ long uv__idna_toascii(const char* s, const char* se, char* d, char* de) {
|
||||
char* ds;
|
||||
int rc;
|
||||
|
||||
+ if (s == se)
|
||||
+ return UV_EINVAL;
|
||||
+
|
||||
ds = d;
|
||||
|
||||
si = s;
|
||||
@@ -307,8 +310,9 @@ long uv__idna_toascii(const char* s, const char* se, char* d, char* de) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
- if (d < de)
|
||||
- *d++ = '\0';
|
||||
+ if (d >= de)
|
||||
+ return UV_EINVAL;
|
||||
|
||||
+ *d++ = '\0';
|
||||
return d - ds; /* Number of bytes written. */
|
||||
}
|
||||
diff --git a/test/test-idna.c b/test/test-idna.c
|
||||
index f4fad96..37da38d 100644
|
||||
--- a/test/test-idna.c
|
||||
+++ b/test/test-idna.c
|
||||
@@ -99,6 +99,7 @@ TEST_IMPL(utf8_decode1) {
|
||||
TEST_IMPL(utf8_decode1_overrun) {
|
||||
const char* p;
|
||||
char b[1];
|
||||
+ char c[1];
|
||||
|
||||
/* Single byte. */
|
||||
p = b;
|
||||
@@ -112,6 +113,10 @@ TEST_IMPL(utf8_decode1_overrun) {
|
||||
ASSERT_EQ((unsigned) -1, uv__utf8_decode1(&p, b + 1));
|
||||
ASSERT_EQ(p, b + 1);
|
||||
|
||||
+ b[0] = 0x7F;
|
||||
+ ASSERT_EQ(UV_EINVAL, uv__idna_toascii(b, b + 0, c, c + 1));
|
||||
+ ASSERT_EQ(UV_EINVAL, uv__idna_toascii(b, b + 1, c, c + 1));
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -145,8 +150,8 @@ TEST_IMPL(idna_toascii) {
|
||||
/* Illegal inputs. */
|
||||
F("\xC0\x80\xC1\x80", UV_EINVAL); /* Overlong UTF-8 sequence. */
|
||||
F("\xC0\x80\xC1\x80.com", UV_EINVAL); /* Overlong UTF-8 sequence. */
|
||||
+ F("", UV_EINVAL);
|
||||
/* No conversion. */
|
||||
- T("", "");
|
||||
T(".", ".");
|
||||
T(".com", ".com");
|
||||
T("example", "example");
|
||||
--
|
||||
2.45.1
|
||||
|
@ -1,11 +0,0 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libuv
|
||||
Description: Development libraries for libuv
|
||||
Version: @version@
|
||||
Libs: -L${libdir} -luv -lrt -lpthread -lnsl -ldl
|
||||
Cflags: -I{includedir}
|
||||
URL: http://libuv.org/
|
371
SPECS/libuv.spec
371
SPECS/libuv.spec
@ -1,371 +0,0 @@
|
||||
# Some of the tests do not work with the network-free environment in Koji
|
||||
# The packager should run `fedpkg local --with tests` on their machine
|
||||
# before pushing to Koji
|
||||
%bcond_with tests
|
||||
|
||||
Name: libuv
|
||||
Epoch: 1
|
||||
Version: 1.41.1
|
||||
Release: 2%{?dist}
|
||||
Summary: libuv is a multi-platform support library with a focus on asynchronous I/O.
|
||||
|
||||
# the licensing breakdown is described in detail in the LICENSE file
|
||||
License: MIT and BSD and ISC
|
||||
URL: http://libuv.org/
|
||||
Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
||||
Source2: %{name}.pc.in
|
||||
Source3: libuv.abignore
|
||||
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: gcc make
|
||||
|
||||
%if %{with tests}
|
||||
# don't remove network tests
|
||||
%else
|
||||
# -- Patches -- #
|
||||
Patch0001: 0001-Disable-failing-network-tests.patch
|
||||
%endif
|
||||
Patch0002: 0002-Fix-for-CVE-2024-24806.patch
|
||||
|
||||
%description
|
||||
libuv is a multi-platform support library with a focus on asynchronous I/O
|
||||
|
||||
%package devel
|
||||
Summary: Development libraries for libuv
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development libraries for libuv
|
||||
|
||||
%package static
|
||||
Summary: Platform layer for node.js - static library
|
||||
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description static
|
||||
Static library (.a) version of libuv.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-v%{version} -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --disable-silent-rules
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f %{buildroot}%{_libdir}/libuv.la
|
||||
|
||||
mkdir -p %{buildroot}%{_libdir}/libuv/
|
||||
install -Dm0644 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3}
|
||||
|
||||
%check
|
||||
# Tests are currently disabled because some require network access
|
||||
# Working with upstream to split these out
|
||||
#./run-tests
|
||||
#./run-benchmarks
|
||||
|
||||
make check
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
|
||||
%doc ChangeLog
|
||||
%license LICENSE
|
||||
%{_libdir}/%{name}.so.*
|
||||
%{_libdir}/libuv/libuv.abignore
|
||||
|
||||
%files devel
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_includedir}/uv.h
|
||||
%{_includedir}/uv/
|
||||
|
||||
%files static
|
||||
%{_libdir}/%{name}.a
|
||||
|
||||
%changelog
|
||||
* Wed Jun 05 2024 Jan Staněk <jstanek@redhat.com> - 1:1.41.1-2
|
||||
- Backport fixes for CVE-2024-24806
|
||||
Resolves: RHEL-24790
|
||||
|
||||
* Mon Jul 12 2021 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.41.1-1
|
||||
- Rebase to 1.41.1
|
||||
- Change description to reflect upstream
|
||||
- Resolves: RHBZ#1979927
|
||||
|
||||
* Mon Jan 25 2021 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.40.0-1
|
||||
- Rebase to 1.40.0
|
||||
- Resolves: RHBZ#1895872
|
||||
- Ship libuv-devel
|
||||
|
||||
* Wed Sep 23 2020 Honza Horak <hhorak@redhat.com> - 1:1.38.0-2
|
||||
- Fix max path size by not using _POSIX_PATH_MAX
|
||||
Resolves: #1881870
|
||||
Fixes: CVE-2020-8252
|
||||
|
||||
* Tue Jun 09 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.38.0-1
|
||||
- Update, disable failing tests
|
||||
|
||||
* Thu May 28 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.37.0-3
|
||||
- Run tests
|
||||
|
||||
* Mon May 11 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.37.0-2
|
||||
- Resolves: RHBZ#1817821
|
||||
- bump for build
|
||||
|
||||
* Mon May 04 2020 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:1.37.0-1
|
||||
- Resolves: RHBZ#1817821
|
||||
- Update to 1.37.0
|
||||
- Add abidiff ignore file
|
||||
|
||||
* Mon Oct 08 2018 Jan Staněk <jstanek@redhat.com> - 1:1.23.1-1
|
||||
- Update to 1.23.1
|
||||
- Resolves: rhbz#1637000
|
||||
|
||||
* Mon Jul 30 2018 Florian Weimer <fweimer@redhat.com> - 1:1.22.0-2
|
||||
- Rebuild with fixed binutils
|
||||
|
||||
* Mon Jul 30 2018 Zuzana Svetlikova ,zsvetlik@redhat.com> - 1.22.0-1
|
||||
- Update to 1.22.0
|
||||
|
||||
* Mon Feb 26 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.19.2-1
|
||||
- Update to 1.19.2
|
||||
- https://github.com/libuv/libuv/blob/v1.19.2/ChangeLog
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.19.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.19.1-2
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Sat Jan 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.19.1-1
|
||||
- Update to 1.19.1
|
||||
|
||||
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.19.0-2
|
||||
- Revert few commits which cause regression for nodejs
|
||||
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.19.0-1
|
||||
- Update to 1.19.0
|
||||
|
||||
* Sat Nov 11 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 1:1.16.1-1
|
||||
- Update to 1.16.1 (rhbz #1512184)
|
||||
|
||||
* Tue Nov 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.16.0-1
|
||||
- Update to 1.16.0
|
||||
|
||||
* Tue Oct 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.15.0-1
|
||||
- Update to 1.15.0
|
||||
|
||||
* Fri Sep 08 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.14.1-1
|
||||
- Update to 1.14.1
|
||||
- https://github.com/libuv/libuv/blob/v1.14.1/ChangeLog
|
||||
|
||||
* Thu Aug 17 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.14.0-1
|
||||
- Update to 1.14.0
|
||||
- https://github.com/libuv/libuv/blob/v1.14.0/ChangeLog
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.13.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.13.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jul 10 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.12.0-1
|
||||
- Update to 1.13.1
|
||||
- https://github.com/libuv/libuv/blob/v1.13.1/ChangeLog
|
||||
|
||||
* Thu Jun 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.12.0-1
|
||||
- Update to 1.12.0
|
||||
- https://github.com/libuv/libuv/blob/v1.12.0/ChangeLog
|
||||
|
||||
* Tue Feb 28 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.11.0-1
|
||||
- Update to 1.11.0
|
||||
- https://github.com/libuv/libuv/blob/v1.11.0/ChangeLog
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jan 19 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.10.2-1
|
||||
- Update to 1.10.2
|
||||
- Resolves: RHBZ#1395927
|
||||
|
||||
* Sat Nov 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.10.1-1
|
||||
- Update to 1.10.1 (RHBZ #1395927)
|
||||
|
||||
* Mon Oct 24 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.10.0-1
|
||||
- Update to 1.10.0
|
||||
- https://github.com/libuv/libuv/blob/v1.10.0/ChangeLog
|
||||
|
||||
* Wed May 18 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.9.1-1
|
||||
- Update to 1.9.1
|
||||
- https://github.com/libuv/libuv/blob/v1.9.1/ChangeLog
|
||||
|
||||
* Mon May 09 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.9.0-1
|
||||
- Rebase to 1.9.0 to support Node.js 6.x
|
||||
|
||||
* Thu Mar 10 2016 Stephen Gallagher <sgallagh@redhat.com> - 1.8.0-1
|
||||
- Rebase to 1.8.0 to support Node.js 5.8
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.7.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Dec 01 2015 Stephen Gallagher <sgallagh@redhat.com> 1.7.5-1
|
||||
- Rebase to 1.7.5 to support Node.js 4.2
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:1.4.0-1
|
||||
- rebase to 1.4.0
|
||||
|
||||
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.33-2
|
||||
- add missing %%{_?isa} to devel requires of main package
|
||||
- fix some issues with the pkgconfig file and Group reported by Michael Schwendt
|
||||
|
||||
* Thu Feb 19 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.33-1
|
||||
- new upstream release 0.10.33
|
||||
https://github.com/joyent/libuv/blob/v0.10.33/ChangeLog
|
||||
- update URL to point to the new libuv.org
|
||||
|
||||
* Wed Nov 19 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.29-1
|
||||
- new upstream release 0.10.29
|
||||
https://github.com/joyent/libuv/blob/v0.10.29/ChangeLog
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.10.28-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Aug 01 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.28-1
|
||||
- new upstream release 0.10.28
|
||||
https://github.com/joyent/libuv/blob/v0.10.28/ChangeLog
|
||||
|
||||
* Thu Jul 03 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.27-3
|
||||
- build static library for rust (RHBZ#1115975)
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.10.27-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri May 02 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.27-1
|
||||
- new upstream release 0.10.27
|
||||
https://github.com/joyent/libuv/blob/v0.10.27/ChangeLog
|
||||
|
||||
* Thu Feb 20 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.25-1
|
||||
- new upstream release 0.10.25
|
||||
https://github.com/joyent/libuv/blob/v0.10.25/ChangeLog
|
||||
|
||||
* Mon Jan 27 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.23-1
|
||||
- new upstream release 0.10.23
|
||||
https://github.com/joyent/libuv/blob/v0.10.23/ChangeLog
|
||||
|
||||
* Thu Dec 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.21-1
|
||||
- new upstream release 0.10.21
|
||||
https://github.com/joyent/libuv/blob/v0.10.21/ChangeLog
|
||||
|
||||
* Thu Dec 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.20-1
|
||||
- new upstream release 0.10.20
|
||||
https://github.com/joyent/libuv/blob/v0.10.20/ChangeLog
|
||||
|
||||
* Tue Nov 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.19-1
|
||||
- new upstream release 0.10.19
|
||||
https://github.com/joyent/libuv/blob/v0.10.19/ChangeLog
|
||||
|
||||
* Fri Oct 18 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.18-1
|
||||
- new upstream release 0.10.18
|
||||
https://github.com/joyent/libuv/blob/v0.10.18/ChangeLog
|
||||
|
||||
* Wed Sep 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.17-1
|
||||
- new upstream release 0.10.17
|
||||
https://github.com/joyent/libuv/blob/v0.10.17/ChangeLog
|
||||
|
||||
* Fri Sep 06 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.15-1
|
||||
- new upstream release 0.10.15
|
||||
https://github.com/joyent/libuv/blob/v0.10.15/ChangeLog
|
||||
|
||||
* Tue Aug 27 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.14-1
|
||||
- new upstream release 0.10.14
|
||||
https://github.com/joyent/libuv/blob/v0.10.14/ChangeLog
|
||||
|
||||
* Thu Jul 25 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.13-1
|
||||
- new upstream release 0.10.13
|
||||
https://github.com/joyent/libuv/blob/v0.10.13/ChangeLog
|
||||
|
||||
* Wed Jul 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.12-1
|
||||
- new upstream release 0.10.12
|
||||
|
||||
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.11-1
|
||||
- new upstream release 0.10.11
|
||||
|
||||
* Fri May 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.9-1
|
||||
- new upstream release 0.10.9
|
||||
|
||||
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.8-2
|
||||
- fix License tag (RHBZ#968226)
|
||||
|
||||
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.8-1
|
||||
- new upstream release 0.10.8
|
||||
|
||||
* Wed May 29 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.7-1
|
||||
- new upstream release 0.10.7
|
||||
- drop upstreamed patch from 0.10.5-2
|
||||
|
||||
* Mon May 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.5-3
|
||||
- don't sed the soname in the spec anymore; the patch takes care of it now
|
||||
- drop leftover global define for git revision
|
||||
|
||||
* Mon May 13 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.10.5-2
|
||||
- Add patch to properly report soname version information
|
||||
This patch will be included upstream in 0.10.6 and can be dropped then.
|
||||
- Remove Bundles(ev) as this has not been true since 0.9.5
|
||||
|
||||
* Wed Apr 24 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.5-1
|
||||
- new upstream release 0.10.5
|
||||
|
||||
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.4-1
|
||||
- new upstream release 0.10.4
|
||||
- drop upstreamed patch
|
||||
|
||||
* Thu Apr 04 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.3-2
|
||||
- backport patch that fixes FTBFS in nodejs-0.10.3
|
||||
|
||||
* Sun Mar 31 2013 tchollingsworth@gmail.com - 1:0.10.3-1
|
||||
- rebase to 0.10.3
|
||||
- upstream now does proper releases
|
||||
|
||||
* Tue Mar 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1:0.10.0-2.git5462dab
|
||||
- drop the patchlevel from the SONAME since libuv will retain binary
|
||||
compatibility for the life of the 0.10.x series
|
||||
|
||||
* Mon Mar 11 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.10.0-1.git5462dab
|
||||
- Upgrade to 0.10.0 release to match stable Node.js release
|
||||
|
||||
* Thu Feb 28 2013 Stephen Gallagher <sgallagh@redhat.com> - 1:0.9.4-4.gitdc559a5
|
||||
- Bump epoch for the version downgrade
|
||||
- The 0.9.7 version hit the Rawhide repo due to the mass rebuild, we need a
|
||||
clean upgrade path.
|
||||
|
||||
* Thu Feb 21 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.4-3.gitdc559a5
|
||||
- Revert to version 0.9.4 (since 0.9.7 is breaking builds)
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-2.git4ba03dd
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Jan 22 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.7-1.git4ba03dd
|
||||
- Bump to version included with Node.js 0.9.7
|
||||
|
||||
* Wed Dec 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.4-0.1.gitdc559a5
|
||||
- bump to version included with node 0.9.4
|
||||
- drop upstreamed patch
|
||||
- respect optflags
|
||||
|
||||
* Thu Nov 15 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.3.git09b0222
|
||||
- Add patch to export uv_inet_*
|
||||
|
||||
* Wed Nov 14 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.2.git09b0222
|
||||
- Fixes from package review
|
||||
- Removed doubly-listed include directory
|
||||
- Update git tarball to the latest upstream code
|
||||
|
||||
* Thu Nov 08 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.3-0.1.gitd56434a
|
||||
- Initial package
|
32
changelog
Normal file
32
changelog
Normal file
@ -0,0 +1,32 @@
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 1:1.43.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jan 05 2022 Stephen Gallagher <sgallagh@redhat.com> 1:1.43.0-2
|
||||
- Also remove udp_multicast_join6 test
|
||||
|
||||
* Wed Jan 05 2022 Stephen Gallagher <sgallagh@redhat.com> 1:1.43.0-1
|
||||
- Update to 1.43.0
|
||||
|
||||
* Thu Sep 02 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.42.0-2
|
||||
- Drop use of rpmautospec for the release field
|
||||
|
||||
* Tue Aug 31 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.42.0-1
|
||||
- Update to 1.42.0
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> 1:1.41.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jul 09 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.41.1-1
|
||||
- idna: fix OOB read in punycode decoder
|
||||
|
||||
* Fri Feb 19 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.41.0-2
|
||||
- Update package.cfg for rawhide rename
|
||||
|
||||
* Fri Feb 19 2021 Stephen Gallagher <sgallagh@redhat.com> 1:1.41.0-1
|
||||
- Update to 1.41.0
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> 1:1.40.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jan 05 2021 Tom Stellard <tstellar@redhat.com> 1:1.40.0-2
|
||||
- Add BuildRequires: make
|
22
gating.yaml
Normal file
22
gating.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_testing
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
||||
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
|
||||
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
BIN
keysuv.gpg
Normal file
BIN
keysuv.gpg
Normal file
Binary file not shown.
16
libuv-v1.47.0.tar.gz.sign
Normal file
16
libuv-v1.47.0.tar.gz.sign
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEz7ucqaW+r9cOKzxaeaZ8VaNnnIsFAmVJLkMACgkQeaZ8VaNn
|
||||
nIulpw/+PDclC7vdL8iYxgPIcUrkktfeg2bNLreuh8X18vl+9pkm6L2pyHD5oczm
|
||||
SOuH7l5XWSWUU9TcFH57TMb79e4PQLGQ66+8jNkNb9GDHu4ccKi0Zbke5MXscUsZ
|
||||
EaG4pjpIOcmE0UopVpIh0qfAli3pO31xJzymAh0/Wz8bWwQ415VEpkAJ+N9a1bWa
|
||||
Lztf0VfKNjoT5omSuxJ0xwfbc8msDnivY9fKbaHOWLeUkZ7sZ9CBbVAixCfEvGil
|
||||
81imUmKpNVHjMw1+k0Z7Fw2VrFi7sPh1uOVUuKGImN7ga/tfZscLLNtH+oE3JjIw
|
||||
Kg2qQDM4VU620SsXYywLZEOsuavzadbOK/2PqBNYVsZ1YOToAItaaNaXmLCVEUla
|
||||
7t4Dq9W+aR7dtsgcvbS8hEc7goBvMYYLJ6h+Lf/YCTlkDxaKciDGxTEmGsPikbxk
|
||||
kVjAmW6y1LHiHMw8Ob4DKuv+RMo5oH12ouN8SdSlV8xKyM+Toysv/bwynsC+92Xv
|
||||
3M0EcVbj32c/9At8xfi1eRFXDPNC3Tu6ibh4qch0Jm9sgJIrzEEKmgR+f+uqAg07
|
||||
gHVCQMma+Sch+6sUt8/sM1+2r+Epol0/6L5hsstrnLiUVGIyrTawzq6VJFXmc7vA
|
||||
pxEgUBl/ff2tRS/RlqSNb5YIbIRo0hccuG0qepgMCeahl/UVS/k=
|
||||
=URgL
|
||||
-----END PGP SIGNATURE-----
|
16
libuv-v1.48.0.tar.gz.sign
Normal file
16
libuv-v1.48.0.tar.gz.sign
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEYS8OrZQBYiN530QC8ow8jaM8A74FAmXD5iAACgkQ8ow8jaM8
|
||||
A77Erw/+KSsWKi47qakBDtkjOsUY/PmvX9nPQn1wHvwABWSx/8vNkAjcENbAkEuX
|
||||
U4gM2kqjyoe12tRhvVwriHYbRgIAkjkcRPYM1eAib7RT47fm7nGD3pPFoTylQCxH
|
||||
sk+cJuWKTvEXqzDaUKG9nTx3WXU869Tq4T35a8PD7qTqfKnWIRI/xalyPd4b7RUT
|
||||
/CURuvLrNH2UDwNFk7qF+So07TfABWbqNzdACV4+N+RyyJdy7/ct6LYIwy+ltwB/
|
||||
1R0dGkGyaMN0YFB/5rMLKH5Qy0dHjGV+MOmnEGp/JhPLvJGSHZZr8FXs8q+VUgrB
|
||||
PogI74wWul83mRCFE0JDGPNeuDvDqUPKxcH1OhjVlkC/gwslHgQgui0fz+TKJSHj
|
||||
dTXZu+R8rYULn+wgPCR3ND2xTayFS/AQejmLHPk9dfAGGlZGJOjw8IIMh70tts6V
|
||||
hX3dGybLvKFOGFKZzx1TSJQOB3+tkkjgFPVzDRXm50w5YS2IH7sWoP2KUa4XmdMG
|
||||
ymknB6PE5zhP/HfsfOL5vAcpCYkRb19YvActbfC8/kV+/Rid4r1jIC86HhuzFXYf
|
||||
oCBTKQ5xN7SphhGNMOYPoYKCV8ttHYsuOVs9ZkV9OCTfMVJOy1o8/31YP27G4SDi
|
||||
KrfPD/q1jP1g6qV5NQBDbuzDBgKWGr+YwjPmPR6f3QK4oB0TnLU=
|
||||
=6mql
|
||||
-----END PGP SIGNATURE-----
|
125
libuv.spec
Normal file
125
libuv.spec
Normal file
@ -0,0 +1,125 @@
|
||||
# Run the tests by default on Fedora
|
||||
# Some of the network tests fail on RHEL/CentOS Stream due to the network
|
||||
# configuration on the builders
|
||||
%if 0%{?rhel}
|
||||
%bcond tests 0
|
||||
%else
|
||||
%bcond tests 1
|
||||
%endif
|
||||
|
||||
Name: libuv
|
||||
Epoch: 1
|
||||
Version: 1.48.0
|
||||
Release: %autorelease
|
||||
Summary: Platform layer for node.js
|
||||
|
||||
# Code is MIT
|
||||
# Documentation is CC-BY-4.0
|
||||
# src/inet.c is ISC
|
||||
# include/uv/tree.h is BSD-2-Clause
|
||||
License: MIT AND CC-BY-4.0 AND ISC AND BSD-2-Clause
|
||||
URL: http://libuv.org/
|
||||
Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
||||
Source1: https://dist.libuv.org/dist/v%{version}/%{name}-v%{version}.tar.gz.sign
|
||||
# mkdir temp
|
||||
# gpg --no-default-keyring --keyring temp/keyring.gpg --keyserver keyserver.ubuntu.com \
|
||||
# --recv-keys D77B1E34243FBAF05F8E9CC34F55C8C846AB89B9 \
|
||||
# FDF519364458319FA8233DC9410E5553AE9BC059 94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
|
||||
# 57353E0DBDAAA7E839B66A1AFF47D5E4AD8B4FDC AEAD0A4B686767751A0E4AEF34A25FB128246514 \
|
||||
# CFBB9CA9A5BEAFD70E2B3C5A79A67C55A3679C8B C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C \
|
||||
# 612F0EAD9401622379DF4402F28C3C8DA33C03BE \
|
||||
# && gpg --no-default-keyring --keyring temp/keyring.gpg --output temp/keysuv.gpg --export
|
||||
# cp temp/keysuv.gpg .
|
||||
Source2: keysuv.gpg
|
||||
Source3: libuv.abignore
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gnupg2
|
||||
# Documentation
|
||||
BuildRequires: make
|
||||
BuildRequires: python3-sphinx
|
||||
|
||||
|
||||
%description
|
||||
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on
|
||||
Windows and libev on Unix systems. We intend to eventually contain all platform
|
||||
differences in this library.
|
||||
|
||||
%package devel
|
||||
Summary: Development libraries for libuv
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-static%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
|
||||
%description devel
|
||||
Development libraries for libuv
|
||||
|
||||
%package static
|
||||
Summary: Platform layer for node.js - static library
|
||||
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description static
|
||||
Static library (.a) version of libuv.
|
||||
|
||||
|
||||
%prep
|
||||
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||
%autosetup -n %{name}-v%{version} -p1
|
||||
|
||||
%build
|
||||
%if %{with tests}
|
||||
%cmake -DBUILD_TESTING=ON
|
||||
%else
|
||||
%cmake -DBUILD_TESTING=OFF
|
||||
%endif
|
||||
%cmake_build
|
||||
# Build Documentation
|
||||
cd docs
|
||||
make man
|
||||
cd ..
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
# install documentation
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1/
|
||||
install -p -m 644 docs/build/man/libuv.1 %{buildroot}/%{_mandir}/man1/
|
||||
mkdir -p %{buildroot}%{_libdir}/libuv/
|
||||
install -Dm0644 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3}
|
||||
# Remove packaged license files
|
||||
rm %{buildroot}/%{_docdir}/libuv/LICENSE
|
||||
rm %{buildroot}/%{_docdir}/libuv/LICENSE-extra
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
env UV_TEST_TIMEOUT_MULTIPLIER=10 ./%{__cmake_builddir}/uv_run_tests
|
||||
env UV_TEST_TIMEOUT_MULTIPLIER=10 ./%{__cmake_builddir}/uv_run_tests_a
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
|
||||
%doc ChangeLog
|
||||
%license LICENSE LICENSE-docs LICENSE-extra
|
||||
%{_libdir}/%{name}.so.1
|
||||
%{_libdir}/%{name}.so.1.*
|
||||
%dir %{_libdir}/%{name}
|
||||
%{_libdir}/%{name}/libuv.abignore
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/uv.h
|
||||
%dir %{_includedir}/uv
|
||||
%{_includedir}/uv/*.h
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%dir %{_libdir}/cmake/%{name}
|
||||
%{_libdir}/cmake/%{name}/*.cmake
|
||||
|
||||
%files static
|
||||
%{_libdir}/%{name}.a
|
||||
%{_libdir}/pkgconfig/%{name}-static.pc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
2
package.cfg
Normal file
2
package.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
[koji]
|
||||
targets = rawhide fedora epel7
|
Loading…
Reference in New Issue
Block a user