| 11 |
11 |
|
| 12 |
12 |
PYTHON_COMPAT=( python3_{11..13} )
|
| 13 |
13 |
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/coreutils.asc
|
| 14 |
|
inherit flag-o-matic python-any-r1 toolchain-funcs verify-sig
|
|
14 |
inherit branding flag-o-matic python-any-r1 toolchain-funcs verify-sig
|
| 15 |
15 |
|
| 16 |
16 |
MY_PATCH="${PN}-9.6-patches"
|
| 17 |
17 |
DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)"
|
| ... | ... | |
| 118 |
118 |
local PATCHES=(
|
| 119 |
119 |
"${FILESDIR}"/${PN}-9.5-skip-readutmp-test.patch
|
| 120 |
120 |
# Upstream patches
|
| 121 |
|
"${FILESDIR}"/${PN}-9.9-cp-SEEK_HOLE-loop.patch
|
|
121 |
"${FILESDIR}"/${PN}-9.10-dash-tests.patch
|
| 122 |
122 |
)
|
| 123 |
123 |
|
| 124 |
124 |
if ! use vanilla && [[ -d "${WORKDIR}"/${MY_PATCH} ]] ; then
|
| ... | ... | |
| 156 |
156 |
# still experimental at the moment, but:
|
| 157 |
157 |
# https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=85edb4afbd119fb69a0d53e1beb71f46c9525dd0
|
| 158 |
158 |
local myconf=(
|
| 159 |
|
--with-packager="Gentoo"
|
| 160 |
159 |
--with-packager-version="${PVR} (p${PATCH_VER:-0})"
|
| 161 |
|
--with-packager-bug-reports="https://bugs.gentoo.org/"
|
| 162 |
160 |
# kill/uptime - procps
|
| 163 |
161 |
# hostname - net-tools
|
| 164 |
162 |
--enable-install-program="arch,$(usev hostname),$(usev kill)"
|
| ... | ... | |
| 170 |
168 |
$(use_enable xattr)
|
| 171 |
169 |
$(use_with gmp libgmp)
|
| 172 |
170 |
$(use_with openssl)
|
|
171 |
$(use_with selinux)
|
| 173 |
172 |
)
|
| 174 |
173 |
|
| 175 |
174 |
if use gmp ; then
|
| ... | ... | |
| 192 |
191 |
sed -i '/elf_sys=yes/s:yes:no:' configure || die
|
| 193 |
192 |
fi
|
| 194 |
193 |
|
| 195 |
|
if ! use selinux ; then
|
| 196 |
|
# bug #301782
|
| 197 |
|
export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no
|
| 198 |
|
fi
|
| 199 |
|
|
| 200 |
|
econf "${myconf[@]}"
|
|
194 |
# TODO: Drop CONFIG_SHELL for bash after 9.10
|
|
195 |
# https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=a72ad1216d8cf96be542e2e7a4dd1d6151d6087b
|
|
196 |
CONFIG_SHELL="${BROOT}"/bin/bash econf "${myconf[@]}"
|
| 201 |
197 |
}
|
| 202 |
198 |
|
| 203 |
199 |
src_test() {
|