Files
bpfire/lfs/sysfsutils
Adolf Belka 79516fed9a sysfsutils: Update to 2.1.1
- 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>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:42:10 +00:00

87 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# 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 #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 2.1.1
THISAPP = sysfsutils-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
CFLAGS += -fcommon
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 537c110be7244905997262854505c30f
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
md5 : $(subst %,%_MD5,$(objects))
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
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
@rm -rf $(DIR_APP)
@$(POSTBUILD)