diff options
author | Kostadin Shishmanov <kocelfc@tutanota.com> | 2023-10-24 20:22:31 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-27 03:53:14 +0100 |
commit | 238a69ae68521f2872e709dc1cde0478a12358d7 (patch) | |
tree | 03db322a2a972e195a6a270c806d1b08bff55c16 | |
parent | sys-process/uksmd: add 6.5.1 (diff) | |
download | gentoo-238a69ae68521f2872e709dc1cde0478a12358d7.tar.gz gentoo-238a69ae68521f2872e709dc1cde0478a12358d7.tar.bz2 gentoo-238a69ae68521f2872e709dc1cde0478a12358d7.zip |
sys-process/uksmd: drop 6.4.1 and remove no longer needed patch
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/33496
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-process/uksmd/Manifest | 1 | ||||
-rw-r--r-- | sys-process/uksmd/files/uksmd-6.4.1-systemd-automagic.patch | 47 | ||||
-rw-r--r-- | sys-process/uksmd/uksmd-6.4.1.ebuild | 43 |
3 files changed, 0 insertions, 91 deletions
diff --git a/sys-process/uksmd/Manifest b/sys-process/uksmd/Manifest index 782c20ceec32..f439b2a4d81f 100644 --- a/sys-process/uksmd/Manifest +++ b/sys-process/uksmd/Manifest @@ -1,2 +1 @@ -DIST uksmd-6.4.1.tar.gz 16790 BLAKE2B 284302f0a77684fc00d16faf868d857adf539840ea26746dd9774a1501b3361afa58a77dd74bd40680c32a7b1baf632d60d52fae3c031d1be69c8f17e6bbf73d SHA512 ea851a75b7afd4d9c789f31ca473f2c265b0633c86e38b26ec3602dfa3e63e6bea13caca551aba08c5093332cfbb485f40cb96254c39eb083ab66d6256661dd4 DIST uksmd-6.5.1.tar.gz 16878 BLAKE2B 12c0ed088ce189470a63ed74de02b35c994363500a04a28e2b1a8e7ad1ad3b75970cf69af939476b00b8bf1a9838591f83051dc004f2f91d74f19fd17746c37f SHA512 9be0b2f16aee16201a16fb157c5389f104dc9a818a0528cfda6c37e4e9a0d82bd9966cf654052e5f645e21db2f4f149873b07cac5451a5b377a92a5ec4b6e11e diff --git a/sys-process/uksmd/files/uksmd-6.4.1-systemd-automagic.patch b/sys-process/uksmd/files/uksmd-6.4.1-systemd-automagic.patch deleted file mode 100644 index 7f897731737f..000000000000 --- a/sys-process/uksmd/files/uksmd-6.4.1-systemd-automagic.patch +++ /dev/null @@ -1,47 +0,0 @@ -https://codeberg.org/pf-kernel/uksmd/pulls/5 - -From 0ed68078ed829ff03f95d01f0079485966e3c07a Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 3 Sep 2023 07:21:56 +0100 -Subject: [PATCH] meson: add systemd option - -We may not always want to link against systemd even if installed - consider -the case where a user is switching from systemd->another init system, systemd -may still be installed temporarily but the user wants to rebuild without it. - -This perserves the default behaviour of using systemd if available. - -Signed-off-by: Sam James <sam@gentoo.org> ---- - meson.build | 2 +- - meson_options.txt | 6 ++++++ - 2 files changed, 7 insertions(+), 1 deletion(-) - create mode 100644 meson_options.txt - -diff --git a/meson.build b/meson.build -index 7170db8..bf0b119 100644 ---- a/meson.build -+++ b/meson.build -@@ -18,7 +18,7 @@ build_args = [ - '-DPROJECT_VERSION="' + meson.project_version() + '"', - ] - --systemd = dependency('systemd', required: false) -+systemd = dependency('systemd', required: get_option('systemd')) - - if systemd.found() - systemd_system_unit_dir = systemd.get_variable(pkgconfig : 'systemdsystemunitdir') -diff --git a/meson_options.txt b/meson_options.txt -new file mode 100644 -index 0000000..3a8cdd4 ---- /dev/null -+++ b/meson_options.txt -@@ -0,0 +1,6 @@ -+option( -+ 'systemd', -+ type: 'feature', -+ value: 'auto', -+ description: 'sd-notify support via libsystemd and install systemd unit files' -+) --- -2.30.8 diff --git a/sys-process/uksmd/uksmd-6.4.1.ebuild b/sys-process/uksmd/uksmd-6.4.1.ebuild deleted file mode 100644 index 3977cb96df11..000000000000 --- a/sys-process/uksmd/uksmd-6.4.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info meson - -DESCRIPTION="Userspace KSM helper daemon" -HOMEPAGE="https://codeberg.org/pf-kernel/uksmd" -SRC_URI="https://codeberg.org/pf-kernel/uksmd/archive/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/${PN} - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="systemd" - -DEPEND=" - sys-libs/libcap-ng - >=sys-process/procps-4:= - systemd? ( sys-apps/systemd:= ) -" -RDEPEND="${DEPEND}" - -CONFIG_CHECK="~KSM" - -PATCHES=( - "${FILESDIR}"/${PN}-6.4.1-systemd-automagic.patch -) - -src_configure() { - local emesonargs=( - $(meson_feature systemd) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - newinitd "${FILESDIR}/uksmd.init" uksmd -} |