Files
bpfire/lfs/util-linux
Adolf Belka 9f54f60bb1 util-linux: Update to version 2.38.1
- Update from version 2.38 to 2.38.1
- Update of rootfile not required
- Changelog
   util-linux 2.38.1 Release Notes
	BSD:
	   - Use byteswap.h and endian.h defined macos when present  [Warner Losh]
	column:
	   - fix buffer overflow when -l specified  [Karel Zak]
	   - fix greedy mode on -l  [Karel Zak]
	configure.ac:
	   - add lsns option  [Fabrice Fontaine]
	dmesg:
	   - fix --since and --until  [Karel Zak]
	docs:
	   - update AUTHORS file  [Karel Zak]
	fstrim:
	   - Remove all skipped entries before de-duplication  [Scott Shambarger]
	   - check for ENOSYS when using --quiet-unsupported  [Narthorn]
	hardlink:
	   - Document '-c' option in manpage  [FeRD (Frank Dana)]
	   - Fix man page docs for '-v/--verbose'  [FeRD (Frank Dana)]
	   - Move -c option in --help  [FeRD (Frank Dana)]
	   - require statfs_magic.h only when reflink support enabled  [Karel Zak]
	   - use info rather than warning message  [Karel Zak]
	irqtop:
	   - fix compiler warning [-Werror=format-truncation=]  [Karel Zak]
	   - remove unused variable  [Karel Zak]
	lib/fileutils:
	   - fix compiler warning  [Karel Zak]
	lib/logindefs:
	   - fix compiler warning [-Werror=format-truncation=]  [Karel Zak]
	lib/strutils:
	   - add ul_strchr_escaped()  [Karel Zak]
	libblkid:
	   - (bsd) fix buffer pointer use [fuzzing]  [Karel Zak]
	   - (hfs) fix label use [fuzzing]  [Karel Zak]
	   - (hfs) fix make sure buffer is large enough  [Karel Zak]
	   - (mac) make sure block size is large enough [fuzzing]  [Karel Zak]
	   - (probe) fix size and offset overflows [fuzzing]  [Karel Zak]
	   - (swap) fix magic string memcmp [fuzzing]  [Karel Zak]
	   - simplify 'leaf' detection  [Karel Zak]
	   - update documentation of BLOCK_SIZE tag  [Andrey Albershteyn]
	libfdisk:
	   - (gpt) Add UUID for Marvell Armada 3700 Boot partition  [Pali Rohár]
	   - meson.build fix typo  [Anatoly Pugachev]
	libmount:
	   - fix and improve utab update on MS_MOVE  [Karel Zak]
	   - when moving a mount point, all sub mount entries in utab should also be updated  [Franck Bui]
	libuuid:
	   - (man) uuid_copy() -- add missing parenthesis  [Andrew Price]
	   - improve cache handling  [d032747]
	logger:
	   - make sure structured data are escaped  [Karel Zak]
	loopdev:
	   - set block_size when using LOOP_CONFIGURE  [Hideki EIRAKU]
	losetup:
	   - Fix typo for the --sector-size docs  [Alberto Ruiz]
	lsblk:
	   - fix JSON output when without --bytes  [Karel Zak]
	lscpu:
	   - keep bogomips locale output locale sensitive  [Karel Zak]
	lsfd:
	   - add static modifier to nodev_table  [Masatake YAMATO]
	   - delete __unused__ attribute for an used parameter  [Masatake YAMATO]
	   - fix compiler warning [-Werror=maybe-uninitialized]  [Karel Zak]
	   - fix crash triggered by an empty filter expression  [Masatake YAMATO]
	lsirq:
	   - improve --sort IRQ  [Karel Zak]
	lslogins:
	   - fix free()  invalid pointer  [Karel Zak]
	   - improve prefixes interpretation  [Karel Zak]
	lsns:
	   - (man) add ip-netns to "SEE ALSO" section  [Masatake YAMATO]
	   - improve dependence on NS_GET_ ioctls  [Karel Zak]
	meson:
	   - fix compilation without systemd  [Rosen Penev]
	   - fix when HAVE_CLOCK_GETTIME is set  [Nicolas Caramelli]
	more:
	   - avoid infinite loop on --squeeze  [Karel Zak]
	po:
	   - merge changes  [Karel Zak]
	   - update de.po (from translationproject.org)  [Mario Blättermann]
	   - update hr.po (from translationproject.org)  [Božidar Putanec]
	   - update ja.po (from translationproject.org)  [Takeshi Hamasaki]
	   - update uk.po (from translationproject.org)  [Yuri Chornoivan]
	po-man:
	   - merge changes  [Karel Zak]
	   - update fr.po (from translationproject.org)  [Frédéric Marchal]
	   - update uk.po (from translationproject.org)  [Yuri Chornoivan]
	sfdiks:
	   - (man) fix example  [Karel Zak]
	sulogin:
	   - fix includes  [Karel Zak]
	switch_root:
	   - (man) fix return code description  [Karel Zak]
	taskset:
	   - fix use of  err_affinity()  [csbo98]
	tests:
	   - don't compile lsfd/mkfds helper on macos, since it's linux only  [Anatoly Pugachev]
	   - fdisk/bsd  update expected output for ppc64le  [Chris Hofstaedtler]
	   - fix misc/setarch run in a docker environment  [Anatoly Pugachev]
	   - make libmount tests more portable  [Karel Zak]
	   - report failed tests  [Karel Zak]
	unshare:
	   - Fix "you (user xxxx) don't exist" error when uid differs from primary gid  [Sol Boucher]
	uuidd:
	   - allow AF_INET in systemd service  [Karel Zak]
	   - remove also PrivateNetwork=yes from systemd service  [Karel Zak]
	zramctl:
	   - fix compiler warning [-Werror=maybe-uninitialized]  [Karel Zak]

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-09-12 06:04:54 +00:00

103 lines
3.7 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 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.38.1
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 = a0e86ca62f82adaccc01ad6ec5a058dac429b81c310989cbad136f96c2770c60bbd4287067817520e8e0653146a10f13128e0af32122402bab416e1c2d6680b8
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 \
--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)