diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-06-20 13:34:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-21 18:38:25 +0100 |
commit | cec6d2af490dc5f4fafc0effd5fb04487185d5b5 (patch) | |
tree | ab9ea48e3be945722cfbf5f579b45079adb2544d /meta | |
parent | 81b14b4d8554c25af03e67bbca3f61931b73a131 (diff) | |
download | poky-cec6d2af490dc5f4fafc0effd5fb04487185d5b5.tar.gz |
sysfsutils: update 2.1.0 -> 2.1.1
Drop all patches, as issues are all fixed upstream.
License-Update: clarification that GPL applies to all executables
(not just test), formatting.
(From OE-Core rev: bb073380310332325bb02bcda0d8e3a9e31610d3)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/sysfsutils/sysfsutils-2.1.0/obsolete_automake_macros.patch | 15 | ||||
-rw-r--r-- | meta/recipes-core/sysfsutils/sysfsutils-2.1.0/separatebuild.patch | 65 | ||||
-rw-r--r-- | meta/recipes-core/sysfsutils/sysfsutils-2.1.0/sysfsutils-2.0.0-class-dup.patch | 23 | ||||
-rw-r--r-- | meta/recipes-core/sysfsutils/sysfsutils_2.1.1.bb (renamed from meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb) | 14 |
4 files changed, 5 insertions, 112 deletions
diff --git a/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/obsolete_automake_macros.patch b/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/obsolete_automake_macros.patch deleted file mode 100644 index 9d828d7026..0000000000 --- a/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/obsolete_automake_macros.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | Upstream-Status: Submitted [http://sourceforge.net/tracker/?func=detail&aid=3600345&group_id=44427&atid=439544] | ||
2 | |||
3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
4 | diff -Nurd sysfsutils-2.1.0/configure.ac sysfsutils-2.1.0/configure.ac | ||
5 | --- sysfsutils-2.1.0/configure.ac 2006-08-07 08:08:00.000000000 +0300 | ||
6 | +++ sysfsutils-2.1.0/configure.ac 2013-01-11 08:13:08.651550634 +0200 | ||
7 | @@ -2,7 +2,7 @@ | ||
8 | AC_INIT(sysfsutils, 2.1.0, linux-diag-devel@lists.sourceforge.net) | ||
9 | AM_INIT_AUTOMAKE | ||
10 | AC_CONFIG_SRCDIR([config.h.in]) | ||
11 | -AM_CONFIG_HEADER([config.h]) | ||
12 | +AC_CONFIG_HEADERS([config.h]) | ||
13 | |||
14 | # Checks for KLIBC support (should be before AC_PROG_LIBTOOL and AC_PROG_CC) | ||
15 | AC_CHECK_KLIBC | ||
diff --git a/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/separatebuild.patch b/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/separatebuild.patch deleted file mode 100644 index 82e725e2ac..0000000000 --- a/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/separatebuild.patch +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Fix out of tree build issues so ${B} != ${S} works. | ||
4 | |||
5 | RP 2013/03/18 | ||
6 | |||
7 | Index: sysfsutils-2.1.0/cmd/Makefile.am | ||
8 | =================================================================== | ||
9 | --- sysfsutils-2.1.0.orig/cmd/Makefile.am 2013-03-08 08:57:27.224556508 +0000 | ||
10 | +++ sysfsutils-2.1.0/cmd/Makefile.am 2013-03-08 08:57:27.480556502 +0000 | ||
11 | @@ -1,6 +1,6 @@ | ||
12 | bin_PROGRAMS = systool | ||
13 | systool_SOURCES = systool.c names.c names.h | ||
14 | -INCLUDES = -I../include | ||
15 | +INCLUDES = -I$(srcdir)/../include | ||
16 | LDADD = ../lib/libsysfs.la | ||
17 | EXTRA_CFLAGS = @EXTRA_CFLAGS@ | ||
18 | AM_CFLAGS = -Wall -W -Wstrict-prototypes $(EXTRA_CFLAGS) | ||
19 | Index: sysfsutils-2.1.0/lib/Makefile.am | ||
20 | =================================================================== | ||
21 | --- sysfsutils-2.1.0.orig/lib/Makefile.am 2013-03-08 08:57:27.224556508 +0000 | ||
22 | +++ sysfsutils-2.1.0/lib/Makefile.am 2013-03-08 08:57:27.480556502 +0000 | ||
23 | @@ -1,7 +1,7 @@ | ||
24 | lib_LTLIBRARIES = libsysfs.la | ||
25 | libsysfs_la_SOURCES = sysfs_utils.c sysfs_attr.c sysfs_class.c dlist.c \ | ||
26 | sysfs_device.c sysfs_driver.c sysfs_bus.c sysfs_module.c sysfs.h | ||
27 | -INCLUDES = -I../include | ||
28 | +INCLUDES = -I$(srcdir)/../include | ||
29 | libsysfs_la_LDFLAGS = -version-info 2:1:0 | ||
30 | EXTRA_CFLAGS = @EXTRA_CLFAGS@ | ||
31 | libsysfs_la_CFLAGS = -Wall -W -Wstrict-prototypes $(EXTRA_CLFAGS) | ||
32 | Index: sysfsutils-2.1.0/test/Makefile.am | ||
33 | =================================================================== | ||
34 | --- sysfsutils-2.1.0.orig/test/Makefile.am 2013-03-08 08:57:27.224556508 +0000 | ||
35 | +++ sysfsutils-2.1.0/test/Makefile.am 2013-03-08 09:06:48.196543326 +0000 | ||
36 | @@ -2,14 +2,14 @@ | ||
37 | BUILT_SOURCES = test.h | ||
38 | CLEANFILES = test.h | ||
39 | test.h: | ||
40 | - ./create-test | ||
41 | + $(srcdir)/create-test $(srcdir)/libsysfs.conf | ||
42 | get_device_SOURCES = get_device.c | ||
43 | get_driver_SOURCES = get_driver.c | ||
44 | get_module_SOURCES = get_module.c | ||
45 | testlibsysfs_SOURCES = test.c test_attr.c test_bus.c test_class.c \ | ||
46 | test_device.c test_driver.c test_module.c test_utils.c \ | ||
47 | testout.c test-defs.h libsysfs.conf create-test | ||
48 | -INCLUDES = -I../include | ||
49 | +INCLUDES = -I$(srcdir)/../include | ||
50 | LDADD = ../lib/libsysfs.la | ||
51 | EXTRA_CFLAGS = @EXTRA_CLFAGS@ | ||
52 | AM_CFLAGS = -Wall -W -Wstrict-prototypes $(EXTRA_CLFAGS) | ||
53 | Index: sysfsutils-2.1.0/test/create-test | ||
54 | =================================================================== | ||
55 | --- sysfsutils-2.1.0.orig/test/create-test 2005-11-28 10:22:10.000000000 +0000 | ||
56 | +++ sysfsutils-2.1.0/test/create-test 2013-03-08 09:07:03.372542838 +0000 | ||
57 | @@ -2,7 +2,7 @@ | ||
58 | |||
59 | rm -f test.h | ||
60 | |||
61 | -conf_file=./libsysfs.conf | ||
62 | +conf_file=$1 | ||
63 | |||
64 | . $conf_file | ||
65 | |||
diff --git a/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/sysfsutils-2.0.0-class-dup.patch b/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/sysfsutils-2.0.0-class-dup.patch deleted file mode 100644 index 1a35b7897a..0000000000 --- a/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/sysfsutils-2.0.0-class-dup.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Upstream-Status: Backport [from fedora core 9] | ||
2 | |||
3 | This patch is from the Fedora Core 9 sysfsutils-2.1.0-3.fc9 package. | ||
4 | |||
5 | It fixes a problem in the upstream package where not all devices | ||
6 | will be returned by the function. | ||
7 | |||
8 | The package License indicates this is GPLv2 licensed. | ||
9 | |||
10 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
11 | |||
12 | diff -puN lib/sysfs_class.c~sysfsutils_class_dup lib/sysfs_class.c | ||
13 | --- sysfsutils-2.1.0/lib/sysfs_class.c~sysfsutils_class_dup 2006-09-07 17:01:26.000000000 -0500 | ||
14 | +++ sysfsutils-2.1.0-bjking1/lib/sysfs_class.c 2006-09-07 17:01:26.000000000 -0500 | ||
15 | @@ -66,7 +66,7 @@ static int cdev_name_equal(void *a, void | ||
16 | return 0; | ||
17 | |||
18 | if (strncmp((char *)a, ((struct sysfs_class_device *)b)->name, | ||
19 | - strlen((char *)a)) == 0) | ||
20 | + SYSFS_NAME_LEN) == 0) | ||
21 | return 1; | ||
22 | |||
23 | return 0; | ||
diff --git a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb b/meta/recipes-core/sysfsutils/sysfsutils_2.1.1.bb index fd72cf4165..64a6cc26d3 100644 --- a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb +++ b/meta/recipes-core/sysfsutils/sysfsutils_2.1.1.bb | |||
@@ -5,17 +5,13 @@ HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html" | |||
5 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" | 5 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" |
6 | LICENSE:${PN} = "GPL-2.0-only" | 6 | LICENSE:${PN} = "GPL-2.0-only" |
7 | LICENSE:libsysfs = "LGPL-2.1-only" | 7 | LICENSE:libsysfs = "LGPL-2.1-only" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \ | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=dcc19fa9307a50017fca61423a7d9754 \ |
9 | file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \ | 9 | file://cmd/GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
10 | file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e" | 10 | file://lib/LGPL;md5=4fbd65380cdd255951079008b364516c" |
11 | PR = "r5" | ||
12 | 11 | ||
13 | SRC_URI = "git://github.com/linux-ras/sysfsutils.git;protocol=https;branch=master \ | 12 | SRC_URI = "git://github.com/linux-ras/sysfsutils.git;protocol=https;branch=master" |
14 | file://sysfsutils-2.0.0-class-dup.patch \ | ||
15 | file://obsolete_automake_macros.patch \ | ||
16 | file://separatebuild.patch" | ||
17 | 13 | ||
18 | SRCREV = "0d5456e1c9d969cdad6accef2ae2d4881d5db085" | 14 | SRCREV = "da2f1f8500c0af6663a56ce2bff07f67e60a92e0" |
19 | 15 | ||
20 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
21 | 17 | ||