Files
bpfire/lfs/util-linux
Adolf Belka ce757b5578 util-linux: Update to version 2.40.2
- Update from version 2.40.1 to 2.40.2
- Update of rootfiles not required.
- Changelog
    2.40.2
	autotools:
	   - Properly order install dependencies of pam_lastlog2  [Thomas Weißschuh]
	   - make pam install path configurable  [Thomas Weißschuh]
	bash-completion:
	   - add logger --sd-* completions  [Ville Skyttä]
	build-sys:
	   - _PATH_VENDORDIR workaround  [Karel Zak]
	cfdisk:
	   - fix possible integer overflow [coverity scan]  [Karel Zak]
	docs:
	   - update AUTHORS file  [Karel Zak]
	include/pidfd-utils:
	   - provide ENOSYS stubs if pidfd functions are missing  [Thomas Weißschuh]
	   - remove hardcoded syscall fallback  [Karel Zak]
	lib/buffer:
	   - introduce ul_buffer_get_string()  [Thomas Weißschuh]
	lib/fileutils:
	   - add ul_basename()  [Karel Zak]
	lib/path:
	   - Fix ul_path_read_buffer() [Daan De Meyer]
	lib/sysfs:
	   - abort device hierarchy walk at root of sysfs  [Thomas Weißschuh]
	   - zero-terminate result of sysfs_blkdev_get_devchain()  [Thomas Weißschuh]
	libmount:
	   - fix syscall save function  [Karel Zak]
	   - fix tree FD usage in subdir hook  [Karel Zak]
	   - improving robustness in reading kernel messages  [Karel Zak]
	   - add pidfs to pseudo fs list  [Mike Yuan]
	libsmartcols:
	   - fix reduction stages use  [Karel Zak]
	   - ensure filter-scanner/paser.c file is newer than the .h file  [Chen Qi]
	libuuid:
	   - clear uuidd cache on fork()  [Thomas Weißschuh]
	   - drop check for HAVE_TLS  [Thomas Weißschuh]
	   - drop duplicate assignment liuuid_la_LDFLAGS  [Karel Zak]
	   - split uuidd cache into dedicated struct  [Thomas Weißschuh]
	   - Conditionally add uuid_time64 to sym. version map [Nicholas Vinson]
	lscpu:
	   - New Arm Cortex part numbers  [Jeremy Linton]
	lsfd:
	   - Refactor the pidfd logic into lsfd-pidfd.c  [Xi Ruoyao]
	   - Support pidfs  [Xi Ruoyao]
	   - test  Adapt test cases for pidfs  [Xi Ruoyao]
	meson:
	   - Correctly require the Python.h header for the python dependency  [Jordan Williams]
	   - Fix build-python option  [Jordan Williams]
	   - Only require Python module when building pylibmount  [Jordan Williams]
	misc-utils:
	   - uuidd  Use ul_sig_err instead of errx  [Cristian Rodríguez]
	mkswap.8.adoc:
	   - update note regarding swapfile creation  [Mike Yuan]
	po:
	   - merge changes  [Karel Zak]
	   - update es.po (from translationproject.org)  [Antonio Ceballos Roa]
	   - update ja.po (from translationproject.org)  [Hideki Yoshida]
	po-man:
	   - merge changes  [Karel Zak]
	rename:
	   - use ul_basename()  [Karel Zak]
	sys-utils/setpgid:
	   - make -f work  [Emanuele Torre]
	wdctl:
	   - always query device node when sysfs is unavailable  [Thomas Weißschuh]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-07-22 15:21:21 +00:00

104 lines
3.7 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 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.40.2
THISAPP = util-linux-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = util-linux
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 8306d651f27db6665e91a937c9f1970938fec5b069636fea3c2688afddebd1a3424f0b0802a034eab049cf7692dd435cf93e82aa5f4a40cc8064d60b4ca59535
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && ./configure \
--docdir=/usr/share/doc/util-linux \
--disable-chfn-chsh \
--disable-static \
--disable-nls \
--disable-static \
--disable-login \
--disable-nologin \
--disable-su \
--disable-setpriv \
--disable-runuser \
--disable-pylibmount \
--disable-liblastlog2 \
--enable-pg \
--enable-hardlink \
--without-python \
--without-systemd \
--without-systemdsystemunitdir \
runstatdir=/run
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
# Install fstrim cronjob
mkdir -p /etc/fcron.daily
install -m 0755 $(DIR_SRC)/config/fstrim/trim /etc/fcron.daily/trim
@rm -rf $(DIR_APP)
@$(POSTBUILD)