From d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Jun 2021 14:57:03 +0100 Subject: gentoo resync : 15.06.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-r2.ebuild | 41 ++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 sys-fs/static-dev/static-dev-0.1-r1.ebuild create mode 100644 sys-fs/static-dev/static-dev-0.1-r2.ebuild (limited to 'sys-fs/static-dev') diff --git a/sys-fs/static-dev/Manifest b/sys-fs/static-dev/Manifest index 501830426d8c..43394d7edc39 100644 --- a/sys-fs/static-dev/Manifest +++ b/sys-fs/static-dev/Manifest @@ -1,2 +1,2 @@ -EBUILD static-dev-0.1-r1.ebuild 1103 BLAKE2B ee9a36d0bc1fd9b9c6d3f608b8fff157266f91c0e5283085a51136804d998c72fe010fa097b775cc13e71d6cfabddd6e202e4a55a1eb47f3f256776d9cac396b SHA512 9c6d4f600407f487f537de931aa2371807b9c5ed0c1030d3eeec087fbcb10ca1512fc4490858216a0b08d9db99197f86b4e0a86669c03a36795933d6cc4caaf9 +EBUILD static-dev-0.1-r2.ebuild 1099 BLAKE2B 961b2608f87573543f6288936b43ae68ed054f1cf68e0bf8031c38dffae4436e76202776ad750bc2ed2ed48ddaaddc78b9accbcb165ac6696d36bfe8f9ed9408 SHA512 b436183c35aaf1a0e91bd254f3dbc407adb5b4d8d91a784ba173f65d1187bf092a798cabf679e07266af0e4de67cbff6b49bef336d316f5b40bea49763df69a0 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 deleted file mode 100644 index 42c60e497de4..000000000000 --- a/sys-fs/static-dev/static-dev-0.1-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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-r2.ebuild b/sys-fs/static-dev/static-dev-0.1-r2.ebuild new file mode 100644 index 000000000000..ca46b76ab1e5 --- /dev/null +++ b/sys-fs/static-dev/static-dev-0.1-r2.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 [[ -z ${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