sysfsutils: Update to 2.1.1

Message ID 20210719114625.76907-1-adolf.belka@ipfire.org
State Accepted
Commit 79516fed9a36cbb9018d4403d4b66840b827baf8
Headers
Series sysfsutils: Update to 2.1.1 |

Commit Message

Adolf Belka July 19, 2021, 11:46 a.m. UTC
  - Update from 1.3.0 (2005) to 2.1.1 (2021)
- Update rootfile
- version 1.3.0 was from 2005. Version 2.1.0 was from 2006. No other updates have been
   carried out since 2006 until Feb 2021 when the repository was migrated from CVS
   to git. https://github.com/linux-ras/sysfsutils/releases
- Installed iso, that was created from build, into testbed vm system. All menu's opened
   and no issues found. Not 100% sure what to look for as I am not totally clear what
   the library would be used for or by which programs. Probably needs testing by someone
   who lnows what the sysfsutils library is used for.
- Ran find-dependencies on the original library system before build and then on the new
   library system after building and in both cases nothing was flagged up. So it looks
   like no other programs are linked to the library.
- pcmciautils required one of the sysfsutils include files to be available during the
   build. ./configure was modified to allow pcmciautils to find the include file
- Changelog for changes from 2.1.0 to 2.1.1
    Moved to git from CVS repository
    Modernized build system
    Source compiles on latest compilers
    Various bug fixes
    Removed Changelog and NEWS files
    Adjusted COPYING file to reflect set of directories covered under GPLv2
    Added SUSE-specific libsysfs.conf
    Improvements to adopt git workflow
    Integration with Travis-CI
    Updated the documentation
  Special thanks to all the sysfsutils package maintainers.
    Thanks to: Aurelien Jarno, Christopher Engelhard, Guillem Jover,
               Kamalesh Babulal, Lee Duncan, Martin Pitt, Timm Bäder

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/sysfsutils | 22 ++++++----------------
 lfs/sysfsutils                     | 12 ++++++++----
 2 files changed, 14 insertions(+), 20 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/sysfsutils b/config/rootfiles/common/sysfsutils
index 32eca4ed5..b20a8def6 100644
--- a/config/rootfiles/common/sysfsutils
+++ b/config/rootfiles/common/sysfsutils
@@ -1,20 +1,10 @@ 
-#bin/dlist_test
-#bin/get_bus_devices_list
-#bin/get_class_dev
-#bin/get_classdev_parent
-#bin/get_device
-#bin/get_driver
-#bin/systool
-#bin/testlibsysfs
-#bin/write_attr
-#lib/libsysfs.a
 #lib/libsysfs.la
-lib/libsysfs.so
-lib/libsysfs.so.1
-lib/libsysfs.so.1.0.3
-#man
-#man/man1
-#man/man1/systool.1
+#lib/libsysfs.so
+lib/libsysfs.so.2
+lib/libsysfs.so.2.0.1
+#lib/pkgconfig/libsysfs.pc
+#usr/bin/systool
 #usr/include/sysfs
 #usr/include/sysfs/dlist.h
 #usr/include/sysfs/libsysfs.h
+#usr/share/man/man1/systool.1
diff --git a/lfs/sysfsutils b/lfs/sysfsutils
index b177cb322..6c872b16b 100644
--- a/lfs/sysfsutils
+++ b/lfs/sysfsutils
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 1.3.0
+VER        = 2.1.1
 
 THISAPP    = sysfsutils-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -43,7 +43,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = d11c99271531be3c1e6d36b53968cd2b
+$(DL_FILE)_MD5 = 537c110be7244905997262854505c30f
 
 install : $(TARGET)
 
@@ -74,7 +74,11 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
-	cd $(DIR_APP) && ./configure --prefix=""
+	cd $(DIR_APP) && ./autogen
+	cd $(DIR_APP) && ./configure            \
+	                    --prefix=/usr       \
+	                    --libdir=/lib       \
+	                    --disable-static
 	cd $(DIR_APP) && make $(MAKETUNING) \
 		CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
 	cd $(DIR_APP) && make install