commit:     3ac488ff2eeb75c1e6c5f48988df8fbe24085400
Author:     Torben Kahnert <torben <AT> tmak2002 <DOT> dev>
AuthorDate: Sat Aug  9 15:16:17 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Aug  9 15:16:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3ac488ff

dev-libs/hardened_malloc: new package, add 13

Signed-off-by: Torben Kahnert <torben <AT> tmak2002.dev>

 dev-libs/hardened_malloc/Manifest                  |  1 +
 dev-libs/hardened_malloc/hardened_malloc-13.ebuild | 20 ++++++++++++++++++++
 dev-libs/hardened_malloc/metadata.xml              | 13 +++++++++++++
 3 files changed, 34 insertions(+)

diff --git a/dev-libs/hardened_malloc/Manifest 
b/dev-libs/hardened_malloc/Manifest
new file mode 100644
index 0000000000..c69a97196d
--- /dev/null
+++ b/dev-libs/hardened_malloc/Manifest
@@ -0,0 +1 @@
+DIST hardened_malloc-13.tar.gz 77759 BLAKE2B 
58487fda8f3480aab4b517771ae5ff5433f4ca57195a7c9e0f18622272b99342a79118e385f01b47a992f3acf209cbcdcf8c72ee183e17385d421950d2e21de6
 SHA512 
793252e3fa34c5aa3c672b182a204014b52ba52a693cd72fae77d6c537d364ab8e65db702e40528d6a51e7ffb945f8a28289245a2f23d8cc6b8253b56660dd9d

diff --git a/dev-libs/hardened_malloc/hardened_malloc-13.ebuild 
b/dev-libs/hardened_malloc/hardened_malloc-13.ebuild
new file mode 100644
index 0000000000..752e30d5df
--- /dev/null
+++ b/dev-libs/hardened_malloc/hardened_malloc-13.ebuild
@@ -0,0 +1,20 @@
+HOMEPAGE="https://github.com/GrapheneOS/hardened_malloc";
+SRC_URI="https://github.com/GrapheneOS/hardened_malloc/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_test() {
+      emake test
+}
+
+src_compile() {
+      emake VARIANT=light
+      emake VARIANT=default
+}
+
+src_install() {
+    dolib.so out-light/libhardened_malloc-light.so
+    dolib.so out/libhardened_malloc.so
+}

diff --git a/dev-libs/hardened_malloc/metadata.xml 
b/dev-libs/hardened_malloc/metadata.xml
new file mode 100644
index 0000000000..b672fff5b3
--- /dev/null
+++ b/dev-libs/hardened_malloc/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+        <maintainer type="person">
+                <name>Torben Kahnert</name>
+                <email>[email protected]</email>
+        </maintainer>
+        <upstream>
+                
<bugs-to>https://github.com/GrapheneOS/hardened_malloc/issues/</bugs-to>
+                
<changelog>https://github.com/GrapheneOS/hardened_malloc/releases</changelog>
+                <remote-id type="github">GrapheneOS/hardened_malloc</remote-id>
+        </upstream>
+</pkgmetadata>

Reply via email to