From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- sys-fs/static-dev/Manifest | 2 +- sys-fs/static-dev/static-dev-0.1-r1.ebuild | 41 ++++++++++++++++++++++++++++ sys-fs/static-dev/static-dev-0.1.ebuild | 44 ------------------------------ 3 files changed, 42 insertions(+), 45 deletions(-) create mode 100644 sys-fs/static-dev/static-dev-0.1-r1.ebuild delete mode 100644 sys-fs/static-dev/static-dev-0.1.ebuild (limited to 'sys-fs/static-dev') diff --git a/sys-fs/static-dev/Manifest b/sys-fs/static-dev/Manifest index 443f25e88ece..501830426d8c 100644 --- a/sys-fs/static-dev/Manifest +++ b/sys-fs/static-dev/Manifest @@ -1,2 +1,2 @@ -EBUILD static-dev-0.1.ebuild 1144 BLAKE2B 82122b25e84a1a130b3b00afa45350d4d32b7dd2cc6211b7878dfe147ba00bc3e9cd3fccc75d4c2d881ba572fd4f51c8ae434e052fba869f788e3b020e1a4da7 SHA512 ae26f2c302bea959dbae7ff59bd3e30931f7b871e130aff0f40111a829a7fe972dfb91d4ad810ffa96c1dcaad404af202cc1cc309b92f50fe10c0ce7bf130dcf +EBUILD static-dev-0.1-r1.ebuild 1103 BLAKE2B ee9a36d0bc1fd9b9c6d3f608b8fff157266f91c0e5283085a51136804d998c72fe010fa097b775cc13e71d6cfabddd6e202e4a55a1eb47f3f256776d9cac396b SHA512 9c6d4f600407f487f537de931aa2371807b9c5ed0c1030d3eeec087fbcb10ca1512fc4490858216a0b08d9db99197f86b4e0a86669c03a36795933d6cc4caaf9 MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555 diff --git a/sys-fs/static-dev/static-dev-0.1-r1.ebuild b/sys-fs/static-dev/static-dev-0.1-r1.ebuild new file mode 100644 index 000000000000..42c60e497de4 --- /dev/null +++ b/sys-fs/static-dev/static-dev-0.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +RDEPEND="sys-apps/makedev" + +pkg_pretend() { + abort() { + 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 + abort + fi + + # We also want to not clobber newer devtmpfs setups. + if [[ ${ROOT} == "/" ]] && \ + ! awk '$2 == "/dev" && $3 == "devtmpfs" { exit 1 }' /proc/mounts ; then + abort + fi +} + +pkg_postinst() { + MAKEDEV -d "${ROOT}"/dev generic sg scd rtc hde hdf hdg hdh input audio video +} diff --git a/sys-fs/static-dev/static-dev-0.1.ebuild b/sys-fs/static-dev/static-dev-0.1.ebuild deleted file mode 100644 index c1a62712d168..000000000000 --- a/sys-fs/static-dev/static-dev-0.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -DESCRIPTION="A skeleton, statically managed /dev" -HOMEPAGE="https://bugs.gentoo.org/107875" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -IUSE="" - -RDEPEND="sys-apps/makedev" -DEPEND="${RDEPEND}" - -abort() { - echo - 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." -} - -pkg_pretend() { - 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 - abort - fi - # We also want to not clobber newer devtmpfs setups. - if [[ ${ROOT} == "/" ]] && \ - ! awk '$2 == "/dev" && $3 == "devtmpfs" { exit 1 }' /proc/mounts ; then - abort - fi -} - -pkg_postinst() { - MAKEDEV -d "${ROOT}"/dev generic sg scd rtc hde hdf hdg hdh input audio video -} -- cgit v1.2.3