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 @@ + + + + + Torben Kahnert + torben@tmak2002.dev + + + https://github.com/GrapheneOS/hardened_malloc/issues/ + https://github.com/GrapheneOS/hardened_malloc/releases + GrapheneOS/hardened_malloc + +