sys-apps/debianutils: Sync with Gentoo

It's from Gentoo commit 4dd37d7e4a3a3d4746252cbcba7a8c7f28c81675.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-05-11 08:18:26 +00:00
parent 1c35372f66
commit 455bbf2268
2 changed files with 46 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST debianutils_5.14.tar.xz 79676 BLAKE2B b8e6c5a38cf5fe8e3d8151b1c19cfda4d5866f805453eeb8376a94e1982653cb532ffefdb560f188574ba01e97249b49b69d41f1dda9aa76de4511034736965a SHA512 4a152fec6c363c0ca26339bf8bf3f39ec3c10227bbfe5d2f5974c24a6207fdb6c34644ecfdf0c773d4c778b1a95f91a15697b12b5c0cd9a6d0d8f369373b956f
DIST debianutils_5.23.2.tar.xz 82376 BLAKE2B a70bc0121cdcd4d302bdce60cca0cb6bc395dbd9ba1bcb7e5bcdd7b9bcb3b921162e897fd04069d75d6e3a9eae2dc0cd495f4723a9068e5350ba59ed1cfadb80 SHA512 2ccc3993abee6be0b9e861d7937984a096a29a677584665f638e5a51057051d48fcc54283c1f43ab1179505298735600e5ebedd3b41386aa5bc697c8c91cef6e

View File

@ -0,0 +1,45 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="A selection of tools from Debian"
HOMEPAGE="https://packages.qa.debian.org/d/debianutils.html"
SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz"
#SRC_URI="mirror://gentoo/e7/${PN}_${PV}.tar.xz"
S="${WORKDIR}"/work
LICENSE="BSD GPL-2 SMAIL"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="static"
PATCHES=( "${FILESDIR}"/${PN}-3.4.2-no-bs-namespace.patch )
src_prepare() {
# Avoid adding po4a dependency, upstream refreshes manpages.
sed -i -e '/SUBDIRS/s|po4a||' Makefile.am || die
default
eautoreconf
}
src_configure() {
use static && append-ldflags -static
default
}
src_install() {
einstalldocs
into /
dobin run-parts
into /usr
dobin ischroot
dosbin savelog
doman ischroot.1 run-parts.8 savelog.8
}