mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Merge pull request #1702 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-02-26
Weekly portage-stable package updates 2024-02-26
This commit is contained in:
commit
f2d7be8cd9
@ -274,7 +274,6 @@ dev-python/platformdirs
|
||||
dev-python/pluggy
|
||||
dev-python/pydecomp
|
||||
dev-python/pygments
|
||||
dev-python/pyparsing
|
||||
dev-python/setuptools
|
||||
dev-python/setuptools-scm
|
||||
dev-python/six
|
||||
|
||||
3
changelog/updates/2024-02-26-weekly-updates.md
Normal file
3
changelog/updates/2024-02-26-weekly-updates.md
Normal file
@ -0,0 +1,3 @@
|
||||
- libpsl ([0.21.5](https://github.com/rockdaboot/libpsl/blob/0.21.5/NEWS))
|
||||
- python ([3.11.8](https://www.get-python.org/downloads/release/python-3118/))
|
||||
- xz-utils ([5.4.6](https://github.com/tukaani-project/xz/releases/tag/v5.4.6))
|
||||
@ -7,8 +7,8 @@
|
||||
# Gentoo upstream package stabilisation
|
||||
# (the following packages are "unstable" upstream; we're stabilising these)
|
||||
|
||||
# Needed by arm64-native SDK.
|
||||
=app-emulation/qemu-8.1.5 ~arm64
|
||||
# Keep versions on both arches in sync.
|
||||
=app-arch/xz-utils-5.4.6-r1 ~arm64
|
||||
|
||||
=app-containers/containerd-1.7.13 ~amd64 ~arm64 # DO NOT EDIT THIS LINE. Added by containerd-apply-patch.sh on 2024-02-02 08:15:57
|
||||
=app-containers/cri-tools-1.27.0 ~amd64 ~arm64
|
||||
@ -24,7 +24,7 @@
|
||||
=app-crypt/gnupg-2.2.42-r2 ~arm64
|
||||
|
||||
# Needed to fix CVE-2023-36054.
|
||||
=app-crypt/mit-krb5-1.21.2 ~amd64 ~arm64
|
||||
=app-crypt/mit-krb5-1.21.2 ~arm64
|
||||
|
||||
# Needed by arm64-native SDK.
|
||||
=app-emulation/open-vmdk-1.0 *
|
||||
@ -70,6 +70,7 @@
|
||||
# Keep versions on both arches in sync.
|
||||
=net-libs/libnetfilter_cthelper-1.0.1-r1 ~arm64
|
||||
=net-libs/libnetfilter_cttimeout-1.0.1 ~arm64
|
||||
=net-libs/libpsl-0.21.5 ~arm64
|
||||
|
||||
# Needed for addressing CVE-2023-46218, CVE-2023-46219 and CVE-2024-0853
|
||||
=net-misc/curl-8.6.0-r1 ~amd64 ~arm64
|
||||
|
||||
@ -2,7 +2,5 @@ DIST xz-5.4.5.tar.gz 2884510 BLAKE2B 647c8227080a7f37e3321e778d7f52ccb9da3810f2b
|
||||
DIST xz-5.4.5.tar.gz.sig 566 BLAKE2B c6ec64f92ecb30395e6d580be5d0aad1ee007585245ed42e7b05f1ea3a8cd8bf4317e8dc964c65417daa0a04e8f523c6ba8ae61a7f5b2ff3dc17dd53c7593ce2 SHA512 4f2c779d3c14bacd0451cfd68846201a48931128994c4119fcbf4f0dd7331710c32098039d38561de29327d543d67174fddbb6a83cb2fcfda9b3153cab092d4d
|
||||
DIST xz-5.4.6.tar.gz 2889306 BLAKE2B f0bbd33ea7cd64d475c3501f6e76080c8c0080e377f23462f5f76459935f4e621538ddaa8452d2feaed278d62a596e38ed2aca18ed9e76512c4ec77fa2f4cc5f SHA512 b08a61d8d478d3b4675cb1ddacdbbd98dc6941a55bcdd81a28679e54e9367d3a595fa123ac97874a17da571c1b712e2a3e901c2737099a9d268616a1ba3de497
|
||||
DIST xz-5.4.6.tar.gz.sig 566 BLAKE2B 808f1b5e2a17729f36a05ba88a9c00210cda2afa02923e6f289d13dc2a48f7674cafec6e25660e142d67f01dd941c7390cee2757b054df3a3193dde0791363a1 SHA512 d5e32b944e7492a32c40f675d918796e077f63490a23c6fce5c4d6d1eebc443f129d27a2e888913c5a36c3ffdac75b9c96c1749402283445e0ba9ff72b965741
|
||||
DIST xz-5.5.1alpha.tar.gz 3020057 BLAKE2B 1a2106b9e43cb06ddde0f8a9fc86754fe2d335367035ec3349d34da5511496af0d1270cd42ce2c1c3324af74092c0eea3663746ec98195d0db449d5754253c0f SHA512 dbd164353012c9ff5ee3e776709704fcbc6e9f644fff52c75846653ca4a26b6dce1a2a5fe1663c3fc8674f99aa67a1a806eeac44cb978246223688c8c105fcf1
|
||||
DIST xz-5.5.1alpha.tar.gz.sig 566 BLAKE2B 760946fd09eccd0a221d117cc1f5b656aba5bbbfa911d987fd93c54d9905a1e51dd8c24b6927cc97dda344f2efa774b556e6919bdf0b298fa6370ac8d3a56f76 SHA512 714f07b510a4a8ff0d533e6278cd25f8ed407b3c84b6172ce9d4e9fc2dfe8b0be9849eb008ee3b7ac900f34f85946336277a2700dc5133c6dcae144b8aba6dd7
|
||||
DIST xz-5.5.2beta.tar.gz 2995626 BLAKE2B 3fb1c61fbe39f1a6e74729459b0f0593699ba9f380cf072d74982bd42fd67a807988dce521e85dd1437675dd19c485ad1cdba248e82ff72975cd50edd3e522f8 SHA512 8495d98a7a50292380cbac6ae1ce4d0709cf84bca9cd639bf9252ff18d647306ca1ac4f5b258a686bca324653c8cd31c2f4d4877a15fa7300dd82a416abe59a9
|
||||
DIST xz-5.5.2beta.tar.gz.sig 566 BLAKE2B b4ab96a737b607b830c507d9df42a4e0ad463bb98fb3747f1c7b953f6738ea555e96a7324e08848617752209f05d3ee3a70936972e7d866dec58d3e0db8ddfcd SHA512 86acaba3d1c86134e9e68c9940c280f19d0fdd01897e7f6545fc6cf7d6a1034fe7a2a511f618af04e6da80a31fade608765d493b5f5c32d3684a2db46f196f28
|
||||
DIST xz-5.6.0.tar.gz 3036813 BLAKE2B 7b7ed5da5711fee6e53af1c72a6f4aff569d7cf986bca8cd3f3104cbb73342e81306295903a8660476d228344eb17d08e2a005230c06ac7e3d9e27bbaba0e075 SHA512 1ef3cd3607818314e55b28c20263a9088d4b6e5362a45fbd37c17e799e26b4a7579928b99925ffe71e7804b0db2f65936f66a825bac9b23b7b0664f902925de8
|
||||
DIST xz-5.6.0.tar.gz.sig 566 BLAKE2B 6c073c620b03751fcb40f47612acf96bee67f9dd5c38aa8ccd1f140cf3183ba009b60496fe319c14d9a32bd6cc6563f142d1716d9ae1e0554f77114dc9fc8f21 SHA512 2800c3f440b6b17b61c418e12945f136535cc5a59069be2ee0de37e312e9ad16a29338152990eeb22ebe6cc3513679bdc40336cfa089a279d3b3476ac9d13ed0
|
||||
|
||||
@ -35,7 +35,7 @@ else
|
||||
"
|
||||
|
||||
if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Remember: we cannot leverage autotools in this ebuild in order
|
||||
# to avoid circular deps with autotools
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic libtool multilib multilib-minimal preserve-libs toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
# Per tukaani.org, git.tukaani.org is a mirror of github and
|
||||
# may be behind.
|
||||
EGIT_REPO_URI="
|
||||
https://github.com/tukaani-project/xz
|
||||
https://git.tukaani.org/xz.git
|
||||
"
|
||||
inherit git-r3 autotools
|
||||
|
||||
# bug #272880 and bug #286068
|
||||
BDEPEND="sys-devel/gettext >=dev-build/libtool-2"
|
||||
else
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jiatan.asc
|
||||
inherit verify-sig
|
||||
|
||||
MY_P="${PN/-utils}-${PV/_}"
|
||||
SRC_URI="
|
||||
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz
|
||||
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
|
||||
https://tukaani.org/xz/${MY_P}.tar.gz
|
||||
verify-sig? (
|
||||
https://github.com/tukaani-project/xz/releases/download/v${PV/_}/${MY_P}.tar.gz.sig
|
||||
https://tukaani.org/xz/${MY_P}.tar.gz.sig
|
||||
)
|
||||
"
|
||||
|
||||
if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Utils for managing LZMA compressed files"
|
||||
HOMEPAGE="https://tukaani.org/xz/"
|
||||
|
||||
# See top-level COPYING file as it outlines the various pieces and their licenses.
|
||||
LICENSE="public-domain LGPL-2.1+ GPL-2+ doc? ( CC-BY-SA-4.0 )"
|
||||
SLOT="0"
|
||||
IUSE="doc +extra-filters pgo nls static-libs"
|
||||
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-jiatan )"
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
eautopoint
|
||||
eautoreconf
|
||||
else
|
||||
# Allow building shared libs on Solaris/x64
|
||||
elibtoolize
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--enable-threads
|
||||
$(multilib_native_use_enable doc)
|
||||
$(use_enable nls)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
myconf+=(
|
||||
--disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}
|
||||
)
|
||||
fi
|
||||
|
||||
if ! use extra-filters ; then
|
||||
myconf+=(
|
||||
# LZMA1 + LZMA2 for standard .lzma & .xz files
|
||||
--enable-encoders=lzma1,lzma2
|
||||
--enable-decoders=lzma1,lzma2
|
||||
|
||||
# those are used by default, depending on preset
|
||||
--enable-match-finders=hc3,hc4,bt4
|
||||
|
||||
# CRC64 is used by default, though some (old?) files use CRC32
|
||||
--enable-checks=crc32,crc64
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
export gl_cv_posix_shell="${EPREFIX}"/bin/sh
|
||||
|
||||
# Undo Solaris-based defaults pointing to /usr/xpg5/bin
|
||||
myconf+=( --disable-path-for-script )
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# -fprofile-partial-training because upstream note the test suite isn't super comprehensive
|
||||
# See https://documentation.suse.com/sbp/all/html/SBP-GCC-10/index.html#sec-gcc10-pgo
|
||||
local pgo_generate_flags=$(usev pgo "-fprofile-update=atomic -fprofile-dir=${T}/${ABI}-pgo -fprofile-generate=${T}/${ABI}-pgo $(test-flags-CC -fprofile-partial-training)")
|
||||
local pgo_use_flags=$(usev pgo "-fprofile-use=${T}/${ABI}-pgo -fprofile-dir=${T}/${ABI}-pgo $(test-flags-CC -fprofile-partial-training)")
|
||||
|
||||
emake CFLAGS="${CFLAGS} ${pgo_generate_flags}"
|
||||
|
||||
if use pgo ; then
|
||||
emake CFLAGS="${CFLAGS} ${pgo_generate_flags}" -k check
|
||||
|
||||
if tc-is-clang; then
|
||||
llvm-profdata merge "${T}"/${ABI}-pgo --output="${T}"/${ABI}-pgo/default.profdata || die
|
||||
fi
|
||||
|
||||
emake clean
|
||||
emake CFLAGS="${CFLAGS} ${pgo_use_flags}"
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
|
||||
if use doc ; then
|
||||
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
|
||||
}
|
||||
@ -132,11 +132,7 @@ my_src_configure() {
|
||||
--enable-large-secmem
|
||||
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
|
||||
KSBA_CONFIG="${ESYSROOT}/usr/bin/ksba-config"
|
||||
LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config"
|
||||
LIBGCRYPT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-libgcrypt-config"
|
||||
NPTH_CONFIG="${ESYSROOT}/usr/bin/npth-config"
|
||||
ac_cv_path_GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
|
||||
|
||||
$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
|
||||
)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -14,7 +14,7 @@ SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
|
||||
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
107
sdk_container/src/third_party/portage-stable/app-crypt/pinentry/pinentry-1.2.1-r5.ebuild
vendored
Normal file
107
sdk_container/src/third_party/portage-stable/app-crypt/pinentry/pinentry-1.2.1-r5.ebuild
vendored
Normal file
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc
|
||||
inherit autotools qmake-utils verify-sig
|
||||
|
||||
DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="https://gnupg.org/aegypten2/"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="caps efl emacs gtk keyring ncurses qt5 wayland X"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libassuan-2.1
|
||||
>=dev-libs/libgcrypt-1.6.3
|
||||
>=dev-libs/libgpg-error-1.17
|
||||
efl? ( dev-libs/efl[X] )
|
||||
keyring? ( app-crypt/libsecret )
|
||||
ncurses? ( sys-libs/ncurses:= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
wayland? ( kde-plasma/kwayland:5 )
|
||||
X? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
gtk? ( app-crypt/gcr:0[gtk] )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
verify-sig? ( sec-keys/openpgp-keys-gnupg )
|
||||
"
|
||||
PDEPEND="emacs? ( app-emacs/pinentry )"
|
||||
IDEPEND=">=app-eselect/eselect-pinentry-0.7.2"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.0-AR.patch"
|
||||
"${FILESDIR}/${PN}-1.2.1-automagic-capslock.patch" # bug #819939, bug #837719
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
unset FLTK_CONFIG
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export PATH="$(qt5_get_bindir):${PATH}"
|
||||
export QTLIB="$(qt5_get_libdir)"
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable efl pinentry-efl)
|
||||
$(use_enable emacs pinentry-emacs)
|
||||
$(use_enable keyring libsecret)
|
||||
$(use_enable gtk pinentry-gnome3)
|
||||
$(use_enable ncurses fallback-curses)
|
||||
$(use_enable ncurses pinentry-curses)
|
||||
$(use_enable qt5 pinentry-qt)
|
||||
$(use_enable wayland kf5-wayland)
|
||||
$(use_enable X qtx11extras)
|
||||
$(use_with X x)
|
||||
|
||||
--enable-pinentry-tty
|
||||
--disable-pinentry-fltk
|
||||
--disable-pinentry-gtk2
|
||||
|
||||
MOC="$(qt5_get_bindir)"/moc
|
||||
ac_cv_path_GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
|
||||
|
||||
$("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm "${ED}"/usr/bin/pinentry || die
|
||||
|
||||
use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
@ -42,7 +42,7 @@ else
|
||||
fi
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
[[ "${PV}" != *_rc* ]] && KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv x86"
|
||||
[[ "${PV}" != *_rc* ]] && KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
|
||||
@ -48,7 +48,7 @@ else
|
||||
https://github.com/Kitware/CMake/releases/download/v$(ver_cut 1-3)/${MY_P}-SHA-256.txt.asc
|
||||
)"
|
||||
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-bradking-20230817 )"
|
||||
fi
|
||||
|
||||
@ -1,21 +0,0 @@
|
||||
Needed for append-lfs-flags to work.
|
||||
--- a/configure.py
|
||||
+++ b/configure.py
|
||||
@@ -261,7 +261,7 @@ configure_args = sys.argv[1:]
|
||||
if '--bootstrap' in configure_args:
|
||||
configure_args.remove('--bootstrap')
|
||||
n.variable('configure_args', ' '.join(configure_args))
|
||||
-env_keys = set(['CXX', 'AR', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS'])
|
||||
+env_keys = set(['CXX', 'AR', 'CFLAGS', 'CPPFLAGS', 'CXXFLAGS', 'LDFLAGS'])
|
||||
configure_env = dict((k, os.environ[k]) for k in os.environ if k in env_keys)
|
||||
if configure_env:
|
||||
config_str = ' '.join([k + '=' + pipes.quote(configure_env[k])
|
||||
@@ -406,6 +406,8 @@ def shell_escape(str):
|
||||
if 'CFLAGS' in configure_env:
|
||||
cflags.append(configure_env['CFLAGS'])
|
||||
ldflags.append(configure_env['CFLAGS'])
|
||||
+if 'CPPFLAGS' in configure_env:
|
||||
+ cflags.append(configure_env['CPPFLAGS'])
|
||||
if 'CXXFLAGS' in configure_env:
|
||||
cflags.append(configure_env['CXXFLAGS'])
|
||||
ldflags.append(configure_env['CXXFLAGS'])
|
||||
@ -1,127 +0,0 @@
|
||||
# Copyright 2012-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit edo bash-completion-r1 elisp-common flag-o-matic python-any-r1 toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A small build system similar to make"
|
||||
HOMEPAGE="https://ninja-build.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="doc emacs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/re2c
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/doxygen
|
||||
dev-libs/libxslt
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/ninja-cflags.patch
|
||||
)
|
||||
|
||||
run_for_build() {
|
||||
if tc-is-cross-compiler; then
|
||||
local -x AR=$(tc-getBUILD_AR)
|
||||
local -x CXX=$(tc-getBUILD_CXX)
|
||||
local -x CFLAGS=
|
||||
local -x CXXFLAGS=${BUILD_CXXFLAGS}
|
||||
local -x LDFLAGS=${BUILD_LDFLAGS}
|
||||
fi
|
||||
echo "$@" >&2
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CXX
|
||||
|
||||
# configure.py appends CFLAGS to CXXFLAGS
|
||||
unset CFLAGS
|
||||
|
||||
append-lfs-flags
|
||||
|
||||
run_for_build ${EPYTHON} configure.py --bootstrap --verbose || die
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
mv ninja ninja-build || die
|
||||
${EPYTHON} configure.py || die
|
||||
./ninja-build -v ninja || die
|
||||
else
|
||||
ln ninja ninja-build || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
./ninja-build -v doxygen manual || die
|
||||
fi
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile misc/ninja-mode.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if ! tc-is-cross-compiler; then
|
||||
# Bug 485772
|
||||
ulimit -n 2048
|
||||
edo ./ninja -v ninja_test
|
||||
edo ./ninja_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md CONTRIBUTING.md
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r doc/doxygen/html/.
|
||||
dodoc doc/manual.html
|
||||
fi
|
||||
|
||||
dobin ninja
|
||||
|
||||
newbashcomp misc/bash-completion ${PN}
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax/
|
||||
doins misc/ninja.vim
|
||||
|
||||
echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}"/ninja.vim || die
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${T}"/ninja.vim
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins misc/zsh-completion _ninja
|
||||
|
||||
if use emacs; then
|
||||
cd misc || die
|
||||
elisp-install ninja ninja-mode.el* || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@ -1,131 +0,0 @@
|
||||
# Copyright 2012-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit edo bash-completion-r1 elisp-common flag-o-matic python-any-r1 toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A small build system similar to make"
|
||||
HOMEPAGE="https://ninja-build.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="doc emacs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/re2c
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/doxygen
|
||||
dev-libs/libxslt
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
RDEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
|
||||
PDEPEND="app-alternatives/ninja"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/ninja-cflags.patch
|
||||
)
|
||||
|
||||
run_for_build() {
|
||||
if tc-is-cross-compiler; then
|
||||
local -x AR=$(tc-getBUILD_AR)
|
||||
local -x CXX=$(tc-getBUILD_CXX)
|
||||
local -x CFLAGS=
|
||||
local -x CXXFLAGS=${BUILD_CXXFLAGS}
|
||||
local -x LDFLAGS=${BUILD_LDFLAGS}
|
||||
fi
|
||||
echo "$@" >&2
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CXX
|
||||
|
||||
# configure.py appends CFLAGS to CXXFLAGS
|
||||
unset CFLAGS
|
||||
|
||||
append-lfs-flags
|
||||
|
||||
run_for_build ${EPYTHON} configure.py --bootstrap --verbose || die
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
mv ninja ninja-build || die
|
||||
${EPYTHON} configure.py || die
|
||||
./ninja-build -v ninja || die
|
||||
else
|
||||
ln ninja ninja-build || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
./ninja-build -v doxygen manual || die
|
||||
fi
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile misc/ninja-mode.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if ! tc-is-cross-compiler; then
|
||||
# Bug 485772
|
||||
ulimit -n 2048
|
||||
edo ./ninja -v ninja_test
|
||||
edo ./ninja_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md CONTRIBUTING.md
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r doc/doxygen/html/.
|
||||
dodoc doc/manual.html
|
||||
fi
|
||||
|
||||
newbin ninja ninja-reference
|
||||
|
||||
newbashcomp misc/bash-completion ${PN}
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax/
|
||||
doins misc/ninja.vim
|
||||
|
||||
echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}"/ninja.vim || die
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${T}"/ninja.vim
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins misc/zsh-completion _ninja
|
||||
|
||||
if use emacs; then
|
||||
cd misc || die
|
||||
elisp-install ninja ninja-mode.el* || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
if ! [[ -e "${EROOT}/usr/bin/ninja" ]]; then
|
||||
ln -s ninja-reference "${EROOT}/usr/bin/ninja" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
@ -1,117 +0,0 @@
|
||||
# Copyright 2012-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit edo bash-completion-r1 flag-o-matic python-any-r1 toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/ninja-build/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A small build system similar to make"
|
||||
HOMEPAGE="https://ninja-build.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/re2c
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/doxygen
|
||||
dev-libs/libxslt
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
PDEPEND="
|
||||
app-alternatives/ninja
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/ninja-cflags.patch
|
||||
)
|
||||
|
||||
run_for_build() {
|
||||
if tc-is-cross-compiler; then
|
||||
local -x AR=$(tc-getBUILD_AR)
|
||||
local -x CXX=$(tc-getBUILD_CXX)
|
||||
local -x CFLAGS=
|
||||
local -x CXXFLAGS=${BUILD_CXXFLAGS}
|
||||
local -x LDFLAGS=${BUILD_LDFLAGS}
|
||||
fi
|
||||
echo "$@" >&2
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CXX
|
||||
|
||||
# configure.py appends CFLAGS to CXXFLAGS
|
||||
unset CFLAGS
|
||||
|
||||
append-lfs-flags
|
||||
|
||||
run_for_build ${EPYTHON} configure.py --bootstrap --verbose || die
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
mv ninja ninja-build || die
|
||||
${EPYTHON} configure.py || die
|
||||
./ninja-build -v ninja || die
|
||||
else
|
||||
ln ninja ninja-build || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
./ninja-build -v doxygen manual || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if ! tc-is-cross-compiler; then
|
||||
# Bug 485772
|
||||
ulimit -n 2048
|
||||
edo ./ninja -v ninja_test
|
||||
edo ./ninja_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md CONTRIBUTING.md
|
||||
|
||||
if use doc; then
|
||||
docinto html
|
||||
dodoc -r doc/doxygen/html/.
|
||||
dodoc doc/manual.html
|
||||
fi
|
||||
|
||||
newbin ninja ninja-reference
|
||||
|
||||
newbashcomp misc/bash-completion ${PN}
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax/
|
||||
doins misc/ninja.vim
|
||||
|
||||
echo 'au BufNewFile,BufRead *.ninja set ft=ninja' > "${T}"/ninja.vim || die
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${T}"/ninja.vim
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins misc/zsh-completion _ninja
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! [[ -e "${EROOT}/usr/bin/ninja" ]]; then
|
||||
ln -s ninja-reference "${EROOT}/usr/bin/ninja" || die
|
||||
fi
|
||||
}
|
||||
@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit edo bash-completion-r1 flag-o-matic python-any-r1 toolchain-funcs
|
||||
inherit edo bash-completion-r1 python-any-r1 toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
|
||||
@ -40,7 +40,6 @@ PDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/ninja-cflags.patch
|
||||
"${FILESDIR}"/ninja-cppflags.patch
|
||||
)
|
||||
|
||||
run_for_build() {
|
||||
@ -48,7 +47,7 @@ run_for_build() {
|
||||
local -x AR=$(tc-getBUILD_AR)
|
||||
local -x CXX=$(tc-getBUILD_CXX)
|
||||
local -x CFLAGS=
|
||||
local -x CXXFLAGS=${BUILD_CXXFLAGS}
|
||||
local -x CXXFLAGS="${BUILD_CXXFLAGS} -D_FILE_OFFSET_BITS=64"
|
||||
local -x LDFLAGS=${BUILD_LDFLAGS}
|
||||
fi
|
||||
echo "$@" >&2
|
||||
@ -61,7 +60,7 @@ src_compile() {
|
||||
# configure.py appends CFLAGS to CXXFLAGS
|
||||
unset CFLAGS
|
||||
|
||||
append-lfs-flags
|
||||
local -x CXXFLAGS="${CXXFLAGS} -D_FILE_OFFSET_BITS=64"
|
||||
|
||||
run_for_build ${EPYTHON} configure.py --bootstrap --verbose || die
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit edo bash-completion-r1 flag-o-matic python-any-r1 toolchain-funcs
|
||||
inherit edo bash-completion-r1 python-any-r1 toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/ninja-build/ninja.git"
|
||||
@ -40,7 +40,6 @@ PDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/ninja-cflags.patch
|
||||
"${FILESDIR}"/ninja-cppflags.patch
|
||||
)
|
||||
|
||||
run_for_build() {
|
||||
@ -48,7 +47,7 @@ run_for_build() {
|
||||
local -x AR=$(tc-getBUILD_AR)
|
||||
local -x CXX=$(tc-getBUILD_CXX)
|
||||
local -x CFLAGS=
|
||||
local -x CXXFLAGS=${BUILD_CXXFLAGS}
|
||||
local -x CXXFLAGS="${BUILD_CXXFLAGS} -D_FILE_OFFSET_BITS=64"
|
||||
local -x LDFLAGS=${BUILD_LDFLAGS}
|
||||
fi
|
||||
echo "$@" >&2
|
||||
@ -61,7 +60,7 @@ src_compile() {
|
||||
# configure.py appends CFLAGS to CXXFLAGS
|
||||
unset CFLAGS
|
||||
|
||||
append-lfs-flags
|
||||
local -x CXXFLAGS="${CXXFLAGS} -D_FILE_OFFSET_BITS=64"
|
||||
|
||||
run_for_build ${EPYTHON} configure.py --bootstrap --verbose || die
|
||||
|
||||
|
||||
@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE="cet debuginfod guile lzma multitarget nls +python +server sim source-highlight test vanilla xml xxhash zstd"
|
||||
if [[ -n ${REGULAR_RELEASE} ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
@ -134,6 +134,14 @@ src_prepare() {
|
||||
# Avoid using ancient termcap from host on Prefix systems
|
||||
sed -i -e 's/termcap tinfow/tinfow/g' \
|
||||
gdb/configure{.ac,} || die
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# code relies on C++11, so make sure we get that selected
|
||||
# due to Python 3.11 pymacro.h doing stuff to work around
|
||||
# versioning mess based on the C version, while we're compiling
|
||||
# C++ here, so we need to make it clear we're doing C++11/C11
|
||||
# because Solaris system headers act on these
|
||||
sed -i -e 's/-x c++/-std=c++11/' gdb/Makefile.in || die
|
||||
fi
|
||||
}
|
||||
|
||||
gdb_branding() {
|
||||
|
||||
@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm libedit
|
||||
+ncurses pgo +readline +sqlite +ssl test tk valgrind
|
||||
|
||||
@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm libedit
|
||||
+ncurses pgo +readline +sqlite +ssl test tk valgrind
|
||||
|
||||
@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm libedit
|
||||
+ncurses pgo +readline +sqlite +ssl test tk valgrind
|
||||
|
||||
@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm libedit
|
||||
+ncurses pgo +readline +sqlite +ssl test tk valgrind
|
||||
|
||||
@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm +ncurses pgo
|
||||
+readline +sqlite +ssl test tk valgrind
|
||||
|
||||
@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm +ncurses pgo
|
||||
+readline +sqlite +ssl test tk valgrind
|
||||
|
||||
@ -11,7 +11,7 @@ SRC_URI="https://github.com/DaveGamble/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv sparc x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
91
sdk_container/src/third_party/portage-stable/dev-libs/libaio/libaio-0.3.113-r1.ebuild
vendored
Normal file
91
sdk_container/src/third_party/portage-stable/dev-libs/libaio/libaio-0.3.113-r1.ebuild
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib-minimal toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="https://pagure.io/libaio"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://pagure.io/libaio.git"
|
||||
else
|
||||
SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.112-cppflags.patch
|
||||
"${FILESDIR}"/${PN}-0.3.113-respect-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-0.3.113-32-bit-tests.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local sed_args=(
|
||||
-e "/^prefix=/s:/usr:${EPREFIX}/usr:"
|
||||
-e '/^libdir=/s:lib$:$(ABI_LIBDIR):'
|
||||
-e 's:-Werror ::'
|
||||
)
|
||||
if ! use static-libs; then
|
||||
sed_args+=( -e '/\tinstall .*\/libaio.a/d' )
|
||||
# Tests require the static library to be built.
|
||||
use test || sed_args+=( -e '/^all_targets +=/s/ libaio.a//' )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" src/Makefile harness/Makefile Makefile || die
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Upstream aren't interested in fixing: bug #855698
|
||||
filter-lto
|
||||
|
||||
if use arm ; then
|
||||
# When building for thumb, we can't allow frame pointers.
|
||||
# http://crbug.com/464517
|
||||
if $(tc-getCPP) ${CFLAGS} ${CPPFLAGS} - <<<$'#ifndef __thumb__\n#error\n#endif' >&/dev/null ; then
|
||||
append-flags -fomit-frame-pointer
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
_emake() {
|
||||
CC="$(tc-getCC)" \
|
||||
AR="$(tc-getAR)" \
|
||||
RANLIB="$(tc-getRANLIB)" \
|
||||
ABI_LIBDIR="$(get_libdir)" \
|
||||
CFLAGS_WERROR= \
|
||||
emake "$@"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
_emake
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
mkdir -p testdir || die
|
||||
|
||||
# 'make check' breaks with sandbox, 'make partcheck' works
|
||||
_emake partcheck prefix="${S}/src" libdir="${S}/src"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
_emake install DESTDIR="${D}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
doman man/*
|
||||
dodoc ChangeLog TODO
|
||||
|
||||
# This lib is a bare minimal shim on top of kernel syscalls.
|
||||
export QA_DT_NEEDED=$(find "${ED}" -type f -name 'libaio.so.*' -printf '/%P\n')
|
||||
}
|
||||
@ -1,12 +1,13 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit multilib-minimal toolchain-funcs flag-o-matic usr-ldscript
|
||||
inherit multilib-minimal toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
|
||||
HOMEPAGE="https://pagure.io/libaio"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://pagure.io/libaio.git"
|
||||
@ -14,6 +15,7 @@ else
|
||||
SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="static-libs test"
|
||||
@ -83,9 +85,6 @@ multilib_src_install_all() {
|
||||
doman man/*
|
||||
dodoc ChangeLog TODO
|
||||
|
||||
# move to / for multipath-tools, bug #325355
|
||||
gen_usr_ldscript -a aio
|
||||
|
||||
# This lib is a bare minimal shim on top of kernel syscalls.
|
||||
export QA_DT_NEEDED=$(find "${ED}" -type f -name 'libaio.so.*' -printf '/%P\n')
|
||||
}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
DIST libunistring-0.9.10.tar.xz 2051320 BLAKE2B 25d162d9d510cc35ad4209acceb9b06bcc0553b8ce56e94f8df12c4df64d91abfc4a9e15b50b5c8d5b9672939305a394a7e83f1892258defb7ae5ac2ccf79dfb SHA512 01dcab6e05ea4c33572bf96cc0558bcffbfc0e62fc86410cef06c1597a0073d5750525fe2dee4fdb39c9bd704557fcbab864f9645958108a2e07950bc539fe54
|
||||
DIST libunistring-1.0.tar.xz 2367800 BLAKE2B 8208fe33d4ac2f015b0efb56b0c7dd87afc4bb1c6ca4eb3ded86d7e2101d7b7f68bfd8991af4b6dd408282ec73f134ee0b884e761ff6d52e8a1e398326aec420 SHA512 70d5ad82722844dbeacdfcb4d7593358e4a00a9222a98537add4b7f0bf4a2bb503dfb3cd627e52e2a5ca1d3da9e5daf38a6bd521197f92002e11e715fb1662d1
|
||||
DIST libunistring-1.1.tar.xz 2397676 BLAKE2B 721adc90884006480055b95d0fa06cd862417aa02b467f1e14688292ad9c11f1e33520b14ed5dc2d2724c6df8713d3af1e8032014259d8355156cb72edfcb983 SHA512 01a4267bbd301ea5c389b17ee918ae5b7d645da8b2c6c6f0f004ff2dead9f8e50cda2c6047358890a5fceadc8820ffc5154879193b9bb8970f3fb1fea1f411d6
|
||||
DIST libunistring-1.2.tar.xz 2502196 BLAKE2B 606c6fdd93f05b01e9b08b3bd30283afcbf9a3425abf900e7672f1d6eb91b51009913d4f5e45a4c1c1b82a84b4870d3eaced9ca76fd570936ad5c39c94038fc7 SHA512 5fbb5a0a864db73a6d18cdea7b31237da907fff0ef288f3a8db6ebdba8ef61ad8855e5fc780c2bbf632218d8fa59dd119734e5937ca64dc77f53f30f13b80b17
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@ -9,7 +9,7 @@ DESCRIPTION="Library for manipulating Unicode and C strings according to Unicode
|
||||
HOMEPAGE="https://www.gnu.org/software/libunistring/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ )"
|
||||
LICENSE="|| ( LGPL-3+ GPL-2 ) || ( FDL-1.2 GPL-3+ )"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
49
sdk_container/src/third_party/portage-stable/dev-libs/libunistring/libunistring-1.2.ebuild
vendored
Normal file
49
sdk_container/src/third_party/portage-stable/dev-libs/libunistring/libunistring-1.2.ebuild
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib-minimal libtool
|
||||
|
||||
DESCRIPTION="Library for manipulating Unicode and C strings according to Unicode standard"
|
||||
HOMEPAGE="https://www.gnu.org/software/libunistring/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ )"
|
||||
# Check regularly even on "minor" bumps
|
||||
SLOT="0/5"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
# bug #900374
|
||||
unreachable
|
||||
MIN
|
||||
static_assert
|
||||
alignof
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-nodocs.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize # for Solaris shared libraries
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc doc/*.html
|
||||
doinfo doc/*.info
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
@ -1 +1,2 @@
|
||||
DIST npth-1.6.tar.bz2 300486 BLAKE2B 665fdb2f4cbe59750b6b4b7c2701ee80a23a122df10c9f8be47c4af5f3bf5968f709637ab3f4878bb68609752fbb6ce1364e109fdfeba64e4db258733a33f3fc SHA512 2ed1012e14a9d10665420b9a23628be7e206fd9348111ec751349b93557ee69f1176bcf7e6b195b35b1c44a5e0e81ee33b713f03d79a33d1ecd9037035afeda2
|
||||
DIST npth-1.7.tar.bz2 313213 BLAKE2B 39bc5857fb61a4264bef6ff23c28755d2a3b3ceef93034aefd5cf1c2ad905adf696c6753ebd5cea5e0a875df4ecb97db03e023a50a27f51ec0641bbc36b54089 SHA512 8893023bcf953a3f7c490cf8116bed323a9d4af2bea35277e919f437916fda8b8e68ded28ec1777717cf9187c504892556159cbdb8bc02ed4a8b30b3d897d244
|
||||
|
||||
35
sdk_container/src/third_party/portage-stable/dev-libs/npth/npth-1.7-r1.ebuild
vendored
Normal file
35
sdk_container/src/third_party/portage-stable/dev-libs/npth/npth-1.7-r1.ebuild
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="New GNU Portable Threads Library"
|
||||
HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
|
||||
|
||||
econf $(use_enable test tests) \
|
||||
--enable-install-npth-config
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# no static archives
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
@ -65,6 +65,9 @@ multilib_src_configure() {
|
||||
# The build system overrides user optimization level based on a configure flag. #886987
|
||||
local my_optlvl=$(get-flag '-O*')
|
||||
|
||||
# bgo #923802
|
||||
append-lfs-flags
|
||||
|
||||
# We use the standard BUILD_xxx but nspr uses HOST_xxx
|
||||
tc-export_build_env BUILD_CC
|
||||
export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
|
||||
|
||||
48
sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/files/xmlsec-1.3.3-slibtool.patch
vendored
Normal file
48
sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/files/xmlsec-1.3.3-slibtool.patch
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
https://github.com/lsh123/xmlsec/pull/756
|
||||
https://github.com/lsh123/xmlsec/commit/de5251a8064231fbe6b9bccc669228cab4ab4ec7
|
||||
|
||||
From de5251a8064231fbe6b9bccc669228cab4ab4ec7 Mon Sep 17 00:00:00 2001
|
||||
From: orbea <orbea@riseup.net>
|
||||
Date: Tue, 30 Jan 2024 18:57:19 -0800
|
||||
Subject: [PATCH] configure.ac: fix the build with slibtool (#756)
|
||||
|
||||
When building with LibreSSL or BoringSSL the build will try to link the
|
||||
$OPENSSL_LIBS with -Wl,-Bstatic, but this will fail when using slibtool
|
||||
if only dynamic libssl and libcrypto libraries are installed.
|
||||
|
||||
ld: cannot find -lssl: No such file or directory
|
||||
ld: cannot find -lcrypto: No such file or directory
|
||||
|
||||
With GNU libtool it will "helpfully" rearrange the linker output to
|
||||
obscure the issue.
|
||||
|
||||
-lssl -lcrypto -lxslt -lxml2 ../.libs/libxmlsec1.so -g -O2 -O -Wl,-Bstatic -Wl,-Bdynamic
|
||||
|
||||
While with slibtool it will do as instructed and produce a build
|
||||
failure.
|
||||
|
||||
-Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic -lxslt
|
||||
---
|
||||
configure.ac | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ce8a278c..25e70b24 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -806,7 +806,6 @@ if test "z$OPENSSL_FOUND" = "zyes" ; then
|
||||
#endif
|
||||
],[
|
||||
OPENSSL_VERSION="LibreSSL >= 3.5"
|
||||
- OPENSSL_LIBS="-Wl,-Bstatic $OPENSSL_LIBS -Wl,-Bdynamic"
|
||||
enable_dh=no
|
||||
],[
|
||||
OPENSSL_VERSION=""
|
||||
@@ -824,7 +823,6 @@ if test "z$OPENSSL_FOUND" = "zyes" ; then
|
||||
#endif
|
||||
],[
|
||||
OPENSSL_VERSION="BoringSSL >= 1.1.1"
|
||||
- OPENSSL_LIBS="-Wl,-Bstatic $OPENSSL_LIBS -Wl,-Bdynamic"
|
||||
enable_ripemd160=no
|
||||
enable_dsa=no
|
||||
enable_dh=no
|
||||
@ -45,6 +45,7 @@ BDEPEND="
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.3.0-optimisation.patch
|
||||
"${FILESDIR}"/${PN}-1.3.3-typo-fix.patch
|
||||
"${FILESDIR}"/${PN}-1.3.3-slibtool.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@ -17,7 +17,7 @@ HOMEPAGE="
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Apache-2.0 BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
!<dev-python/setuptools-67
|
||||
|
||||
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Core utilities for Python packages"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/packaging/
|
||||
https://pypi.org/project/packaging/
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Apache-2.0 BSD-2 )"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyparsing-3.0.7-r1[${PYTHON_USEDEP}]
|
||||
!<dev-python/setuptools-67
|
||||
"
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest --capture=no
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
DIST pyparsing-3.1.1.tar.gz 884814 BLAKE2B d5a2b74181d2d93575e9be43285a7156c3b796d58993397c2ed8df10467d54ef193d1f82bbdac0cecd97fb20d1cb64d79f8502b02d8886511ca90c02ac3739bb SHA512 59ae01e13277e25cabd1a1ea41a27aac9235c09746f54c0eaac53d0aae488309fe2044b3b31e1105cb8207ad3326828ec32bdd5e904cceee8b0d032740679628
|
||||
DIST pyparsing_3.0.9.gh.tar.gz 967771 BLAKE2B c13c74661b9e0d53b4886c9949b01951d220991f916362a13ce0c32c0ab05a6b1cab4d5e5a626acb7563c0ec1716348ede205cb67bf22c0710904f07404ad82a SHA512 1158f27e31f8eced540217b7234b09005eac416fad74faf59678fdae93fe2f76e0e3b5f4adfd3ceb42c8aef19150950293e989c9a5189741175073eb7a03cd6d
|
||||
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
The pyparsing module is an alternative approach to creating and
|
||||
executing simple grammars, vs. the traditional lex/yacc approach, or the
|
||||
use of regular expressions. The pyparsing module provides a library of
|
||||
classes that client code uses to construct the grammar directly in
|
||||
Python code.
|
||||
</longdescription>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">pyparsing</remote-id>
|
||||
<remote-id type="pypi">pyparsing</remote-id>
|
||||
<remote-id type="github">pyparsing/pyparsing</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@ -1,52 +0,0 @@
|
||||
# Copyright 2004-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/-/_}
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="
|
||||
https://github.com/pyparsing/pyparsing/
|
||||
https://pypi.org/project/pyparsing/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pyparsing/pyparsing/archive/${MY_P}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="examples"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# railroad-diagrams not packaged (and not suitable for packaging yet)
|
||||
tests/test_diagram.py
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# also railroad-diagrams
|
||||
tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@ -1,47 +0,0 @@
|
||||
# Copyright 2004-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Easy-to-use Python module for text parsing"
|
||||
HOMEPAGE="
|
||||
https://github.com/pyparsing/pyparsing/
|
||||
https://pypi.org/project/pyparsing/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="examples"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# railroad-diagrams not packaged (and not suitable for packaging yet)
|
||||
tests/test_diagram.py
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# also railroad-diagrams
|
||||
tests/test_examples.py::TestExamples::test_range_check
|
||||
tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly
|
||||
tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@ -1,2 +1,3 @@
|
||||
DIST setuptools-69.0.3.tar.gz 2219609 BLAKE2B 1a5e7896c7ea82d51b0aa4794435b9899cef871f6ae43d22ae5e08c57d87b70641f3f2abfcc29956a3de515f90b112fd61d3daf793474b4cf33f8567e3a38f4a SHA512 11df934931f4b73f7e07ea5713479593c6baa134d423556b2ae7aff0f1e5bdbdee1f5b516131adb169c838231ceb0293441fbf275ef7030dabecf74122565b6d
|
||||
DIST setuptools-69.1.0.tar.gz 2219972 BLAKE2B 82ba9df6e6234bcf234f6b6659704b208912d05749bd6f34ce456bd356bc65b8ee17f534dc8baaac71b331089d8ca8798101e0c2c91f3bd24e18d406db7ff0e5 SHA512 345aa208a446561e7a038cb5021eb6948940f95dde1291c0b1aa037098fcbe782dbc3f0db4bec17f18eca51f236365ddb396bb7441e01e2d2caa2a600360b756
|
||||
DIST setuptools-69.1.1.tar.gz 2219821 BLAKE2B 730ead1ef7040213fa6dcdfd3eb5324fd93e15db15b2289f3a7e056500d09268719073b7ae192e5f1c7234afa4347e76eac2cff57bce3076ab08ff1957a51631 SHA512 ddd1e94afa8869bcc521494cd66d9a23ba2b9674ff0a7f7f8609ea2bc61137d8f0b6891708eb7c7308e9ac366edfb66bd4439c73a4ba098ae743ca82b45f12ff
|
||||
|
||||
@ -21,7 +21,7 @@ HOMEPAGE="
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
125
sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-69.1.1.ebuild
vendored
Normal file
125
sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-69.1.1.ebuild
vendored
Normal file
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
|
||||
EAPI=8
|
||||
|
||||
# please bump dev-python/ensurepip-setuptools along with this package!
|
||||
|
||||
DISTUTILS_USE_PEP517=standalone
|
||||
PYTHON_TESTED=( python3_{10..12} pypy3 )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Collection of extensions to Distutils"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/setuptools/
|
||||
https://pypi.org/project/setuptools/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-23.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/build[${PYTHON_USEDEP}]
|
||||
>=dev-python/ini2toml-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/filelock-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/pip-run[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-home-0.5[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
>=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/virtualenv-20[${PYTHON_USEDEP}]
|
||||
' "${PYTHON_TESTED[@]}")
|
||||
)
|
||||
"
|
||||
# setuptools-scm is here because installing plugins apparently breaks stuff at
|
||||
# runtime, so let's pull it early. See bug #663324.
|
||||
PDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=(
|
||||
# TODO: remove this when we're 100% PEP517 mode
|
||||
"${FILESDIR}"/setuptools-62.4.0-py-compile.patch
|
||||
)
|
||||
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# remove bundled dependencies
|
||||
rm -r */_vendor || die
|
||||
|
||||
# remove the ugly */extern hack that breaks on unvendored deps
|
||||
rm -r */extern || die
|
||||
find -name '*.py' -exec sed \
|
||||
-e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \
|
||||
-i {} + || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
||||
return
|
||||
fi
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# network
|
||||
# TODO: see if PRE_BUILT_SETUPTOOLS_* helps
|
||||
setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg
|
||||
setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist
|
||||
setuptools/tests/test_build_meta.py::test_legacy_editable_install
|
||||
setuptools/tests/test_distutils_adoption.py
|
||||
setuptools/tests/test_editable_install.py
|
||||
setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests
|
||||
setuptools/tests/test_virtualenv.py::test_clean_env_install
|
||||
setuptools/tests/test_virtualenv.py::test_no_missing_dependencies
|
||||
setuptools/tests/test_virtualenv.py::test_test_command_install_requirements
|
||||
# TODO
|
||||
setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic
|
||||
setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors
|
||||
setuptools/tests/test_extern.py::test_distribution_picklable
|
||||
# expects bundled deps in virtualenv
|
||||
setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist
|
||||
setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel
|
||||
# fails if python-xlib is installed
|
||||
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts
|
||||
# TODO, probably some random package
|
||||
setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass
|
||||
# Internet, sigh
|
||||
setuptools/tests/test_integration.py
|
||||
)
|
||||
|
||||
case ${EPYTHON} in
|
||||
python3.12)
|
||||
EPYTEST_DESELECT+=(
|
||||
# TODO
|
||||
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_distutils_command_dep
|
||||
setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_transitive_extra_dependency
|
||||
)
|
||||
esac
|
||||
|
||||
local EPYTEST_XDIST=1
|
||||
epytest -o tmp_path_retention_policy=all setuptools
|
||||
}
|
||||
@ -1 +1,3 @@
|
||||
DIST trove-classifiers-2024.1.31.tar.gz 15958 BLAKE2B c08cd4c7a13cd1473171bb8f5ed478f649bc1083d9881e260d43a2a3fb2679cf0f7ac926af3136d593cab63266826545be35301bf4d18a0b9b2d5919a31d0b74 SHA512 b77f2a84a89a4f5ce3ee94921d7d293bd70869af53632ffc0e08a4e0e3876c5ca4e86aefef0622be3d1a2f4eb5f153f294bbec251431373d1e98418a76cf93fb
|
||||
DIST trove-classifiers-2024.2.22.tar.gz 15951 BLAKE2B 97afd582592d094a226f3deb8076b0c4bbd9b1321d57eeef4a4e45088825d23ff07102d34a5192b62f3d509de744ae923876d2b3a98513fe1305e71edc2ddab4 SHA512 efbcf87d5c197b26e7972fff2b024dc7044941cf29c61b9a652227f28590f9a4063ac3738130c94e913232828ae386967265e3d405c11a160aff9c0af888a16a
|
||||
DIST trove-classifiers-2024.2.23.tar.gz 15976 BLAKE2B 48327abd7c5b4cc20725247082420c70981ec47d2e82e1bda70499fffc80787d456e1ea46c03df7e08848adb922a8f38c39321e2f886639d5c3967c1fcc26e88 SHA512 8099d9c66099c43a8d8eb29b47cfd33d3ca893f434fbcd14c3d5ce5561a385ca382ba772933fc8303f900af2067b86ecce34adb8f5962211aa54c62e968e3ce1
|
||||
|
||||
@ -0,0 +1,43 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/trove-classifiers/
|
||||
https://pypi.org/project/trove-classifiers/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
grep -q 'build-backend = "setuptools' pyproject.toml ||
|
||||
die "Upstream changed build-backend, recheck"
|
||||
# write a custom pyproject.toml to ease hatchling bootstrap
|
||||
cat > pyproject.toml <<-EOF || die
|
||||
[build-system]
|
||||
requires = ["flit_core >=3.2,<4"]
|
||||
build-backend = "flit_core.buildapi"
|
||||
|
||||
[project]
|
||||
name = "trove-classifiers"
|
||||
version = "${PV}"
|
||||
description = "Canonical source for classifiers on PyPI (pypi.org)."
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest
|
||||
"${EPYTHON}" -m tests.lib || die
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/trove-classifiers/
|
||||
https://pypi.org/project/trove-classifiers/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_configure() {
|
||||
grep -q 'build-backend = "setuptools' pyproject.toml ||
|
||||
die "Upstream changed build-backend, recheck"
|
||||
# write a custom pyproject.toml to ease hatchling bootstrap
|
||||
cat > pyproject.toml <<-EOF || die
|
||||
[build-system]
|
||||
requires = ["flit_core >=3.2,<4"]
|
||||
build-backend = "flit_core.buildapi"
|
||||
|
||||
[project]
|
||||
name = "trove-classifiers"
|
||||
version = "${PV}"
|
||||
description = "Canonical source for classifiers on PyPI (pypi.org)."
|
||||
EOF
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest
|
||||
"${EPYTHON}" -m tests.lib || die
|
||||
}
|
||||
@ -1 +1,2 @@
|
||||
DIST typing_extensions-4.10.0.tar.gz 77558 BLAKE2B eddcee7d33437d10d599a7f0e03932525945bc57be5bc62ffa27417458f0fcb96c4fdddb3749f9a6db4615dee88221338cdb2de775db8b503ba3586b9fcf6b6f SHA512 d3d840719ed0cf1435a959f84a65df93f55fb4bfdda926cd74a34a8bb6ab0407108ee8941f40b6cb570e2f7c440abffb0bc1d0f0414814047de6e9c3eeb24093
|
||||
DIST typing_extensions-4.9.0.gh.tar.gz 87717 BLAKE2B 3935f581badc9b81e52b722b97176008da7fd765c623639d14373b2995a35c464e17490e0c4a17b231cfeed36753f28f1f1abb5cafe0e704686cb30ed7e1787f SHA512 e7e8d21e549194a8e660b004d8026ff39db047ed330220f8a47b1df6f53ec7a172d4c5ffcf605f332ef150bc7333ad6ae86b08019195d3bd22a44d67f51feb80
|
||||
|
||||
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/typing-extensions/
|
||||
https://github.com/python/typing_extensions/
|
||||
"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_test() {
|
||||
cd src || die
|
||||
eunittest
|
||||
}
|
||||
@ -1,4 +1,6 @@
|
||||
DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
|
||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
|
||||
DIST patch-6.5.7.xz 561404 BLAKE2B 98f6fe0a43562cc60ada3596443e56966742de6ec2ef243331d22a4f345ad5741a5fe136e03ae0a5016fec4234bb89e6a6262076d3e5a449c53bb78ee7fb1175 SHA512 4c77a595fa76e8b0a07aff0aa681af7ae3d91231964662158b6a484ba477679d85dae8e12152ea95893d0794c6cef4f1394f908b7da6d6bf34b59d8b33d8c392
|
||||
DIST patch-6.6.8.xz 587540 BLAKE2B 4794b1b4415b8369b856a4b04d23931903a84d7f660e5cbf5677c359dba3c64cdb55606325ad2be1ce7878cd0daa95d2318dbf5ef12006ad37c9a69cd74b2dae SHA512 1bdf6186ef52831d508dacf740ce6c18eccca71a6426e294d5d47ebfff26a716c58db1963c439760ef104a594db5fa888d3374bc113af229794cca9362692dfe
|
||||
DIST patch-6.7.6.xz 583872 BLAKE2B 123dfd4170680917ebf16c3c7f3ab31754637c962dca5e5f5d52dd702a46bb68b01ca3a5b3c2482db34841f139871126576d30703825f8ca2dda2d8bfc4ed7e2 SHA512 ab5bef028a6c61e3c6432d49e95d88aec97140d7f8b295a71ba96b08254199343f93f11da4b34ab2482015adb0d1816b6719a21f8a0f2b1dd1bd96fcd3a72d2e
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
inherit estack linux-info optfeature python-any-r1 bash-completion-r1 toolchain-funcs
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
@ -88,6 +88,9 @@ src_prepare() {
|
||||
|
||||
# dev-python/docutils installs rst2man.py, not rst2man
|
||||
sed -i -e 's/rst2man/rst2man.py/g' Documentation/Makefile || die
|
||||
|
||||
# remove -Werror (bug 887981)
|
||||
sed -i -e 's/\-Werror//g' ../../lib/bpf/Makefile || die
|
||||
}
|
||||
|
||||
bpftool_make() {
|
||||
|
||||
123
sdk_container/src/third_party/portage-stable/dev-util/bpftool/bpftool-6.7.6-r1.ebuild
vendored
Normal file
123
sdk_container/src/third_party/portage-stable/dev-util/bpftool/bpftool-6.7.6-r1.ebuild
vendored
Normal file
@ -0,0 +1,123 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit estack linux-info optfeature python-any-r1 bash-completion-r1 toolchain-funcs
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-pre/-git}"
|
||||
|
||||
DESCRIPTION="Tool for inspection and simple manipulation of eBPF programs and maps"
|
||||
HOMEPAGE="https://kernel.org/"
|
||||
|
||||
LINUX_V="${PV:0:1}.x"
|
||||
LINUX_VER=$(ver_cut 1-2)
|
||||
LINUX_PATCH=patch-${PV}.xz
|
||||
SRC_URI="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_PATCH}"
|
||||
|
||||
LINUX_SOURCES="linux-${LINUX_VER}.tar.xz"
|
||||
SRC_URI+=" https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}"
|
||||
|
||||
S_K="${WORKDIR}/linux-${LINUX_VER}"
|
||||
S="${S_K}/tools/bpf/bpftool"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="caps +llvm"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/binutils-libs:=
|
||||
sys-libs/zlib:=
|
||||
virtual/libelf:=
|
||||
caps? ( sys-libs/libcap:= )
|
||||
llvm? ( sys-devel/llvm:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=sys-kernel/linux-headers-5.8
|
||||
"
|
||||
BDEPEND="
|
||||
${LINUX_PATCH+dev-util/patchutils}
|
||||
${PYTHON_DEPS}
|
||||
app-arch/tar
|
||||
dev-python/docutils
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~DEBUG_INFO_BTF"
|
||||
|
||||
# src_unpack and src_prepare are copied from dev-util/perf since
|
||||
# it's building from the same tarball, please keep it in sync with perf
|
||||
src_unpack() {
|
||||
local paths=(
|
||||
tools/bpf kernel/bpf
|
||||
tools/{arch,build,include,lib,perf,scripts} {scripts,include,lib} "arch/*/lib"
|
||||
)
|
||||
|
||||
# We expect the tar implementation to support the -j and --wildcards option
|
||||
echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}"
|
||||
gtar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \
|
||||
"${paths[@]/#/linux-${LINUX_VER}/}" || die
|
||||
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
eshopts_push -o noglob
|
||||
ebegin "Filtering partial source patch"
|
||||
filterdiff -p1 ${paths[@]/#/-i } -z "${DISTDIR}"/${LINUX_PATCH} \
|
||||
> ${P}.patch
|
||||
eend $? || die "filterdiff failed"
|
||||
eshopts_pop
|
||||
fi
|
||||
|
||||
local a
|
||||
for a in ${A}; do
|
||||
[[ ${a} == ${LINUX_SOURCES} ]] && continue
|
||||
[[ ${a} == ${LINUX_PATCH} ]] && continue
|
||||
unpack ${a}
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ -n ${LINUX_PATCH} ]] ; then
|
||||
pushd "${S_K}" >/dev/null || die
|
||||
eapply "${WORKDIR}"/${P}.patch
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# dev-python/docutils installs rst2man.py, not rst2man
|
||||
sed -i -e 's/rst2man/rst2man.py/g' Documentation/Makefile || die
|
||||
|
||||
# remove -Werror (bug 887981)
|
||||
sed -i -e 's/\-Werror//g' ../../lib/bpf/Makefile || die
|
||||
}
|
||||
|
||||
bpftool_make() {
|
||||
local arch=$(tc-arch-kernel)
|
||||
tc-export AR CC LD
|
||||
|
||||
emake V=1 VF=1 \
|
||||
HOSTCC="$(tc-getBUILD_CC)" HOSTLD="$(tc-getBUILD_LD)" \
|
||||
EXTRA_CFLAGS="${CFLAGS}" ARCH="${arch}" BPFTOOL_VERSION="${MY_PV}" \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
bash_compdir="$(get_bashcompdir)" \
|
||||
feature-libcap="$(usex caps 1 0)" \
|
||||
feature-llvm="$(usex llvm 1 0)" \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
bpftool_make
|
||||
bpftool_make -C Documentation
|
||||
}
|
||||
|
||||
src_install() {
|
||||
bpftool_make DESTDIR="${D}" install
|
||||
bpftool_make mandir="${ED}"/usr/share/man -C Documentation install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "clang-bpf-co-re support" sys-devel/clang[llvm_targets_BPF]
|
||||
}
|
||||
@ -7,5 +7,6 @@
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="caps">Use <pkg>sys-libs/libcap</pkg> to enable unprivileged run support</flag>
|
||||
<flag name="llvm">Use <pkg>sys-devel/llvm</pkg></flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
12
sdk_container/src/third_party/portage-stable/dev-util/perf/files/perf-6.6-ia64.patch
vendored
Normal file
12
sdk_container/src/third_party/portage-stable/dev-util/perf/files/perf-6.6-ia64.patch
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/tools/arch/ia64/include/asm/barrier.h b/tools/arch/ia64/include/asm/barrier.h
|
||||
index 6fffe5682713..9753f11d79ad 100644
|
||||
--- a/tools/arch/ia64/include/asm/barrier.h
|
||||
+++ b/tools/arch/ia64/include/asm/barrier.h
|
||||
@@ -14,6 +14,7 @@
|
||||
#ifndef _TOOLS_LINUX_ASM_IA64_BARRIER_H
|
||||
#define _TOOLS_LINUX_ASM_IA64_BARRIER_H
|
||||
|
||||
+#include <asm/intrinsics.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
/*
|
||||
@ -176,6 +176,7 @@ src_prepare() {
|
||||
|
||||
pushd "${S_K}" >/dev/null || die
|
||||
eapply "${FILESDIR}"/perf-6.4-libtracefs.patch
|
||||
eapply "${FILESDIR}"/perf-6.6-ia64.patch
|
||||
popd || die
|
||||
|
||||
# Drop some upstream too-developer-oriented flags and fix the
|
||||
|
||||
@ -4,15 +4,18 @@ DIST git-2.41.0.tar.xz 7273624 BLAKE2B 9119e1d1ff0ff332559a6609707846c2af7c61bea
|
||||
DIST git-2.43.0.tar.xz 7382996 BLAKE2B 5da19211df56e306eb95cef65b2a987134d2f0853dc1db30e1cc99d0357b3f5ab7f1e434e73948d7b6ad6b7bfc44f75349479f46050ee63a6516c72b774b4eba SHA512 d0c1694ae23ff7d523e617b98d7c9a9753a2ee58f92c21b67a192d1c57398a62ff9c1a34558ae31af8dc8d95122c219f39f654e99a3b4e7cfc3dd07be9e13203
|
||||
DIST git-2.43.1.tar.xz 7388400 BLAKE2B 4c4089231a79742f216ca04b8adfc56cc5cdb40f5fef9325bf26431faaa5ce17f2b5e0e0cb4b7507eb007e6413d8ae38c82a30210c1582fb98336a224af229ec SHA512 c8cb27645f09b831a6206bafa91c955d735b4257a98b1adaaaa5692a0a3aaa0417878095f88eca59d4fe0ffa058865508b5099db097e7b4b06253a16f57c3b3e
|
||||
DIST git-2.43.2.tar.xz 7388636 BLAKE2B 3c0d59d361b928efedfc06426f4c2c0f3852b3501d091f31a0466d226eddb31964a18bd4051ac0c0c11cf6827e6a9ede821b4532abf4e9b15204679f86690247 SHA512 0d95b8ac65bd76acb60c3b4d80242aeda8b2ab3dda7c8586ce46cc1ddedc000494b45fd269295033b82f38662cde08d366c63aa3ff39030500952342c9d3b280
|
||||
DIST git-2.44.0.tar.xz 7429952 BLAKE2B 6dc145e20e737763fb738ccb4a65ba2f8d6f35bb4e30520a0c79f4fcc0eaaaf4e99a9be00eaa9e14dec231ed122d54be7dfa9212a3e5a75707730256391896d4 SHA512 9e4b9c8a8e28cd50c0db75a93eae8a3423aa7e51c4312af1e1cdaf408e93f306c23aa747f0a97f27c11ab0e2f5e6283e52c8b61c9fe6be5b9b18673a43ce1780
|
||||
DIST git-htmldocs-2.39.3.tar.xz 1506828 BLAKE2B 732e86ee004a44230d8f10eac16a14fbfb348d4278001011a0d22ba91240fbe65cad341b0547b649db3ce7fc67fc6fb544c896e7ba4bd7f1fa3c9b42371febf9 SHA512 7616c9c6600759f06973d36d5233b3909da72f39318410f5522b890d282a74e7585433c7195fed4792d5b7955292a466abcc2185ffdc23d0e8928ad58d7db1bf
|
||||
DIST git-htmldocs-2.40.1.tar.xz 1517900 BLAKE2B 864edd5b2389362dcf5d0c9f08cbf3bac6303cf6505b2d5446e73aeb591ac9212948b6f68434671e3bfba6f64d6aff02d315848d08647d22177292775411e5b3 SHA512 770c9765bab1f0773615d67f4eb817c42e1a946da205381ac0c208c4b2d4185c351aebbd7294afe66ef794b65cc9123b255a585a3df2990b5dfe779aaacb0800
|
||||
DIST git-htmldocs-2.41.0.tar.xz 1525692 BLAKE2B 4ea74130e21fed3ebbe09b849eddc48654fa7563299d8c2173856741d3c490a1672ac6b2005f716d6ae2d7759f92caafc56ccbf2408ba8ec87266b9c10530d73 SHA512 8a28f330f21e1da901ef8575509b56cede1a8f1d03e49fca802e561095c137c9ef23f3d6bd33d0e8a537bc1f93131ce7aafc92d4a9b0a80ade67249f22ff69d5
|
||||
DIST git-htmldocs-2.43.0.tar.xz 1543348 BLAKE2B 456655da42ca5cf0e1422e636a6dd67f6068ae768f8a619e6f1aadbf2adee728aea7f3078bee286f31460c5f2bd5a77882d8bb8cb2f01d3641f56a4106105846 SHA512 0d3bf3522dfdae564fa11255f02a4e02c762edc2c637d439063659800b2f1535e077069e2012e2cdb8d1e985e6c8a6011ee336051801e646624216d845023218
|
||||
DIST git-htmldocs-2.43.1.tar.xz 1545040 BLAKE2B 407d1bae312f530d2239b70cc437fcab7d62835d3980d598916ebeea51fe028e4c9bec11a8209cf7a84f446d1e5f9727f0c668962186752fd3adfa6cfad70fc5 SHA512 1f29f17df9b370d01808967d80f985dc81db59fd6396b12c18368464e16378f92f240834a7f32c4df48ae8658951aa989fd264786e8a7033fe6a24873f5b31b3
|
||||
DIST git-htmldocs-2.43.2.tar.xz 1545440 BLAKE2B 8e6943ed5c5ab13ee7f8f2e124a3dc1e6883bb5b6782be4a7b6fecc3e02bb51f41b057ec5f36b0e9557f05d676795544516585cffca8e025c762377be1815912 SHA512 18c8e0fc3351f708aa677ee5daeb61f8727ce94763d4a7067462af7b90dc1ee5c67e4ea6e770db08dd99a5196b7f3fa2c4673ce9e25ab3365be8175fcf5fe66c
|
||||
DIST git-htmldocs-2.44.0.tar.xz 1557284 BLAKE2B e44a03def2fb3eed2ff694b074b79e870a17d1f00d6fdb2c447ef0e8582b98481ad7c6b0924e785f20fb7e96960d9e9e149eadff6a89eb8c9fe0256da5f27b54 SHA512 4c7cc4da879afae6f85daa49bd1b58884344187f4ce70bcddb962538ef7a10a6e776585facc584502ac15531a49d09562a8a8d63a24536e30415be709893c502
|
||||
DIST git-manpages-2.39.3.tar.xz 557428 BLAKE2B 4eb85035f7056a12c3f1276d26f99b3337b97721f8f4b0b3c74d2a484171bfdf74f566a03e175ba32b389c940ed7be66ce2933442ec77089d5db3aaeb2ed2557 SHA512 06414741667b990ff3a28f7cb29b502df3d4cc757d525438994af005c71d429ca969563a74d1d2b44185e5c40107ac8838b390835a8a947e542ce3636b43f98b
|
||||
DIST git-manpages-2.40.1.tar.xz 562772 BLAKE2B 091c907195b37ed4152698515528d7da27f8dbf2516915ae66ba6f81a64bbd9f2042544889fe655ea7447bd6f32adaf8daec9c02743587a84b090554ad58796b SHA512 4e75f5ae3786658d284ce8eae3133c01115e357cc0bd2c4c5bf4261196411da632f51c87ff6e4c1f4bc7adf7b7b4a33c4debe52bcd9b5d735aa70dd9614ad5bd
|
||||
DIST git-manpages-2.41.0.tar.xz 565060 BLAKE2B 082f2272314981b21606aef22bf18f0fe1d8a29fce0ce29e451cbad986e8f9c398906632b694de1b328accda61e85f25fd8875ee2e104cb9a7da8873d48e1495 SHA512 118afe9af79f2747c1f762b51fa2cdce7b46396ab4321f57826a351575acf30d9a486e2713e558cab6f6b353724cef3f0f1eab587b181f547324e96e3fee0b91
|
||||
DIST git-manpages-2.43.0.tar.xz 570356 BLAKE2B 87d405f59ac600742546dfa97f9a723264b865301e1538a60bb8f985489a288982b682d0e5f784bd17f43287ad1f418b187de0b7b137d043520ea32481a44ae0 SHA512 a90e7fad0505843b4fa2e6a862f4acf4f777b0fdd86097c51bcba0c18daf81f4facf9ae3fee7cfae8c439a54dc3dbc476372b8926a738b9449550ee1f94a3c4a
|
||||
DIST git-manpages-2.43.1.tar.xz 570624 BLAKE2B 1d73f514aad08aa2f83843d229bce25641e1772169ec2cc2722478cc7317d87b1e4dcbc9a961325ff06b887df55e5c3cf01f5d4ba4cc38c61993f32117151fc5 SHA512 a5ab766ad9e3045c15c56099b9d2f4c704c92ae49cd3b6a97e8f9400aa61521c039ee37994ca1c546813b2b7fb6a0e1b1936c0986466a3e6b1018cee884cc6c2
|
||||
DIST git-manpages-2.43.2.tar.xz 570496 BLAKE2B 5d0be8f51edddf5b6a0c18d21a1ee8c23c92977370d25e04144cae882505e9235486219964bcfca1f21dca7eb3533d4d91acda07eb66687a96ca488e6f4cc15c SHA512 09ab36dc8e9dc8d0ed29610ba6fe5bff8c76d01e9b36d1443bfa4d729d4c8c6849620188856f226b07ba1259e0a617454e470d852e2464ce2c408888a3e57347
|
||||
DIST git-manpages-2.44.0.tar.xz 573444 BLAKE2B 47bf8513a6e594468e361f1a4469f657ab492a1ffb9702808f15e76a49c444ea5382e92f849dfd995ff9bed22acafde74f6559ceb9f5dddaec08e927c5d68de7 SHA512 415dbecf4c26ad7f96dccbc4e0268657b9b341e8d24697bf46207a4b9155d189a469abac83135c3cb1c514fb5bad31f8e587f33e01a02f1d55de26ec3a4373b7
|
||||
|
||||
@ -50,7 +50,7 @@ if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI+=" doc? ( ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} )"
|
||||
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
644
sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.44.0.ebuild
vendored
Normal file
644
sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.44.0.ebuild
vendored
Normal file
@ -0,0 +1,644 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
|
||||
# bug #329479: git-remote-testgit is not multiple-version aware
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit toolchain-funcs perl-module bash-completion-r1 optfeature plocale python-single-r1 systemd
|
||||
|
||||
PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_REPO_URI="https://git.kernel.org/pub/scm/git/git.git"
|
||||
|
||||
inherit git-r3
|
||||
# Please ensure that all _four_ 9999 ebuilds get updated; they track the 4 upstream branches.
|
||||
# See https://git-scm.com/docs/gitworkflows#_graduation
|
||||
# In order of stability:
|
||||
# 9999-r0: maint
|
||||
# 9999-r1: master
|
||||
# 9999-r2: next
|
||||
# 9999-r3: seen
|
||||
case ${PVR} in
|
||||
9999) EGIT_BRANCH=maint ;;
|
||||
9999-r1) EGIT_BRANCH=master ;;
|
||||
9999-r2) EGIT_BRANCH=next;;
|
||||
9999-r3) EGIT_BRANCH=seen ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
MY_PV="${PV/_rc/.rc}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DOC_VER="${MY_PV}"
|
||||
|
||||
DESCRIPTION="Stupid content tracker: distributed VCS designed for speed and efficiency"
|
||||
HOMEPAGE="https://www.git-scm.com/"
|
||||
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI_SUFFIX="xz"
|
||||
SRC_URI_KORG="https://www.kernel.org/pub/software/scm/git"
|
||||
|
||||
[[ ${PV/rc} != ${PV} ]] && SRC_URI_KORG+='/testing'
|
||||
|
||||
SRC_URI="${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}"
|
||||
SRC_URI+=" ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}"
|
||||
SRC_URI+=" doc? ( ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} )"
|
||||
|
||||
if [[ ${PV} != *_rc* ]] ; then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
fi
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+blksha1 +curl cgi doc keyring +gpg highlight +iconv mediawiki +nls +pcre perforce +perl +safe-directory selinux subversion tk +webdav xinetd cvs test"
|
||||
|
||||
# Common to both DEPEND and RDEPEND
|
||||
DEPEND="
|
||||
dev-libs/openssl:=
|
||||
sys-libs/zlib
|
||||
curl? (
|
||||
net-misc/curl
|
||||
webdav? ( dev-libs/expat )
|
||||
)
|
||||
keyring? (
|
||||
app-crypt/libsecret
|
||||
dev-libs/glib:2
|
||||
)
|
||||
iconv? ( virtual/libiconv )
|
||||
pcre? ( dev-libs/libpcre2:= )
|
||||
perl? ( dev-lang/perl:=[-build(-)] )
|
||||
tk? ( dev-lang/tk:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
gpg? ( app-crypt/gnupg )
|
||||
perl? (
|
||||
dev-perl/Error
|
||||
dev-perl/MailTools
|
||||
dev-perl/Authen-SASL
|
||||
>=virtual/perl-libnet-3.110.0-r4[ssl]
|
||||
cgi? (
|
||||
dev-perl/CGI
|
||||
highlight? ( app-text/highlight )
|
||||
)
|
||||
cvs? (
|
||||
>=dev-vcs/cvsps-2.1:0
|
||||
dev-perl/DBI
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
mediawiki? (
|
||||
dev-perl/DateTime-Format-ISO8601
|
||||
dev-perl/HTML-Tree
|
||||
dev-perl/MediaWiki-API
|
||||
)
|
||||
subversion? (
|
||||
dev-vcs/subversion[-dso(-),perl]
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/TermReadKey
|
||||
)
|
||||
)
|
||||
perforce? ( ${PYTHON_DEPS} )
|
||||
selinux? ( sec-policy/selinux-git )
|
||||
"
|
||||
|
||||
# This is how info docs are created with Git:
|
||||
# .txt/asciidoc --(asciidoc)---------> .xml/docbook
|
||||
# .xml/docbook --(docbook2texi.pl)--> .texi
|
||||
# .texi --(makeinfo)---------> .info
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/docbook2X
|
||||
app-text/xmlto
|
||||
sys-apps/texinfo
|
||||
)
|
||||
keyring? ( virtual/pkgconfig )
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( app-crypt/gnupg )
|
||||
"
|
||||
|
||||
# Live ebuild builds man pages and HTML docs, additionally
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
BDEPEND+=" app-text/asciidoc"
|
||||
fi
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
REQUIRED_USE="
|
||||
cgi? ( perl )
|
||||
cvs? ( perl )
|
||||
mediawiki? ( perl )
|
||||
perforce? ( ${PYTHON_REQUIRED_USE} )
|
||||
subversion? ( perl )
|
||||
webdav? ( curl )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
# Avoid automagic CVS, bug #350330
|
||||
"${FILESDIR}"/git-2.37.0_rc1-optional-cvs.patch
|
||||
|
||||
# Make submodule output quiet
|
||||
"${FILESDIR}"/git-2.21.0-quiet-submodules-testcase.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use subversion && has_version "dev-vcs/subversion[dso]" ; then
|
||||
ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
|
||||
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
|
||||
ewarn "have been warned!"
|
||||
fi
|
||||
|
||||
if use perforce ; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
# This is needed because for some obscure reasons future calls to make don't
|
||||
# pick up these exports if we export them in src_unpack()
|
||||
exportmakeopts() {
|
||||
local extlibs myopts
|
||||
|
||||
myopts=(
|
||||
ASCIIDOC_NO_ROFF=YesPlease
|
||||
|
||||
$(usex perl 'INSTALLDIRS=vendor NO_PERL_CPAN_FALLBACKS=YesPlease' NO_PERL=YesPlease)
|
||||
|
||||
$(usev elibc_musl NO_REGEX=NeedsStartEnd)
|
||||
$(usev !cvs NO_CVS=YesPlease)
|
||||
$(usev !iconv NO_ICONV=YesPlease)
|
||||
$(usev !nls NO_GETTEXT=YesPlease)
|
||||
$(usev !perforce NO_PYTHON=YesPlease)
|
||||
$(usev !subversion NO_SVN_TESTS=YesPlease)
|
||||
$(usev !tk NO_TCLTK=YesPlease)
|
||||
)
|
||||
|
||||
if use blksha1 ; then
|
||||
myopts+=( BLK_SHA1=YesPlease )
|
||||
fi
|
||||
|
||||
if use curl ; then
|
||||
use webdav || myopts+=( NO_EXPAT=YesPlease )
|
||||
else
|
||||
myopts+=( NO_CURL=YesPlease )
|
||||
fi
|
||||
|
||||
# Broken assumptions because of static build system
|
||||
myopts+=(
|
||||
NO_FINK=YesPlease
|
||||
NO_DARWIN_PORTS=YesPlease
|
||||
INSTALL=install
|
||||
TAR=tar
|
||||
SHELL_PATH="${EPREFIX}/bin/sh"
|
||||
SANE_TOOL_PATH=
|
||||
OLD_ICONV=
|
||||
NO_EXTERNAL_GREP=
|
||||
)
|
||||
|
||||
# Can't define this to null, since the entire makefile depends on it
|
||||
sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile || die
|
||||
|
||||
if use pcre; then
|
||||
myopts+=( USE_LIBPCRE2=YesPlease )
|
||||
extlibs+=( -lpcre2-8 )
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]]; then
|
||||
myopts+=(
|
||||
NEEDS_LIBICONV=YesPlease
|
||||
HAVE_CLOCK_MONOTONIC=1
|
||||
)
|
||||
|
||||
if grep -Fq getdelim "${ESYSROOT}"/usr/include/stdio.h ; then
|
||||
myopts+=( HAVE_GETDELIM=1 )
|
||||
fi
|
||||
fi
|
||||
|
||||
myopts+=( ASCIIDOC8=YesPlease )
|
||||
|
||||
export MY_MAKEOPTS="${myopts[@]}"
|
||||
export EXTLIBS="${extlibs[@]}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} != *9999 ]] ; then
|
||||
unpack ${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
|
||||
cd "${S}" || die
|
||||
unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
|
||||
if use doc ; then
|
||||
pushd "${S}"/Documentation &>/dev/null || die
|
||||
unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
else
|
||||
git-r3_src_unpack
|
||||
#cp "${FILESDIR}"/GIT-VERSION-GEN . || die
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use safe-directory ; then
|
||||
# This patch neuters the "safe directory" detection.
|
||||
# bugs #838271, #838223
|
||||
PATCHES+=(
|
||||
"${FILESDIR}"/git-2.37.2-unsafe-directory.patch
|
||||
)
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
if use prefix ; then
|
||||
# bug #757309
|
||||
eapply "${FILESDIR}"/git-2.37.2-darwin-prefix-gettext.patch
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \
|
||||
-e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \
|
||||
-e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \
|
||||
-e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \
|
||||
-e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
-e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
Makefile || die
|
||||
|
||||
# Fix docbook2texi command
|
||||
sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \
|
||||
Documentation/Makefile || die
|
||||
}
|
||||
|
||||
git_emake() {
|
||||
# bug #320647: PYTHON_PATH
|
||||
local PYTHON_PATH=""
|
||||
use perforce && PYTHON_PATH="${PYTHON}"
|
||||
|
||||
local mymakeargs=(
|
||||
${MY_MAKEOPTS}
|
||||
|
||||
prefix="${EPREFIX}"/usr
|
||||
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
perllibdir="$(use perl && perl_get_raw_vendorlib)"
|
||||
sysconfdir="${EPREFIX}"/etc
|
||||
|
||||
CC="$(tc-getCC)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
|
||||
# TODO: --verbose?
|
||||
GIT_TEST_OPTS="--no-color"
|
||||
|
||||
OPTAR="$(tc-getAR)"
|
||||
OPTCC="$(tc-getCC)"
|
||||
OPTCFLAGS="${CFLAGS}"
|
||||
OPTLDFLAGS="${LDFLAGS}"
|
||||
|
||||
PERL_PATH="${EPREFIX}/usr/bin/perl"
|
||||
PERL_MM_OPT=""
|
||||
|
||||
PYTHON_PATH="${PYTHON_PATH}"
|
||||
|
||||
V=1
|
||||
"$@"
|
||||
)
|
||||
|
||||
emake "${mymakeargs[@]}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
exportmakeopts
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
git_emake
|
||||
|
||||
if use perl && use cgi ; then
|
||||
git_emake gitweb
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then
|
||||
git_emake -C contrib/credential/osxkeychain
|
||||
fi
|
||||
|
||||
pushd Documentation &>/dev/null || die
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
git_emake man
|
||||
if use doc ; then
|
||||
git_emake info html
|
||||
fi
|
||||
else
|
||||
if use doc ; then
|
||||
git_emake info
|
||||
fi
|
||||
fi
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use keyring ; then
|
||||
git_emake -C contrib/credential/libsecret
|
||||
fi
|
||||
|
||||
pushd contrib/subtree &>/dev/null || die
|
||||
git_emake git-subtree
|
||||
# git-subtree.1 requires the full USE=doc dependency stack
|
||||
use doc && git_emake git-subtree.html git-subtree.1
|
||||
popd &>/dev/null || die
|
||||
|
||||
git_emake -C contrib/diff-highlight
|
||||
|
||||
if use mediawiki ; then
|
||||
git_emake -C contrib/mw-to-git
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local disabled=(
|
||||
# We make safe-directory optional
|
||||
t0033-safe-directory.sh
|
||||
)
|
||||
|
||||
local tests_cvs=(
|
||||
t9200-git-cvsexportcommit.sh
|
||||
t9400-git-cvsserver-server.sh
|
||||
t9401-git-cvsserver-crlf.sh
|
||||
t9402-git-cvsserver-refs.sh
|
||||
t9600-cvsimport.sh
|
||||
t9601-cvsimport-vendor-branch.sh
|
||||
t9602-cvsimport-branches-tags.sh
|
||||
t9603-cvsimport-patchsets.sh
|
||||
t9604-cvsimport-timestamps.sh
|
||||
)
|
||||
|
||||
local tests_perl=(
|
||||
t3701-add-interactive.sh
|
||||
t5502-quickfetch.sh
|
||||
t5512-ls-remote.sh
|
||||
t5520-pull.sh
|
||||
t7106-reset-unborn-branch.sh
|
||||
t7501-commit.sh
|
||||
)
|
||||
# Bug #225601 - t0004 is not suitable for root perm
|
||||
# Bug #219839 - t1004 is not suitable for root perm
|
||||
# t0001-init.sh - check for init notices EPERM* fails
|
||||
local tests_nonroot=(
|
||||
t0001-init.sh
|
||||
t0004-unwritable.sh
|
||||
t0070-fundamental.sh
|
||||
t1004-read-tree-m-u-wf.sh
|
||||
t3700-add.sh
|
||||
t7300-clean.sh
|
||||
)
|
||||
# t9100 still fails with symlinks in SVN 1.7
|
||||
local test_svn=( t9100-git-svn-basic.sh )
|
||||
|
||||
# Unzip is used only for the testcase code, not by any normal parts of Git.
|
||||
if ! has_version app-arch/unzip ; then
|
||||
einfo "Disabling tar-tree tests"
|
||||
disabled+=( t5000-tar-tree.sh )
|
||||
fi
|
||||
|
||||
local cvs=0
|
||||
use cvs && let cvs=${cvs}+1
|
||||
if [[ ${EUID} -eq 0 ]] ; then
|
||||
if [[ ${cvs} -eq 1 ]] ; then
|
||||
ewarn "Skipping CVS tests because CVS does not work as root!"
|
||||
ewarn "You should retest with FEATURES=userpriv!"
|
||||
disabled+=( ${tests_cvs[@]} )
|
||||
fi
|
||||
einfo "Skipping other tests that require being non-root"
|
||||
disabled+=( ${tests_nonroot[@]} )
|
||||
else
|
||||
if [[ ${cvs} -gt 0 ]] && has_version dev-vcs/cvs ; then
|
||||
let cvs=${cvs}+1
|
||||
fi
|
||||
|
||||
if [[ ${cvs} -gt 1 ]] && has_version "dev-vcs/cvs[server]" ; then
|
||||
let cvs=${cvs}+1
|
||||
fi
|
||||
|
||||
if [[ ${cvs} -lt 3 ]] ; then
|
||||
einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])"
|
||||
disabled+=( ${tests_cvs[@]} )
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Disabling tests that need Perl"
|
||||
disabled+=( ${tests_perl[@]} )
|
||||
fi
|
||||
|
||||
einfo "Disabling tests that fail with SVN 1.7"
|
||||
disabled+=( ${test_svn[@]} )
|
||||
|
||||
# Reset all previously disabled tests
|
||||
pushd t &>/dev/null || die
|
||||
local i
|
||||
for i in *.sh.DISABLED ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}"
|
||||
done
|
||||
einfo "Disabled tests:"
|
||||
for i in ${disabled[@]} ; do
|
||||
if [[ -f "${i}" ]] ; then
|
||||
mv -f "${i}" "${i}.DISABLED" && einfo "Disabled ${i}"
|
||||
fi
|
||||
done
|
||||
|
||||
# Avoid the test system removing the results because we want them ourselves
|
||||
sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' -i Makefile || die
|
||||
|
||||
# Clean old results first, must always run
|
||||
nonfatal git_emake clean
|
||||
popd &>/dev/null || die
|
||||
|
||||
# Now run the tests, keep going if we hit an error, and don't terminate on
|
||||
# failure
|
||||
local rc
|
||||
einfo "Start test run"
|
||||
#MAKEOPTS=-j1
|
||||
nonfatal git_emake --keep-going test
|
||||
rc=$?
|
||||
|
||||
# Display nice results, now print the results
|
||||
pushd t &>/dev/null || die
|
||||
nonfatal git_emake aggregate-results
|
||||
|
||||
# And bail if there was a problem
|
||||
[[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
git_emake DESTDIR="${D}" install
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then
|
||||
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
|
||||
fi
|
||||
|
||||
# Depending on the tarball and manual rebuild of the documentation, the
|
||||
# manpages may exist in either OR both of these directories.
|
||||
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
|
||||
find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
|
||||
dodoc README* Documentation/{SubmittingPatches,CodingGuidelines}
|
||||
use doc && dodir /usr/share/doc/${PF}/html
|
||||
local d
|
||||
for d in / /howto/ /technical/ ; do
|
||||
docinto ${d}
|
||||
dodoc Documentation${d}*.txt
|
||||
if use doc ; then
|
||||
docinto ${d}/html
|
||||
dodoc Documentation${d}*.html
|
||||
fi
|
||||
done
|
||||
docinto /
|
||||
# Upstream does not ship this pre-built :-(
|
||||
use doc && doinfo Documentation/{git,gitman}.info
|
||||
|
||||
newbashcomp contrib/completion/git-completion.bash ${PN}
|
||||
bashcomp_alias git gitk
|
||||
# Not really a bash-completion file (bug #477920)
|
||||
# but still needed uncompressed (bug #507480)
|
||||
insinto /usr/share/${PN}
|
||||
doins contrib/completion/git-prompt.sh
|
||||
|
||||
#dobin contrib/fast-import/git-p4 # Moved upstream
|
||||
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
|
||||
newbin contrib/fast-import/import-tars.perl import-tars
|
||||
exeinto /usr/libexec/git-core/
|
||||
newexe contrib/git-resurrect.sh git-resurrect
|
||||
|
||||
# git-subtree
|
||||
pushd contrib/subtree &>/dev/null || die
|
||||
git_emake DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
# Do not move git subtree install-man outside USE=doc!
|
||||
git_emake DESTDIR="${D}" install-man install-html
|
||||
fi
|
||||
newdoc README README.git-subtree
|
||||
dodoc git-subtree.txt
|
||||
popd &>/dev/null || die
|
||||
|
||||
if use mediawiki ; then
|
||||
git_emake -C contrib/mw-to-git DESTDIR="${D}" install
|
||||
fi
|
||||
|
||||
# diff-highlight
|
||||
dobin contrib/diff-highlight/diff-highlight
|
||||
newdoc contrib/diff-highlight/README README.diff-highlight
|
||||
|
||||
# git-jump
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/git-jump/git-jump
|
||||
newdoc contrib/git-jump/README git-jump.txt
|
||||
|
||||
# git-contacts
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/contacts/git-contacts
|
||||
dodoc contrib/contacts/git-contacts.txt
|
||||
|
||||
if use keyring ; then
|
||||
pushd contrib/credential/libsecret &>/dev/null || die
|
||||
dobin git-credential-libsecret
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
dodir /usr/share/${PN}/contrib
|
||||
# The following are excluded:
|
||||
# completion - installed above
|
||||
# diff-highlight - done above
|
||||
# emacs - removed upstream
|
||||
# examples - these are stuff that is not used in Git anymore actually
|
||||
# git-jump - done above
|
||||
# gitview - installed above
|
||||
# p4import - excluded because fast-import has a better one
|
||||
# patches - stuff the Git guys made to go upstream to other places
|
||||
# persistent-https - TODO
|
||||
# mw-to-git - TODO
|
||||
# subtree - build seperately
|
||||
# svnimport - use git-svn
|
||||
# thunderbird-patch-inline - fixes thunderbird
|
||||
local contrib_objects=(
|
||||
buildsystems
|
||||
fast-import
|
||||
hg-to-git
|
||||
hooks
|
||||
remotes2config.sh
|
||||
rerere-train.sh
|
||||
stats
|
||||
workdir
|
||||
)
|
||||
local i
|
||||
for i in "${contrib_objects[@]}" ; do
|
||||
cp -rf "${S}"/contrib/${i} "${ED}"/usr/share/${PN}/contrib || die "Failed contrib ${i}"
|
||||
done
|
||||
|
||||
if use perl && use cgi ; then
|
||||
# We used to install in /usr/share/${PN}/gitweb
|
||||
# but upstream installs in /usr/share/gitweb
|
||||
# so we will install a symlink and use their location for compat with other
|
||||
# distros
|
||||
dosym ../gitweb /usr/share/${PN}/gitweb
|
||||
|
||||
# INSTALL discusses configuration issues, not just installation
|
||||
docinto /
|
||||
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
|
||||
newdoc "${S}"/gitweb/README README.gitweb
|
||||
|
||||
for d in "${ED}"/usr/lib{,64}/perl5/ ; do
|
||||
if [[ -d "${d}" ]] ; then
|
||||
find "${d}" -name .packlist -delete || die
|
||||
fi
|
||||
done
|
||||
else
|
||||
rm -rf "${ED}"/usr/share/gitweb
|
||||
fi
|
||||
|
||||
if ! use subversion ; then
|
||||
rm -f "${ED}"/usr/libexec/git-core/git-svn \
|
||||
"${ED}"/usr/share/man/man1/git-svn.1*
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/git-daemon.xinetd git-daemon
|
||||
fi
|
||||
|
||||
if ! use prefix ; then
|
||||
newinitd "${FILESDIR}"/git-daemon-r2.initd git-daemon
|
||||
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
|
||||
systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" "git-daemon@.service"
|
||||
systemd_dounit "${FILESDIR}/git-daemon.socket"
|
||||
fi
|
||||
|
||||
perl_delete_localpod
|
||||
|
||||
# Remove disabled linguas
|
||||
# we could remove sources in src_prepare, but install does not
|
||||
# handle missing locale dir well
|
||||
rm_loc() {
|
||||
if [[ -e "${ED}/usr/share/locale/${1}" ]] ; then
|
||||
rm -r "${ED}/usr/share/locale/${1}" || die
|
||||
fi
|
||||
}
|
||||
plocale_for_each_disabled_locale rm_loc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "Please read /usr/share/bash-completion/completions/git for Git bash command"
|
||||
elog "completion."
|
||||
elog "Please read /usr/share/git/git-prompt.sh for Git bash prompt"
|
||||
elog "Note that the prompt bash code is now in that separate script"
|
||||
fi
|
||||
|
||||
optfeature_header "Some scripts require additional dependencies:"
|
||||
optfeature git-quiltimport dev-util/quilt
|
||||
optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx
|
||||
}
|
||||
@ -1309,6 +1309,22 @@ toolchain_src_configure() {
|
||||
GCC_RUN_FIXINCLUDES=1
|
||||
fi
|
||||
|
||||
case ${CBUILD}-${CHOST}-${CTARGET} in
|
||||
*i686-w64-mingw32*|*x86_64-w64-mingw32*)
|
||||
# config/i386/t-cygming requires fixincludes (bug #925204)
|
||||
GCC_RUN_FIXINCLUDES=1
|
||||
;;
|
||||
*mips*-sde-elf*)
|
||||
# config/mips/t-sdemtk needs fixincludes too (bug #925204)
|
||||
# It maps to mips*-sde-elf*, but only with --without-newlib.
|
||||
if [[ ${confgcc} != *with-newlib* ]] ; then
|
||||
GCC_RUN_FIXINCLUDES=1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ ${GCC_RUN_FIXINCLUDES} == 1 ]] ; then
|
||||
confgcc+=( --enable-fixincludes )
|
||||
else
|
||||
|
||||
@ -1,9 +1,3 @@
|
||||
DIST c-ares-1.19.1.tar.gz 1579100 BLAKE2B 4b6c9593edb1a91ab76d54ddacb1cd5d67006d5e628ea1f3289f54e9360be32abeb5d8fc7d23e193feab3e7928e8efde82757eb12fe217dc92ed0d9132bedf5d SHA512 466a94efda626e815a6ef7a890637056339f883d549ea6055e289fd8cd2391130e5682c905c0fb3bd7e955af7f6deb793562c170eb0ee066a4a62085a82ba470
|
||||
DIST c-ares-1.19.1.tar.gz.asc 488 BLAKE2B 9c47d7b3e67d9a2bd1e332912d21d20ca591fc34f81707c18a4615ea14ba2da00146d1998250a5f4dd2a0b1c04f9bd2013d4940ac734674c0bdff6815985e19d SHA512 1b204ab1a667af1326be4b7c62c0919aacd447a2e00efea4b8ef2ec9f2b13ffb236a836ff8953b0b3359727faf3fb8cfcd71d0b06a0e533a09f9e9ea66024f4e
|
||||
DIST c-ares-1.21.0.tar.gz 1623742 BLAKE2B 708933603dfc6c0286e798b3244eb9d8bce500acb915a255b82e00133509e5c2ceaad6b9b4cd081fcd9193b64fdb72e4e7ff6deeca8eb1744124ab9239cacac0 SHA512 c526b0a28d8ea1c6a53215dfd52e8250c968513a667c5414459d97d46288da7e7a2193d757fc78225e56c6684b3d30e756dd3e5a31917e996c871773a34892ea
|
||||
DIST c-ares-1.21.0.tar.gz.asc 488 BLAKE2B b1985393dfc147abe729b5622c4c92585072173a169947caf1a9521d341dac2119e34691b96e31716df66a251dbba3a5284cddd4c47af0d0bd91e20576d5671e SHA512 0e75e51ebf97ec4ed0880811ddb60f741ea190c2e63011aad9a4233fe4e2481d0c660d401a5cf596fe257930365a366082c2b5faa34bb7b346d147cfc51392ff
|
||||
DIST c-ares-1.24.0.tar.gz 1368749 BLAKE2B aae99e1b5715ae4c68b84e3ceedf3e9758cf0f961bb85bfe870def2bd0342ac26d71a3a784708050c7a339360962567031e83c6b9a61a163ecaba0def6ceb24d SHA512 3701853e263de94daf19734185ad913848c19b825e0738926b418a54b0628ee1ac95a49ebfaa2ddf3eed74a7ef209e1a0a8f573df3e507ef1f11fcc53fc5eb68
|
||||
DIST c-ares-1.24.0.tar.gz.asc 488 BLAKE2B 965dc1ec04aae5ec4fb5e3cee6dfe99c102112d12498f841377d901e87d8b13e17a48ba8393054849206a21333173bd3ab1d7c61cf76b6c7415f5bf99a7ada1c SHA512 dda1b8d3e715b5ba117542cab31826faf821061ea6ceefa77c0452f1d17d0c84a0cc5891722eb8e7f54da087c352409197d1e1a06420035a62c391e8e93cb8dd
|
||||
DIST c-ares-1.25.0.tar.gz 1264129 BLAKE2B a4f4b493e1331ade27504238c3e520e1ffaa525baf99442c88de3aeda1eb06a12ec804a5f0f699fb8acd469ccd2b3d08f5c32b4d01d50cfdc31097665087fce9 SHA512 f73ffc45c17f1e952ea5fae8a1d9e1508427f21c821ff470ff0b728cc4a1e21d1274f95d9192c22f704bc7e0f58a633608cfdc1704dfe8950902fdfc3dfa2e1c
|
||||
DIST c-ares-1.25.0.tar.gz.asc 488 BLAKE2B 45b07fc1ef14452b8a4fda63f134e389b66c120ccd8de3d48ccc5659c481db1796339a1968db406cf9b3da1a9c5aa81ccf538bc0546bb6c4babbe7de9c14f576 SHA512 9cf2dcd80807b54cd7fa6871283863384a4b6b10e0ef9c287bb4969a9169b7f12180a15c5fa756770c5ba01558ef48615aaaaefa546d19b3496e3cbe0454346b
|
||||
DIST c-ares-1.26.0.tar.gz 1298394 BLAKE2B 9bcbb321b31518fdd3481447e1bba733dbf0eabd1876aa0fec6737888fd176b837c64e6b22ae5754a905f0fd1591d4fd516db558fafae92cc2684ad7e0c29f63 SHA512 81657b8b9840a565b04ecf87ef8f0fc3192a9594808e47aed5e5bbebf2b5f0066b0cd5fae70f0fe70b68d428b4cc75fba22d2ae7683c6d0f87979c414c072af1
|
||||
|
||||
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc
|
||||
inherit edo multilib-minimal verify-sig
|
||||
|
||||
DESCRIPTION="C library that resolves names asynchronously"
|
||||
HOMEPAGE="https://c-ares.org/"
|
||||
SRC_URI="
|
||||
https://c-ares.org/download/${P}.tar.gz
|
||||
verify-sig? ( https://c-ares.org/download/${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405)
|
||||
LICENSE="MIT ISC"
|
||||
# Subslot = SONAME of libcares.so.2
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-danielstenberg )"
|
||||
|
||||
DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO )
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/ares_build.h
|
||||
)
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-nonblocking
|
||||
--enable-symbol-hiding
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
# Needed for running unit tests only
|
||||
# Violates sandbox and tests pass fine without
|
||||
export ax_cv_uts_namespace=no
|
||||
export ax_cv_user_namespace=no
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cd "${BUILD_DIR}"/test || die
|
||||
|
||||
# We're skipping the "real" network tests with the filter
|
||||
# see https://github.com/c-ares/c-ares/tree/main/test
|
||||
local network_tests=(
|
||||
# Most live tests have Live in the name
|
||||
*Live*
|
||||
# These don't but are still in ares-test-live.cc => live
|
||||
*GetTCPSock*
|
||||
*TimeoutValue*
|
||||
*GetSock*
|
||||
*GetSock_virtualized*
|
||||
)
|
||||
|
||||
# The format for disabling test1, test2, and test3 looks like:
|
||||
# -test1:test2:test3
|
||||
edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}"))
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
||||
@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc
|
||||
inherit edo multilib-minimal verify-sig
|
||||
|
||||
DESCRIPTION="C library that resolves names asynchronously"
|
||||
HOMEPAGE="https://c-ares.org/"
|
||||
SRC_URI="
|
||||
https://c-ares.org/download/${P}.tar.gz
|
||||
verify-sig? ( https://c-ares.org/download/${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405)
|
||||
LICENSE="MIT ISC"
|
||||
# Subslot = SONAME of libcares.so.2
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-danielstenberg )"
|
||||
|
||||
DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO )
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/ares_build.h
|
||||
)
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
# Checking for obsolete headers
|
||||
malloc
|
||||
calloc
|
||||
free
|
||||
|
||||
# Non-existent on Linux
|
||||
closesocket
|
||||
CloseSocket
|
||||
ioctlsocket
|
||||
bitncmp
|
||||
)
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-nonblocking
|
||||
--enable-symbol-hiding
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
# Needed for running unit tests only
|
||||
# Violates sandbox and tests pass fine without
|
||||
export ax_cv_uts_namespace=no
|
||||
export ax_cv_user_namespace=no
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cd "${BUILD_DIR}"/test || die
|
||||
|
||||
# We're skipping the "real" network tests with the filter
|
||||
# see https://github.com/c-ares/c-ares/tree/main/test
|
||||
local network_tests=(
|
||||
# Most live tests have Live in the name
|
||||
*Live*
|
||||
# These don't but are still in ares-test-live.cc => live
|
||||
*GetTCPSock*
|
||||
*TimeoutValue*
|
||||
*GetSock*
|
||||
*GetSock_virtualized*
|
||||
*VerifySocketFunctionCallback*
|
||||
# Seems flaky, even run manually
|
||||
# https://github.com/c-ares/c-ares/commit/9e542a8839f81c990bb0dff14beeaf9aa6bcc18d
|
||||
*MockUDPMaxQueriesTest.GetHostByNameParallelLookups*
|
||||
)
|
||||
|
||||
# The format for disabling test1, test2, and test3 looks like:
|
||||
# -test1:test2:test3
|
||||
edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}"))
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
||||
@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc
|
||||
inherit edo multilib-minimal verify-sig
|
||||
|
||||
DESCRIPTION="C library that resolves names asynchronously"
|
||||
HOMEPAGE="https://c-ares.org/"
|
||||
SRC_URI="
|
||||
https://c-ares.org/download/${P}.tar.gz
|
||||
verify-sig? ( https://c-ares.org/download/${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405)
|
||||
LICENSE="MIT ISC"
|
||||
# Subslot = SONAME of libcares.so.2
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? ( dev-cpp/gtest )
|
||||
verify-sig? ( sec-keys/openpgp-keys-danielstenberg )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO )
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/ares_build.h
|
||||
)
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
# Checking for obsolete headers
|
||||
malloc
|
||||
calloc
|
||||
free
|
||||
|
||||
# Non-existent on Linux
|
||||
closesocket
|
||||
CloseSocket
|
||||
ioctlsocket
|
||||
bitncmp
|
||||
ConvertInterfaceIndexToLuid
|
||||
ConvertInterfaceLuidToNameA
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-tests-symbol-hiding.patch
|
||||
"${FILESDIR}"/${P}-getrandom.patch
|
||||
"${FILESDIR}"/${P}-ares__iface_ips_enumerate-stub.patch
|
||||
)
|
||||
|
||||
multilib_src_configure() {
|
||||
# These configure tests take a long time to run. The args one runs in O(n^4).
|
||||
export ac_cv_func_getnameinfo='yes'
|
||||
export ac_cv_func_recvfrom='yes'
|
||||
export ac_cv_func_recv='yes'
|
||||
export ac_cv_func_send='yes'
|
||||
export curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,size_t,int'
|
||||
export curl_cv_func_recv_args='int,void *,size_t,int,int'
|
||||
export curl_cv_func_recvfrom_args='int,void *,size_t,int,struct sockaddr *,socklen_t *,int'
|
||||
export curl_cv_func_send_args='int,const void *,size_t,int,int'
|
||||
export curl_cv_getnameinfo='yes'
|
||||
export curl_cv_recv='yes'
|
||||
export curl_cv_recvfrom='yes'
|
||||
export curl_cv_send='yes'
|
||||
|
||||
local myeconfargs=(
|
||||
--cache-file="${BUILD_DIR}"/config.cache
|
||||
|
||||
--enable-nonblocking
|
||||
--enable-symbol-hiding
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
# Needed for running unit tests only
|
||||
# Violates sandbox and tests pass fine without
|
||||
export ax_cv_uts_namespace=no
|
||||
export ax_cv_user_namespace=no
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cd "${BUILD_DIR}"/test || die
|
||||
|
||||
# We're skipping the "real" network tests with the filter
|
||||
# see https://github.com/c-ares/c-ares/tree/main/test
|
||||
local network_tests=(
|
||||
# Most live tests have Live in the name
|
||||
*Live*
|
||||
# These don't but are still in ares-test-live.cc => live
|
||||
*GetTCPSock*
|
||||
*TimeoutValue*
|
||||
*GetSock*
|
||||
*GetSock_virtualized*
|
||||
*VerifySocketFunctionCallback*
|
||||
# Seems flaky, even run manually
|
||||
# https://github.com/c-ares/c-ares/commit/9e542a8839f81c990bb0dff14beeaf9aa6bcc18d
|
||||
*MockUDPMaxQueriesTest.GetHostByNameParallelLookups*
|
||||
)
|
||||
|
||||
# The format for disabling test1, test2, and test3 looks like:
|
||||
# -test1:test2:test3
|
||||
edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}"))
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
||||
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc
|
||||
inherit edo multilib-minimal verify-sig
|
||||
|
||||
DESCRIPTION="C library that resolves names asynchronously"
|
||||
HOMEPAGE="https://c-ares.org/"
|
||||
SRC_URI="
|
||||
https://c-ares.org/download/${P}.tar.gz
|
||||
verify-sig? ( https://c-ares.org/download/${P}.tar.gz.asc )
|
||||
"
|
||||
|
||||
# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405)
|
||||
LICENSE="MIT ISC"
|
||||
# Subslot = SONAME of libcares.so.2
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? ( dev-cpp/gtest )
|
||||
verify-sig? ( sec-keys/openpgp-keys-danielstenberg )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CHANGES NEWS README.md RELEASE-NOTES TODO )
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/ares_build.h
|
||||
)
|
||||
|
||||
A__QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
# Checking for obsolete headers
|
||||
malloc
|
||||
calloc
|
||||
free
|
||||
|
||||
# Non-existent on Linux
|
||||
closesocket
|
||||
CloseSocket
|
||||
ioctlsocket
|
||||
bitncmp
|
||||
ConvertInterfaceIndexToLuid
|
||||
ConvertInterfaceLuidToNameA
|
||||
)
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-symbol-hiding
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
)
|
||||
|
||||
# Needed for running unit tests only
|
||||
# Violates sandbox and tests pass fine without
|
||||
export ax_cv_uts_namespace=no
|
||||
export ax_cv_user_namespace=no
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cd "${BUILD_DIR}"/test || die
|
||||
|
||||
# We're skipping the "real" network tests with the filter
|
||||
# see https://github.com/c-ares/c-ares/tree/main/test
|
||||
local network_tests=(
|
||||
# Most live tests have Live in the name
|
||||
*Live*
|
||||
# These don't but are still in ares-test-live.cc => live
|
||||
*GetTCPSock*
|
||||
*TimeoutValue*
|
||||
*GetSock*
|
||||
*GetSock_virtualized*
|
||||
*VerifySocketFunctionCallback*
|
||||
# Seems flaky, even run manually
|
||||
# https://github.com/c-ares/c-ares/commit/9e542a8839f81c990bb0dff14beeaf9aa6bcc18d
|
||||
*MockUDPMaxQueriesTest.GetHostByNameParallelLookups*
|
||||
)
|
||||
|
||||
# The format for disabling test1, test2, and test3 looks like:
|
||||
# -test1:test2:test3
|
||||
edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}"))
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
https://github.com/c-ares/c-ares/commit/eebfe0c15e1cc231500dfd79c730788790ec5251
|
||||
|
||||
From eebfe0c15e1cc231500dfd79c730788790ec5251 Mon Sep 17 00:00:00 2001
|
||||
From: Brad House <brad@brad-house.com>
|
||||
Date: Sun, 17 Dec 2023 19:03:33 -0500
|
||||
Subject: [PATCH] Fix bad stub for ares__iface_ips_enumerate()
|
||||
|
||||
If the ability to enumerate interface ip addresses does not exist
|
||||
on a system, the stub function contained the wrong prototype.
|
||||
|
||||
Fixes Bug: #668
|
||||
Fix By: Brad House (@bradh352)
|
||||
---
|
||||
src/lib/ares__iface_ips.c | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/lib/ares__iface_ips.c b/src/lib/ares__iface_ips.c
|
||||
index e10a0d80c..7cd12a605 100644
|
||||
--- a/src/lib/ares__iface_ips.c
|
||||
+++ b/src/lib/ares__iface_ips.c
|
||||
@@ -510,11 +510,10 @@ static ares_status_t ares__iface_ips_enumerate(ares__iface_ips_t *ips,
|
||||
#else
|
||||
|
||||
static ares_status_t ares__iface_ips_enumerate(ares__iface_ips_t *ips,
|
||||
- ares__iface_ip_flags_t flags,
|
||||
const char *name)
|
||||
{
|
||||
(void)ips;
|
||||
- (void)flags;
|
||||
+ (void)name;
|
||||
return ARES_ENOTIMP;
|
||||
}
|
||||
|
||||
|
||||
@ -1,80 +0,0 @@
|
||||
https://github.com/c-ares/c-ares/commit/d8edb76bece36267c4c55355ae9c7009e131a0e0
|
||||
|
||||
From d8edb76bece36267c4c55355ae9c7009e131a0e0 Mon Sep 17 00:00:00 2001
|
||||
From: Brad House <brad@brad-house.com>
|
||||
Date: Sun, 17 Dec 2023 11:08:21 -0500
|
||||
Subject: [PATCH] getrandom() may require sys/random.h on some systems
|
||||
|
||||
There is a reported build issue where getrandom() is detected
|
||||
but compile fails due to a missing prototype. This commit attempts
|
||||
to resolve that issue.
|
||||
|
||||
Fixes Bug: #665
|
||||
Fix By: Brad House (@bradh352)
|
||||
---
|
||||
CMakeLists.txt | 2 ++
|
||||
configure.ac | 1 +
|
||||
src/lib/ares_config.h.cmake | 3 +++
|
||||
src/lib/ares_rand.c | 3 +++
|
||||
4 files changed, 9 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a8d3eed06..29f5d7ed3 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -225,6 +225,7 @@ CHECK_INCLUDE_FILES (sys/select.h HAVE_SYS_SELECT_H)
|
||||
CHECK_INCLUDE_FILES (sys/stat.h HAVE_SYS_STAT_H)
|
||||
CHECK_INCLUDE_FILES (sys/time.h HAVE_SYS_TIME_H)
|
||||
CHECK_INCLUDE_FILES (sys/uio.h HAVE_SYS_UIO_H)
|
||||
+CHECK_INCLUDE_FILES (sys/random.h HAVE_SYS_RANDOM_H)
|
||||
CHECK_INCLUDE_FILES (ifaddrs.h HAVE_IFADDRS_H)
|
||||
CHECK_INCLUDE_FILES (time.h HAVE_TIME_H)
|
||||
CHECK_INCLUDE_FILES (dlfcn.h HAVE_DLFCN_H)
|
||||
@@ -323,6 +324,7 @@ CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_SOCKIO_H sys/sockio.h)
|
||||
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_TIME_H sys/time.h)
|
||||
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_STAT_H sys/stat.h)
|
||||
CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_UIO_H sys/uio.h)
|
||||
+CARES_EXTRAINCLUDE_IFSET (HAVE_SYS_RANDOM_H sys/random.h)
|
||||
CARES_EXTRAINCLUDE_IFSET (HAVE_TIME_H time.h)
|
||||
CARES_EXTRAINCLUDE_IFSET (HAVE_FCNTL_H fcntl.h)
|
||||
CARES_EXTRAINCLUDE_IFSET (HAVE_UNISTD_H unistd.h)
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 7a6b14092..e9c2534cd 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -574,6 +574,7 @@ AC_CHECK_HEADERS(
|
||||
sys/ioctl.h \
|
||||
sys/param.h \
|
||||
sys/uio.h \
|
||||
+ sys/random.h \
|
||||
assert.h \
|
||||
iphlpapi.h \
|
||||
netioapi.h \
|
||||
diff --git a/src/lib/ares_config.h.cmake b/src/lib/ares_config.h.cmake
|
||||
index c2974dced..3fb85d54f 100644
|
||||
--- a/src/lib/ares_config.h.cmake
|
||||
+++ b/src/lib/ares_config.h.cmake
|
||||
@@ -320,6 +320,9 @@
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#cmakedefine HAVE_SYS_PARAM_H
|
||||
|
||||
+/* Define to 1 if you have the <sys/random.h> header file. */
|
||||
+#cmakedefine HAVE_SYS_RANDOM_H
|
||||
+
|
||||
/* Define to 1 if you have the <sys/select.h> header file. */
|
||||
#cmakedefine HAVE_SYS_SELECT_H
|
||||
|
||||
diff --git a/src/lib/ares_rand.c b/src/lib/ares_rand.c
|
||||
index e6e35ef61..867ca3340 100644
|
||||
--- a/src/lib/ares_rand.c
|
||||
+++ b/src/lib/ares_rand.c
|
||||
@@ -28,6 +28,9 @@
|
||||
#include "ares.h"
|
||||
#include "ares_private.h"
|
||||
#include <stdlib.h>
|
||||
+#ifdef HAVE_SYS_RANDOM_H
|
||||
+# include <sys/random.h>
|
||||
+#endif
|
||||
|
||||
|
||||
typedef enum {
|
||||
@ -1,109 +0,0 @@
|
||||
https://github.com/c-ares/c-ares/commit/7dd384a99cc385e408e64c3e0af4e0e2136ed034
|
||||
|
||||
From 7dd384a99cc385e408e64c3e0af4e0e2136ed034 Mon Sep 17 00:00:00 2001
|
||||
From: Brad House <brad@brad-house.com>
|
||||
Date: Sun, 17 Dec 2023 08:16:24 -0500
|
||||
Subject: [PATCH] fix test building with symbol hiding
|
||||
|
||||
New test cases depend on internal symbols for calculating timeouts.
|
||||
Disable those test features if symbol hiding is enabled.
|
||||
|
||||
Fixes Bug: #664
|
||||
Fix By: Brad House (@bradh352)
|
||||
---
|
||||
test/ares-test-mock-ai.cc | 2 ++
|
||||
test/ares-test-mock.cc | 4 ++--
|
||||
test/ares-test.cc | 12 ++++++++++++
|
||||
3 files changed, 16 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/test/ares-test-mock-ai.cc b/test/ares-test-mock-ai.cc
|
||||
index c55676f6c..57b9d5ee2 100644
|
||||
--- a/test/ares-test-mock-ai.cc
|
||||
+++ b/test/ares-test-mock-ai.cc
|
||||
@@ -442,6 +442,7 @@ TEST_P(MockChannelTestAI, FamilyV6) {
|
||||
EXPECT_THAT(result.ai_, IncludesV6Address("2121:0000:0000:0000:0000:0000:0000:0303"));
|
||||
}
|
||||
|
||||
+#ifndef CARES_SYMBOL_HIDING
|
||||
// Test case for Issue #662
|
||||
TEST_P(MockChannelTestAI, PartialQueryCancel) {
|
||||
std::vector<byte> nothing;
|
||||
@@ -469,6 +470,7 @@ TEST_P(MockChannelTestAI, PartialQueryCancel) {
|
||||
EXPECT_TRUE(result.done_);
|
||||
EXPECT_EQ(ARES_ECANCELLED, result.status_);
|
||||
}
|
||||
+#endif
|
||||
|
||||
TEST_P(MockChannelTestAI, FamilyV4) {
|
||||
DNSPacket rsp4;
|
||||
diff --git a/test/ares-test-mock.cc b/test/ares-test-mock.cc
|
||||
index 6afa8f989..849eb6980 100644
|
||||
--- a/test/ares-test-mock.cc
|
||||
+++ b/test/ares-test-mock.cc
|
||||
@@ -826,7 +826,7 @@ TEST_P(MockChannelTest, V4WorksV6Timeout) {
|
||||
EXPECT_EQ("{'www.google.com' aliases=[] addrs=[1.2.3.4]}", ss.str());
|
||||
}
|
||||
|
||||
-
|
||||
+#ifndef CARES_SYMBOL_HIDING
|
||||
// Test case for Issue #662
|
||||
TEST_P(MockChannelTest, PartialQueryCancel) {
|
||||
std::vector<byte> nothing;
|
||||
@@ -849,7 +849,7 @@ TEST_P(MockChannelTest, PartialQueryCancel) {
|
||||
EXPECT_TRUE(result.done_);
|
||||
EXPECT_EQ(ARES_ECANCELLED, result.status_);
|
||||
}
|
||||
-
|
||||
+#endif
|
||||
|
||||
TEST_P(MockChannelTest, UnspecifiedFamilyV6) {
|
||||
DNSPacket rsp6;
|
||||
diff --git a/test/ares-test.cc b/test/ares-test.cc
|
||||
index faad01486..3a55b73d3 100644
|
||||
--- a/test/ares-test.cc
|
||||
+++ b/test/ares-test.cc
|
||||
@@ -105,6 +105,8 @@ void ProcessWork(ares_channel_t *channel,
|
||||
unsigned int cancel_ms) {
|
||||
int nfds, count;
|
||||
fd_set readers, writers;
|
||||
+
|
||||
+#ifndef CARES_SYMBOL_HIDING
|
||||
struct timeval tv_begin = ares__tvnow();
|
||||
struct timeval tv_cancel = tv_begin;
|
||||
|
||||
@@ -113,10 +115,18 @@ void ProcessWork(ares_channel_t *channel,
|
||||
tv_cancel.tv_sec += (cancel_ms / 1000);
|
||||
tv_cancel.tv_usec += ((cancel_ms % 1000) * 1000);
|
||||
}
|
||||
+#else
|
||||
+ if (cancel_ms) {
|
||||
+ std::cerr << "library built with symbol hiding, can't test with cancel support" << std::endl;
|
||||
+ return;
|
||||
+ }
|
||||
+#endif
|
||||
|
||||
while (true) {
|
||||
+#ifndef CARES_SYMBOL_HIDING
|
||||
struct timeval tv_now = ares__tvnow();
|
||||
struct timeval tv_remaining;
|
||||
+#endif
|
||||
struct timeval tv;
|
||||
struct timeval *tv_select;
|
||||
|
||||
@@ -142,6 +152,7 @@ void ProcessWork(ares_channel_t *channel,
|
||||
if (tv_select == NULL)
|
||||
return;
|
||||
|
||||
+#ifndef CARES_SYMBOL_HIDING
|
||||
if (cancel_ms) {
|
||||
unsigned int remaining_ms;
|
||||
ares__timeval_remaining(&tv_remaining,
|
||||
@@ -157,6 +168,7 @@ void ProcessWork(ares_channel_t *channel,
|
||||
tv_select = ares_timeout(channel, &tv_remaining, &tv);
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
|
||||
count = select(nfds, &readers, &writers, nullptr, tv_select);
|
||||
if (count < 0) {
|
||||
|
||||
@ -1 +1,2 @@
|
||||
DIST dnsmasq-2.89.tar.xz 562700 BLAKE2B d8be39697ce7d4e7beacf6d94a9ba1842fe0099f7ed7ebb243a7e6e5af8c83195e4723e60841705aee70a43510279be8484a9474191ddcf17eac1ff4edc5389f SHA512 4384ed5b673e10eaf6532e6eaeb5c0a6b817581433cc28c632bdcbadbfc050a0ab73bc5b73c98d708cd39515bb3f72168714b0aa5f16436cebdd18020648d428
|
||||
DIST dnsmasq-2.90.tar.xz 570672 BLAKE2B e5a7a3f3b1457c94f508a17c32f1f14267ed61009058295e0202bee7a1798a3eb72c70e53c799f25fb6030b389c5eefc5e50845896b71b733c0fc302d730dff7 SHA512 e169de1892f935e219b0f49d90107f95cba42b40bca20bd3c973313c2cd4df58b929af6628cd988419051d81c3b4ccf8e9f816274df7d0840e79f5bf49602442
|
||||
|
||||
231
sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/dnsmasq-2.90.ebuild
vendored
Normal file
231
sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/dnsmasq-2.90.ebuild
vendored
Normal file
@ -0,0 +1,231 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit toolchain-funcs lua-single systemd
|
||||
|
||||
DESCRIPTION="Small forwarding DNS server"
|
||||
HOMEPAGE="https://thekelleys.org.uk/dnsmasq/doc.html"
|
||||
SRC_URI="https://thekelleys.org.uk/dnsmasq/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
IUSE="auth-dns conntrack dbus +dhcp dhcp-tools dnssec +dumpfile id idn libidn2"
|
||||
IUSE+=" +loop +inotify ipv6 lua nettlehash nls script selinux static tftp"
|
||||
|
||||
DM_LINGUAS=(de es fi fr id it no pl pt_BR ro)
|
||||
|
||||
BDEPEND="
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
acct-group/dnsmasq
|
||||
acct-user/dnsmasq
|
||||
dbus? ( sys-apps/dbus:= )
|
||||
idn? (
|
||||
!libidn2? ( net-dns/libidn:0= )
|
||||
libidn2? ( >=net-dns/libidn2-2.0:= )
|
||||
)
|
||||
lua? ( ${LUA_DEPS} )
|
||||
conntrack? ( net-libs/libnetfilter_conntrack:= )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dnssec? (
|
||||
dev-libs/nettle:=[gmp]
|
||||
static? ( >=dev-libs/nettle-3.4[static-libs(+)] )
|
||||
)
|
||||
nettlehash? (
|
||||
static? ( >=dev-libs/nettle-3.4[static-libs(+)] )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dnssec? (
|
||||
!static? ( >=dev-libs/nettle-3.4:=[gmp] )
|
||||
)
|
||||
nettlehash? (
|
||||
!static? ( dev-libs/nettle:=[gmp] )
|
||||
)
|
||||
selinux? ( sec-policy/selinux-dnsmasq )
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
dhcp-tools? ( dhcp )
|
||||
dnssec? ( !nettlehash )
|
||||
lua? (
|
||||
script
|
||||
${LUA_REQUIRED_USE}
|
||||
)
|
||||
libidn2? ( idn )
|
||||
"
|
||||
|
||||
use_have() {
|
||||
local no_only
|
||||
if [[ ${1} == '-n' ]]; then
|
||||
no_only=1
|
||||
shift
|
||||
fi
|
||||
local useflag="${1}"
|
||||
shift
|
||||
|
||||
local uword="${1:-${useflag}}"
|
||||
shift
|
||||
|
||||
while [[ ${uword} ]]; do
|
||||
uword="${uword^^}"
|
||||
|
||||
if ! use "${useflag}"; then
|
||||
printf -- " -DNO_%s" "${uword}"
|
||||
elif [[ -z "${no_only}" ]]; then
|
||||
printf -- " -DHAVE_%s" "${uword}"
|
||||
fi
|
||||
uword="${1}"
|
||||
shift
|
||||
done
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use lua && lua-single_pkg_setup
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use static; then
|
||||
einfo "Only sys-libs/gmp and dev-libs/nettle are statically linked."
|
||||
use dnssec || einfo "Thus, ${P}[!dnssec,static] makes no sense;" \
|
||||
"in this case the static USE flag does nothing."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "s:%%PREFIX%%:${EPREFIX}/usr:" \
|
||||
dnsmasq.conf.example || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
COPTS=(
|
||||
$(use_have -n auth-dns auth)
|
||||
$(use_have conntrack)
|
||||
$(use_have dbus)
|
||||
$(use libidn2 || use_have idn)
|
||||
$(use_have libidn2)
|
||||
$(use_have -n inotify)
|
||||
$(use_have -n dhcp dhcp dhcp6)
|
||||
$(use_have -n ipv6 ipv6 dhcp6)
|
||||
$(use_have -n id id)
|
||||
$(use_have -n loop)
|
||||
$(use_have lua luascript)
|
||||
$(use_have -n script)
|
||||
$(use_have -n tftp)
|
||||
$(use_have dnssec)
|
||||
$(use_have nettlehash)
|
||||
$(use_have static dnssec_static)
|
||||
$(use_have -n dumpfile)
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
PREFIX=/usr \
|
||||
MANDIR=/usr/share/man \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
COPTS="${COPTS[*]}" \
|
||||
CONFFILE="/etc/${PN}.conf" \
|
||||
all$(use nls && printf -- "-i18n\n")
|
||||
|
||||
use dhcp-tools && emake -C contrib/lease-tools \
|
||||
PREFIX=/usr \
|
||||
MANDIR=/usr/share/man \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local lingua puid
|
||||
emake \
|
||||
PREFIX=/usr \
|
||||
MANDIR=/usr/share/man \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
COPTS="${COPTS[*]}" \
|
||||
CONFFILE="/etc/${PN}.conf" \
|
||||
DESTDIR="${ED}" \
|
||||
install$(use nls && printf -- "-i18n\n")
|
||||
|
||||
for lingua in "${DM_LINGUAS[@]}"; do
|
||||
has ${lingua} ${LINGUAS-${lingua}} \
|
||||
|| rm -rf "${ED}"/usr/share/locale/${lingua}
|
||||
done
|
||||
[[ -d "${D}"/usr/share/locale/ ]] && \
|
||||
rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/locale/
|
||||
|
||||
dodoc CHANGELOG CHANGELOG.archive FAQ dnsmasq.conf.example
|
||||
dodoc -r logo
|
||||
|
||||
docinto html/
|
||||
dodoc *.html
|
||||
|
||||
newinitd "${FILESDIR}"/dnsmasq-init-r4 ${PN}
|
||||
newconfd "${FILESDIR}"/dnsmasq.confd-r1 ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/dnsmasq.logrotate ${PN}
|
||||
|
||||
insinto /etc
|
||||
newins dnsmasq.conf.example dnsmasq.conf
|
||||
|
||||
insinto /usr/share/dnsmasq
|
||||
doins trust-anchors.conf
|
||||
|
||||
if use dhcp; then
|
||||
keepdir /var/lib/misc
|
||||
newinitd "${FILESDIR}"/dnsmasq-init-dhcp-r3 ${PN}
|
||||
fi
|
||||
if use dbus; then
|
||||
insinto /etc/dbus-1/system.d
|
||||
doins dbus/dnsmasq.conf
|
||||
|
||||
docinto
|
||||
dodoc dbus/DBus-interface
|
||||
fi
|
||||
|
||||
if use dhcp-tools; then
|
||||
dosbin contrib/lease-tools/{dhcp_release,dhcp_lease_time}
|
||||
doman contrib/lease-tools/{dhcp_release,dhcp_lease_time}.1
|
||||
if use ipv6; then
|
||||
dosbin contrib/lease-tools/dhcp_release6
|
||||
doman contrib/lease-tools/dhcp_release6.1
|
||||
fi
|
||||
fi
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
[[ -f /var/lib/misc/dnsmasq.leases ]] && \
|
||||
cp /var/lib/misc/dnsmasq.leases "${T}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -f "${T}"/dnsmasq.leases ]] && \
|
||||
cp "${T}"/dnsmasq.leases /var/lib/misc/dnsmasq.leases
|
||||
}
|
||||
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-info verify-sig
|
||||
|
||||
DESCRIPTION="Programming interface (API) to the in-kernel connection tracking state table"
|
||||
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_conntrack/"
|
||||
SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2
|
||||
verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
|
||||
|
||||
RDEPEND=">=net-libs/libmnl-1.0.3
|
||||
>=net-libs/libnfnetlink-1.0.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
verify-sig? ( sec-keys/openpgp-keys-netfilter )"
|
||||
|
||||
DOCS=( README )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-musl.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
|
||||
if kernel_is lt 2 6 18 ; then
|
||||
die "${PN} requires at least 2.6.18 kernel version"
|
||||
fi
|
||||
|
||||
# netfilter core team has changed some option names with kernel 2.6.20
|
||||
if kernel_is lt 2 6 20 ; then
|
||||
CONFIG_CHECK="~IP_NF_CONNTRACK_NETLINK"
|
||||
else
|
||||
CONFIG_CHECK="~NF_CT_NETLINK"
|
||||
fi
|
||||
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
@ -1,6 +1,2 @@
|
||||
DIST libnftnl-1.2.4.tar.bz2 395444 BLAKE2B 43a89fd2f7d9fd77e59423b599fe209c821da660669c7fe3c569ac262b78cfe1942ab9fd597bf09a0c93b7d1ff465ca79bd925967be93333a11468845ef785fd SHA512 5375d1d15627aabf25129433630395f53009b22a255fcd113b302af7f2f0a234fd54c827b0ef1c8fd3a13e272a1696f780560672d4af6abad0e19805f9d56326
|
||||
DIST libnftnl-1.2.4.tar.bz2.sig 566 BLAKE2B f7598f5ed56cf101a61358206d1e4e3fe3fa12514d6d6a89a00f4ec853d4473aefbfbedf7ce062160bd6c7578e5a09bfb6a5bf1c2b98f5858a8d9f4f9ce5be38 SHA512 89bb5ea536632518aad62e798868284fe82ba75d2af09b6505d506910aafdbaaed48b84b82fcf4ffb241672e51b696f8e24983636184b9713795c90f281f8683
|
||||
DIST libnftnl-1.2.5.tar.xz 335744 BLAKE2B 8ad2b264cce6458dd992dd14197abe224fb5afc14e8d06296dbc917d83724dacaee876191165fe83831e842e45995f9ea874957b02ee19580783a576c2d56ccd SHA512 576ccd0815063a6ef3095b5514c3d286b4450fad98fbf7a85cd537f66adf043e7e6295d4c84cc3cbfd18cf9a29576d15a88cc439a61a3e654841a27c71babea1
|
||||
DIST libnftnl-1.2.5.tar.xz.sig 566 BLAKE2B 1e47872354b714781b2ee3d9b375a9fe97a2e97a283d8b88bb7c0ec12cf779cfdfc668dbe64eb4d3bb3afff37bef2e5bc49fed6e3522c869c96c6f344ca18c25 SHA512 ca10b3856d8e690cd5ae763661972c5e4f4be2cca63f8120ad6550ece286078938efabba927070f830fc703cc17d16e8cbc1b4c8564bf888c199ea53c0b6a500
|
||||
DIST libnftnl-1.2.6.tar.xz 336684 BLAKE2B a08010b26db0c7a5429f33a92ca4f17e8e158005befa5f7e3f37d60456d1b481a3f95f46c0bcec74e98ab040940f533acc279672226f0abc6ce73a26ff56718a SHA512 0c8c369eec84b0c568f0067598bece6e3be9a0fbd977e443ae3b14a5a6d842a6086ceb5426a65f8c77204709655f148c1241193f1a928f8c12154a57e3548b34
|
||||
DIST libnftnl-1.2.6.tar.xz.sig 566 BLAKE2B 8ad336d0d8c693beb6335e874ad62040257e0c4527f8acb32fcc8b4889eea88ba3a42c9b2b795db6f6e3d148066ee0a9217b1e30c7e784c793458dd480ee624a SHA512 61288aa03fb80d43d09866ce549815202f682b30b283cf3119ced0fe59536d10f1c029e433651d1cb31115e977b660886a153f3361f5cafdbb0ed6da602e5b2f
|
||||
|
||||
@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
|
||||
inherit linux-info usr-ldscript verify-sig
|
||||
|
||||
DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem"
|
||||
HOMEPAGE="https://netfilter.org/projects/nftables/"
|
||||
|
||||
if [[ ${PV} =~ ^[9]{4,}$ ]]; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://git.netfilter.org/${PN}"
|
||||
else
|
||||
SRC_URI="
|
||||
https://netfilter.org/projects/${PN}/files/${P}.tar.bz2
|
||||
verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )
|
||||
"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/11" # libnftnl.so version
|
||||
IUSE="examples static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=net-libs/libmnl-1.0.4:=
|
||||
"
|
||||
BDEPEND+="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if kernel_is ge 3 13; then
|
||||
CONFIG_CHECK="~NF_TABLES"
|
||||
linux-info_pkg_setup
|
||||
else
|
||||
eerror "This package requires kernel version 3.13 or newer to work properly."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} =~ ^[9]{4,}$ ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
gen_usr_ldscript -a nftnl
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
|
||||
if use examples; then
|
||||
find examples/ -name 'Makefile*' -delete || die "Could not rm examples"
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
|
||||
inherit linux-info usr-ldscript verify-sig
|
||||
inherit linux-info verify-sig
|
||||
|
||||
DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem"
|
||||
HOMEPAGE="https://netfilter.org/projects/nftables/"
|
||||
@ -17,7 +17,7 @@ else
|
||||
https://netfilter.org/projects/${PN}/files/${P}.tar.xz
|
||||
verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.xz.sig )
|
||||
"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )"
|
||||
fi
|
||||
@ -61,8 +61,6 @@ src_configure() {
|
||||
src_install() {
|
||||
default
|
||||
|
||||
gen_usr_ldscript -a nftnl
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
|
||||
if use examples; then
|
||||
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/netfilter.org.asc
|
||||
inherit linux-info usr-ldscript verify-sig
|
||||
inherit linux-info verify-sig
|
||||
|
||||
DESCRIPTION="Netlink API to the in-kernel nf_tables subsystem"
|
||||
HOMEPAGE="https://netfilter.org/projects/nftables/"
|
||||
@ -61,8 +61,6 @@ src_configure() {
|
||||
src_install() {
|
||||
default
|
||||
|
||||
gen_usr_ldscript -a nftnl
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
|
||||
if use examples; then
|
||||
|
||||
@ -12,7 +12,7 @@ SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${PV}/${P}.tar.gz
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="icu +idn test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
||||
@ -17,6 +17,18 @@
|
||||
|
||||
#--- END OF EXAMPLES ---
|
||||
|
||||
# Sam James <sam@gentoo.org> (2024-02-24)
|
||||
# Only works on amd64 (and x32).
|
||||
dev-debug/gdb -cet
|
||||
sys-devel/binutils -cet
|
||||
sys-devel/gcc -cet
|
||||
sys-libs/binutils-libs -cet
|
||||
sys-libs/glibc -cet
|
||||
|
||||
# Leonardo Hernández Hernández <leohdz172@proton.me> (2024-02-23)
|
||||
# net-libs/paho-mqtt-c is only available for amd64 and x86
|
||||
app-admin/syslog-ng -mqtt
|
||||
|
||||
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (2024-02-09)
|
||||
# Refind is only available on a subset of arches
|
||||
sys-kernel/installkernel -refind
|
||||
@ -342,7 +354,7 @@ dev-util/catalyst -system-bootloader
|
||||
# Ilya Tumaykin <itumaykin+gentoo@gmail.com> (2018-06-17)
|
||||
# Vulkan support is only available on few selected arches atm.
|
||||
# Mask everywhere, unmask where appropriate.
|
||||
media-video/mpv -libplacebo -vulkan
|
||||
media-video/mpv -vulkan
|
||||
|
||||
# Richard Yao <ryao@gentoo.org> (2018-04-16)
|
||||
# sys-fs/zfs is keyworded on amd64
|
||||
@ -414,7 +426,7 @@ sys-boot/grub:2 -grub_platforms_xen-32
|
||||
# sd-boot is not supported on all archs.
|
||||
sys-apps/systemd -boot -gnuefi -ukify
|
||||
sys-apps/systemd-utils -boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify -uki
|
||||
|
||||
# Ben de Groot <yngwin@gentoo.org> (2015-03-15)
|
||||
# media-libs/libbdplus is keyworded on amd64, so unmask the useflag
|
||||
|
||||
@ -159,7 +159,7 @@ net-im/prosody selinux
|
||||
# bug #729720
|
||||
sys-apps/systemd -boot -gnuefi -ukify
|
||||
sys-apps/systemd-utils -boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify -uki
|
||||
|
||||
# Joonas Niilola <juippis@gentoo.org> (2021-01-15)
|
||||
# Dependency not keyworded on this arch.
|
||||
|
||||
@ -195,7 +195,7 @@ media-sound/bluez-alsa man
|
||||
# bug #729720
|
||||
sys-apps/systemd -boot -gnuefi -ukify
|
||||
sys-apps/systemd-utils -boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify -uki
|
||||
|
||||
# Joonas Niilola <juippis@gentoo.org> (2021-01-15)
|
||||
# Dependency not keyworded on this arch.
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Leonardo Hernández Hernández <leohdz172@proton.me> (2024-02-23)
|
||||
# net-libs/paho-mqtt-c is only available for amd64 and x86
|
||||
app-admin/syslog-ng mqtt
|
||||
|
||||
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (2024-02-09)
|
||||
# Refind is only available on a subset of arches
|
||||
sys-kernel/installkernel refind
|
||||
@ -307,7 +311,7 @@ dev-util/catalyst system-bootloader
|
||||
# Ilya Tumaykin <itumaykin+gentoo@gmail.com> (2018-06-17)
|
||||
# Vulkan support is only available on few selected arches atm.
|
||||
# Mask everywhere, unmask where appropriate.
|
||||
media-video/mpv libplacebo vulkan
|
||||
media-video/mpv vulkan
|
||||
|
||||
# Richard Yao <ryao@gentoo.org> (2018-04-16)
|
||||
# sys-fs/zfs is not available everywhere.
|
||||
@ -389,7 +393,7 @@ net-misc/moonlight mmal
|
||||
# sd-boot and ukify are not supported on all archs.
|
||||
sys-apps/systemd boot gnuefi ukify
|
||||
sys-apps/systemd-utils boot ukify
|
||||
sys-kernel/installkernel systemd-boot ukify
|
||||
sys-kernel/installkernel systemd-boot ukify uki
|
||||
|
||||
# Ben de Groot <yngwin@gentoo.org> (2015-03-15)
|
||||
# Mask bdplus support and unmask on arches where libbdplus is keyworded.
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Arthur Zamarin <arthurzam@gentoo.org> (2024-02-20)
|
||||
openexr
|
||||
|
||||
# Unmask the flag which corresponds to ARCH.
|
||||
-ia64
|
||||
|
||||
|
||||
@ -122,7 +122,7 @@ app-accessibility/at-spi2-core dbus-broker
|
||||
# Newer sd-boot does not use gnuefi.
|
||||
>=sys-apps/systemd-254 -boot -ukify
|
||||
>=sys-apps/systemd-utils-254 -boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify -uki
|
||||
|
||||
# WANG Xuerui <xen0n@gentoo.org> (2023-04-16)
|
||||
# dev-python/pyopengl fails tests
|
||||
|
||||
@ -61,7 +61,7 @@ mail-client/thunderbird clang
|
||||
# Georgy Yakovlev <gyakovlev@gentoo.org> (2020-02-26)
|
||||
# vulkan tested and works on ppc64le
|
||||
media-libs/mesa -vulkan -vulkan-overlay
|
||||
media-video/mpv -libplacebo -vulkan
|
||||
media-video/mpv -vulkan
|
||||
media-video/vlc -libplacebo
|
||||
|
||||
# Robin H. Johnson <robbat2@gentoo.org> (2019-12-06)
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
# Copyright 2019-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Paul Zander <negril.nx+gentoo@gmail.com> (2024-02-18)
|
||||
# alembic not stable yet
|
||||
media-gfx/openvdb alembic
|
||||
|
||||
# Michal Privoznik <michal.privoznik@gmail.com> (2024-01-18)
|
||||
# No sys-block/nbdkit on riscv, yet
|
||||
app-emulation/libvirt nbd
|
||||
@ -42,7 +46,7 @@ media-video/mpv lua_single_target_luajit -lua_single_target_lua5-1
|
||||
# sd-boot should work here.
|
||||
sys-apps/systemd -boot -boot -ukify
|
||||
sys-apps/systemd-utils -boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify -uki
|
||||
|
||||
# Sam James <sam@gentoo.org> (2023-05-10)
|
||||
# sys-cluster/ceph not keyworded here
|
||||
|
||||
@ -316,7 +316,6 @@ media-gfx/inkscape cdr visio wpg
|
||||
# Mikle Kolyada <zlogene@gentoo.org> (2020-05-06)
|
||||
# No keywords
|
||||
dev-python/werkzeug test
|
||||
dev-python/urllib3 test
|
||||
|
||||
# Rolf Eike Beer <eike@sf-mail.de> (2020-04-28)
|
||||
# Requires www-client/firefox which isn't available on sparc
|
||||
|
||||
@ -1,6 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Leonardo Hernández Hernández <leohdz172@proton.me> (2024-02-23)
|
||||
# net-libs/paho-mqtt-c is only available for amd64 and x86
|
||||
app-admin/syslog-ng -mqtt
|
||||
|
||||
# Andrew Ammerlaan <andrewammerlaan@gentoo.org> (2024-02-09)
|
||||
# Refind is only available on a subset of arches
|
||||
sys-kernel/installkernel -refind
|
||||
@ -88,8 +92,8 @@ sci-physics/root qt5
|
||||
dev-libs/libclc spirv
|
||||
|
||||
# Ionen Wolkens <ionen@gentoo.org> (2022-11-07)
|
||||
# media-libs/libplacebo is keyworded here and vulkan is usable
|
||||
media-video/mpv -libplacebo -vulkan
|
||||
# Vulkan is usable here.
|
||||
media-video/mpv -vulkan
|
||||
|
||||
# WANG Xuerui <xen0n@gentoo.org> (2022-10-07)
|
||||
# sys-libs/libsmbios is available here.
|
||||
@ -396,7 +400,7 @@ app-emulation/libvirt xen
|
||||
# sys-boot/gnu-efi is not supported on all archs.
|
||||
sys-apps/systemd -boot -gnuefi -ukify
|
||||
sys-apps/systemd-utils -boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify
|
||||
sys-kernel/installkernel -systemd-boot -ukify -uki
|
||||
|
||||
# Ben de Groot <yngwin@gentoo.org> (2015-03-15)
|
||||
# media-libs/libbdplus is keyworded on x86, so unmask the useflag
|
||||
|
||||
@ -6,6 +6,20 @@
|
||||
# This file is only for generic masks. For arch-specific masks (i.e.
|
||||
# mask everywhere, unmask on arch/*) use arch/base.
|
||||
|
||||
# Sam James <sam@gentoo.org> (2024-02-24)
|
||||
# Only works on amd64 (and x32).
|
||||
dev-debug/gdb cet
|
||||
sys-devel/binutils cet
|
||||
sys-devel/binutils-hppa64 cet
|
||||
sys-devel/gcc cet
|
||||
sys-libs/binutils-libs cet
|
||||
sys-libs/glibc cet
|
||||
|
||||
# Joonas Niilola <juippis@gentoo.org> (2024-02-20)
|
||||
# Upstream massively reworked av1 support breaking our custom
|
||||
# system-av1 patches.
|
||||
>=www-client/firefox-123.0 system-av1
|
||||
|
||||
# Matthew Turnbull <sparky@bluefang-logic.com> (2024-01-24)
|
||||
# Cinnamon wayland support is experimental and incomplete.
|
||||
# https://github.com/linuxmint/wayland/issues
|
||||
@ -38,7 +52,7 @@ net-analyzer/nagios-plugin-check_raid hpa
|
||||
# Michał Górny <mgorny@gentoo.org> (2023-12-22)
|
||||
# Requires LLVM 14 that is being removed.
|
||||
<dev-lang/ghc-9.4 llvm
|
||||
media-gfx/openvdb ax
|
||||
<media-gfx/openvdb-11 ax
|
||||
sys-devel/sparse llvm
|
||||
|
||||
# Takuya Wakazono <pastalian46@gmail.com> (2023-11-21)
|
||||
@ -712,17 +726,6 @@ dev-lang/gnat-gpl jit
|
||||
# masked. bug #666619
|
||||
dev-python/paramiko server
|
||||
|
||||
# Andreas K. Hüttel <dilfridge@gentoo.org> (2018-08-03)
|
||||
# New and for Gentoo still quite experimental. You've been
|
||||
# warned. (Also, works only on x86_64 and with certain CPUs
|
||||
# and compiler/binutils combinations.)
|
||||
sys-devel/binutils cet
|
||||
sys-devel/binutils-hppa64 cet
|
||||
dev-debug/gdb cet
|
||||
sys-libs/binutils-libs cet
|
||||
sys-libs/glibc cet
|
||||
sys-devel/gcc cet
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2018-06-13)
|
||||
# Requires app-arch/snappy[static-libs] that is no longer available.
|
||||
# Bug #651606.
|
||||
|
||||
@ -13,10 +13,6 @@
|
||||
# Requires llvm-17.
|
||||
>=www-client/chromium-118 libcxx lto pgo
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2023-10-18)
|
||||
# Unblock the support in python-exec while the target is masked.
|
||||
dev-lang/python-exec -python_targets_python3_12
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2023-06-11)
|
||||
# xfce-base/libxfce4windowing is not ready to go stable (4.19 branch).
|
||||
xfce-extra/xfce4-pulseaudio-plugin libxfce4windowing
|
||||
|
||||
@ -13,11 +13,6 @@ ruby_targets_ruby33
|
||||
# New unstable PHP slot.
|
||||
php_targets_php8-3
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2023-05-23)
|
||||
# Mask until dev-lang/python:3.12 becomes stable.
|
||||
python_targets_python3_12
|
||||
python_single_target_python3_12
|
||||
|
||||
# Brian Evans <grknight@gentoo.org> (2022-12-09)
|
||||
# PHP 8.2 is in testing
|
||||
php_targets_php8-2
|
||||
|
||||
@ -0,0 +1,33 @@
|
||||
default/linux/alpha/17.0/desktop/gnome/systemd/merged-usr
|
||||
|
||||
As warned about previously in a news item, systemd-255 has dropped
|
||||
support for split-usr systems. All Gentoo systems running systemd will
|
||||
need to be migrated to merged-usr.
|
||||
|
||||
Migrating to merged-usr will move all data from /bin, /sbin, and /lib
|
||||
into the /usr/bin and /usr/lib directories. The directories in / are
|
||||
replaced with symlinks.
|
||||
|
||||
To facilitate this, a new set of sub-profiles has been created, and a
|
||||
script is available to perform the actual migration.
|
||||
|
||||
To migrate a system to merged-usr, follow this procedure:
|
||||
|
||||
1. Ensure your system backups are up to date. Please also update
|
||||
your system fully and depclean before proceeding.
|
||||
|
||||
2. Install sys-apps/merge-usr.
|
||||
|
||||
3. Run "merge-usr --dryrun" as root to check for conflicts. These will
|
||||
appear with the word ERROR at the start of the line.
|
||||
|
||||
4. Resolve any conflicts. This may involve deleting duplicate files. If
|
||||
in doubt, seek support in a Gentoo support channel.
|
||||
|
||||
5. Run the merge-usr script from a root shell. Avoid running it via sudo
|
||||
directly to avoid locking yourself out if an unexpected error occurs.
|
||||
|
||||
6. Switch to a merged-usr profile.
|
||||
|
||||
7. Run emerge with the --newuse or --changed-use option to rebuild
|
||||
any packages that have a "split-usr" USE flag.
|
||||
@ -0,0 +1,33 @@
|
||||
default/linux/alpha/17.0/systemd/merged-usr
|
||||
|
||||
As warned about previously in a news item, systemd-255 has dropped
|
||||
support for split-usr systems. All Gentoo systems running systemd will
|
||||
need to be migrated to merged-usr.
|
||||
|
||||
Migrating to merged-usr will move all data from /bin, /sbin, and /lib
|
||||
into the /usr/bin and /usr/lib directories. The directories in / are
|
||||
replaced with symlinks.
|
||||
|
||||
To facilitate this, a new set of sub-profiles has been created, and a
|
||||
script is available to perform the actual migration.
|
||||
|
||||
To migrate a system to merged-usr, follow this procedure:
|
||||
|
||||
1. Ensure your system backups are up to date. Please also update
|
||||
your system fully and depclean before proceeding.
|
||||
|
||||
2. Install sys-apps/merge-usr.
|
||||
|
||||
3. Run "merge-usr --dryrun" as root to check for conflicts. These will
|
||||
appear with the word ERROR at the start of the line.
|
||||
|
||||
4. Resolve any conflicts. This may involve deleting duplicate files. If
|
||||
in doubt, seek support in a Gentoo support channel.
|
||||
|
||||
5. Run the merge-usr script from a root shell. Avoid running it via sudo
|
||||
directly to avoid locking yourself out if an unexpected error occurs.
|
||||
|
||||
6. Switch to a merged-usr profile.
|
||||
|
||||
7. Run emerge with the --newuse or --changed-use option to rebuild
|
||||
any packages that have a "split-usr" USE flag.
|
||||
@ -0,0 +1,33 @@
|
||||
default/linux/amd64/17.0/x32/systemd/merged-usr
|
||||
|
||||
As warned about previously in a news item, systemd-255 has dropped
|
||||
support for split-usr systems. All Gentoo systems running systemd will
|
||||
need to be migrated to merged-usr.
|
||||
|
||||
Migrating to merged-usr will move all data from /bin, /sbin, and /lib
|
||||
into the /usr/bin and /usr/lib directories. The directories in / are
|
||||
replaced with symlinks.
|
||||
|
||||
To facilitate this, a new set of sub-profiles has been created, and a
|
||||
script is available to perform the actual migration.
|
||||
|
||||
To migrate a system to merged-usr, follow this procedure:
|
||||
|
||||
1. Ensure your system backups are up to date. Please also update
|
||||
your system fully and depclean before proceeding.
|
||||
|
||||
2. Install sys-apps/merge-usr.
|
||||
|
||||
3. Run "merge-usr --dryrun" as root to check for conflicts. These will
|
||||
appear with the word ERROR at the start of the line.
|
||||
|
||||
4. Resolve any conflicts. This may involve deleting duplicate files. If
|
||||
in doubt, seek support in a Gentoo support channel.
|
||||
|
||||
5. Run the merge-usr script from a root shell. Avoid running it via sudo
|
||||
directly to avoid locking yourself out if an unexpected error occurs.
|
||||
|
||||
6. Switch to a merged-usr profile.
|
||||
|
||||
7. Run emerge with the --newuse or --changed-use option to rebuild
|
||||
any packages that have a "split-usr" USE flag.
|
||||
@ -0,0 +1,33 @@
|
||||
default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr
|
||||
|
||||
As warned about previously in a news item, systemd-255 has dropped
|
||||
support for split-usr systems. All Gentoo systems running systemd will
|
||||
need to be migrated to merged-usr.
|
||||
|
||||
Migrating to merged-usr will move all data from /bin, /sbin, and /lib
|
||||
into the /usr/bin and /usr/lib directories. The directories in / are
|
||||
replaced with symlinks.
|
||||
|
||||
To facilitate this, a new set of sub-profiles has been created, and a
|
||||
script is available to perform the actual migration.
|
||||
|
||||
To migrate a system to merged-usr, follow this procedure:
|
||||
|
||||
1. Ensure your system backups are up to date. Please also update
|
||||
your system fully and depclean before proceeding.
|
||||
|
||||
2. Install sys-apps/merge-usr.
|
||||
|
||||
3. Run "merge-usr --dryrun" as root to check for conflicts. These will
|
||||
appear with the word ERROR at the start of the line.
|
||||
|
||||
4. Resolve any conflicts. This may involve deleting duplicate files. If
|
||||
in doubt, seek support in a Gentoo support channel.
|
||||
|
||||
5. Run the merge-usr script from a root shell. Avoid running it via sudo
|
||||
directly to avoid locking yourself out if an unexpected error occurs.
|
||||
|
||||
6. Switch to a merged-usr profile.
|
||||
|
||||
7. Run emerge with the --newuse or --changed-use option to rebuild
|
||||
any packages that have a "split-usr" USE flag.
|
||||
@ -0,0 +1,33 @@
|
||||
default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr
|
||||
|
||||
As warned about previously in a news item, systemd-255 has dropped
|
||||
support for split-usr systems. All Gentoo systems running systemd will
|
||||
need to be migrated to merged-usr.
|
||||
|
||||
Migrating to merged-usr will move all data from /bin, /sbin, and /lib
|
||||
into the /usr/bin and /usr/lib directories. The directories in / are
|
||||
replaced with symlinks.
|
||||
|
||||
To facilitate this, a new set of sub-profiles has been created, and a
|
||||
script is available to perform the actual migration.
|
||||
|
||||
To migrate a system to merged-usr, follow this procedure:
|
||||
|
||||
1. Ensure your system backups are up to date. Please also update
|
||||
your system fully and depclean before proceeding.
|
||||
|
||||
2. Install sys-apps/merge-usr.
|
||||
|
||||
3. Run "merge-usr --dryrun" as root to check for conflicts. These will
|
||||
appear with the word ERROR at the start of the line.
|
||||
|
||||
4. Resolve any conflicts. This may involve deleting duplicate files. If
|
||||
in doubt, seek support in a Gentoo support channel.
|
||||
|
||||
5. Run the merge-usr script from a root shell. Avoid running it via sudo
|
||||
directly to avoid locking yourself out if an unexpected error occurs.
|
||||
|
||||
6. Switch to a merged-usr profile.
|
||||
|
||||
7. Run emerge with the --newuse or --changed-use option to rebuild
|
||||
any packages that have a "split-usr" USE flag.
|
||||
@ -0,0 +1,33 @@
|
||||
default/linux/amd64/17.1/desktop/systemd/merged-usr
|
||||
|
||||
As warned about previously in a news item, systemd-255 has dropped
|
||||
support for split-usr systems. All Gentoo systems running systemd will
|
||||
need to be migrated to merged-usr.
|
||||
|
||||
Migrating to merged-usr will move all data from /bin, /sbin, and /lib
|
||||
into the /usr/bin and /usr/lib directories. The directories in / are
|
||||
replaced with symlinks.
|
||||
|
||||
To facilitate this, a new set of sub-profiles has been created, and a
|
||||
script is available to perform the actual migration.
|
||||
|
||||
To migrate a system to merged-usr, follow this procedure:
|
||||
|
||||
1. Ensure your system backups are up to date. Please also update
|
||||
your system fully and depclean before proceeding.
|
||||
|
||||
2. Install sys-apps/merge-usr.
|
||||
|
||||
3. Run "merge-usr --dryrun" as root to check for conflicts. These will
|
||||
appear with the word ERROR at the start of the line.
|
||||
|
||||
4. Resolve any conflicts. This may involve deleting duplicate files. If
|
||||
in doubt, seek support in a Gentoo support channel.
|
||||
|
||||
5. Run the merge-usr script from a root shell. Avoid running it via sudo
|
||||
directly to avoid locking yourself out if an unexpected error occurs.
|
||||
|
||||
6. Switch to a merged-usr profile.
|
||||
|
||||
7. Run emerge with the --newuse or --changed-use option to rebuild
|
||||
any packages that have a "split-usr" USE flag.
|
||||
@ -0,0 +1,33 @@
|
||||
default/linux/amd64/17.1/no-multilib/systemd/merged-usr
|
||||
|
||||
As warned about previously in a news item, systemd-255 has dropped
|
||||
support for split-usr systems. All Gentoo systems running systemd will
|
||||
need to be migrated to merged-usr.
|
||||
|
||||
Migrating to merged-usr will move all data from /bin, /sbin, and /lib
|
||||
into the /usr/bin and /usr/lib directories. The directories in / are
|
||||
replaced with symlinks.
|
||||
|
||||
To facilitate this, a new set of sub-profiles has been created, and a
|
||||
script is available to perform the actual migration.
|
||||
|
||||
To migrate a system to merged-usr, follow this procedure:
|
||||
|
||||
1. Ensure your system backups are up to date. Please also update
|
||||
your system fully and depclean before proceeding.
|
||||
|
||||
2. Install sys-apps/merge-usr.
|
||||
|
||||
3. Run "merge-usr --dryrun" as root to check for conflicts. These will
|
||||
appear with the word ERROR at the start of the line.
|
||||
|
||||
4. Resolve any conflicts. This may involve deleting duplicate files. If
|
||||
in doubt, seek support in a Gentoo support channel.
|
||||
|
||||
5. Run the merge-usr script from a root shell. Avoid running it via sudo
|
||||
directly to avoid locking yourself out if an unexpected error occurs.
|
||||
|
||||
6. Switch to a merged-usr profile.
|
||||
|
||||
7. Run emerge with the --newuse or --changed-use option to rebuild
|
||||
any packages that have a "split-usr" USE flag.
|
||||
@ -0,0 +1,33 @@
|
||||
default/linux/amd64/17.1/systemd/merged-usr
|
||||
|
||||
As warned about previously in a news item, systemd-255 has dropped
|
||||
support for split-usr systems. All Gentoo systems running systemd will
|
||||
need to be migrated to merged-usr.
|
||||
|
||||
Migrating to merged-usr will move all data from /bin, /sbin, and /lib
|
||||
into the /usr/bin and /usr/lib directories. The directories in / are
|
||||
replaced with symlinks.
|
||||
|
||||
To facilitate this, a new set of sub-profiles has been created, and a
|
||||
script is available to perform the actual migration.
|
||||
|
||||
To migrate a system to merged-usr, follow this procedure:
|
||||
|
||||
1. Ensure your system backups are up to date. Please also update
|
||||
your system fully and depclean before proceeding.
|
||||
|
||||
2. Install sys-apps/merge-usr.
|
||||
|
||||
3. Run "merge-usr --dryrun" as root to check for conflicts. These will
|
||||
appear with the word ERROR at the start of the line.
|
||||
|
||||
4. Resolve any conflicts. This may involve deleting duplicate files. If
|
||||
in doubt, seek support in a Gentoo support channel.
|
||||
|
||||
5. Run the merge-usr script from a root shell. Avoid running it via sudo
|
||||
directly to avoid locking yourself out if an unexpected error occurs.
|
||||
|
||||
6. Switch to a merged-usr profile.
|
||||
|
||||
7. Run emerge with the --newuse or --changed-use option to rebuild
|
||||
any packages that have a "split-usr" USE flag.
|
||||
@ -14,3 +14,7 @@ sys-libs/libunwind abi_x86_32 abi_x86_64
|
||||
sys-libs/llvm-libunwind abi_x86_32 abi_x86_64
|
||||
sys-libs/ncurses abi_x86_32 abi_x86_64
|
||||
sys-libs/zlib abi_x86_32 abi_x86_64
|
||||
|
||||
# new in 23.0
|
||||
app-arch/xz-utils abi_x86_32 abi_x86_64
|
||||
app-arch/zstd abi_x86_32 abi_x86_64
|
||||
|
||||
@ -1,141 +0,0 @@
|
||||
|
||||
WARNING - the 23.0 profile tree is still experimental.
|
||||
|
||||
Recommended upgrade path:
|
||||
(please make sure to read the annotations like [*] if applicable)
|
||||
|
||||
default/linux/amd64/17.1
|
||||
==> default/linux/amd64/23.0/split-usr
|
||||
|
||||
default/linux/amd64/17.1/selinux
|
||||
==> default/linux/amd64/23.0/split-usr/hardened/selinux [%]
|
||||
|
||||
default/linux/amd64/17.1/hardened
|
||||
==> default/linux/amd64/23.0/split-usr/hardened
|
||||
|
||||
default/linux/amd64/17.1/hardened/selinux
|
||||
==> default/linux/amd64/23.0/split-usr/hardened/selinux
|
||||
|
||||
default/linux/amd64/17.1/desktop
|
||||
==> default/linux/amd64/23.0/split-usr/desktop
|
||||
|
||||
default/linux/amd64/17.1/desktop/gnome
|
||||
==> default/linux/amd64/23.0/split-usr/desktop/gnome
|
||||
|
||||
default/linux/amd64/17.1/desktop/gnome/systemd
|
||||
==> default/linux/amd64/23.0/desktop/gnome/systemd [*]
|
||||
|
||||
default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr
|
||||
==> default/linux/amd64/23.0/desktop/gnome/systemd
|
||||
|
||||
default/linux/amd64/17.1/desktop/plasma
|
||||
==> default/linux/amd64/23.0/split-usr/desktop/plasma
|
||||
|
||||
default/linux/amd64/17.1/desktop/plasma/systemd
|
||||
==> default/linux/amd64/23.0/desktop/plasma/systemd [*]
|
||||
|
||||
default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr
|
||||
==> default/linux/amd64/23.0/desktop/plasma/systemd
|
||||
|
||||
default/linux/amd64/17.1/desktop/systemd
|
||||
==> default/linux/amd64/23.0/desktop/systemd [*]
|
||||
|
||||
default/linux/amd64/17.1/desktop/systemd/merged-usr
|
||||
==> default/linux/amd64/23.0/desktop/systemd
|
||||
|
||||
default/linux/amd64/17.1/developer
|
||||
==> default/linux/amd64/23.0 [*,#]
|
||||
|
||||
default/linux/amd64/17.1/no-multilib
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/hardened
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib/hardened
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/hardened/selinux
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib/hardened/selinux
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/systemd
|
||||
==> default/linux/amd64/23.0/no-multilib/systemd [*]
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/systemd/merged-usr
|
||||
==> default/linux/amd64/23.0/no-multilib/systemd
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/systemd/selinux
|
||||
==> default/linux/amd64/23.0/no-multilib/hardened/selinux/systemd [*,%]
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/systemd/selinux/merged-usr
|
||||
==> default/linux/amd64/23.0/no-multilib/hardened/selinux/systemd [%]
|
||||
|
||||
default/linux/amd64/17.1/systemd
|
||||
==> default/linux/amd64/23.0/systemd [*]
|
||||
|
||||
default/linux/amd64/17.1/systemd/merged-usr
|
||||
==> default/linux/amd64/23.0/systemd
|
||||
|
||||
default/linux/amd64/17.1/systemd/selinux
|
||||
==> default/linux/amd64/23.0/hardened/selinux/systemd [*,%]
|
||||
|
||||
default/linux/amd64/17.1/systemd/selinux/merged-usr
|
||||
==> default/linux/amd64/23.0/hardened/selinux/systemd [%]
|
||||
|
||||
default/linux/amd64/17.1/clang
|
||||
==> default/linux/amd64/23.0/split-usr/llvm
|
||||
|
||||
default/linux/amd64/17.1/systemd/clang
|
||||
==> default/linux/amd64/23.0/llvm/systemd [*]
|
||||
|
||||
default/linux/amd64/17.1/systemd/clang/merged-usr
|
||||
==> default/linux/amd64/23.0/llvm/systemd
|
||||
|
||||
default/linux/amd64/17.0/x32
|
||||
==> default/linux/amd64/23.0/split-usr/x32
|
||||
|
||||
default/linux/amd64/17.0/x32/systemd
|
||||
==> default/linux/amd64/23.0/x32/systemd [*]
|
||||
|
||||
default/linux/amd64/17.0/x32/systemd/merged-usr
|
||||
==> default/linux/amd64/23.0/x32/systemd
|
||||
|
||||
default/linux/amd64/17.0/musl
|
||||
==> default/linux/amd64/23.0/split-usr/musl
|
||||
|
||||
default/linux/amd64/17.0/musl/clang
|
||||
==> default/linux/amd64/23.0/split-usr/musl/llvm
|
||||
|
||||
default/linux/amd64/17.0/musl/hardened
|
||||
==> default/linux/amd64/23.0/split-usr/musl/hardened
|
||||
|
||||
default/linux/amd64/17.0/musl/hardened/selinux
|
||||
==> default/linux/amd64/23.0/split-usr/musl/hardened/selinux
|
||||
|
||||
default/linux/amd64/17.0/no-multilib/prefix/kernel-3.2+
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-3.2+ [&]
|
||||
|
||||
default/linux/amd64/17.0/no-multilib/prefix/kernel-2.6.32+
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.32+ [&]
|
||||
|
||||
default/linux/amd64/17.0/no-multilib/prefix/kernel-2.6.16+
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.16+ [&]
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/prefix/kernel-3.2+
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-3.2+
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/prefix/kernel-2.6.32+
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.32+
|
||||
|
||||
default/linux/amd64/17.1/no-multilib/prefix/kernel-2.6.16+
|
||||
==> default/linux/amd64/23.0/split-usr/no-multilib/prefix/kernel-2.6.16+
|
||||
|
||||
|
||||
|
||||
[*] This upgrade switches from split-usr to merged-usr layout since
|
||||
the corresponding profile is not available anymore.
|
||||
Please follow the migration guide.
|
||||
|
||||
[#] The developer profiles are gone. Please migrate eventual settings
|
||||
to your make.conf.
|
||||
|
||||
[&] You will have to do the symlink migration from 17.0 to 17.1 first.
|
||||
|
||||
[%] There are no standalone selinux profiles anymore, only hardened/selinux.
|
||||
@ -14,3 +14,7 @@ sys-libs/libunwind abi_x86_32 abi_x86_64
|
||||
sys-libs/llvm-libunwind abi_x86_32 abi_x86_64
|
||||
sys-libs/ncurses abi_x86_32 abi_x86_64
|
||||
sys-libs/zlib abi_x86_32 abi_x86_64
|
||||
|
||||
# new in 23.0
|
||||
app-arch/xz-utils abi_x86_32 abi_x86_64
|
||||
app-arch/zstd abi_x86_32 abi_x86_64
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user