Compare commits
121 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
927c175817 | ||
|
001559cc7d | ||
|
a5e543409b | ||
|
575cf2e570 | ||
|
cb44f5394a | ||
|
577c0984c0 | ||
|
56e992fd23 | ||
|
d5135cb889 | ||
|
87709bf299 | ||
|
c06e4c0dc4 | ||
|
98fbdcf94d | ||
|
bebae6e41b | ||
|
2a315bfe18 | ||
|
f16f5e261b | ||
|
89227aca67 | ||
|
6242703a1f | ||
|
e86bf683f8 | ||
|
c085eb9989 | ||
|
c73bc783e7 | ||
|
0c56cb8f89 | ||
|
6d9809a0d3 | ||
|
e27967f8bb | ||
|
5b00abff62 | ||
|
12b9519d18 | ||
|
f0e009738d | ||
|
f9c9eb311d | ||
|
52dc5ce0d8 | ||
|
057525042f | ||
|
d381c0bb14 | ||
|
8a2dc0897d | ||
|
8cf9b98b6e | ||
|
094b512b8b | ||
|
e69c3365b7 | ||
|
4e96673d2a | ||
|
9962252187 | ||
|
4e0fd38464 | ||
|
f5f9b62ae2 | ||
|
10696fa6df | ||
|
ad43a79533 | ||
|
ef0f564516 | ||
|
808a346415 | ||
|
ace4f922b1 | ||
|
f38adb08e9 | ||
|
b94b1e2507 | ||
|
b074c1201f | ||
|
525f58b7b8 | ||
|
acd9fb96b2 | ||
|
6b0145725c | ||
|
e9b975a3cb | ||
|
fa6a5b0954 | ||
|
015b5cfff2 | ||
|
0d9b98ffb1 | ||
|
5ee57c9303 | ||
|
b7f641101d | ||
|
6b4427360e | ||
|
2661dde0c7 | ||
|
0f11115eff | ||
|
88e2d16682 | ||
|
85e73c73b9 | ||
|
148147e8c7 | ||
|
0a7c06682b | ||
|
bd8f350fdf | ||
|
9090083edd | ||
|
c13120ecc8 | ||
|
8607304045 | ||
|
ae48f40c03 | ||
|
fb88410295 | ||
|
4ed3224f96 | ||
|
fc0a3842c2 | ||
|
b3014f39c8 | ||
|
3272700e8a | ||
|
5d0124f2c6 | ||
|
001765b63e | ||
|
95f872a8b9 | ||
|
5726874a1f | ||
|
3ac5933d5f | ||
|
eb814ebd0e | ||
|
85662094ce | ||
|
8d0de776eb | ||
|
0db49aae15 | ||
|
0f1da145a3 | ||
|
ac72681266 | ||
|
179efad453 | ||
|
fb955db110 | ||
|
6c64945e10 | ||
|
1e4c8b65bc | ||
|
7c4c32b5a8 | ||
|
b47ae1758b | ||
|
70776024c9 | ||
|
5c5ea3241c | ||
|
ffd273cbf4 | ||
|
89fc198945 | ||
|
0b450b1d22 | ||
|
4978a9737d | ||
|
85d52456b1 | ||
|
db8ffab1c1 | ||
|
8863afb947 | ||
|
97405e8a34 | ||
|
8ab7a6bac9 | ||
|
13cd0999da | ||
|
f1286fa2cf | ||
|
e66322d227 | ||
|
16d423efa5 | ||
|
a3ad2a8dc5 | ||
|
5df94d415f | ||
|
2775b2c3e9 | ||
|
707d42137e | ||
|
b2afb203cb | ||
|
f4721ef82e | ||
|
f55356b5b5 | ||
|
6f5fa858c2 | ||
|
75195c53de | ||
|
60f775a4ad | ||
|
53e3d17313 | ||
|
a5609aa75b | ||
|
74f2f1d1f2 | ||
|
f9f4c9de32 | ||
|
ea63b34778 | ||
|
751ae29d02 | ||
|
64dd4d5c17 | ||
|
2698b59029 |
53
.gitignore
vendored
53
.gitignore
vendored
@ -1,3 +1,7 @@
|
|||||||
|
*.src.rpm
|
||||||
|
libuv-v*/
|
||||||
|
*~
|
||||||
|
*.swp
|
||||||
/libuv-0.9.3git09b0222.tar.gz
|
/libuv-0.9.3git09b0222.tar.gz
|
||||||
/libuv-0.9.4gitdc559a5.tar.gz
|
/libuv-0.9.4gitdc559a5.tar.gz
|
||||||
/libuv-0.10.0git5462dab.tar.gz
|
/libuv-0.10.0git5462dab.tar.gz
|
||||||
@ -16,7 +20,6 @@
|
|||||||
/libuv-v0.10.18.tar.gz
|
/libuv-v0.10.18.tar.gz
|
||||||
/libuv-v0.10.19.tar.gz
|
/libuv-v0.10.19.tar.gz
|
||||||
/libuv-v0.10.20.tar.gz
|
/libuv-v0.10.20.tar.gz
|
||||||
/libuv.spec
|
|
||||||
/libuv-v0.10.21.tar.gz
|
/libuv-v0.10.21.tar.gz
|
||||||
/libuv-v0.10.23.tar.gz
|
/libuv-v0.10.23.tar.gz
|
||||||
/libuv-v0.10.25.tar.gz
|
/libuv-v0.10.25.tar.gz
|
||||||
@ -33,3 +36,51 @@
|
|||||||
/libuv-v1.10.1.tar.gz
|
/libuv-v1.10.1.tar.gz
|
||||||
/libuv-v1.10.2.tar.gz
|
/libuv-v1.10.2.tar.gz
|
||||||
/libuv-v1.11.0.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
|
||||||
|
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
|
||||||
|
|
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
|
15
gating.yaml
Normal file
15
gating.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- !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}
|
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-----
|
6
libuv.abignore
Normal file
6
libuv.abignore
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[suppress_function]
|
||||||
|
symbol_name_regexp = ^uv__.*
|
||||||
|
|
||||||
|
[suppress_function]
|
||||||
|
symbol_name_regexp = .*
|
||||||
|
change_kind = added-function
|
11
libuv.pc.in
11
libuv.pc.in
@ -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/
|
|
298
libuv.spec
298
libuv.spec
@ -1,18 +1,57 @@
|
|||||||
|
# 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
|
Name: libuv
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.11.0
|
Version: 1.47.0
|
||||||
Release: 1%{?dist}
|
Release: %autorelease
|
||||||
Summary: Platform layer for node.js
|
Summary: Platform layer for node.js
|
||||||
|
|
||||||
# the licensing breakdown is described in detail in the LICENSE file
|
# Code is MIT
|
||||||
License: MIT and BSD and ISC
|
# 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/
|
URL: http://libuv.org/
|
||||||
Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
||||||
Source2: %{name}.pc.in
|
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: autoconf automake libtool
|
# Test fix for IPv6 interfaces with a NULL ifa_addr
|
||||||
|
# https://github.com/libuv/libuv/pull/4218
|
||||||
|
Patch: 0001-unix-ignore-ifaddrs-with-NULL-ifa_addr-4218.patch
|
||||||
|
|
||||||
|
# test: check if ipv6 link-local traffic is routable
|
||||||
|
# https://github.com/libuv/libuv/pull/4220
|
||||||
|
Patch: 0002-test-check-if-ipv6-link-local-traffic-is-routable.patch
|
||||||
|
|
||||||
|
# test: Use unsigned comparison for fs_type
|
||||||
|
# https://github.com/libuv/libuv/pull/4227
|
||||||
|
Patch: 0003-test_fs.c-Fix-issue-on-32-bit-systems-using-btrfs.patch
|
||||||
|
|
||||||
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gnupg2
|
||||||
|
# Documentation
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: python3-sphinx
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on
|
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on
|
||||||
@ -22,238 +61,77 @@ differences in this library.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries for libuv
|
Summary: Development libraries for libuv
|
||||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: %{name}-static%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development libraries for libuv
|
Development libraries for libuv
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
Summary: Platform layer for node.js - static library
|
Summary: Platform layer for node.js - static library
|
||||||
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
|
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description static
|
%description static
|
||||||
Static library (.a) version of libuv.
|
Static library (.a) version of libuv.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-v%{version}
|
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||||
|
%autosetup -n %{name}-v%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
%if %{with tests}
|
||||||
%configure
|
%cmake -DBUILD_TESTING=ON
|
||||||
%make_build
|
%else
|
||||||
|
%cmake -DBUILD_TESTING=OFF
|
||||||
|
%endif
|
||||||
|
%cmake_build
|
||||||
|
# Build Documentation
|
||||||
|
cd docs
|
||||||
|
make man
|
||||||
|
cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%cmake_install
|
||||||
rm -f %{buildroot}%{_libdir}/libuv.la
|
# 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
|
%check
|
||||||
# Tests are currently disabled because some require network access
|
%if %{with tests}
|
||||||
# Working with upstream to split these out
|
env UV_TEST_TIMEOUT_MULTIPLIER=10 ./%{__cmake_builddir}/uv_run_tests
|
||||||
#./run-tests
|
env UV_TEST_TIMEOUT_MULTIPLIER=10 ./%{__cmake_builddir}/uv_run_tests_a
|
||||||
#./run-benchmarks
|
%endif
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
|
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
|
||||||
%doc ChangeLog
|
%doc ChangeLog
|
||||||
%license LICENSE
|
%license LICENSE LICENSE-docs LICENSE-extra
|
||||||
%{_libdir}/%{name}.so.*
|
%{_libdir}/%{name}.so.1
|
||||||
|
%{_libdir}/%{name}.so.1.*
|
||||||
|
%dir %{_libdir}/%{name}
|
||||||
|
%{_libdir}/%{name}/libuv.abignore
|
||||||
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%{_includedir}/uv.h
|
||||||
|
%dir %{_includedir}/uv
|
||||||
|
%{_includedir}/uv/*.h
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
%{_includedir}/uv*.h
|
%dir %{_libdir}/cmake/%{name}
|
||||||
|
%{_libdir}/cmake/%{name}/*.cmake
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%{_libdir}/%{name}.a
|
%{_libdir}/%{name}.a
|
||||||
|
%{_libdir}/pkgconfig/%{name}-static.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Feb 28 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.11.0-1
|
%autochangelog
|
||||||
- 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
|
|
||||||
|
2
package.cfg
Normal file
2
package.cfg
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[koji]
|
||||||
|
targets = rawhide fedora epel7
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libuv-v1.11.0.tar.gz) = 5b56e4c337093c6ddc12f8353b011fba9e57fd84565e279bfc13a7d16d3b6dc01f02fee52a32f38ef630a0f5200fc63f3cc04137af21942422c3dcf535212f02
|
SHA512 (libuv-v1.47.0.tar.gz) = 3fb6db0109dfa49db0e6028f6667ab5245b9707df337134ce6e1e9c9f82d4d686356cad30221094f79e87441e300f3c036a3cf04838d6eb23d4f27b1aaf4da13
|
||||||
|
Loading…
Reference in New Issue
Block a user