From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/util-linux/
Date: Sun, 17 Apr 2022 17:06:30 +0000 (UTC) [thread overview]
Message-ID: <1650215166.36554265e704cb6c853d4c378d31d5788b63638c.sam@gentoo> (raw)
commit: 36554265e704cb6c853d4c378d31d5788b63638c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 17:03:04 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 17:06:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36554265
sys-apps/util-linux: drop 2.37.2-r1, 2.37.3-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/util-linux/Manifest | 2 -
sys-apps/util-linux/util-linux-2.37.2-r1.ebuild | 314 ----------------------
sys-apps/util-linux/util-linux-2.37.3-r1.ebuild | 333 ------------------------
3 files changed, 649 deletions(-)
diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest
index b217a92f90ec..4cf9a91086f4 100644
--- a/sys-apps/util-linux/Manifest
+++ b/sys-apps/util-linux/Manifest
@@ -1,5 +1,3 @@
-DIST util-linux-2.37.2.tar.xz 5621624 BLAKE2B 40ab80485781dfc58e6d0e98dae115b96f11ee0cc370524e1e13d3c4a4dfed3a5a4a248311f8ca645f6f84bbaf4785412ca8282b840af4e37a01312764885abe SHA512 38f0fe820445e3bfa79550e6581c230f98c7661566ccc4daa51c7208a5f972c61b4e57dfc86bed074fdbc7c40bc79f856be8f6a05a8860c1c0cecc4208e8b81d
-DIST util-linux-2.37.3.tar.xz 6126260 BLAKE2B 6a541dd1f243f0fc303cd813b50be3e0edd8dc7377734aed90fe0af03321bf03fd727285e406b95a1db176572742245220f2e6e7f4d35e508e948816ec4b6345 SHA512 2303b5c55b1fd932c73b0a079d37e56e10b6a20270b72d0b7e81ec7a6b715b42ebaa336714c3e1722d05e5aa4499f8be17ceaf61bb1341532bf9697c9a2174e9
DIST util-linux-2.37.4.tar.xz 6114232 BLAKE2B 7f6cd12ec9bc68a6db787be78c1ee19fdfbb37710df36d4278d869676ba531afd414097e57e5287efed6c7c80d6b6ef36d5812ff2bea611080d3ce5bf5ad4ac5 SHA512 ada2629b0a8e83ea83513e04f7b1ccceb3b8ab82acd119c5d8389d1abc48c92d0b591f39fb34b1fd65db3ab630f03a672a9f3dacf1a6e4f124bdb083fc1be6d7
DIST util-linux-2.38.tar.sign 833 BLAKE2B bddde8cf392155eabe1e5f3c77d4f61cc9cb235c6d668cb289bf78650775d309dbe633e8a272ca52ff208e18bc8eaa4f8664ac239e285feb1eea5e3def1b8c2f SHA512 8909576d64c74e43496d45fcf87a761d9960cd8867534923bb280f2e4abaf4df871723aed10ac4e514e14dcbce147bdc9590de3c84994b11227923264313ac2c
DIST util-linux-2.38.tar.xz 7349140 BLAKE2B dd3b2abb3fedd91e35cc5665b49f1913aa93927cbb6eb5c9715a9f2ce06269d43c28fe96f6c67be88c210ca20e574177b06780ab4798cbbb0d7c76df07f3eeab SHA512 d0f7888f457592067938e216695871ce6475a45d83a092cc3fd72b8cf8fca145ca5f3a99122f1744ef60b4f773055cf4e178dc6c59cd30837172aee0b5597e8c
diff --git a/sys-apps/util-linux/util-linux-2.37.2-r1.ebuild b/sys-apps/util-linux/util-linux-2.37.2-r1.ebuild
deleted file mode 100644
index 619414e131e1..000000000000
--- a/sys-apps/util-linux/util-linux-2.37.2-r1.ebuild
+++ /dev/null
@@ -1,314 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 usr-ldscript \
- pam python-r1 multilib-minimal multiprocessing systemd
-
-MY_PV="${PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3 autotools
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
-else
- [[ "${PV}" = *_rc* ]] || \
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
- SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
-fi
-
-DESCRIPTION="Various useful Linux utilities"
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/karelzak/util-linux"
-
-LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
-SLOT="0"
-IUSE="audit build caps +cramfs cryptsetup fdformat +hardlink kill +logger magic ncurses nls pam python +readline rtas selinux slang static-libs su +suid systemd test tty-helpers udev unicode"
-
-# Most lib deps here are related to programs rather than our libs,
-# so we rarely need to specify ${MULTILIB_USEDEP}.
-RDEPEND="
- virtual/libcrypt:=
- audit? ( >=sys-process/audit-2.6:= )
- caps? ( sys-libs/libcap-ng )
- cramfs? ( sys-libs/zlib:= )
- cryptsetup? ( >=sys-fs/cryptsetup-2.1.0 )
- hardlink? ( dev-libs/libpcre2:= )
- ncurses? (
- sys-libs/ncurses:=[unicode(+)?]
- magic? ( sys-apps/file:0= )
- )
- nls? ( virtual/libintl[${MULTILIB_USEDEP}] )
- pam? ( sys-libs/pam )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- rtas? ( sys-libs/librtas )
- selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] )
- slang? ( sys-libs/slang )
- !build? ( systemd? ( sys-apps/systemd ) )
- udev? ( virtual/libudev:= )"
-BDEPEND="
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- test? ( sys-devel/bc )
-"
-DEPEND="
- ${RDEPEND}
- virtual/os-headers
-"
-RDEPEND+="
- hardlink? ( !app-arch/hardlink )
- logger? ( !>=app-admin/sysklogd-2.0[logger] )
- kill? (
- !sys-apps/coreutils[kill]
- !sys-process/procps[kill]
- )
- su? (
- !<sys-apps/shadow-4.7-r2
- !>=sys-apps/shadow-4.7-r2[su]
- )
- !net-wireless/rfkill
-"
-
-# Required for man-page generation
-if [[ "${PV}" == 9999 ]] ; then
- BDEPEND+="
- dev-ruby/asciidoctor
- "
-fi
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.37.1-agetty_ctrl-c_erase.patch #804972
- "${FILESDIR}"/${P}-ioctl_ns-test-hang.patch # upstream test hang patch
-)
-
-src_prepare() {
- default
-
- # Prevent uuidd test failure due to socket path limit. #593304
- sed -i \
- -e "s|UUIDD_SOCKET=\"\$(mktemp -u \"\${TS_OUTDIR}/uuiddXXXXXXXXXXXXX\")\"|UUIDD_SOCKET=\"\$(mktemp -u \"${T}/uuiddXXXXXXXXXXXXX.sock\")\"|g" \
- tests/ts/uuid/uuidd || die "Failed to fix uuidd test"
-
- if [[ ${PV} == 9999 ]] ; then
- po/update-potfiles
- eautoreconf
- fi
-
- elibtoolize
-}
-
-lfs_fallocate_test() {
- # Make sure we can use fallocate with LFS #300307
- cat <<-EOF > "${T}"/fallocate.${ABI}.c
- #define _GNU_SOURCE
- #include <fcntl.h>
- main() { return fallocate(0, 0, 0, 0); }
- EOF
- append-lfs-flags
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \
- || export ac_cv_func_fallocate=no
- rm -f "${T}"/fallocate.${ABI}.c
-}
-
-python_configure() {
- local myeconfargs=(
- "${commonargs[@]}"
- --disable-all-programs
- --disable-bash-completion
- --without-systemdsystemunitdir
- --with-python
- --enable-libblkid
- --enable-libmount
- --enable-pylibmount
- )
- mkdir "${BUILD_DIR}" || die
- pushd "${BUILD_DIR}" >/dev/null || die
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
- popd >/dev/null || die
-}
-
-multilib_src_configure() {
- lfs_fallocate_test
- # The scanf test in a run-time test which fails while cross-compiling.
- # Blindly assume a POSIX setup since we require libmount, and libmount
- # itself fails when the scanf test fails. #531856
- tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms
- export ac_cv_header_security_pam_misc_h=$(multilib_native_usex pam) #485486
- export ac_cv_header_security_pam_appl_h=$(multilib_native_usex pam) #545042
-
- # Undo bad ncurses handling by upstream. Fall back to pkg-config. #601530
- export NCURSES6_CONFIG=false NCURSES5_CONFIG=false
- export NCURSESW6_CONFIG=false NCURSESW5_CONFIG=false
-
- # Avoid automagic dependency on ppc*
- export ac_cv_lib_rtas_rtas_get_sysparm=$(usex rtas)
-
- # configure args shared by python and non-python builds
- local commonargs=(
- --enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin"
- )
-
- local myeconfargs=(
- "${commonargs[@]}"
- --with-bashcompletiondir="$(get_bashcompdir)"
- --without-python
- $(multilib_native_use_enable suid makeinstall-chown)
- $(multilib_native_use_enable suid makeinstall-setuid)
- $(multilib_native_use_with readline)
- $(multilib_native_use_with slang)
- $(multilib_native_use_with systemd)
- $(multilib_native_use_with udev)
- $(multilib_native_usex ncurses "$(use_with magic libmagic)" '--without-libmagic')
- $(multilib_native_usex ncurses "$(use_with unicode ncursesw)" '--without-ncursesw')
- $(multilib_native_usex ncurses "$(use_with !unicode ncurses)" '--without-ncurses')
- $(multilib_native_use_with audit)
- $(tc-has-tls || echo --disable-tls)
- $(use_enable nls)
- $(use_enable unicode widechar)
- $(use_enable static-libs static)
- $(use_with ncurses tinfo)
- $(use_with selinux)
- )
- if multilib_is_native_abi ; then
- myeconfargs+=(
- --disable-chfn-chsh
- --disable-login
- --disable-newgrp
- --disable-nologin
- --disable-pylibmount
- --disable-raw
- --disable-vipw
- --enable-agetty
- --enable-bash-completion
- --enable-line
- --enable-partx
- --enable-rename
- --enable-rfkill
- --enable-schedutils
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
- $(use_enable caps setpriv)
- $(use_enable cramfs)
- $(use_enable fdformat)
- $(use_enable hardlink)
- $(use_enable kill)
- $(use_enable logger)
- $(use_enable ncurses pg)
- $(use_enable su)
- $(use_enable tty-helpers mesg)
- $(use_enable tty-helpers wall)
- $(use_enable tty-helpers write)
- $(use_with cryptsetup)
- )
- if [[ ${PV} == *9999 ]] ; then
- myeconfargs+=( --enable-asciidoc )
- else
- # Upstream is shipping pre-generated man-pages for releases
- myeconfargs+=( --disable-asciidoc )
- fi
- else
- myeconfargs+=(
- --disable-all-programs
- --disable-asciidoc
- --disable-bash-completion
- --without-systemdsystemunitdir
- # build libraries
- --enable-libuuid
- --enable-libblkid
- --enable-libsmartcols
- --enable-libfdisk
- --enable-libmount
- )
- fi
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-
- if multilib_is_native_abi && use python ; then
- python_foreach_impl python_configure
- fi
-}
-
-python_compile() {
- pushd "${BUILD_DIR}" >/dev/null || die
- emake all
- popd >/dev/null || die
-}
-
-multilib_src_compile() {
- emake all
-
- if multilib_is_native_abi && use python ; then
- python_foreach_impl python_compile
- fi
-}
-
-python_test() {
- pushd "${BUILD_DIR}" >/dev/null || die
- emake check TS_OPTS="--parallel=$(makeopts_jobs) --nonroot"
- popd >/dev/null || die
-}
-
-multilib_src_test() {
- emake check TS_OPTS="--parallel=$(makeopts_jobs) --nonroot"
- if multilib_is_native_abi && use python ; then
- python_foreach_impl python_test
- fi
-}
-
-python_install() {
- pushd "${BUILD_DIR}" >/dev/null || die
- emake DESTDIR="${D}" install
- python_optimize
- popd >/dev/null || die
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use python ; then
- python_foreach_impl python_install
- fi
-
- # This needs to be called AFTER python_install call (#689190)
- emake DESTDIR="${D}" install
-
- if multilib_is_native_abi ; then
- # need the libs in /
- gen_usr_ldscript -a blkid fdisk mount smartcols uuid
- fi
-}
-
-multilib_src_install_all() {
- dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*}
-
- # e2fsprogs-libs didnt install .la files, and .pc work fine
- find "${ED}" -name "*.la" -delete || die
-
- if use pam ; then
- newpamd "${FILESDIR}/runuser.pamd" runuser
- newpamd "${FILESDIR}/runuser-l.pamd" runuser-l
- fi
-
- # Note:
- # Bash completion for "runuser" command is provided by same file which
- # would also provide bash completion for "su" command. However, we don't
- # use "su" command from this package.
- # This triggers a known QA warning which we ignore for now to magically
- # keep bash completion for "su" command which shadow package does not
- # provide.
-}
-
-pkg_postinst() {
- if ! use tty-helpers ; then
- elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers."
- fi
-
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- elog "The agetty util now clears the terminal by default. You"
- elog "might want to add --noclear to your /etc/inittab lines."
- fi
-}
diff --git a/sys-apps/util-linux/util-linux-2.37.3-r1.ebuild b/sys-apps/util-linux/util-linux-2.37.3-r1.ebuild
deleted file mode 100644
index 0f0d85a2f339..000000000000
--- a/sys-apps/util-linux/util-linux-2.37.3-r1.ebuild
+++ /dev/null
@@ -1,333 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9,10} )
-
-inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 usr-ldscript \
- pam python-r1 multilib-minimal multiprocessing systemd
-
-MY_PV="${PV/_/-}"
-MY_P="${PN}-${MY_PV}"
-
-if [[ ${PV} == 9999 ]] ; then
- inherit git-r3 autotools
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git"
-else
- [[ "${PV}" = *_rc* ]] || \
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
- SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz"
-fi
-
-DESCRIPTION="Various useful Linux utilities"
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/karelzak/util-linux"
-
-LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain"
-SLOT="0"
-IUSE="audit build caps +cramfs cryptsetup fdformat +hardlink kill +logger magic ncurses nls pam python +readline rtas selinux slang static-libs +su +suid systemd test tty-helpers udev unicode"
-
-# Most lib deps here are related to programs rather than our libs,
-# so we rarely need to specify ${MULTILIB_USEDEP}.
-RDEPEND="
- virtual/libcrypt:=
- audit? ( >=sys-process/audit-2.6:= )
- caps? ( sys-libs/libcap-ng )
- cramfs? ( sys-libs/zlib:= )
- cryptsetup? ( >=sys-fs/cryptsetup-2.1.0 )
- hardlink? ( dev-libs/libpcre2:= )
- ncurses? (
- sys-libs/ncurses:=[unicode(+)?]
- magic? ( sys-apps/file:0= )
- )
- nls? ( virtual/libintl[${MULTILIB_USEDEP}] )
- pam? ( sys-libs/pam )
- python? ( ${PYTHON_DEPS} )
- readline? ( sys-libs/readline:0= )
- rtas? ( sys-libs/librtas )
- selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] )
- slang? ( sys-libs/slang )
- !build? ( systemd? ( sys-apps/systemd ) )
- udev? ( virtual/libudev:= )"
-BDEPEND="
- virtual/pkgconfig
- nls? ( sys-devel/gettext )
- test? ( sys-devel/bc )
-"
-DEPEND="
- ${RDEPEND}
- virtual/os-headers
-"
-RDEPEND+="
- hardlink? ( !app-arch/hardlink )
- logger? ( !>=app-admin/sysklogd-2.0[logger] )
- kill? (
- !sys-apps/coreutils[kill]
- !sys-process/procps[kill]
- )
- su? (
- !<sys-apps/shadow-4.7-r2
- !>=sys-apps/shadow-4.7-r2[su]
- )
- !net-wireless/rfkill
-"
-
-# Required for man-page generation
-if [[ "${PV}" == 9999 ]] ; then
- BDEPEND+="
- dev-ruby/asciidoctor
- "
-fi
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )"
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.37.1-agetty_ctrl-c_erase.patch #804972
- "${FILESDIR}"/${PN}-2.37.2-ioctl_ns-test-hang.patch # upstream test hang patch
-)
-
-pkg_pretend() {
- if use su && ! use suid ; then
- elog "su will be installed as suid despite USE=-suid (bug #832092)"
- elog "To use su without suid, see e.g. Portage's suidctl feature."
- fi
-}
-
-src_prepare() {
- default
-
- # Prevent uuidd test failure due to socket path limit. #593304
- sed -i \
- -e "s|UUIDD_SOCKET=\"\$(mktemp -u \"\${TS_OUTDIR}/uuiddXXXXXXXXXXXXX\")\"|UUIDD_SOCKET=\"\$(mktemp -u \"${T}/uuiddXXXXXXXXXXXXX.sock\")\"|g" \
- tests/ts/uuid/uuidd || die "Failed to fix uuidd test"
-
- if [[ ${PV} == 9999 ]] ; then
- po/update-potfiles
- eautoreconf
- fi
-
- elibtoolize
-}
-
-lfs_fallocate_test() {
- # Make sure we can use fallocate with LFS #300307
- cat <<-EOF > "${T}"/fallocate.${ABI}.c
- #define _GNU_SOURCE
- #include <fcntl.h>
- main() { return fallocate(0, 0, 0, 0); }
- EOF
- append-lfs-flags
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \
- || export ac_cv_func_fallocate=no
- rm -f "${T}"/fallocate.${ABI}.c
-}
-
-python_configure() {
- local myeconfargs=(
- "${commonargs[@]}"
- --disable-all-programs
- --disable-bash-completion
- --without-systemdsystemunitdir
- --with-python
- --enable-libblkid
- --enable-libmount
- --enable-pylibmount
- )
- mkdir "${BUILD_DIR}" || die
- pushd "${BUILD_DIR}" >/dev/null || die
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
- popd >/dev/null || die
-}
-
-multilib_src_configure() {
- lfs_fallocate_test
- # The scanf test in a run-time test which fails while cross-compiling.
- # Blindly assume a POSIX setup since we require libmount, and libmount
- # itself fails when the scanf test fails. #531856
- tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms
- export ac_cv_header_security_pam_misc_h=$(multilib_native_usex pam) #485486
- export ac_cv_header_security_pam_appl_h=$(multilib_native_usex pam) #545042
-
- # Undo bad ncurses handling by upstream. Fall back to pkg-config. #601530
- export NCURSES6_CONFIG=false NCURSES5_CONFIG=false
- export NCURSESW6_CONFIG=false NCURSESW5_CONFIG=false
-
- # Avoid automagic dependency on ppc*
- export ac_cv_lib_rtas_rtas_get_sysparm=$(usex rtas)
-
- # configure args shared by python and non-python builds
- local commonargs=(
- --enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin"
- )
-
- local myeconfargs=(
- "${commonargs[@]}"
- --with-bashcompletiondir="$(get_bashcompdir)"
- --without-python
- $(multilib_native_use_enable suid makeinstall-chown)
- $(multilib_native_use_enable suid makeinstall-setuid)
- $(multilib_native_use_with readline)
- $(multilib_native_use_with slang)
- $(multilib_native_use_with systemd)
- $(multilib_native_use_with udev)
- $(multilib_native_usex ncurses "$(use_with magic libmagic)" '--without-libmagic')
- $(multilib_native_usex ncurses "$(use_with unicode ncursesw)" '--without-ncursesw')
- $(multilib_native_usex ncurses "$(use_with !unicode ncurses)" '--without-ncurses')
- $(multilib_native_use_with audit)
- $(tc-has-tls || echo --disable-tls)
- $(use_enable nls)
- $(use_enable unicode widechar)
- $(use_enable static-libs static)
- $(use_with ncurses tinfo)
- $(use_with selinux)
- )
- if multilib_is_native_abi ; then
- myeconfargs+=(
- --disable-chfn-chsh
- --disable-login
- --disable-newgrp
- --disable-nologin
- --disable-pylibmount
- --disable-raw
- --disable-vipw
- --enable-agetty
- --enable-bash-completion
- --enable-line
- --enable-partx
- --enable-rename
- --enable-rfkill
- --enable-schedutils
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
- $(use_enable caps setpriv)
- $(use_enable cramfs)
- $(use_enable fdformat)
- $(use_enable hardlink)
- $(use_enable kill)
- $(use_enable logger)
- $(use_enable ncurses pg)
- $(use_enable su)
- $(use_enable tty-helpers mesg)
- $(use_enable tty-helpers wall)
- $(use_enable tty-helpers write)
- $(use_with cryptsetup)
- )
- if [[ ${PV} == *9999 ]] ; then
- myeconfargs+=( --enable-asciidoc )
- else
- # Upstream is shipping pre-generated man-pages for releases
- myeconfargs+=( --disable-asciidoc )
- fi
- else
- myeconfargs+=(
- --disable-all-programs
- --disable-asciidoc
- --disable-bash-completion
- --without-systemdsystemunitdir
- # build libraries
- --enable-libuuid
- --enable-libblkid
- --enable-libsmartcols
- --enable-libfdisk
- --enable-libmount
- )
- fi
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-
- if multilib_is_native_abi && use python ; then
- python_foreach_impl python_configure
- fi
-}
-
-python_compile() {
- pushd "${BUILD_DIR}" >/dev/null || die
- emake all
- popd >/dev/null || die
-}
-
-multilib_src_compile() {
- emake all
-
- if multilib_is_native_abi && use python ; then
- python_foreach_impl python_compile
- fi
-}
-
-python_test() {
- pushd "${BUILD_DIR}" >/dev/null || die
- emake check TS_OPTS="--parallel=$(makeopts_jobs) --nonroot"
- popd >/dev/null || die
-}
-
-multilib_src_test() {
- emake check TS_OPTS="--parallel=$(makeopts_jobs) --nonroot"
- if multilib_is_native_abi && use python ; then
- python_foreach_impl python_test
- fi
-}
-
-python_install() {
- pushd "${BUILD_DIR}" >/dev/null || die
- emake DESTDIR="${D}" install
- python_optimize
- popd >/dev/null || die
-}
-
-multilib_src_install() {
- if multilib_is_native_abi && use python ; then
- python_foreach_impl python_install
- fi
-
- # This needs to be called AFTER python_install call (#689190)
- emake DESTDIR="${D}" install
-
- if multilib_is_native_abi ; then
- # need the libs in /
- gen_usr_ldscript -a blkid fdisk mount smartcols uuid
- fi
-}
-
-multilib_src_install_all() {
- dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*}
-
- # e2fsprogs-libs didnt install .la files, and .pc work fine
- find "${ED}" -name "*.la" -delete || die
-
- if use pam ; then
- # See https://github.com/util-linux/util-linux/blob/master/Documentation/PAM-configuration.txt
- newpamd "${FILESDIR}/runuser.pamd" runuser
- newpamd "${FILESDIR}/runuser-l.pamd" runuser-l
-
- newpamd "${FILESDIR}/su-l.pamd" su-l
- fi
-
- if use su && ! use suid ; then
- # Always force suid su, even when USE=-suid, as su is useless
- # for the overwhelming-majority case without suid.
- # Users who wish to truly have a no-suid su can strip it out
- # via e.g. Portage's suidctl or some other hook.
- # See bug #832092
- fperms u+s /bin/su
- fi
-
- # Note:
- # Bash completion for "runuser" command is provided by same file which
- # would also provide bash completion for "su" command. However, we don't
- # use "su" command from this package.
- # This triggers a known QA warning which we ignore for now to magically
- # keep bash completion for "su" command which shadow package does not
- # provide.
-}
-
-pkg_postinst() {
- if ! use tty-helpers ; then
- elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers."
- fi
-
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- elog "The agetty util now clears the terminal by default. You"
- elog "might want to add --noclear to your /etc/inittab lines."
- fi
-}
next reply other threads:[~2022-04-17 17:06 UTC|newest]
Thread overview: 366+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-17 17:06 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-09 6:54 [gentoo-commits] repo/gentoo:master commit in: sys-apps/util-linux/ Sam James
2025-03-07 18:44 Sam James
2025-03-07 18:36 Sam James
2025-02-23 12:22 Jakov Smolić
2025-01-22 7:54 Sam James
2025-01-14 13:28 Sam James
2024-12-11 4:37 Sam James
2024-12-11 4:37 Sam James
2024-12-11 4:37 Sam James
2024-12-11 4:37 Sam James
2024-12-11 4:37 Sam James
2024-12-11 4:37 Sam James
2024-12-07 2:33 Sam James
2024-12-01 11:51 Sam James
2024-11-11 15:21 Sam James
2024-11-11 15:21 Sam James
2024-10-13 22:43 Sam James
2024-10-13 22:43 Sam James
2024-10-13 22:43 Sam James
2024-09-20 10:18 Arthur Zamarin
2024-07-17 5:56 Sam James
2024-07-17 5:16 Sam James
2024-07-17 5:05 Sam James
2024-07-17 4:59 Sam James
2024-07-17 4:44 Sam James
2024-07-05 5:48 Sam James
2024-07-05 5:09 Sam James
2024-06-20 10:24 Sam James
2024-06-20 7:27 Sam James
2024-06-06 14:03 Ionen Wolkens
2024-05-24 6:04 Sam James
2024-05-18 17:06 Sam James
2024-05-06 17:04 Sam James
2024-05-06 9:31 Sam James
2024-05-03 8:26 Sam James
2024-05-03 8:21 Sam James
2024-05-02 6:36 Sam James
2024-05-02 5:19 Sam James
2024-05-02 5:19 Sam James
2024-04-23 5:25 Viorel Munteanu
2024-04-19 6:39 Ionen Wolkens
2024-04-19 6:39 Ionen Wolkens
2024-04-19 6:39 Ionen Wolkens
2024-04-19 6:39 Ionen Wolkens
2024-04-04 6:50 Arthur Zamarin
2024-04-04 6:50 Arthur Zamarin
2024-03-29 13:37 Arthur Zamarin
2024-03-29 9:18 Arthur Zamarin
2024-03-28 4:55 Sam James
2024-03-28 4:55 Sam James
2024-03-28 3:07 Sam James
2024-03-28 3:07 Sam James
2024-03-09 15:11 Michał Górny
2024-03-05 15:44 Ulrich Müller
2024-03-02 12:14 Arthur Zamarin
2024-03-02 12:14 Arthur Zamarin
2024-03-02 12:14 Arthur Zamarin
2024-03-02 12:14 Arthur Zamarin
2024-03-02 12:14 Arthur Zamarin
2024-03-02 12:14 Arthur Zamarin
2024-03-02 12:14 Arthur Zamarin
2024-03-02 12:14 Arthur Zamarin
2024-02-06 22:49 Sam James
2024-02-06 22:49 Sam James
2024-01-08 9:48 Sam James
2023-12-29 1:12 Sam James
2023-12-29 0:32 Sam James
2023-12-21 20:15 Arthur Zamarin
2023-12-05 10:54 Andreas K. Hüttel
2023-12-05 7:13 Sam James
2023-12-01 13:31 Arthur Zamarin
2023-11-14 11:42 Sam James
2023-08-18 5:18 Sam James
2023-08-18 5:18 Sam James
2023-06-27 13:33 Sam James
2023-05-19 22:29 Mike Gilbert
2023-05-06 14:27 Arthur Zamarin
2023-05-06 14:27 Arthur Zamarin
2023-05-06 14:27 Arthur Zamarin
2023-05-06 14:27 Arthur Zamarin
2023-04-20 15:41 Sam James
2023-04-07 1:49 Sam James
2023-04-05 1:18 Sam James
2023-04-04 16:48 Arthur Zamarin
2023-03-31 11:42 Arthur Zamarin
2023-03-24 13:33 Arthur Zamarin
2023-03-22 5:34 Sam James
2023-02-26 19:03 Arthur Zamarin
2023-02-26 18:35 Arthur Zamarin
2023-02-11 22:13 Mike Gilbert
2023-01-18 12:34 Andreas K. Hüttel
2023-01-13 18:55 Arthur Zamarin
2023-01-13 13:37 Arthur Zamarin
2023-01-09 15:27 Matt Turner
2023-01-03 6:23 Sam James
2022-12-25 20:14 Arthur Zamarin
2022-12-25 20:13 Sam James
2022-10-28 19:53 Sam James
2022-08-04 23:49 Sam James
2022-08-04 23:49 Sam James
2022-05-07 17:17 Mike Gilbert
2022-03-31 1:05 Sam James
2022-03-31 0:12 Sam James
2022-03-17 2:13 Sam James
2022-03-15 10:11 Jakov Smolić
2022-02-24 19:16 Sam James
2022-02-15 9:40 Jakov Smolić
2022-02-15 7:11 Agostino Sarubbo
2022-02-15 7:10 Agostino Sarubbo
2022-02-15 7:09 Agostino Sarubbo
2022-02-14 23:04 Sam James
2022-01-31 0:29 Sam James
2022-01-29 17:09 Mike Gilbert
2022-01-29 17:09 Mike Gilbert
2022-01-29 7:34 Arthur Zamarin
2022-01-29 7:05 Arthur Zamarin
2022-01-28 9:33 Agostino Sarubbo
2022-01-28 5:31 Sam James
2022-01-28 5:30 Sam James
2022-01-28 2:34 Sam James
2022-01-27 19:07 Sam James
2022-01-26 19:19 Arthur Zamarin
2022-01-26 15:26 Mike Gilbert
2022-01-25 23:01 Sam James
2022-01-25 22:05 Sam James
2022-01-06 9:07 David Seifert
2021-12-25 12:29 Georgy Yakovlev
2021-12-20 8:22 Sam James
2021-12-19 22:44 Sam James
2021-10-03 11:28 David Seifert
2021-09-18 4:51 Sam James
2021-09-09 17:31 Mike Gilbert
2021-09-07 0:09 Sam James
2021-09-05 20:07 Agostino Sarubbo
2021-09-05 20:04 Agostino Sarubbo
2021-09-05 5:48 Sam James
2021-09-05 5:48 Sam James
2021-09-03 18:03 Sam James
2021-09-03 18:03 Sam James
2021-09-02 17:25 Sam James
2021-08-29 10:27 Lars Wendler
2021-08-16 16:51 Sam James
2021-08-16 14:02 Lars Wendler
2021-08-03 2:25 Robin H. Johnson
2021-07-22 18:25 Lars Wendler
2021-07-22 18:25 Lars Wendler
2021-07-17 21:30 David Seifert
2021-06-01 13:34 Lars Wendler
2021-05-11 6:54 Lars Wendler
2021-04-22 12:18 Sam James
2021-04-19 21:54 Lars Wendler
2021-04-19 20:56 Lars Wendler
2021-04-19 20:35 Lars Wendler
2021-04-17 8:47 Sergei Trofimovich
2021-04-16 12:37 Lars Wendler
2021-04-16 12:37 Lars Wendler
2021-04-16 12:37 Lars Wendler
2021-04-12 16:02 Sam James
2021-04-11 11:15 Sam James
2021-04-11 11:11 Sam James
2021-04-11 11:03 Sam James
2021-04-10 22:42 Thomas Deutschmann
2021-04-10 16:16 Sergei Trofimovich
2021-02-12 17:11 Lars Wendler
2021-02-12 17:11 Lars Wendler
2020-12-02 14:21 Mikle Kolyada
2020-11-16 17:36 Lars Wendler
2020-10-26 17:32 Thomas Deutschmann
2020-10-26 16:56 Thomas Deutschmann
2020-09-05 15:12 Sam James
2020-09-05 15:12 Sam James
2020-08-14 5:56 Sam James
2020-08-13 4:11 Sam James
2020-08-01 19:06 Sergei Trofimovich
2020-07-23 13:11 Lars Wendler
2020-07-09 19:21 Lars Wendler
2020-07-02 17:05 Sergei Trofimovich
2020-06-29 15:59 Mikle Kolyada
2020-06-11 11:56 Lars Wendler
2020-05-20 19:14 Lars Wendler
2020-05-10 9:24 Mikle Kolyada
2020-05-06 17:34 Sergei Trofimovich
2020-05-04 18:23 Sergei Trofimovich
2020-04-29 16:29 Mike Gilbert
2020-04-09 17:38 Göktürk Yüksek
2020-04-07 18:24 Lars Wendler
2020-04-05 11:56 Lars Wendler
2020-04-04 6:38 Robin H. Johnson
2020-04-03 23:10 Robin H. Johnson
2020-04-03 23:10 Robin H. Johnson
2020-04-03 23:10 Robin H. Johnson
2020-04-03 23:10 Robin H. Johnson
2020-04-03 23:10 Robin H. Johnson
2020-04-03 23:10 Robin H. Johnson
2020-02-13 19:19 Lars Wendler
2020-02-12 19:26 Patrick McLean
2020-02-10 21:25 Michał Górny
2020-02-01 2:52 Lars Wendler
2020-02-01 2:52 Lars Wendler
2020-01-21 15:42 Lars Wendler
2020-01-13 18:43 Craig Andrews
2020-01-10 11:24 Lars Wendler
2020-01-09 8:39 Lars Wendler
2019-12-12 10:18 Lars Wendler
2019-12-12 10:18 Lars Wendler
2019-12-12 10:18 Lars Wendler
2019-11-21 9:13 Lars Wendler
2019-11-21 8:24 Lars Wendler
2019-11-19 10:37 Lars Wendler
2019-10-05 18:56 Michał Górny
2019-08-11 11:31 David Seifert
2019-07-22 17:44 Aaron Bauman
2019-07-22 13:49 Mikle Kolyada
2019-07-22 13:49 Mikle Kolyada
2019-07-22 13:49 Mikle Kolyada
2019-07-03 14:04 Lars Wendler
2019-07-03 14:01 Mike Gilbert
2019-07-03 11:08 Lars Wendler
2019-07-02 7:37 Lars Wendler
2019-06-16 23:27 Lars Wendler
2019-06-16 23:27 Lars Wendler
2019-06-16 17:15 Ulrich Müller
2019-06-14 9:26 Agostino Sarubbo
2019-06-14 9:18 Agostino Sarubbo
2019-06-14 9:00 Agostino Sarubbo
2019-06-13 14:59 Agostino Sarubbo
2019-06-13 14:17 Agostino Sarubbo
2019-06-12 9:49 Mikle Kolyada
2019-06-11 22:15 Sergei Trofimovich
2019-06-11 7:54 Sergei Trofimovich
2019-06-10 19:50 Thomas Deutschmann
2019-06-09 19:40 Thomas Deutschmann
2019-05-03 23:37 Mikle Kolyada
2019-05-03 12:12 Lars Wendler
2019-05-03 12:12 Lars Wendler
2019-04-10 20:34 Lars Wendler
2019-04-10 20:34 Lars Wendler
2019-02-07 9:19 Mikle Kolyada
2019-02-07 9:19 Mikle Kolyada
2019-02-07 9:19 Mikle Kolyada
2019-01-31 8:49 Tobias Klausmann
2019-01-29 11:39 Mikle Kolyada
2019-01-23 18:00 Mikle Kolyada
2019-01-13 9:43 Sergei Trofimovich
2019-01-12 16:28 Mart Raudsepp
2019-01-09 23:46 Lars Wendler
2019-01-01 12:17 Sergei Trofimovich
2019-01-01 12:17 Sergei Trofimovich
2019-01-01 12:05 Sergei Trofimovich
2018-12-30 10:16 Sergei Trofimovich
2018-12-30 9:43 Mikle Kolyada
2018-12-29 21:07 Mikle Kolyada
2018-12-29 19:12 Thomas Deutschmann
2018-12-29 18:50 Mike Gilbert
2018-12-29 10:34 Mikle Kolyada
2018-11-19 10:54 Lars Wendler
2018-11-12 19:58 William Hubbs
2018-11-08 14:43 Lars Wendler
2018-10-31 21:58 Patrick McLean
2018-10-31 21:58 Patrick McLean
2018-10-31 21:58 Patrick McLean
2018-10-21 11:56 Lars Wendler
2018-09-26 13:35 Lars Wendler
2018-07-20 10:34 Thomas Deutschmann
2018-07-17 11:54 Mikle Kolyada
2018-07-16 22:04 Lars Wendler
2018-07-14 20:16 Sergei Trofimovich
2018-07-14 20:10 Sergei Trofimovich
2018-07-14 18:22 Sergei Trofimovich
2018-07-12 6:40 Mart Raudsepp
2018-07-10 19:11 Sergei Trofimovich
2018-07-09 21:12 Thomas Deutschmann
2018-07-09 18:49 Mikle Kolyada
2018-07-09 18:00 Thomas Deutschmann
2018-07-09 18:00 Thomas Deutschmann
2018-07-09 18:00 Thomas Deutschmann
2018-04-11 7:29 Lars Wendler
2018-04-11 7:29 Lars Wendler
2018-04-11 7:29 Lars Wendler
2018-04-11 7:29 Lars Wendler
2018-04-06 11:44 Michał Górny
2018-04-06 11:44 Michał Górny
2018-04-06 11:44 Michał Górny
2018-04-06 11:44 Michał Górny
2018-04-06 11:44 Michał Górny
2018-04-06 11:44 Michał Górny
2018-04-06 11:44 Michał Górny
2018-03-22 15:07 Lars Wendler
2018-03-07 2:56 Thomas Deutschmann
2018-03-02 7:52 Lars Wendler
2018-03-02 3:29 Thomas Deutschmann
2018-02-15 15:53 Lars Wendler
2018-01-21 19:32 Lars Wendler
2018-01-13 18:58 Mike Frysinger
2018-01-12 4:10 Mike Frysinger
2018-01-08 11:59 Lars Wendler
2018-01-08 11:59 Lars Wendler
2017-12-17 15:48 Lars Wendler
2017-11-29 5:56 Markus Meier
2017-11-09 20:05 Sergei Trofimovich
2017-11-08 22:27 Sergei Trofimovich
2017-11-08 20:50 Tobias Klausmann
2017-11-07 23:00 Sergei Trofimovich
2017-11-07 22:52 Sergei Trofimovich
2017-11-07 17:57 Thomas Deutschmann
2017-11-07 11:28 Manuel Rüger
2017-11-07 10:31 Lars Wendler
2017-10-24 8:27 Lars Wendler
2017-10-23 12:00 Lars Wendler
2017-10-23 11:54 Lars Wendler
2017-10-23 11:11 Lars Wendler
2017-10-04 8:34 Lars Wendler
2017-10-04 0:34 Lars Wendler
2017-09-30 1:07 Lars Wendler
2017-09-30 1:07 Lars Wendler
2017-09-30 1:07 Lars Wendler
2017-09-06 14:50 Mart Raudsepp
2017-08-14 13:36 Lars Wendler
2017-08-14 13:36 Lars Wendler
2017-08-14 13:36 Lars Wendler
2017-05-25 21:22 Lars Wendler
2017-05-25 21:22 Lars Wendler
2017-05-22 17:29 Tobias Klausmann
2017-05-03 18:10 Manuel Rüger
2017-04-28 12:49 Manuel Rüger
2017-04-16 21:37 Sergei Trofimovich
2017-02-26 3:31 Matt Thode
2017-02-25 7:31 Markus Meier
2017-02-23 8:51 Lars Wendler
2017-02-07 13:33 Lars Wendler
2017-02-07 13:20 Lars Wendler
2017-02-07 13:18 Lars Wendler
2017-02-07 13:18 Lars Wendler
2017-01-22 16:27 Agostino Sarubbo
2017-01-22 12:14 Jeroen Roovers
2017-01-22 11:17 Jeroen Roovers
2017-01-21 20:33 Agostino Sarubbo
2017-01-21 17:27 Agostino Sarubbo
2017-01-21 17:16 Agostino Sarubbo
2017-01-21 0:36 Lars Wendler
2016-12-10 17:34 Mike Frysinger
2016-11-08 20:37 Lars Wendler
2016-11-08 20:37 Lars Wendler
2016-09-19 13:17 Lars Wendler
2016-09-08 7:20 Lars Wendler
2016-09-08 7:20 Lars Wendler
2016-08-11 13:28 Mike Frysinger
2016-04-15 13:31 Michał Górny
2016-04-13 7:26 Lars Wendler
2016-04-12 18:01 Mike Frysinger
2016-02-28 19:59 Robin H. Johnson
2016-01-06 4:39 Mike Frysinger
2015-11-05 10:01 Tobias Klausmann
2015-11-02 16:45 Mike Frysinger
2015-11-02 16:45 Mike Frysinger
2015-10-30 10:15 Agostino Sarubbo
2015-10-19 0:17 Mike Frysinger
2015-10-17 11:05 Markus Meier
2015-10-10 14:54 Mikle Kolyada
2015-10-02 11:05 Mikle Kolyada
2015-09-27 14:03 Mikle Kolyada
2015-09-27 5:25 Jeroen Roovers
2015-09-26 10:18 Agostino Sarubbo
2015-09-07 14:37 Lars Wendler
2015-08-16 10:59 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1650215166.36554265e704cb6c853d4c378d31d5788b63638c.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox