commit:     1b3d66c5bccede38ecf10707e64e1b6c352d675e
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 18:25:23 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 18:29:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3d66c5

sys-apps/systemd: add 256.1

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/systemd/Manifest                                   |  1 +
 .../systemd/{systemd-9999.ebuild => systemd-256.1.ebuild}   | 13 +++----------
 sys-apps/systemd/systemd-9999.ebuild                        | 13 +++----------
 3 files changed, 7 insertions(+), 20 deletions(-)

diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest
index aff852674ab4..b9c38743ce31 100644
--- a/sys-apps/systemd/Manifest
+++ b/sys-apps/systemd/Manifest
@@ -1,3 +1,4 @@
+DIST systemd-256.1.tar.gz 15643508 BLAKE2B 
2075f5b927107571a80f09bf09ad84f8f4e3130cc135e098b187ee5e9afa3d6f2784c10b6ebe0a3fb9d3e069fe0a3539e9ea911d0dcd9f2f4a2fc150306711af
 SHA512 
5441f634f43b726c13fe57d1ba0030f1b91427d7c2d4f4f32e4add8ff93aeb5139e9337422653df3b897c241e0a8760dafcd441dc622d1e2c1230bbe27dd1a1c
 DIST systemd-stable-254.10.tar.gz 14428960 BLAKE2B 
488c27b9657ec7452f876ab6c18bbfe711f1351afa022801f5a646f2dd1d76d63c17e52e6ebf43b38a76807907287b654a7eaca3afdb0688f5b05839e98ad727
 SHA512 
0c127d38d0ade8655ae12172c2edbaa8af68bd29f42d965b988d75e74626846ae859bcf0b39b535c9a99ad8c709ad7575ed4d5ea5bc95ce8729e3caafdb32b70
 DIST systemd-stable-254.12.tar.gz 14529517 BLAKE2B 
ed6e4a78363930840e505c4bd789d1d44c238f30d3c0768d435e1cacb43ac3ab07e0dc9085546b4142152bbb4ceb4e2c0a9560e74e1a2b8c09fc885620695e73
 SHA512 
fa3679915392e641bed73ccb48f5def386ab13ba5ff7efdac952214193c3311543bec4c4370d6880f9599f63e377506b343805c3c56b7dde7eb5e3bbc0dc7a87
 DIST systemd-stable-254.13.tar.gz 14533359 BLAKE2B 
6f37bf5f1868840f122652fdca270e1f97ba78f8280f45100b1b5b33c3531cf79587b596ccbbe594f1e623d918c1fdf19f2231d677e27b5421f1852fbe3225b3
 SHA512 
852cbc992128dc3ab6ded4215c2540fa3c0b7c7ad98e54036f3981d77a2162f5393ee50960773419133e0d584844af329d3726f45829a56c00b1827e33edf3e1

diff --git a/sys-apps/systemd/systemd-9999.ebuild 
b/sys-apps/systemd/systemd-256.1.ebuild
similarity index 97%
copy from sys-apps/systemd/systemd-9999.ebuild
copy to sys-apps/systemd/systemd-256.1.ebuild
index a17076f3a5c6..b5858f77ed41 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-256.1.ebuild
@@ -14,15 +14,10 @@ if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://github.com/systemd/systemd.git";
        inherit git-r3
 else
-       if [[ ${PV} == *.* ]]; then
-               MY_PN=systemd-stable
-       else
-               MY_PN=systemd
-       fi
        MY_PV=${PV/_/-}
-       MY_P=${MY_PN}-${MY_PV}
+       MY_P=${PN}-${MY_PV}
        S=${WORKDIR}/${MY_P}
-       
SRC_URI="https://github.com/systemd/${MY_PN}/archive/v${MY_PV}/${MY_P}.tar.gz";
+       
SRC_URI="https://github.com/systemd/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
 
        if [[ ${PV} != *rc* ]] ; then
                KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k 
~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
@@ -38,7 +33,7 @@ HOMEPAGE="http://systemd.io/";
 LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
 SLOT="0/2"
 IUSE="
-       acl apparmor audit boot cgroup-hybrid cryptsetup curl +dns-over-tls 
elfutils
+       acl apparmor audit boot cryptsetup curl +dns-over-tls elfutils
        fido2 +gcrypt gnutls homed http idn importd iptables +kernel-install 
+kmod
        +lz4 lzma +openssl pam pcre pkcs11 policykit pwquality qrcode
        +resolvconf +seccomp selinux split-usr +sysv-utils test tpm ukify 
vanilla xkb +zstd
@@ -250,7 +245,6 @@ src_prepare() {
 
        if ! use vanilla; then
                PATCHES+=(
-                       "${FILESDIR}/gentoo-generator-path-r2.patch"
                        "${FILESDIR}/gentoo-journald-audit-r1.patch"
                )
        fi
@@ -282,7 +276,6 @@ multilib_src_configure() {
                -Dsysvrcnd-path=
                # no deps
                -Dima=true
-               -Ddefault-hierarchy=$(usex cgroup-hybrid hybrid unified)
                # Match /etc/shells, bug 919749
                -Ddebug-shell="${EPREFIX}/bin/sh"
                -Ddefault-user-shell="${EPREFIX}/bin/bash"

diff --git a/sys-apps/systemd/systemd-9999.ebuild 
b/sys-apps/systemd/systemd-9999.ebuild
index a17076f3a5c6..b5858f77ed41 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -14,15 +14,10 @@ if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="https://github.com/systemd/systemd.git";
        inherit git-r3
 else
-       if [[ ${PV} == *.* ]]; then
-               MY_PN=systemd-stable
-       else
-               MY_PN=systemd
-       fi
        MY_PV=${PV/_/-}
-       MY_P=${MY_PN}-${MY_PV}
+       MY_P=${PN}-${MY_PV}
        S=${WORKDIR}/${MY_P}
-       
SRC_URI="https://github.com/systemd/${MY_PN}/archive/v${MY_PV}/${MY_P}.tar.gz";
+       
SRC_URI="https://github.com/systemd/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> 
${MY_P}.tar.gz"
 
        if [[ ${PV} != *rc* ]] ; then
                KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k 
~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
@@ -38,7 +33,7 @@ HOMEPAGE="http://systemd.io/";
 LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
 SLOT="0/2"
 IUSE="
-       acl apparmor audit boot cgroup-hybrid cryptsetup curl +dns-over-tls 
elfutils
+       acl apparmor audit boot cryptsetup curl +dns-over-tls elfutils
        fido2 +gcrypt gnutls homed http idn importd iptables +kernel-install 
+kmod
        +lz4 lzma +openssl pam pcre pkcs11 policykit pwquality qrcode
        +resolvconf +seccomp selinux split-usr +sysv-utils test tpm ukify 
vanilla xkb +zstd
@@ -250,7 +245,6 @@ src_prepare() {
 
        if ! use vanilla; then
                PATCHES+=(
-                       "${FILESDIR}/gentoo-generator-path-r2.patch"
                        "${FILESDIR}/gentoo-journald-audit-r1.patch"
                )
        fi
@@ -282,7 +276,6 @@ multilib_src_configure() {
                -Dsysvrcnd-path=
                # no deps
                -Dima=true
-               -Ddefault-hierarchy=$(usex cgroup-hybrid hybrid unified)
                # Match /etc/shells, bug 919749
                -Ddebug-shell="${EPREFIX}/bin/sh"
                -Ddefault-user-shell="${EPREFIX}/bin/bash"

Reply via email to