dev-libs/hardened_malloc: new package, add 13

Signed-off-by: Torben Kahnert <torben@tmak2002.dev>
This commit is contained in:
Torben Kahnert
2025-08-09 18:13:05 +02:00
parent 4ca50385f1
commit b63747c532
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1 @@
ST hardened_malloc-13.tar.gz 77759 BLAKE2B 58487fda8f3480aab4b517771ae5ff5433f4ca57195a7c9e0f18622272b99342a79118e385f01b47a992f3acf209cbcdcf8c72ee183e17385d421950d2e21de6 SHA512 793252e3fa34c5aa3c672b182a204014b52ba52a693cd72fae77d6c537d364ab8e65db702e40528d6a51e7ffb945f8a28289245a2f23d8cc6b8253b56660dd9d

View File

@@ -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
}

View File

@@ -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>torben@tmak2002.dev</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>