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

dev-libs/hardened_malloc: new package, add 13

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

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

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

diff --git a/dev-libs/hardened_malloc/hardenend_malloc-13.ebuild 
b/dev-libs/hardened_malloc/hardenend_malloc-13.ebuild
new file mode 100644
index 0000000000..b3179cb2b3
--- /dev/null
+++ b/dev-libs/hardened_malloc/hardenend_malloc-13.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Hardened allocator designed for modern systems."
+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