diff options
Diffstat (limited to 'sys-apps/config-site')
-rw-r--r-- | sys-apps/config-site/Manifest | 7 | ||||
-rw-r--r-- | sys-apps/config-site/config-site-0.ebuild | 13 | ||||
-rw-r--r-- | sys-apps/config-site/config-site-99999999.ebuild | 29 | ||||
-rw-r--r-- | sys-apps/config-site/files/config.site.in | 10 | ||||
-rw-r--r-- | sys-apps/config-site/metadata.xml | 4 |
5 files changed, 46 insertions, 17 deletions
diff --git a/sys-apps/config-site/Manifest b/sys-apps/config-site/Manifest index b5b05d7c93dd..f6e089ab3bf7 100644 --- a/sys-apps/config-site/Manifest +++ b/sys-apps/config-site/Manifest @@ -1,3 +1,4 @@ -AUX config.site.in 311 BLAKE2B 95398d6619e4a02f9a19af7f99e6cd5fa838260b19c97639ae4c98b04d31ef6d255f55d42a3dcf85096b2cbbd701aa87096b61aae0e2df475686a4db70f495fc SHA512 1d23537502b172ee31bd23612dc1ef20ec8c08936c45945d0fbfa0b1d7ddf28fd94a17d8aceeb20e8aeac98b2aa44ec31d4f06e854fc42a97b215211b143d7a8 -EBUILD config-site-0.ebuild 577 BLAKE2B 250337a3e7b1fb23d9266c1a5fb396b6443e938664c1fa172eddc1d3b300337be72a082a2768e28a36dfd62c3bf6f5ec8521c7bbe93d9526ece8310d15145be2 SHA512 9867d32578b2fd3fa928719a5956075ba2c5d8a4ee81e5b42adf3684e88e854aeb24c7675fe6cdf41234937b848c46808bc1dfe34e6204e696fa26f205ddefa4 -MISC metadata.xml 224 BLAKE2B c45ace8978f3aa10354a0e478d1a80fd14c3087658eadaf6416466352c86edf88364681414e4da48f1ec1ee43c260133e682d1658f780e3b9d5ad216d18c5354 SHA512 60d0518e98897d48c04d19ec8ce9b0612560d4899f94ee1b5ee8a48de297f9a7c8fc3cc58112a1a495cd6f4d74580a8c76cf23eeb1312490d247a6aea3be8aa5 +DIST config-site-0.tar.bz2 6588 BLAKE2B 98ad7836316d68fc27e1dc18b419d088e2047f3ebbbb2b7e8a0ab6de4c66c3ae438504146398e697a246ae09804cdcc229701ce2ba52de469cf8e78798fedaa8 SHA512 0e02848dc3176a0963b99d8d785e3a0150917156d9db897d665ede2ddcd8dfacd334b0c761975671c161f79107622226caf2fc422e1c34fa28b83ec78a1ec93a +EBUILD config-site-0.ebuild 763 BLAKE2B 9e718c89b37dea4ecfa94e69a80c6041b425a58e99cbd6c9ae021ace1c7828f63fa028d7c0397a7405566634c0cc18db256cd1cc12d3d92c9a63c257c9fa8bf1 SHA512 d8f92958e02a5407e8e86971c0634ab5a0a85abf3004a58b573524b9d0225f8c8c71322f0ec971960721419ee1c75cc765969d988529c4ee185bbb8d84cb96c6 +EBUILD config-site-99999999.ebuild 771 BLAKE2B 8e1b9c907091a3d1db6619dcfd120daedeb155031e8c1b7bd5c9d5a54c5254d9a137562d1f1d04531d882b68c1cfe5e4c0b851940fe0009e46a66198e73b5e1d SHA512 e790930fef2491f96feb4e8d71ffedb9a566bb45a61a4f9feb9d37cf7a9d3960af1ce0e526592c16a1f6040f95c5059b603aa2039842da2fe114585e64d78de5 +MISC metadata.xml 363 BLAKE2B fc302a71aa66a2632a240ecd7a698f4b25f4de9b159b5135108cfaf08e3d16dad0e8442b6d51b2b4733e113f3afb3107c05052b0a1d0ee4d7cb33b0bb793ef0c SHA512 b2ebda3f958630db98f7cd654fc2a1faf6a95d677a28185e3ff9c889265cbe469a9bcec28a8b5967d2f725a526b8f0551df7ea241fd26bb4667f64c805c70e87 diff --git a/sys-apps/config-site/config-site-0.ebuild b/sys-apps/config-site/config-site-0.ebuild index 8389fd2cd449..c829b6ca517d 100644 --- a/sys-apps/config-site/config-site-0.ebuild +++ b/sys-apps/config-site/config-site-0.ebuild @@ -1,21 +1,26 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="config.site to load dropins from config.site.d" HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base" -S=${WORKDIR} +if [[ ${PV} == 99999999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/config-site.git" + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/config-site.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND="!<sys-devel/crossdev-20230209-r1" src_configure() { sed -e "s|@datarootdir@|${EPREFIX}/usr/share|" \ - "${FILESDIR}/config.site.in" > config.site || die + config.site.in > config.site || die } src_install() { diff --git a/sys-apps/config-site/config-site-99999999.ebuild b/sys-apps/config-site/config-site-99999999.ebuild new file mode 100644 index 000000000000..684dc2b292a0 --- /dev/null +++ b/sys-apps/config-site/config-site-99999999.ebuild @@ -0,0 +1,29 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="config.site to load dropins from config.site.d" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base" +if [[ ${PV} == 99999999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/config-site.git" + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/config-site.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="!<sys-devel/crossdev-20230209-r1" + +src_configure() { + sed -e "s|@datarootdir@|${EPREFIX}/usr/share|" \ + config.site.in > config.site || die +} + +src_install() { + insinto /usr/share + doins config.site +} diff --git a/sys-apps/config-site/files/config.site.in b/sys-apps/config-site/files/config.site.in deleted file mode 100644 index 1e732cf28aaa..000000000000 --- a/sys-apps/config-site/files/config.site.in +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -for script in "@datarootdir@/config.site.d"/*.conf; do - test -f "${script}" || continue - test -r "${script}" || continue - echo "${0##*/}: loading site script ${script}" - . "${script}" || break -done -unset script diff --git a/sys-apps/config-site/metadata.xml b/sys-apps/config-site/metadata.xml index 65e1fc82d859..762976366bb4 100644 --- a/sys-apps/config-site/metadata.xml +++ b/sys-apps/config-site/metadata.xml @@ -4,4 +4,8 @@ <maintainer type="project"> <email>base-system@gentoo.org</email> </maintainer> + <upstream> + <remote-id type="gentoo">proj/config-site</remote-id> + <remote-id type="github">gentoo/config-site</remote-id> + </upstream> </pkgmetadata> |