commit: a5a109f3adadfc3107b9ab8544554757ab9a62e8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 19 18:01:54 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 19 18:02:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a109f3
sys-apps/config-site: switch to using git repo Switch from using FILESDIR to a git tag so we can tweak it more easily in future with history. Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/config-site/Manifest | 1 + sys-apps/config-site/config-site-0.ebuild | 6 +++--- sys-apps/config-site/files/config.site.in | 10 ---------- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/sys-apps/config-site/Manifest b/sys-apps/config-site/Manifest new file mode 100644 index 000000000000..5b17284d57a2 --- /dev/null +++ b/sys-apps/config-site/Manifest @@ -0,0 +1 @@ +DIST config-site-0.tar.bz2 6588 BLAKE2B 98ad7836316d68fc27e1dc18b419d088e2047f3ebbbb2b7e8a0ab6de4c66c3ae438504146398e697a246ae09804cdcc229701ce2ba52de469cf8e78798fedaa8 SHA512 0e02848dc3176a0963b99d8d785e3a0150917156d9db897d665ede2ddcd8dfacd334b0c761975671c161f79107622226caf2fc422e1c34fa28b83ec78a1ec93a diff --git a/sys-apps/config-site/config-site-0.ebuild b/sys-apps/config-site/config-site-0.ebuild index 8389fd2cd449..2312ac75097f 100644 --- a/sys-apps/config-site/config-site-0.ebuild +++ b/sys-apps/config-site/config-site-0.ebuild @@ -1,11 +1,11 @@ -# 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} +SRC_URI="https://gitweb.gentoo.org/proj/config-site.git/snapshot/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" @@ -15,7 +15,7 @@ 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/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
