c_josie_overlay

dev-util/radiance bump 1.13.0 --> 1.150.0, dev-util/opencode-bin 2.2.0 --> 2.2.5

c4a3b312200a5e9b95bf6431a6610e0aff4cbd20
cjosie <administrator@josie-c.com> · 2026-10-30T21:19 · browse files at this commit

parents: 5327a80

diff --git a/dev-util/opencode-bin/Manifest b/dev-util/opencode-bin/Manifest
index 3d00af7..f435f19 100644
--- a/dev-util/opencode-bin/Manifest
+++ b/dev-util/opencode-bin/Manifest
@@ -1,2 +1,2 @@
-DIST opencode-bin-2.2.0-amd64.tgz 115279716 BLAKE2B 5e9a72b09d853717077cb532e48748d565e697deb0e2db6cfa3c53687ccddc72c7fb5b08dc79f2e503aecf8c4b73f302d66d0c00d446c6ef8f641c9dfd8799f5 SHA512 5d31854e265382e829b3aae04d7a7898f8ce33c925b1ae6e1e7fd285c9acda8de4d5b8d20374a097a3b8c89e3ccb5f165b19fd332e4fc6dec929c2c80fb2ce1e
-DIST opencode-bin-2.2.0-arm64.tgz 113892395 BLAKE2B d9199fe7ea3effc521b2c19a9ff8a2abfb0477dbc06a3982873628e504ea033bf3f9790328a91d73f3f1ebc900882fc8d03737da1b0a3a070334ba6240615d3d SHA512 3420a5b5bf21ffc58bdf45fda362939b75055f49667e4e3c946f2d8255c937d9a8b1cc5e07bc36a8e99f1d56b7da2167824d22540287e3144f94173cf18d2a97
+DIST opencode-bin-2.2.5-amd64.tgz 118637290 BLAKE2B 2e951c23ad59f7b9c0468e6aef8ea9dedf57b8cd402af68bc2ca0cf658fbb065ca5d6bd1267552307b929ff4aa25b1342492245a7437353e217656412d0816c4 SHA512 0641c07d3a8db20feaa61c8736b9c7f831a43b166c1a36a63693390efc2812fcfb6403cdc3c9846cc5c64c20ce007fbffb8d04a9e89ee8a359059650c0f0a368
+DIST opencode-bin-2.2.5-arm64.tgz 117223869 BLAKE2B 182353cc66bacb0d4f7e6eb0dc26f2ea3f19a5261030a25fe77749077c42ccfff6072d9a116224f352d6d729ae4c488ac1891d4a19a2c8e2d354eb448229cdd7 SHA512 3b8a8ecbf5916109a10a5301ff9a816a861fcda0cad7e3c945039f53cd22c728f9aee41b0b1ada1fe556d94c876fa4563a552fe357de73e8ac77ad8bbc2bb0b8
diff --git a/dev-util/opencode-bin/opencode-bin-2.2.0.ebuild b/dev-util/opencode-bin/opencode-bin-2.2.5.ebuild
similarity index 100%
rename from dev-util/opencode-bin/opencode-bin-2.2.0.ebuild
rename to dev-util/opencode-bin/opencode-bin-2.2.5.ebuild
diff --git a/dev-util/radiance/Manifest b/dev-util/radiance/Manifest
index 2f9bd78..5244129 100644
--- a/dev-util/radiance/Manifest
+++ b/dev-util/radiance/Manifest
@@ -1 +1 @@
-DIST radiance-1.13.0.tar.gz 19127309 BLAKE2B 5242f46e81923e986ff1ac800ca60cd876cda175e3b7c5481c1dfe81b2ca702a980b2bcddb2f8d1499c140928df2b80d002d118c0fe30924f4b69c02eb4fb431 SHA512 d2779411257f8d6ad26b267b2457e93eb3e6153d268ed083b04e275ca98acd13cd6d35d7e2d1fcbd90ef74470c8a95cba4c72b39244f41d6b4fe9f927b72a4d9
+DIST radiance-1.15.0.tar.gz 22350353 BLAKE2B 077511d80e4bf67212e099cd6286253a21e1561de3a06f2e6028aadfa346fffa0c85bdb708133b92a9e0162cf452cd2eaf7b8e371f832b2d7a498b84d7c37ea1 SHA512 de6dc0878db2bb5b949d58f5987f8effb611ed1254516de312e756018fc9b752fdcd0ba50f762926a595a33eb463937e0d49f6c6aa5822fa8414e768db1c04c8
diff --git a/dev-util/radiance/files/radiance-1.13.0-clang-24-vector-types.patch b/dev-util/radiance/files/radiance-1.15.0-clang-24-vector-types.patch
similarity index 100%
rename from dev-util/radiance/files/radiance-1.13.0-clang-24-vector-types.patch
rename to dev-util/radiance/files/radiance-1.15.0-clang-24-vector-types.patch
diff --git a/dev-util/radiance/radiance-1.13.0.ebuild b/dev-util/radiance/radiance-1.15.0.ebuild
similarity index 96%
rename from dev-util/radiance/radiance-1.13.0.ebuild
rename to dev-util/radiance/radiance-1.15.0.ebuild
index e4ee235..6861dc0 100644
--- a/dev-util/radiance/radiance-1.13.0.ebuild
+++ b/dev-util/radiance/radiance-1.15.0.ebuild
@@ -36,7 +36,7 @@ DOCS=( README.md )
 PATCHES=(
 	# clang 24 makes __bf16/__fp16 distinct storage-only types; the WMMA/fdot2
 	# builtins now demand short/_Float16 vector operands.
-	"${FILESDIR}/${PN}-1.13.0-clang-24-vector-types.patch"
+	"${FILESDIR}/${PN}-1.15.0-clang-24-vector-types.patch"
 )
 
 src_configure() {
diff --git a/dev-util/ramsleuth-bin/Manifest b/dev-util/ramsleuth-bin/Manifest
new file mode 100644
index 0000000..deb493b
--- /dev/null
+++ b/dev-util/ramsleuth-bin/Manifest
@@ -0,0 +1 @@
+DIST ramsleuth-bin-2.4.18.tar.zst 7360101 BLAKE2B 744ed9807448a58884a23cd76ee2bc72589bd47690d6a94454b097a15d3443c46e5ce550368c7b38f01ae1e71c95a257dd7e4e4b8a89871a9bbcd68fdf2b8ab1 SHA512 088728b75ae7dbc8f60b76fb6f7db43376bde18194cd018499445b9c5ed85325a41425fe2286c6ad39c5ee9cab18a174b1c644dfe2fe0af5b0ef62e78945ec76
diff --git a/dev-util/ramsleuth-bin/files/GPL-2 b/dev-util/ramsleuth-bin/files/GPL-2
new file mode 100644
index 0000000..e5afae9
--- /dev/null
+++ b/dev-util/ramsleuth-bin/files/GPL-2
@@ -0,0 +1,338 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+                            NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Moe Ghoul>, 1 April 1989
+  Moe Ghoul, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/dev-util/ramsleuth-bin/files/ramsleuth.confd b/dev-util/ramsleuth-bin/files/ramsleuth.confd
new file mode 100644
index 0000000..cbc9d31
--- /dev/null
+++ b/dev-util/ramsleuth-bin/files/ramsleuth.confd
@@ -0,0 +1,6 @@
+# /etc/conf.d/ramsleuth — knobs for the RamSleuth OpenRC service.
+# Extra daemon flags (the socket path is the frozen default; see
+# ramsleuth-daemon --help for --max-age).
+RAMSLEUTH_DAEMON_ARGS="--socket /run/ramsleuth/ramsleuth.sock"
+# Socket's owning group (the daemon's best-effort chown target).
+RAMSLEUTH_GROUP="ramsleuth"
diff --git a/dev-util/ramsleuth-bin/files/ramsleuth.initd b/dev-util/ramsleuth-bin/files/ramsleuth.initd
new file mode 100644
index 0000000..b99920d
--- /dev/null
+++ b/dev-util/ramsleuth-bin/files/ramsleuth.initd
@@ -0,0 +1,40 @@
+#!/sbin/openrc-run
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+#
+# RamSleuth daemon — OpenRC port of upstream's systemd/ramsleuth.service.
+#
+# Privilege model: the daemon runs as root (group ramsleuth) and only needs
+# CAP_SYS_RAWIO (/dev/ryzen_smu + /dev/mem MCHBAR); OpenRC has no capability
+# clamp, so root simply holds it. Missing privileges are a SOFT degrade
+# (fields report N/A), never a crash. Live AMD subtimings additionally want
+# the ryzen_smu module loaded (`modprobe ryzen_smu`) before the daemon.
+
+description="RamSleuth privileged memory telemetry and benchmark daemon"
+description_doc="https://github.com/MadGoatHaz/RamSleuth"
+
+: ${RAMSLEUTH_DAEMON_ARGS:="--socket /run/ramsleuth/ramsleuth.sock"}
+: ${RAMSLEUTH_GROUP:=ramsleuth}
+
+command="/usr/bin/ramsleuth-daemon"
+command_args="${RAMSLEUTH_DAEMON_ARGS}"
+# root:ramsleuth mirrors the upstream unit's User=root / Group=ramsleuth.
+command_user="root:${RAMSLEUTH_GROUP}"
+command_background="yes"
+pidfile="/run/${RC_SVCNAME}.pid"
+# The unit's journal output, landed on files instead.
+redir_stdout="/var/log/ramsleuth.out"
+redir_stderr="/var/log/ramsleuth.err"
+
+depend() {
+	need localmount
+	after bootmisc
+	use logger
+}
+
+start_pre() {
+	# The unit's RuntimeDirectory=ramsleuth (root:Group 0755) — created before
+	# the daemon starts so it never has to touch /run itself.
+	checkpath --directory --owner root:"${RAMSLEUTH_GROUP}" --mode 0755 /run/ramsleuth || return 1
+	checkpath --directory --owner root:root --mode 0755 /var/log || return 1
+}
diff --git a/dev-util/ramsleuth-bin/metadata.xml b/dev-util/ramsleuth-bin/metadata.xml
new file mode 100644
index 0000000..1c72b94
--- /dev/null
+++ b/dev-util/ramsleuth-bin/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>administrator@josie-c.com</email>
+		<name>cjosie</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">MadGoatHaz/RamSleuth</remote-id>
+	</upstream>
+	<use>
+		<flag name="openrc">Install an OpenRC init script and conf.d file for the privileged daemon.</flag>
+		<flag name="systemd">Install the upstream systemd unit, preset, one-click setup helper, and polkit policy.</flag>
+		<flag name="amd-dkms">Install the optional GPL-2 ryzen_smu AMD DKMS module source and helper script.</flag>
+		<flag name="intel-dkms">Install the optional GPL-2 ramsleuth_intel Intel DKMS module source and helper script.</flag>
+	</use>
+</pkgmetadata>
diff --git a/dev-util/ramsleuth-bin/ramsleuth-bin-2.4.18.ebuild b/dev-util/ramsleuth-bin/ramsleuth-bin-2.4.18.ebuild
new file mode 100644
index 0000000..972175b
--- /dev/null
+++ b/dev-util/ramsleuth-bin/ramsleuth-bin-2.4.18.ebuild
@@ -0,0 +1,157 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop systemd
+
+DESCRIPTION="Memory-controller telemetry and benchmark for AMD and Intel (precompiled)"
+HOMEPAGE="https://github.com/MadGoatHaz/RamSleuth"
+SRC_URI="https://github.com/MadGoatHaz/RamSleuth/releases/download/v${PV}/ramsleuth-${PV}-x86_64.tar.zst -> ${P}.tar.zst"
+S="${WORKDIR}/ramsleuth-${PV}"
+
+LICENSE="MIT amd-dkms? ( GPL-2 ) intel-dkms? ( GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+openrc systemd amd-dkms intel-dkms"
+REQUIRED_USE="|| ( openrc systemd )"
+
+COMMON_DEPEND="
+	dev-libs/wayland
+	media-libs/mesa
+	x11-libs/libX11
+	x11-libs/libXcursor
+	x11-libs/libXi
+	x11-libs/libXinerama
+	x11-libs/libXrandr
+	x11-libs/libxkbcommon
+"
+RDEPEND="${COMMON_DEPEND}
+	acct-group/ramsleuth
+	systemd? ( sys-apps/systemd sys-auth/polkit )
+	!dev-util/ramsleuth
+"
+BDEPEND="app-arch/zstd"
+
+RESTRICT="mirror strip"
+QA_PREBUILT="
+	usr/bin/ramsleuth
+	usr/bin/ramsleuth-bench
+	usr/bin/ramsleuth-client
+	usr/bin/ramsleuth-daemon
+	usr/bin/ramsleuth-telemetry
+	usr/bin/ramsleuth-tui
+"
+
+src_unpack() {
+	tar --zstd -xf "${DISTDIR}/${A}" -C "${WORKDIR}" || die
+}
+
+src_install() {
+	local size src
+
+	dobin bin/ramsleuth bin/ramsleuth-bench bin/ramsleuth-client \
+		bin/ramsleuth-daemon bin/ramsleuth-telemetry bin/ramsleuth-tui
+
+	domenu RamSleuth.desktop
+
+	for size in 16 24 32 48 64 128 256 512; do
+		src="icons/hicolor/${size}/apps/ramsleuth.png"
+		insinto "/usr/share/icons/hicolor/${size}/apps"
+		newins "${src}" ramsleuth.png
+		newins "${src}" RamSleuth.png
+		insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
+		newins "${src}" ramsleuth.png
+		newins "${src}" RamSleuth.png
+	done
+
+	insinto /usr/share/pixmaps
+	newins icons/hicolor/48/apps/ramsleuth.png ramsleuth.png
+	newins icons/hicolor/48/apps/ramsleuth.png RamSleuth.png
+
+	insinto "/usr/share/licenses/${PN}"
+	doins LICENSE
+
+	if use openrc; then
+		newinitd "${FILESDIR}/ramsleuth.initd" ramsleuth
+		newconfd "${FILESDIR}/ramsleuth.confd" ramsleuth
+	fi
+
+	if use systemd; then
+		systemd_dounit systemd/ramsleuth.service
+		insinto /usr/lib/systemd/system-preset
+		doins systemd/ramsleuth.preset
+
+		exeinto /usr/bin
+		newexe ramsleuth-setup.sh ramsleuth-setup
+
+		insinto /usr/share/polkit-1/actions
+		doins 90-ramsleuth-setup.policy
+	fi
+
+	if use amd-dkms; then
+		exeinto /usr/bin
+		newexe scripts/install-ryzen-smu-dkms.sh ramsleuth-install-ryzen-smu-dkms
+
+		insinto /usr/share/ryzen-smu-dkms
+		doins packaging/ryzen-smu-dkms/dkms.conf
+
+		insinto /usr/share/ryzen-smu-dkms/vendor
+		doins packaging/ryzen-smu-dkms/vendor/SUMS.sha256 \
+			packaging/ryzen-smu-dkms/vendor/NOTICE.md
+
+		insinto /usr/share/ryzen-smu-dkms/vendor/ryzen-smu
+		doins packaging/ryzen-smu-dkms/vendor/ryzen-smu/*
+	fi
+
+	if use intel-dkms; then
+		exeinto /usr/bin
+		newexe scripts/install-intel-dkms.sh ramsleuth-install-intel-dkms
+
+		insinto /usr/share/ramsleuth-intel-dkms/src
+		doins kernel/ramsleuth-intel/*
+	fi
+
+	if use amd-dkms || use intel-dkms; then
+		insinto "/usr/share/licenses/${PN}"
+		doins "${FILESDIR}/GPL-2"
+	fi
+}
+
+pkg_postinst() {
+	if use openrc; then
+		elog "RamSleuth's OpenRC service is installed but not enabled."
+		elog "Start it and enable it at boot with:"
+		elog "  rc-service ramsleuth start"
+		elog "  rc-update add ramsleuth default"
+		elog "Add your user to the ramsleuth group (then log out and back in):"
+		elog "  usermod -aG ramsleuth <user>"
+	fi
+
+	if use systemd; then
+		elog "RamSleuth's systemd unit and preset are installed."
+		elog "Enable and start it with:"
+		elog "  systemctl enable --now ramsleuth"
+		elog "The GUI one-click setup helper is installed as ramsleuth-setup."
+	fi
+
+	if use amd-dkms; then
+		elog "Optional AMD ryzen_smu DKMS module (GPL-2) installed."
+		elog "Build and load it with:"
+		elog "  ramsleuth-install-ryzen-smu-dkms"
+		elog "It needs matching kernel headers and DKMS; without it AMD"
+		elog "subtimings report N/A (DriverMissing) but the app still runs."
+	fi
+
+	if use intel-dkms; then
+		elog "Optional Intel ramsleuth_intel DKMS module (GPL-2) installed."
+		elog "Build and load it with:"
+		elog "  ramsleuth-install-intel-dkms"
+		elog "It needs matching kernel headers and DKMS; on Alder Lake and"
+		elog "newer it exposes less than the built-in /dev/mem path."
+	fi
+
+	elog "The daemon socket is /run/ramsleuth/ramsleuth.sock."
+	elog "Try: ramsleuth-client dump, ramsleuth-tui, or ramsleuth"
+}
diff --git a/dev-util/ramsleuth/Manifest b/dev-util/ramsleuth/Manifest
new file mode 100644
index 0000000..9a47e22
--- /dev/null
+++ b/dev-util/ramsleuth/Manifest
@@ -0,0 +1 @@
+DIST ramsleuth-2.4.18.tar.gz 1597909 BLAKE2B 823c636ae6632c599c4f2715d65c6b0b7fb767dbbfe9ef89d8019d4e5b5252314c9c414da40bbb1c5820ead8b11b604ecd77d873ce73f9aaec159251e688dc0f SHA512 80fed9f3e8bd3ecebc2640d42b8014de061d8a3b0cd7be2cb0b678e15553c549ab6f244f713e8e947df73f4e1b7b5fcb8e7494089f6b66de51e070ec6f4f4748
diff --git a/dev-util/ramsleuth/files/GPL-2 b/dev-util/ramsleuth/files/GPL-2
new file mode 100644
index 0000000..e5afae9
--- /dev/null
+++ b/dev-util/ramsleuth/files/GPL-2
@@ -0,0 +1,338 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ <https://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+                            NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, see <https://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Moe Ghoul>, 1 April 1989
+  Moe Ghoul, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/dev-util/ramsleuth/files/ramsleuth.confd b/dev-util/ramsleuth/files/ramsleuth.confd
new file mode 100644
index 0000000..cbc9d31
--- /dev/null
+++ b/dev-util/ramsleuth/files/ramsleuth.confd
@@ -0,0 +1,6 @@
+# /etc/conf.d/ramsleuth — knobs for the RamSleuth OpenRC service.
+# Extra daemon flags (the socket path is the frozen default; see
+# ramsleuth-daemon --help for --max-age).
+RAMSLEUTH_DAEMON_ARGS="--socket /run/ramsleuth/ramsleuth.sock"
+# Socket's owning group (the daemon's best-effort chown target).
+RAMSLEUTH_GROUP="ramsleuth"
diff --git a/dev-util/ramsleuth/files/ramsleuth.initd b/dev-util/ramsleuth/files/ramsleuth.initd
new file mode 100644
index 0000000..b99920d
--- /dev/null
+++ b/dev-util/ramsleuth/files/ramsleuth.initd
@@ -0,0 +1,40 @@
+#!/sbin/openrc-run
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+#
+# RamSleuth daemon — OpenRC port of upstream's systemd/ramsleuth.service.
+#
+# Privilege model: the daemon runs as root (group ramsleuth) and only needs
+# CAP_SYS_RAWIO (/dev/ryzen_smu + /dev/mem MCHBAR); OpenRC has no capability
+# clamp, so root simply holds it. Missing privileges are a SOFT degrade
+# (fields report N/A), never a crash. Live AMD subtimings additionally want
+# the ryzen_smu module loaded (`modprobe ryzen_smu`) before the daemon.
+
+description="RamSleuth privileged memory telemetry and benchmark daemon"
+description_doc="https://github.com/MadGoatHaz/RamSleuth"
+
+: ${RAMSLEUTH_DAEMON_ARGS:="--socket /run/ramsleuth/ramsleuth.sock"}
+: ${RAMSLEUTH_GROUP:=ramsleuth}
+
+command="/usr/bin/ramsleuth-daemon"
+command_args="${RAMSLEUTH_DAEMON_ARGS}"
+# root:ramsleuth mirrors the upstream unit's User=root / Group=ramsleuth.
+command_user="root:${RAMSLEUTH_GROUP}"
+command_background="yes"
+pidfile="/run/${RC_SVCNAME}.pid"
+# The unit's journal output, landed on files instead.
+redir_stdout="/var/log/ramsleuth.out"
+redir_stderr="/var/log/ramsleuth.err"
+
+depend() {
+	need localmount
+	after bootmisc
+	use logger
+}
+
+start_pre() {
+	# The unit's RuntimeDirectory=ramsleuth (root:Group 0755) — created before
+	# the daemon starts so it never has to touch /run itself.
+	checkpath --directory --owner root:"${RAMSLEUTH_GROUP}" --mode 0755 /run/ramsleuth || return 1
+	checkpath --directory --owner root:root --mode 0755 /var/log || return 1
+}
diff --git a/dev-util/ramsleuth/metadata.xml b/dev-util/ramsleuth/metadata.xml
new file mode 100644
index 0000000..1c72b94
--- /dev/null
+++ b/dev-util/ramsleuth/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>administrator@josie-c.com</email>
+		<name>cjosie</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">MadGoatHaz/RamSleuth</remote-id>
+	</upstream>
+	<use>
+		<flag name="openrc">Install an OpenRC init script and conf.d file for the privileged daemon.</flag>
+		<flag name="systemd">Install the upstream systemd unit, preset, one-click setup helper, and polkit policy.</flag>
+		<flag name="amd-dkms">Install the optional GPL-2 ryzen_smu AMD DKMS module source and helper script.</flag>
+		<flag name="intel-dkms">Install the optional GPL-2 ramsleuth_intel Intel DKMS module source and helper script.</flag>
+	</use>
+</pkgmetadata>
diff --git a/dev-util/ramsleuth/ramsleuth-2.4.18.ebuild b/dev-util/ramsleuth/ramsleuth-2.4.18.ebuild
new file mode 100644
index 0000000..d7a33c1
--- /dev/null
+++ b/dev-util/ramsleuth/ramsleuth-2.4.18.ebuild
@@ -0,0 +1,177 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop systemd toolchain-funcs
+
+DESCRIPTION="Live memory-controller telemetry and memory benchmark for AMD and Intel"
+HOMEPAGE="https://github.com/MadGoatHaz/RamSleuth"
+SRC_URI="https://github.com/MadGoatHaz/RamSleuth/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/RamSleuth-${PV}"
+
+LICENSE="MIT amd-dkms? ( GPL-2 ) intel-dkms? ( GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+openrc systemd amd-dkms intel-dkms"
+REQUIRED_USE="|| ( openrc systemd )"
+
+COMMON_DEPEND="
+	dev-libs/wayland
+	media-libs/mesa
+	x11-libs/libX11
+	x11-libs/libXcursor
+	x11-libs/libXi
+	x11-libs/libXinerama
+	x11-libs/libXrandr
+	x11-libs/libxkbcommon
+"
+DEPEND="${COMMON_DEPEND}
+	dev-libs/wayland-protocols
+"
+RDEPEND="${COMMON_DEPEND}
+	acct-group/ramsleuth
+	systemd? ( sys-apps/systemd sys-auth/polkit )
+	!dev-util/ramsleuth-bin
+"
+BDEPEND="
+	dev-lang/rust
+	virtual/pkgconfig
+"
+
+# RamSleuth's Rust workspace has 400+ crates. There is no vendored crate
+# tarball in the release source, so cargo must fetch the registry during the
+# build. This is intentional for this personal overlay; the bin package is the
+# offline/reproducible alternative.
+RESTRICT="network-sandbox"
+
+# Rust binaries do not consume CFLAGS/LDFLAGS in the usual way.
+QA_FLAGS_IGNORED="
+	usr/bin/ramsleuth
+	usr/bin/ramsleuth-bench
+	usr/bin/ramsleuth-client
+	usr/bin/ramsleuth-daemon
+	usr/bin/ramsleuth-telemetry
+	usr/bin/ramsleuth-tui
+"
+
+src_compile() {
+	export CARGO_HOME="${T}/cargo-home"
+	mkdir -p "${CARGO_HOME}" || die
+	tc-export AR CC CXX PKG_CONFIG
+
+	cargo build --release --locked --workspace || die "cargo build failed"
+}
+
+src_install() {
+	local bin size src
+
+	for bin in ramsleuth-daemon ramsleuth-client ramsleuth-tui \
+		ramsleuth ramsleuth-bench ramsleuth-telemetry; do
+		dobin "target/release/${bin}"
+	done
+
+	domenu packaging/shared/RamSleuth.desktop
+
+	for size in 16 24 32 48 64 128 256 512; do
+		src="assets/icons/hicolor/${size}/apps/ramsleuth.png"
+		insinto "/usr/share/icons/hicolor/${size}/apps"
+		newins "${src}" ramsleuth.png
+		newins "${src}" RamSleuth.png
+		insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
+		newins "${src}" ramsleuth.png
+		newins "${src}" RamSleuth.png
+	done
+
+	insinto /usr/share/pixmaps
+	newins assets/icons/hicolor/48/apps/ramsleuth.png ramsleuth.png
+	newins assets/icons/hicolor/48/apps/ramsleuth.png RamSleuth.png
+
+	insinto "/usr/share/licenses/${PN}"
+	doins LICENSE
+
+	if use openrc; then
+		newinitd "${FILESDIR}/ramsleuth.initd" ramsleuth
+		newconfd "${FILESDIR}/ramsleuth.confd" ramsleuth
+	fi
+
+	if use systemd; then
+		systemd_dounit systemd/ramsleuth.service
+		insinto /usr/lib/systemd/system-preset
+		doins packaging/shared/ramsleuth.preset
+
+		exeinto /usr/bin
+		newexe scripts/ramsleuth-setup.sh ramsleuth-setup
+
+		insinto /usr/share/polkit-1/actions
+		doins packaging/polkit/90-ramsleuth-setup.policy
+	fi
+
+	if use amd-dkms; then
+		exeinto /usr/bin
+		newexe scripts/install-ryzen-smu-dkms.sh ramsleuth-install-ryzen-smu-dkms
+
+		insinto /usr/share/ryzen-smu-dkms
+		doins packaging/ryzen-smu-dkms/dkms.conf
+
+		insinto /usr/share/ryzen-smu-dkms/vendor
+		doins packaging/ryzen-smu-dkms/vendor/SUMS.sha256 \
+			packaging/ryzen-smu-dkms/vendor/NOTICE.md
+
+		insinto /usr/share/ryzen-smu-dkms/vendor/ryzen-smu
+		doins packaging/ryzen-smu-dkms/vendor/ryzen-smu/*
+	fi
+
+	if use intel-dkms; then
+		exeinto /usr/bin
+		newexe scripts/install-intel-dkms.sh ramsleuth-install-intel-dkms
+
+		insinto /usr/share/ramsleuth-intel-dkms/src
+		doins kernel/ramsleuth-intel/*
+	fi
+
+	if use amd-dkms || use intel-dkms; then
+		insinto "/usr/share/licenses/${PN}"
+		doins "${FILESDIR}/GPL-2"
+	fi
+
+	dodoc README.md CHANGELOG.md Docs/*.md
+}
+
+pkg_postinst() {
+	if use openrc; then
+		elog "RamSleuth's OpenRC service is installed but not enabled."
+		elog "Start it and enable it at boot with:"
+		elog "  rc-service ramsleuth start"
+		elog "  rc-update add ramsleuth default"
+		elog "Add your user to the ramsleuth group (then log out and back in):"
+		elog "  usermod -aG ramsleuth <user>"
+	fi
+
+	if use systemd; then
+		elog "RamSleuth's systemd unit and preset are installed."
+		elog "Enable and start it with:"
+		elog "  systemctl enable --now ramsleuth"
+		elog "The GUI one-click setup helper is installed as ramsleuth-setup."
+	fi
+
+	if use amd-dkms; then
+		elog "Optional AMD ryzen_smu DKMS module (GPL-2) installed."
+		elog "Build and load it with:"
+		elog "  ramsleuth-install-ryzen-smu-dkms"
+		elog "It needs matching kernel headers and DKMS; without it AMD"
+		elog "subtimings report N/A (DriverMissing) but the app still runs."
+	fi
+
+	if use intel-dkms; then
+		elog "Optional Intel ramsleuth_intel DKMS module (GPL-2) installed."
+		elog "Build and load it with:"
+		elog "  ramsleuth-install-intel-dkms"
+		elog "It needs matching kernel headers and DKMS; on Alder Lake and"
+		elog "newer it exposes less than the built-in /dev/mem path."
+	fi
+
+	elog "The daemon socket is /run/ramsleuth/ramsleuth.sock."
+	elog "Try: ramsleuth-client dump, ramsleuth-tui, or ramsleuth"
+}