Skip to contentSkip to conversation

package/numactl: use official license files

PATCH Applied Fabrice Fontaine 3 participants 5 messages Oct 29, 2022 – Nov 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/numactl: use official license files

Use official license files available since version 2.0.13 and
https://github.com/numactl/numactl/commit/b4d36f6a34b045a67ed5c0314ec26f5514f4ee44

---
 package/numactl/numactl.hash | 3 ++-
 package/numactl/numactl.mk   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
package/numactl/numactl.hash +2 -1
index 802175d360..a261eab9d0 100644
@@ -1,3 +1,4 @@
 # Locally calculated
 sha256  1ee27abd07ff6ba140aaf9bc6379b37825e54496e01d6f7343330cf1a4487035  numactl-2.0.14.tar.gz
-sha256  e2b738b1303c088421b09933a78c1326fe43692e2c05a7c510a2eb7e7a8eb575  README.md
+sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  LICENSE.GPL2
+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSE.LGPL2.1
package/numactl/numactl.mk +1 -1
index cf9c759693..6ff94091e9 100644
@@ -7,7 +7,7 @@
 NUMACTL_VERSION = 2.0.14
 NUMACTL_SITE = $(call github,numactl,numactl,v$(NUMACTL_VERSION))
 NUMACTL_LICENSE = LGPL-2.1 (libnuma), GPL-2.0 (programs)
-NUMACTL_LICENSE_FILES = README.md
+NUMACTL_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
 NUMACTL_INSTALL_STAGING = YES
 NUMACTL_AUTORECONF = YES
 NUMACTL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC"
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/numactl: bump to version 2.0.16

- Drop patches (already in version)
- Use official tarball and so drop autoreconf

https://github.com/numactl/numactl/releases/tag/v2.0.15
https://github.com/numactl/numactl/releases/tag/v2.0.16

---
 ...0001-Do-not-stringify-SYMVER-symbols.patch | 25 ---------
 .../0002-link-with-latomic-if-needed.patch    | 52 -------------------
 package/numactl/numactl.hash                  |  2 +-
 package/numactl/numactl.mk                    |  6 +--
 4 files changed, 4 insertions(+), 81 deletions(-)
 delete mode 100644 package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch
 delete mode 100644 package/numactl/0002-link-with-latomic-if-needed.patch
package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch deleted +0 -25
deleted file mode 100644
index c6981aaf73..0000000000
@@ -1,25 +0,0 @@
-From f96c96af7fbf2779b15f66f03b10315a24fb4f5a Mon Sep 17 00:00:00 2001
-From: Scott McMillan <[email protected]>
-Date: Fri, 9 Oct 2020 08:56:52 -0500
-Subject: [PATCH] Do not stringify SYMVER symbols
-
-Upstream: f96c96af7fbf2779b15f66f03b10315a24fb4f5a
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- util.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/util.h b/util.h
-index 99ada33..f2a20ac 100644
---- a/util.h
-+++ b/util.h
-@@ -22,5 +22,5 @@ extern char *policy_name(int policy);
- #if HAVE_ATTRIBUTE_SYMVER
- #define SYMVER(a,b) __attribute__ ((symver (b)))
- #else
--#define SYMVER(a,b) __asm__ (".symver " #a "," #b);
-+#define SYMVER(a,b) __asm__ (".symver " a "," b);
- #endif
--- 
-2.30.2
-
package/numactl/0002-link-with-latomic-if-needed.patch deleted +0 -52

52 lines not on this page · raw message

package/numactl/numactl.hash +1 -1
index a261eab9d0..757001b750 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  1ee27abd07ff6ba140aaf9bc6379b37825e54496e01d6f7343330cf1a4487035  numactl-2.0.14.tar.gz
+sha256  1b242f893af977a1d31af6ce9d6b8dafdd2d8ec3dc9207f7c2dc0d3446e7c7c8  numactl-2.0.16.tar.gz
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  LICENSE.GPL2
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSE.LGPL2.1
package/numactl/numactl.mk +3 -3
index 6ff94091e9..b2f349255f 100644
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-NUMACTL_VERSION = 2.0.14
-NUMACTL_SITE = $(call github,numactl,numactl,v$(NUMACTL_VERSION))
+NUMACTL_VERSION = 2.0.16
+NUMACTL_SITE = \
+	https://github.com/numactl/numactl/releases/download/v$(NUMACTL_VERSION)
 NUMACTL_LICENSE = LGPL-2.1 (libnuma), GPL-2.0 (programs)
 NUMACTL_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
 NUMACTL_INSTALL_STAGING = YES
-NUMACTL_AUTORECONF = YES
 NUMACTL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC"
 
 $(eval $(autotools-package))
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/2] package/numactl: bump to version 2.0.16

Fabrice, All,

On 2022-10-29 10:44 +0200, Fabrice Fontaine spake thusly:

Quoted 7 lines

- Drop patches (already in version)
- Use official tarball and so drop autoreconf

https://github.com/numactl/numactl/releases/tag/v2.0.15
https://github.com/numactl/numactl/releases/tag/v2.0.16

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 135 lines
---
 ...0001-Do-not-stringify-SYMVER-symbols.patch | 25 ---------
 .../0002-link-with-latomic-if-needed.patch    | 52 -------------------
 package/numactl/numactl.hash                  |  2 +-
 package/numactl/numactl.mk                    |  6 +--
 4 files changed, 4 insertions(+), 81 deletions(-)
 delete mode 100644 package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch
 delete mode 100644 package/numactl/0002-link-with-latomic-if-needed.patch
package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch deleted +0 -25
deleted file mode 100644
index c6981aaf73..0000000000
@@ -1,25 +0,0 @@
-From f96c96af7fbf2779b15f66f03b10315a24fb4f5a Mon Sep 17 00:00:00 2001
-From: Scott McMillan <[email protected]>
-Date: Fri, 9 Oct 2020 08:56:52 -0500
-Subject: [PATCH] Do not stringify SYMVER symbols
-
-Upstream: f96c96af7fbf2779b15f66f03b10315a24fb4f5a
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- util.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/util.h b/util.h
-index 99ada33..f2a20ac 100644
---- a/util.h
-+++ b/util.h
-@@ -22,5 +22,5 @@ extern char *policy_name(int policy);
- #if HAVE_ATTRIBUTE_SYMVER
- #define SYMVER(a,b) __attribute__ ((symver (b)))
- #else
--#define SYMVER(a,b) __asm__ (".symver " #a "," #b);
-+#define SYMVER(a,b) __asm__ (".symver " a "," b);
- #endif
--- 
-2.30.2
-
package/numactl/0002-link-with-latomic-if-needed.patch deleted +0 -52
deleted file mode 100644
index 6dff0cb233..0000000000
@@ -1,52 +0,0 @@
-From e0de0d9e981ddb53bdeb4a4b9dc43046c9ff4ff9 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Thu, 6 May 2021 23:08:36 +0200
-Subject: [PATCH] link with -latomic if needed
-
-numactl unconditionally uses __atomic_fetch_and but some architectures
-(e.g. sparc) needs to link with -latomic to be able to use it. So check
-if -latomic is needed and update numa.pc accordingly
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Retrieved from:
-https://github.com/numactl/numactl/commit/e0de0d9e981ddb53bdeb4a4b9dc43046c9ff4ff9]
----
- Makefile.am  | 1 +
- configure.ac | 2 ++
- numa.pc.in   | 1 +
- 3 files changed, 4 insertions(+)
-
-diff --git a/Makefile.am b/Makefile.am
-index 44d0d76..34f6815 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -151,6 +151,7 @@ SED_PROCESS = \
-         -e 's,@exec_prefix\@,$(exec_prefix),g' \
-         -e 's,@libdir\@,$(libdir),g' \
-         -e 's,@includedir\@,$(includedir),g' \
-+        -e 's,@LIBS\@,$(LIBS),g' \
-         < $< > $@ || rm $@
- 
- %.pc: %.pc.in Makefile
-diff --git a/configure.ac b/configure.ac
-index 659a765..e3b0eb3 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -24,6 +24,8 @@ AM_CONDITIONAL([HAVE_TREE_VECTORIZE], [test x"${tree_vectorize}" = x"true"])
- 
- AC_CONFIG_FILES([Makefile])
- 
-+AC_SEARCH_LIBS([__atomic_fetch_and_1], [atomic])
-+
- # GCC tries to be "helpful" and only issue a warning for unrecognized
- # attributes.  So we compile the test with Werror, so that if the
- # attribute is not recognized the compilation fails
-diff --git a/numa.pc.in b/numa.pc.in
-index 8a0f202..cc04d50 100644
---- a/numa.pc.in
-+++ b/numa.pc.in
-@@ -8,3 +8,4 @@ Description: NUMA policy library
- Version: @VERSION@
- Cflags: -I${includedir}
- Libs: -L${libdir} -lnuma
-+Libs.Private: @LIBS@
package/numactl/numactl.hash +1 -1
index a261eab9d0..757001b750 100644
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  1ee27abd07ff6ba140aaf9bc6379b37825e54496e01d6f7343330cf1a4487035  numactl-2.0.14.tar.gz
+sha256  1b242f893af977a1d31af6ce9d6b8dafdd2d8ec3dc9207f7c2dc0d3446e7c7c8  numactl-2.0.16.tar.gz
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  LICENSE.GPL2
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSE.LGPL2.1
package/numactl/numactl.mk +3 -3
index 6ff94091e9..b2f349255f 100644
@@ -4,12 +4,12 @@
 #
 ################################################################################
 
-NUMACTL_VERSION = 2.0.14
-NUMACTL_SITE = $(call github,numactl,numactl,v$(NUMACTL_VERSION))
+NUMACTL_VERSION = 2.0.16
+NUMACTL_SITE = \
+	https://github.com/numactl/numactl/releases/download/v$(NUMACTL_VERSION)
 NUMACTL_LICENSE = LGPL-2.1 (libnuma), GPL-2.0 (programs)
 NUMACTL_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
 NUMACTL_INSTALL_STAGING = YES
-NUMACTL_AUTORECONF = YES
 NUMACTL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC"
 
 $(eval $(autotools-package))
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to Fabrice Fontaine

Fabrice, All,

On 2022-10-29 10:44 +0200, Fabrice Fontaine spake thusly:

Quoted 4 lines

Use official license files available since version 2.0.13 and
https://github.com/numactl/numactl/commit/b4d36f6a34b045a67ed5c0314ec26f5514f4ee44

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 35 lines
---
 package/numactl/numactl.hash | 3 ++-
 package/numactl/numactl.mk   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
package/numactl/numactl.hash +2 -1
index 802175d360..a261eab9d0 100644
@@ -1,3 +1,4 @@
 # Locally calculated
 sha256  1ee27abd07ff6ba140aaf9bc6379b37825e54496e01d6f7343330cf1a4487035  numactl-2.0.14.tar.gz
-sha256  e2b738b1303c088421b09933a78c1326fe43692e2c05a7c510a2eb7e7a8eb575  README.md
+sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  LICENSE.GPL2
+sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSE.LGPL2.1
package/numactl/numactl.mk +1 -1
index cf9c759693..6ff94091e9 100644
@@ -7,7 +7,7 @@
 NUMACTL_VERSION = 2.0.14
 NUMACTL_SITE = $(call github,numactl,numactl,v$(NUMACTL_VERSION))
 NUMACTL_LICENSE = LGPL-2.1 (libnuma), GPL-2.0 (programs)
-NUMACTL_LICENSE_FILES = README.md
+NUMACTL_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
 NUMACTL_INSTALL_STAGING = YES
 NUMACTL_AUTORECONF = YES
 NUMACTL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC"
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Use official license files available since version 2.0.13 and
https://github.com/numactl/numactl/commit/b4d36f6a34b045a67ed5c0314ec26f5514f4ee44

Committed to 2022.08.x and 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot