lede/package/utils/util-linux/Makefile

904 lines
25 KiB
Makefile
Raw Normal View History

2017-09-06 11:19:45 +00:00
#
# Copyright (C) 2007-2018 OpenWrt.org
2017-09-06 11:19:45 +00:00
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=util-linux
treewide: sync with upstream (#10750) * build: fix incomplete initramfs compression options Requires: tools/lz4, tools/lzop complete the wiring so that these options work: * `CONFIG_KERNEL_INITRAMFS_COMPRESSION_LZO` * `CONFIG_KERNEL_INITRAMFS_COMPRESSION_LZ4` Signed-off-by: Tony Butler <spudz76@gmail.com> [remove blocking dependencies for separate ramdisk, fix lzop options] Signed-off-by: Daniel Golle <daniel@makrotopia.org> * include: sync with upstream * toolchain/binutils: add support for version 2.40 Release notes: https://sourceware.org/pipermail/binutils/2023-January/125671.html Signed-off-by: Linhui Liu <liulinhui36@gmail.com> * toolchain/gcc: switch to version 12 by default Also fix build error with gcc 12. * toolchain/nasm: update to 2.16.01 ChangeLog: Version 2.16.01 _This is a documentation update release only._ (*) Fix the creation of the table of contents in the HTML version of the documentation. Version 2.16 (*) Support for the `rdf' format has been discontinued and all the RDOFF utilities has been removed. (*) The `--reproducible' option now leaves the filename field in the COFF object format blank. This was always rather useless since it is only 18 characters long; as such debug formats have to carry their own filename information anyway. (*) Fix handling of MASM-syntax reserved memory (e.g. `dw ?') when used in structure definitions. (*) The preprocessor now supports functions, which can be less verbose and more convenient than the equivalent code implemented using directives. See section 4.4. (*) Fix the handling of `%00' in the preprocessor. (*) Fix incorrect handling of path names affecting error messages, dependency generation, and debug format output. (*) Support for the RDOFF output format and the RDOFF tools have been removed. The RDOFF tools had already been broken since at least NASM 2.14. For flat code the ELF output format recommended; for segmented code the `obj' (OMF) output format. (*) New facility: preprocessor functions. Preprocessor functions, which are expanded similarly to single-line macros, can greatly simplify code that in the past would have required a lengthy list of directives and intermediate macros. See section 4.4. (*) Single-line macros can now declare parameters (using a `&&' prefix) that creates a quoted string, but does _not_ requote an already quoted string. See section 4.2.1. (*) Instruction table updated per public information available as of November 2022. (*) All warnings in the preprocessor have now been assigned warning classes. See appendix A. (*) Fix the invalid use of `RELA'-type relocations instead of `REL'- type relocations when generating DWARF debug information for the `elf32' output format. (*) Fix the handling `at' in `istruc' when the structure contains local labels. See section 5.9.2. (*) When assembling with `--reproducible', don't encode the filename in the COFF header for the `coff', `win32' or `win64' output formats. The COFF header only has space for an 18-character filename, which makes this field rather useless in the first place. Debug output data, if enabled, is not affected. (*) Fix incorrect size calculation when using MASM syntax for non- byte reservations (e.g. `dw ?'.) (*) Allow forcing an instruction in 64-bit mode to have a (possibly redundant) REX prefix, using the syntax `{rex}' as a prefix. (*) Add a `{vex}' prefix to enforce VEX (AVX) encoding of an instruction, either using the 2- or 3-byte VEX prefixes. (*) The `CPU' directive has been augmented to allow control of generation of VEX (AVX) versus EVEX (AVX-512) instruction formats, see section 7.11. (*) Some recent instructions that previously have been only available using EVEX encodings are now also encodable using VEX (AVX) encodings. For backwards compatibility these encodings are not enabled by default, but can be generated either via an explicit `{vex}' prefix or by specifying either `CPU LATEVEX' or `CPU NOEVEX'; see section 7.11. (*) Document the already existing `%unimacro' directive. See section 4.5.12. (*) Fix a code range generation bug in the DWARF debug format (incorrect information in the `DW_AT_high_pc' field) for the ELF output formats. This bug happened to cancel out with a bug in older versions of the GNU binutils linker, but breaks with other linkers and updated or other linkers that expect the spec to be followed. (*) Fix segment symbols with addends, e.g. `jmp _TEXT+10h:0' in output formats that support segment relocations, e.g. the `obj' format. (*) Fix various crashes and hangs on invalid input. Signed-off-by: Linhui Liu <liulinhui36@gmail.com> * toolchain: musl: Fix symbol loading in gdb Fix DT_DEBUG handling on MIPS in musl libc. With this change gdb will load the symbol files for shared libraries on MIPS too. This patch was taken from this thread: https://www.openwall.com/lists/musl/2022/01/09/4 Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * tools: sync with upstream * build: fix issues with targets installed via feeds - fix including modules.mk when a target is being replaced - fix calling make targets from target/linux Signed-off-by: Felix Fietkau <nbd@nbd.name> * package: sync with upstream Signed-off-by: Tony Butler <spudz76@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Linhui Liu <liulinhui36@gmail.com> Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Co-authored-by: Tony Butler <spudz76@gmail.com> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Felix Fietkau <nbd@nbd.name>
2023-01-25 07:30:35 +00:00
PKG_VERSION:=2.38.1
PKG_RELEASE:=1
2017-09-06 11:19:45 +00:00
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.38
treewide: sync with upstream (#10750) * build: fix incomplete initramfs compression options Requires: tools/lz4, tools/lzop complete the wiring so that these options work: * `CONFIG_KERNEL_INITRAMFS_COMPRESSION_LZO` * `CONFIG_KERNEL_INITRAMFS_COMPRESSION_LZ4` Signed-off-by: Tony Butler <spudz76@gmail.com> [remove blocking dependencies for separate ramdisk, fix lzop options] Signed-off-by: Daniel Golle <daniel@makrotopia.org> * include: sync with upstream * toolchain/binutils: add support for version 2.40 Release notes: https://sourceware.org/pipermail/binutils/2023-January/125671.html Signed-off-by: Linhui Liu <liulinhui36@gmail.com> * toolchain/gcc: switch to version 12 by default Also fix build error with gcc 12. * toolchain/nasm: update to 2.16.01 ChangeLog: Version 2.16.01 _This is a documentation update release only._ (*) Fix the creation of the table of contents in the HTML version of the documentation. Version 2.16 (*) Support for the `rdf' format has been discontinued and all the RDOFF utilities has been removed. (*) The `--reproducible' option now leaves the filename field in the COFF object format blank. This was always rather useless since it is only 18 characters long; as such debug formats have to carry their own filename information anyway. (*) Fix handling of MASM-syntax reserved memory (e.g. `dw ?') when used in structure definitions. (*) The preprocessor now supports functions, which can be less verbose and more convenient than the equivalent code implemented using directives. See section 4.4. (*) Fix the handling of `%00' in the preprocessor. (*) Fix incorrect handling of path names affecting error messages, dependency generation, and debug format output. (*) Support for the RDOFF output format and the RDOFF tools have been removed. The RDOFF tools had already been broken since at least NASM 2.14. For flat code the ELF output format recommended; for segmented code the `obj' (OMF) output format. (*) New facility: preprocessor functions. Preprocessor functions, which are expanded similarly to single-line macros, can greatly simplify code that in the past would have required a lengthy list of directives and intermediate macros. See section 4.4. (*) Single-line macros can now declare parameters (using a `&&' prefix) that creates a quoted string, but does _not_ requote an already quoted string. See section 4.2.1. (*) Instruction table updated per public information available as of November 2022. (*) All warnings in the preprocessor have now been assigned warning classes. See appendix A. (*) Fix the invalid use of `RELA'-type relocations instead of `REL'- type relocations when generating DWARF debug information for the `elf32' output format. (*) Fix the handling `at' in `istruc' when the structure contains local labels. See section 5.9.2. (*) When assembling with `--reproducible', don't encode the filename in the COFF header for the `coff', `win32' or `win64' output formats. The COFF header only has space for an 18-character filename, which makes this field rather useless in the first place. Debug output data, if enabled, is not affected. (*) Fix incorrect size calculation when using MASM syntax for non- byte reservations (e.g. `dw ?'.) (*) Allow forcing an instruction in 64-bit mode to have a (possibly redundant) REX prefix, using the syntax `{rex}' as a prefix. (*) Add a `{vex}' prefix to enforce VEX (AVX) encoding of an instruction, either using the 2- or 3-byte VEX prefixes. (*) The `CPU' directive has been augmented to allow control of generation of VEX (AVX) versus EVEX (AVX-512) instruction formats, see section 7.11. (*) Some recent instructions that previously have been only available using EVEX encodings are now also encodable using VEX (AVX) encodings. For backwards compatibility these encodings are not enabled by default, but can be generated either via an explicit `{vex}' prefix or by specifying either `CPU LATEVEX' or `CPU NOEVEX'; see section 7.11. (*) Document the already existing `%unimacro' directive. See section 4.5.12. (*) Fix a code range generation bug in the DWARF debug format (incorrect information in the `DW_AT_high_pc' field) for the ELF output formats. This bug happened to cancel out with a bug in older versions of the GNU binutils linker, but breaks with other linkers and updated or other linkers that expect the spec to be followed. (*) Fix segment symbols with addends, e.g. `jmp _TEXT+10h:0' in output formats that support segment relocations, e.g. the `obj' format. (*) Fix various crashes and hangs on invalid input. Signed-off-by: Linhui Liu <liulinhui36@gmail.com> * toolchain: musl: Fix symbol loading in gdb Fix DT_DEBUG handling on MIPS in musl libc. With this change gdb will load the symbol files for shared libraries on MIPS too. This patch was taken from this thread: https://www.openwall.com/lists/musl/2022/01/09/4 Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * tools: sync with upstream * build: fix issues with targets installed via feeds - fix including modules.mk when a target is being replaced - fix calling make targets from target/linux Signed-off-by: Felix Fietkau <nbd@nbd.name> * package: sync with upstream Signed-off-by: Tony Butler <spudz76@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Linhui Liu <liulinhui36@gmail.com> Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Co-authored-by: Tony Butler <spudz76@gmail.com> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Felix Fietkau <nbd@nbd.name>
2023-01-25 07:30:35 +00:00
PKG_HASH:=60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f
2018-01-15 10:26:41 +00:00
PKG_CPE_ID:=cpe:/a:kernel:util-linux
2017-09-06 11:19:45 +00:00
PKG_LICENSE:=GPL-2.0-only
2017-09-06 11:19:45 +00:00
PKG_LICENSE_FILES:= COPYING \
libblkid/COPYING \
libmount/COPYING \
Documentation/licenses/COPYING.GPLv2 \
Documentation/licenses/COPYING.LGPLv2.1 \
libuuid/COPYING \
Documentation/licenses/COPYING.BSD-3
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
2017-09-06 11:19:45 +00:00
PKG_INSTALL:=1
DISABLE_NLS:=--disable-nls
2017-09-06 11:19:45 +00:00
include $(INCLUDE_DIR)/package.mk
define Package/util-linux/Default
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:= +librt
URL:=http://www.kernel.org/pub/linux/utils/util-linux/
endef
define Package/libblkid
$(call Package/util-linux/Default)
DEPENDS:=+libuuid
TITLE:=block device id library
SECTION:=libs
CATEGORY:=Libraries
2020-07-02 15:30:56 +00:00
ABI_VERSION:=1
2017-09-06 11:19:45 +00:00
endef
define Package/libblkid/description
The libblkid library is used to identify block devices (disks) as to their
content (e.g. filesystem type, partitions) as well as extracting additional
information such as filesystem labels/volume names, partitions, unique
identifiers/serial numbers...
endef
define Package/libfdisk
$(call Package/util-linux/Default)
DEPENDS:=+libuuid +libblkid
TITLE:=partition manipulating library
SECTION:=libs
CATEGORY:=Libraries
2020-07-02 15:30:56 +00:00
ABI_VERSION:=1
2017-09-06 11:19:45 +00:00
endef
define Package/libfdisk/description
The libfdisk library is used for manipulating with partition tables.
endef
define Package/libmount
$(call Package/util-linux/Default)
DEPENDS:=+libblkid
TITLE:=mount library
SECTION:=libs
CATEGORY:=Libraries
2020-07-02 15:30:56 +00:00
ABI_VERSION:=1
2017-09-06 11:19:45 +00:00
endef
define Package/libmount/description
The libmount library is used to parse /etc/fstab, /etc/mtab and
/proc/self/mountinfo files, manage the mtab file, evaluate mount options...
endef
define Package/libuuid
$(call Package/util-linux/Default)
TITLE:=DCE compatible Universally Unique Identifier library
SECTION:=libs
CATEGORY:=Libraries
2020-07-02 15:30:56 +00:00
ABI_VERSION:=1
2017-09-06 11:19:45 +00:00
endef
define Package/libuuid/description
The UUID library is used to generate unique identifiers for objects
that may be accessible beyond the local system. This library
generates UUIDs compatible with those created by the Open Software
Foundation (OSF) Distributed Computing Environment (DCE) utility.
endef
define Package/libsmartcols
$(call Package/util-linux/Default)
TITLE:=table or tree library
SECTION:=libs
CATEGORY:=Libraries
2020-07-02 15:30:56 +00:00
ABI_VERSION:=1
2017-09-06 11:19:45 +00:00
endef
define Package/libsmartcols/description
The smartcols library is used to print tables and trees in a pretty way.
endef
define Package/agetty
$(call Package/util-linux/Default)
TITLE:=alternative Linux getty
SUBMENU=Terminal
endef
define Package/agetty/description
agetty opens a tty port, prompts for a login name and invokes the
/bin/login command
endef
define Package/blkdiscard
$(call Package/util-linux/Default)
TITLE:=discard sectors on a device
SUBMENU=Disc
DEPENDS:=libblkid
2017-09-06 11:19:45 +00:00
endef
define Package/blkdiscard/description
The blkdiscard is used to discard device sectors. This is useful for
solid-state drivers (SSDs) and thinly-provisioned storage. Unlike fstrim,
this command is used directly on the block device.
endef
define Package/blkid
$(call Package/util-linux/Default)
TITLE:=locate and print block device attributes
DEPENDS:= +libblkid +libuuid
SUBMENU=Disc
endef
define Package/blkid/description
The blkid program is the command-line interface to working with the libblkid
library.
endef
2018-09-07 05:43:55 +00:00
define Package/blockdev
$(call Package/util-linux/Default)
TITLE:=call block device ioctls from the command line
SUBMENU=Disc
endef
define Package/blockdev/description
The blockdev program is the command-line interface to call block device ioctls.
endef
2017-09-06 11:19:45 +00:00
define Package/cal
$(call Package/util-linux/Default)
TITLE:=display a calendar
DEPENDS:= +libncurses
endef
define Package/cal/description
cal displays a simple calendar
endef
define Package/cfdisk
$(call Package/util-linux/Default)
TITLE:=display or manipulate disk partition table
DEPENDS:= +libblkid +libncurses +libsmartcols +libfdisk +libmount
SUBMENU:=Disc
endef
define Package/cfdisk/description
cfdisk is a curses-based program for partitioning any hard disk drive
endef
define Package/dmesg
$(call Package/util-linux/Default)
TITLE:=print or control the kernel ring buffer
2018-01-15 10:26:41 +00:00
DEPENDS:= +libncursesw
2017-09-06 11:19:45 +00:00
endef
define Package/dmesg/description
dmesg is used to examine or control the kernel ring buffer
endef
define Package/eject
$(call Package/util-linux/Default)
TITLE:=eject removable media
DEPENDS:= +libblkid +libmount +libuuid
SUBMENU=Disc
endef
define Package/eject/description
eject allows removable media (typically a CD-ROM, floppy disk, tape, or JAZ
or ZIP disk) to be ejected under software control.
endef
2017-09-06 11:19:45 +00:00
define Package/fdisk
$(call Package/util-linux/Default)
TITLE:=manipulate disk partition table
2018-01-15 10:26:41 +00:00
DEPENDS:= +libblkid +libsmartcols +libfdisk +libncursesw
2017-09-06 11:19:45 +00:00
SUBMENU=Disc
endef
define Package/fdisk/description
a menu-driven program for creation and manipulation of partition tables
endef
define Package/findfs
$(call Package/util-linux/Default)
TITLE:=find a filesystem by label or UUID
DEPENDS:= +libblkid
SUBMENU=Disc
endef
define Package/findfs/description
findfs will search the disks in the system looking for a filesystem which has
a label matching label or a UUID equal to uuid
endef
define Package/flock
$(call Package/util-linux/Default)
TITLE:=manage locks from shell scripts
ALTERNATIVES:=200:/usr/bin/flock:/usr/bin/util-linux-flock
2017-09-06 11:19:45 +00:00
endef
define Package/flock/description
manages flock locks from within shell scripts or the command line
endef
define Package/fstrim
$(call Package/util-linux/Default)
TITLE:=discard unused blocks on a mounted filesystem
DEPENDS:= +libblkid +libuuid +libsmartcols +libmount
SUBMENU=Filesystem
endef
define Package/fstrim/description
fstrim is used on a mounted filesystem to discard (or "trim") blocks
which are not in use by the filesystem. This is useful for solid-
state drives (SSDs) and thinly-provisioned storage.
endef
2017-09-06 11:19:45 +00:00
define Package/getopt
$(call Package/util-linux/Default)
TITLE:=parse command options (enhanced)
endef
define Package/getopt/description
getopt is used to break up (parse) options in command lines for easy parsing
by shell procedures, and to check for legal options
endef
define Package/hwclock
$(call Package/util-linux/Default)
TITLE:=query or set the hardware clock
endef
define Package/hwclock/description
hwclock is a tool for accessing the Hardware Clock
endef
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
define Package/ipcs
$(call Package/util-linux/Default)
TITLE:=show information on IPC facilities
endef
define Package/ipcs/description
ipcs shows information on the inter-process communication facilities for
which the calling process has read access. By default it shows information
about all three resources: shared memory segments, message queues, and
semaphore arrays.
endef
2017-09-06 11:19:45 +00:00
define Package/logger
$(call Package/util-linux/Default)
TITLE:=a shell command interface to the syslog system log module
2020-07-02 15:30:56 +00:00
ALTERNATIVES:=200:/usr/bin/logger:/usr/bin/util-linux-logger
2017-09-06 11:19:45 +00:00
endef
define Package/logger/description
logger makes entries in the system log, it provides a shell command interface
to the syslog system log module
endef
define Package/look
$(call Package/util-linux/Default)
TITLE:=display lines beginning with a given string
endef
define Package/look/description
look utility displays any lines in file which contain string
endef
define Package/losetup
$(call Package/util-linux/Default)
TITLE:=set up and control loop devices
DEPENDS:= +libsmartcols
endef
define Package/losetup/description
losetup is used to associate loop devices with regular files or block devices,
to detach loop devices and to query the status of a loop device
endef
define Package/lsblk
$(call Package/util-linux/Default)
TITLE:=list block devices
DEPENDS:= +libblkid +libmount +libsmartcols
SUBMENU=Disc
endef
define Package/lsblk/description
lsblk lists information about all or the specified block devices
endef
define Package/lscpu
$(call Package/util-linux/Default)
TITLE:=display information about the CPU architecture
DEPENDS:= +libsmartcols
endef
define Package/lscpu/description
lscpu displays information about the CPU architecture
endef
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
define Package/lslocks
$(call Package/util-linux/Default)
TITLE:=list local system locks
DEPENDS:= +libmount +libsmartcols
endef
define Package/lslocks/description
lslocks lists information about all the currently held file locks in a Linux system
endef
define Package/lsns
$(call Package/util-linux/Default)
TITLE:=list system namespaces
DEPENDS:= +libblkid +libmount +libsmartcols
endef
define Package/lsns/description
lsns lists information about all namespaces and their processes
endef
2020-07-02 15:30:56 +00:00
define Package/more
$(call Package/util-linux/Default)
TITLE:=filter for paging through text one screenful at a time
DEPENDS:= +libncurses
endef
define Package/more/description
more is a filter for paging through text one screenful at a time
endef
2017-09-06 11:19:45 +00:00
define Package/mcookie
$(call Package/util-linux/Default)
TITLE:=generate magic cookies for xauth
endef
define Package/mcookie/description
mcookie generates a 128-bit random hexadecimal number for use with the X
authority system
endef
define Package/mount-utils
$(call Package/util-linux/Default)
TITLE:=related (u)mount utilities
DEPENDS+= +libmount +libsmartcols
endef
define Package/mount-utils/description
contains: mount, umount, findmnt
endef
define Package/namei
$(call Package/util-linux/Default)
TITLE:=follow a pathname until a terminal point is found
endef
define Package/namei/description
namei uses its arguments as pathnames to any type of Unix file (symlinks,
files, directories, and so forth)
endef
define Package/nsenter
$(call Package/util-linux/Default)
TITLE:=enter a namespace
endef
define Package/nsenter/description
run program with namespaces of other processes
endef
2017-09-06 11:19:45 +00:00
define Package/prlimit
$(call Package/util-linux/Default)
TITLE:=get and set process resource limits
DEPENDS:= +libsmartcols
endef
define Package/prlimit/description
Given a process id and one or more resources, prlimit tries to retrieve
and/or modify the limits.
endef
define Package/rename
$(call Package/util-linux/Default)
TITLE:=rename files
endef
define Package/rename/description
rename will rename the specified files by replacing the first occurrence of
expression in their name by replacement
endef
define Package/partx-utils
$(call Package/util-linux/Default)
TITLE:=inform kernel about the presence and numbering of on-disk partitions
DEPENDS:= +libblkid +libsmartcols
SUBMENU=Disc
endef
define Package/partx-utils/description
contains partx, addpart, delpart
endef
define Package/script-utils
$(call Package/util-linux/Default)
TITLE:=make and replay typescript of terminal session
SUBMENU=Terminal
endef
define Package/script-utils/description
contains: script, scriptreplay
endef
define Package/setterm
$(call Package/util-linux/Default)
TITLE:=set terminal attributes
DEPENDS:= +libncurses
SUBMENU:=Terminal
endef
define Package/setterm/description
setterm writes to standard output a character string that will invoke the
specified terminal capabilities
endef
define Package/sfdisk
$(call Package/util-linux/Default)
TITLE:=partition table manipulator for Linux
SUBMENU=Disc
2018-01-15 10:26:41 +00:00
DEPENDS:= +libblkid +libfdisk +libsmartcols +libncursesw
2017-09-06 11:19:45 +00:00
endef
define Package/sfdisk/description
list the size of a partition, list the partitions on a device, check the
partitions on a device and repartition a device
endef
define Package/swap-utils
$(call Package/util-linux/Default)
TITLE:=swap space management utilities
DEPENDS+= +libblkid
SUBMENU:=Filesystem
endef
define Package/swap-utils/description
contains: mkswap, swaplabel
endef
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
define Package/taskset
$(call Package/util-linux/Default)
TITLE:=set or retrieve a process's CPU affinity
endef
define Package/taskset/description
contains: taskset
endef
define Package/unshare
$(call Package/util-linux/Default)
TITLE:=unshare userspace tool
endef
define Package/unshare/description
run programs with some namespaces unshared from parent
endef
2017-09-06 11:19:45 +00:00
define Package/uuidd
$(call Package/util-linux/Default)
TITLE:=UUID generation daemon
DEPENDS:= +libuuid
endef
define Package/uuidd/description
The uuidd daemon is used by the UUID library to generate universally unique
identifiers (UUIDs), especially time-based UUIDs, in a secure and
guaranteed-unique fashion, even in the face of large numbers of threads
running on different CPUs trying to grab UUIDs.
endef
define Package/uuidgen
$(call Package/util-linux/Default)
TITLE:=create a new UUID value
DEPENDS:= +libuuid
endef
define Package/uuidgen/description
The uuidgen program creates (and prints) a new universally unique identifier
(UUID) using the libuuid library. The new UUID can reasonably be considered
unique among all UUIDs created on the local system, and among UUIDs created on
other systems in the past and in the future.
endef
define Package/wall
$(call Package/util-linux/Default)
TITLE:=send a message to everybody's terminal
SUBMENU=Terminal
endef
define Package/wall/description
wall sends a message to everybody logged in with their mesg permission
set to yes
endef
define Package/whereis
$(call Package/util-linux/Default)
TITLE:=locate the binary, source, and manual page files for a command
endef
define Package/whereis/description
whereis locates source/binary and manuals sections for specified files
endef
define Package/wipefs
$(call Package/util-linux/Default)
TITLE:=wipe a signature from a device
DEPENDS:= +libblkid +libsmartcols
2017-09-06 11:19:45 +00:00
SUBMENU:=Disc
endef
define Package/wipefs/description
wipefs can erase filesystem, raid or partition table signatures (magic
strings) from the specified device to make the signature invisible for
libblkid.
endef
CONFIGURE_ARGS += \
--disable-use-tty-group \
--disable-rpath \
--disable-tls \
--disable-su \
--disable-sulogin \
--disable-makeinstall-chown \
--disable-login \
--disable-nologin \
--disable-lslogins \
--disable-runuser \
--disable-chfn-chsh \
--disable-raw \
--without-python \
--without-udev \
--without-readline \
--without-libmagic \
--with-ncursesw
TARGET_CFLAGS += $(FPIC) -std=gnu99
2017-09-06 11:19:45 +00:00
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/blkid.pc $(1)/usr/lib/pkgconfig
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/blkid.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/blkid.pc
2017-09-06 11:19:45 +00:00
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/fdisk.pc $(1)/usr/lib/pkgconfig
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/fdisk.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/fdisk.pc
2017-09-06 11:19:45 +00:00
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/mount.pc $(1)/usr/lib/pkgconfig
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/mount.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/mount.pc
2017-09-06 11:19:45 +00:00
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/smartcols.pc $(1)/usr/lib/pkgconfig
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/smartcols.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/smartcols.pc
2017-09-06 11:19:45 +00:00
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/uuid.pc $(1)/usr/lib/pkgconfig
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/uuid.pc
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/uuid.pc
2017-09-06 11:19:45 +00:00
$(INSTALL_DIR) $(1)/usr/include/blkid
$(CP) $(PKG_INSTALL_DIR)/usr/include/blkid/blkid.h $(1)/usr/include/blkid
$(INSTALL_DIR) $(1)/usr/include/libfdisk
$(CP) $(PKG_INSTALL_DIR)/usr/include/libfdisk/libfdisk.h $(1)/usr/include/libfdisk
$(INSTALL_DIR) $(1)/usr/include/libmount
$(CP) $(PKG_INSTALL_DIR)/usr/include/libmount/libmount.h $(1)/usr/include/libmount
$(INSTALL_DIR) $(1)/usr/include/uuid
$(CP) $(PKG_INSTALL_DIR)/usr/include/uuid/uuid.h $(1)/usr/include/uuid
$(INSTALL_DIR) $(1)/usr/include/libsmartcols
$(CP) $(PKG_INSTALL_DIR)/usr/include/libsmartcols/libsmartcols.h $(1)/usr/include/libsmartcols
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so* $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so* $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libmount.so* $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so* $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so* $(1)/usr/lib
$(LN) libblkid.so.1 $(1)/usr/lib/libblkid.so
$(LN) libfdisk.so.1 $(1)/usr/lib/libfdisk.so
$(LN) libmount.so.1 $(1)/usr/lib/libmount.so
$(LN) libuuid.so.1 $(1)/usr/lib/libuuid.so
$(LN) libsmartcols.so.1 $(1)/usr/lib/libsmartcols.so
2017-09-06 11:19:45 +00:00
endef
define Package/libfdisk/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libfdisk.so.* $(1)/usr/lib/
2017-09-06 11:19:45 +00:00
endef
define Package/libblkid/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libblkid.so.* $(1)/usr/lib/
2017-09-06 11:19:45 +00:00
endef
define Package/libmount/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libmount.so.* $(1)/usr/lib/
2017-09-06 11:19:45 +00:00
endef
define Package/libsmartcols/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libsmartcols.so.* $(1)/usr/lib/
2017-09-06 11:19:45 +00:00
endef
define Package/libuuid/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/lib/libuuid.so.* $(1)/usr/lib/
2017-09-06 11:19:45 +00:00
endef
define Package/agetty/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/agetty $(1)/usr/sbin/
endef
define Package/blkdiscard/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkdiscard $(1)/usr/sbin/
endef
define Package/blkid/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blkid $(1)/usr/sbin/
endef
2018-09-07 05:43:55 +00:00
define Package/blockdev/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/blockdev $(1)/usr/sbin/
endef
2017-09-06 11:19:45 +00:00
define Package/cal/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cal $(1)/usr/bin/
endef
define Package/cfdisk/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/cfdisk $(1)/usr/sbin/
endef
define Package/dmesg/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dmesg $(1)/usr/bin/
endef
define Package/eject/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/eject $(1)/usr/bin/
endef
2017-09-06 11:19:45 +00:00
define Package/fdisk/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fdisk $(1)/usr/sbin/
endef
define Package/findfs/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/findfs $(1)/usr/sbin/
endef
define Package/flock/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/flock $(1)/usr/bin/util-linux-flock
2017-09-06 11:19:45 +00:00
endef
define Package/fstrim/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fstrim $(1)/usr/sbin/
endef
2017-09-06 11:19:45 +00:00
define Package/getopt/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/getopt $(1)/usr/bin/
endef
define Package/hwclock/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/hwclock $(1)/usr/sbin/
endef
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
define Package/ipcs/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ipcs $(1)/usr/bin/
endef
2017-09-06 11:19:45 +00:00
define Package/logger/install
$(INSTALL_DIR) $(1)/usr/bin
2020-07-02 15:30:56 +00:00
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/logger $(1)/usr/bin/util-linux-logger
2017-09-06 11:19:45 +00:00
endef
define Package/look/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/look $(1)/usr/bin/
endef
define Package/losetup/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/losetup $(1)/usr/sbin/
endef
define Package/lsblk/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsblk $(1)/usr/bin/
endef
define Package/lscpu/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lscpu $(1)/usr/bin/
endef
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
define Package/lslocks/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lslocks $(1)/usr/bin/
endef
define Package/lsns/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsns $(1)/usr/bin/
endef
2020-07-02 15:30:56 +00:00
define Package/more/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/more $(1)/usr/bin/
endef
2017-09-06 11:19:45 +00:00
define Package/mcookie/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mcookie $(1)/usr/bin/
endef
define Package/mount-utils/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{u,}mount $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mountpoint $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/findmnt $(1)/usr/bin/
endef
define Package/namei/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/namei $(1)/usr/bin/
endef
define Package/nsenter/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nsenter $(1)/usr/bin/
endef
2017-09-06 11:19:45 +00:00
define Package/prlimit/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/prlimit $(1)/usr/bin/
endef
define Package/rename/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rename $(1)/usr/bin/
endef
define Package/partx-utils/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/partx $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/addpart $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/delpart $(1)/usr/sbin/
endef
define Package/script-utils/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/script $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scriptreplay $(1)/usr/bin/
endef
define Package/setterm/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/setterm $(1)/usr/bin/
endef
define Package/sfdisk/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sfdisk $(1)/usr/sbin/
endef
define Package/swap-utils/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/mkswap $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/swaplabel $(1)/usr/sbin/
endef
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
define Package/taskset/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/taskset $(1)/usr/bin/
endef
define Package/unshare/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/unshare $(1)/usr/bin/
endef
2017-09-06 11:19:45 +00:00
define Package/uuidd/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin//uuidd $(1)/usr/sbin/
endef
define Package/uuidgen/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin//uuidgen $(1)/usr/bin/
endef
define Package/wall/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/wall $(1)/usr/bin/
endef
define Package/whereis/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whereis $(1)/usr/bin/
endef
define Package/wipefs/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/wipefs $(1)/usr/sbin/
endef
# these lines need to be ordered by dependency because of ABI versioning
$(eval $(call BuildPackage,libuuid))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,libblkid))
$(eval $(call BuildPackage,libfdisk))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,libmount))
$(eval $(call BuildPackage,libsmartcols))
$(eval $(call BuildPackage,agetty))
$(eval $(call BuildPackage,blkdiscard))
$(eval $(call BuildPackage,blkid))
2018-09-07 05:43:55 +00:00
$(eval $(call BuildPackage,blockdev))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,cal))
$(eval $(call BuildPackage,cfdisk))
$(eval $(call BuildPackage,dmesg))
$(eval $(call BuildPackage,eject))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,fdisk))
$(eval $(call BuildPackage,findfs))
$(eval $(call BuildPackage,flock))
$(eval $(call BuildPackage,fstrim))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,getopt))
$(eval $(call BuildPackage,hwclock))
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
$(eval $(call BuildPackage,ipcs))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,logger))
$(eval $(call BuildPackage,look))
$(eval $(call BuildPackage,losetup))
$(eval $(call BuildPackage,lsblk))
$(eval $(call BuildPackage,lscpu))
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
$(eval $(call BuildPackage,lslocks))
$(eval $(call BuildPackage,lsns))
2020-07-02 15:30:56 +00:00
$(eval $(call BuildPackage,more))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,mcookie))
$(eval $(call BuildPackage,mount-utils))
$(eval $(call BuildPackage,namei))
$(eval $(call BuildPackage,nsenter))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,prlimit))
$(eval $(call BuildPackage,rename))
$(eval $(call BuildPackage,partx-utils))
$(eval $(call BuildPackage,script-utils))
$(eval $(call BuildPackage,setterm))
$(eval $(call BuildPackage,sfdisk))
$(eval $(call BuildPackage,swap-utils))
util-linux: sync upstream (#8953) * util-linux: Add taskset This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com> * util-linux: add lslocks This change adds the "lslocks" utility from util-linux. Signed-off-by: Roman Azarenko <roman.azarenko@iopsys.eu> * util-linux: Do not build raw any more. The man page of the raw tool does not build because the disk-utils/raw.8 file is missing. It looks like it should be in the tar.xz file we download, but it is missing. We do not package the raw tool, so this is not a problem. This fixes the following build error: No rule to make target 'disk-utils/raw.8', needed by 'all-am'. Stop. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: Update to version 2.37.3 This release fixes two security mount(8) and umount(8) issues: CVE-2021-3996 Improper UID check in libmount allows an unprivileged user to unmount FUSE filesystems of users with similar UID. CVE-2021-3995 This issue is related to parsing the /proc/self/mountinfo file allows an unprivileged user to unmount other user's filesystems that are either world-writable themselves or mounted in a world-writable directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> * util-linux: package ipcs command Add a package for util-linux' ipcs command, to show information about System V inter-process communication facilities. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Co-authored-by: Hauke Mehrtens <hmehrtens@maxlinear.com> Co-authored-by: Roman Azarenko <roman.azarenko@iopsys.eu> Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-02-26 17:35:53 +00:00
$(eval $(call BuildPackage,taskset))
$(eval $(call BuildPackage,unshare))
2017-09-06 11:19:45 +00:00
$(eval $(call BuildPackage,uuidd))
$(eval $(call BuildPackage,uuidgen))
$(eval $(call BuildPackage,wall))
$(eval $(call BuildPackage,whereis))
$(eval $(call BuildPackage,wipefs))