diff options
-rw-r--r-- | dev-libs/openssl/files/gentoo.config-1.0.4 | 4 | ||||
-rw-r--r-- | dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild | 2 | ||||
-rw-r--r-- | eclass/toolchain-funcs.eclass | 3 | ||||
-rw-r--r-- | sys-fs/static-dev/static-dev-0.1-r3.ebuild | 41 |
5 files changed, 50 insertions, 2 deletions
diff --git a/dev-libs/openssl/files/gentoo.config-1.0.4 b/dev-libs/openssl/files/gentoo.config-1.0.4 index ef1c6f1768a1..5f205781ae3e 100644 --- a/dev-libs/openssl/files/gentoo.config-1.0.4 +++ b/dev-libs/openssl/files/gentoo.config-1.0.4 @@ -88,6 +88,10 @@ linux) alphaev56*|\ alphaev[678]*)machine=alpha+bwx-${compiler};; alpha*) machine=alpha-${compiler};; + arc64*b*) machine="generic64 -DB_ENDIAN";; + arc64*) machine="generic64 -DL_ENDIAN";; + arc*b*) machine="generic32 -DB_ENDIAN";; + arc*) machine="generic32 -DL_ENDIAN";; armv[4-9]*b*) machine="armv4 -DB_ENDIAN";; armv[4-9]*) machine="armv4 -DL_ENDIAN";; arm*b*) machine="generic32 -DB_ENDIAN";; diff --git a/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild b/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild index be3efb275983..5397788fc7af 100644 --- a/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild +++ b/dev-python/oslo-serialization/oslo-serialization-5.2.0-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] diff --git a/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild b/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild index a9985c82698c..9eb5ffdbf7a9 100644 --- a/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild +++ b/dev-python/oslo-utils/oslo-utils-6.2.1-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 8398ee004a7d..4559894ca04a 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -648,6 +648,7 @@ tc-ninja_magic_to_arch() { case ${host} in aarch64*) echo arm64;; alpha*) echo alpha;; + arc*) echo arc;; arm*) echo arm;; avr*) _tc_echo_kernel_alias avr32 avr;; bfin*) _tc_echo_kernel_alias blackfin bfin;; @@ -736,6 +737,8 @@ tc-endian() { aarch64*be) echo big;; aarch64) echo little;; alpha*) echo little;; + arc*b*) echo big;; + arc*) echo little;; arm*b*) echo big;; arm*) echo little;; cris*) echo little;; diff --git a/sys-fs/static-dev/static-dev-0.1-r3.ebuild b/sys-fs/static-dev/static-dev-0.1-r3.ebuild new file mode 100644 index 000000000000..0be25176d6fc --- /dev/null +++ b/sys-fs/static-dev/static-dev-0.1-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A skeleton, statically managed /dev" +HOMEPAGE="https://bugs.gentoo.org/107875" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +IDEPEND="sys-apps/makedev" + +pkg_pretend() { + bailout() { + eerror "We have detected that you currently use udev or devfs or devtmpfs" + eerror "and this ebuild cannot install to the same mount-point." + die "Cannot install on udev/devfs tmpfs." + } + + if [[ ${MERGE_TYPE} == "buildonly" ]] ; then + # User is just compiling which is fine -- all our checks are merge-time. + return + fi + + # We want to not clobber udev (tmpfs) or older devfs setups. + if [[ -d ${ROOT}/dev/.udev || -c ${ROOT}/dev/.devfs ]] ; then + bailout + fi + + # We also want to not clobber newer devtmpfs setups. + if [[ -z ${ROOT} ]] && \ + ! awk '$2 == "/dev" && $3 == "devtmpfs" { exit 1 }' /proc/mounts ; then + bailout + fi +} + +pkg_postinst() { + MAKEDEV -d "${ROOT}"/dev generic sg scd rtc hde hdf hdg hdh input audio video +} |