Files
bpfire/lfs/util-linux
Adolf Belka f34350d3c1 util-linux: Update to version 2.40.1
- Update from version 2.39.3 to 2.40.1
- Update of rootfile
- liblastlog2 is enabled by default and requires sqlite3. Added --disable-liblastlog2
   to configure
- Changelog
    2.40.1
	README.licensing/flock:
	   - Add MIT license mention  [Richard Purdie]
	agetty:
	   - Don't override TERM passed by the user  [Daan De Meyer]
	   - fix resource leak  [Karel Zak]
	   - make reload code more robust  [Karel Zak]
	all_syscalls:
	   - don't hardcode AWK invocation  [Thomas Weißschuh]
	   - don't warn during cleanup  [Thomas Weißschuh]
	   - fail if any step fails  [Thomas Weißschuh]
	   - use sed to extract defines from headers  [Thomas Weißschuh]
	autotools:
	   - distribute pam_lastlog2/meson.build  [Thomas Weißschuh]
	bcachefs:
	   - Remove BCACHEFS_SB_MAX_SIZE & check  [Tony Asleson]
	build-sys:
	   - release++ (v2.40.1-rc1)  [Karel Zak]
	cal:
	   - use unsigned int to follow union with unsigned int  [Karel Zak]
	docs:
	   - add COPYING.MIT  [Karel Zak]
	   - fix GPL name typo  [Karel Zak]
	   - update AUTHORS file  [Karel Zak]
	   - update v2.40.1-ReleaseNotes  [Karel Zak]
	findmnt:
	   - always zero-terminate SOURCES data  [Thomas Weißschuh]
	   - revise the code for -I and -D option  [Masatake YAMATO]
	fsck.minix:
	   - fix possible overrun  [Karel Zak]
	getopt:
	   - remove free-before-exit  [Karel Zak]
	hwclock:
	   - free temporary variable before return  [Karel Zak]
	   - initialize parser variables  [Karel Zak]
	lastlog2:
	   - begin descriptions of options with a lowercase letter  [Benno Schulenberg]
	lib/pager:
	libblkid:
	   - Fix segfault when blkid.conf doesn't exist  [Karel Zak]
	   - topology/ioctl  correctly handle kernel types  [Thomas Weißschuh]
	   - topology/ioctl  simplify ioctl handling  [Thomas Weißschuh]
	libfdisk:
	   - add initializer to geometry  [Karel Zak]
	libmount:
	   - Fix access check for utab in context  [Karel Zak]
	   - fix comment typo for mnt_fs_get_comment()  [Tianjia Zhang]
	   - fix possible memory leak  [Karel Zak]
	   - fix umount --read-only  [Karel Zak]
	libsmartcols:
	   - fix column reduction  [Karel Zak]
	   - reset wrap after calculation  [Karel Zak]
	libuuid:
	   - (man) fix function declarations  [CismonX]
	losetup:
	   - losetup.8 Clarify --direct-io  [Colin Walters]
	lsblk:
	   - simplify SOURCES code  [Karel Zak]
	lsclocks:
	   - fix FD leak  [Karel Zak]
	lsfd:
	   - (man) fix license name  [Jakub Wilk]
	   - add LSFD_DEBUG env var for debugging  [Masatake YAMATO]
	lslocks:
	   - don't abort gathering per-process information even if opening a /proc/[0-9]* fails  [Masatake YAMATO]
	   - remove a unused local variable  [Masatake YAMATO]
	lsns:
	   - fix netns use  [Karel Zak]
	   - report with warnx if a namespace related ioctl fails with ENOSYS  [Masatake YAMATO]
	   - tolerate lsns_ioctl(fd, NS_GET_{PARENT,USERNS}) failing with ENOSYS  [Masatake YAMATO]
	meson:
	   - Add build-blkdiscard option  [Jordan Williams]
	   - Add build-blkpr option  [Jordan Williams]
	   - Add build-blkzone option  [Jordan Williams]
	   - Add build-blockdev option  [Jordan Williams]
	   - Add build-chcpu option  [Jordan Williams]
	   - Add build-dmesg option  [Jordan Williams]
	   - Add build-enosys option  [Jordan Williams]
	   - Add build-fadvise option  [Jordan Williams]
	   - Add build-fsfreeze option  [Jordan Williams]
	   - Add build-ipcmk option  [Jordan Williams]
	   - Add build-ldattach option  [Jordan Williams]
	   - Add build-lsclocks option  [Jordan Williams]
	   - Add build-lsfd option and make rt dependency optional  [Jordan Williams]
	   - Add build-rtcwake option  [Jordan Williams]
	   - Add build-script option  [Jordan Williams]
	   - Add build-scriptlive option  [Jordan Williams]
	   - Add build-setarch option  [Jordan Williams]
	   - Add have_pty variable to check if pty is available  [Jordan Williams]
	   - Add missing check for build-ipcrm option  [Jordan Williams]
	   - Define _DARWIN_C_SOURCE on macOS as is done in Autotools  [Jordan Williams]
	   - Don't define HAVE_ENVIRON_DECL when environ is unavailable  [Jordan Williams]
	   - Fix build by default and install behavior for build-pipesz option  [Jordan Williams]
	   - Fix false positive detection of mempcpy on macOS  [Jordan Williams]
	   - Only build libmount when required  [Jordan Williams]
	   - Only pick up the rt library once  [Jordan Williams]
	   - Only require the crypt library when necessary  [Jordan Williams]
	   - Only use the --version-script linker flag where it is supported  [Jordan Williams]
	   - Remove libblkid dependency on libmount  [Jordan Williams]
	   - Remove lingering mq_libs variable  [Jordan Williams]
	   - Require pty for the su and runuser executables  [Jordan Williams]
	   - Require the seminfo type for ipcmk, ipcrm, and ipcs  [Jordan Williams]
	   - Use has_type instead of sizeof to detect cpu_set_t type  [Jordan Williams]
	   - Use libblkid as a dependency  [Jordan Williams]
	   - Use libmount as a dependency  [Jordan Williams]
	   - respect c_args/CFLAGS when generating syscalls  [Karel Zak]
	pam_lastlog2:
	   - link against liblastlog  [Thomas Weißschuh]
	po:
	   - merge changes  [Karel Zak]
	   - update cs.po (from translationproject.org)  [Petr Písař]
	   - update fr.po (from translationproject.org)  [Frédéric Marchal]
	   - update hr.po (from translationproject.org)  [Božidar Putanec]
	   - update ja.po (from translationproject.org)  [Takeshi Hamasaki]
	   - update ko.po (from translationproject.org)  [Seong-ho Cho]
	   - update pl.po (from translationproject.org)  [Jakub Bogusz]
	   - update ro.po (from translationproject.org)  [Remus-Gabriel Chelu]
	   - update uk.po (from translationproject.org)  [Yuri Chornoivan]
	po-man:
	   - merge changes  [Karel Zak]
	   - update de.po (from translationproject.org)  [Mario Blättermann]
	   - update ko.po (from translationproject.org)  [Seong-ho Cho]
	   - update ro.po (from translationproject.org)  [Remus-Gabriel Chelu]
	strutils.h:
	   - Include strings.h header for strncasecmp function  [Jordan Williams]
	tests:
	   - (lsfd  mkfds-multiplexing) skip if /proc/$pid/syscall is broken  [Masatake YAMATO]
	   - (lsns  ioctl_ns) add more debug print  [Masatake YAMATO]
	   - (lsns  ioctl_ns) record stdout/stderr for debugging the case  [Masatake YAMATO]
	   - (test_mkfds  sockdiag) verify the recieved message to detect whether the socket is usable or not  [Masatake YAMATO]
	textual:
	   - fix some typos and inconsistencies in usage and error messages  [Benno Schulenberg]
	wall:
	   - check sysconf() returnvalue  [Karel Zak]
	   - fix possible memory leak  [Karel Zak]
	   - make sure unsigned variable not underflow  [Karel Zak]
	xalloc.h:
	   - Include stdio.h header for vasprintf function  [Jordan Williams]
    2.40
	The log is quite large. Details can be seen by viewing the v.2.40-ReleaseNotes file
	 in the Documentation/releases directory tree in the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-06-27 07:59:39 +02: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.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 = a51fcf9b63c033e470da4f4f0094f0f923fdeb5a649a5c59d2d44888e5e741dfd95e589247355296e050d9ec8dc4334c5898453af055abcb30082af6b835a3e3
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)