Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] new package: hardened-malloc
@ 2023-01-02 17:34 dkwo
  2023-01-02 17:38 ` [PR PATCH] [Updated] " dkwo
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: dkwo @ 2023-01-02 17:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 656 bytes --]

There is a new pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages stinger
https://github.com/void-linux/void-packages/pull/41412

new package: hardened-malloc
- I tested the changes in this PR: **YES**, using
```
$ cat /etc/ld.so.preload 
/usr/lib/libhardened_malloc.so
```
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
- I built this PR locally for my native architecture, (x86_64-musl)

A patch file from https://github.com/void-linux/void-packages/pull/41412.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-stinger-41412.patch --]
[-- Type: text/x-diff, Size: 1294 bytes --]

From 28fc1545fe2863be1f77351ad31f516224bfccfd Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sun, 1 Jan 2023 15:41:11 +0100
Subject: [PATCH] new package: hardened-malloc

---
 srcpkgs/hardened-malloc/template | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 srcpkgs/hardened-malloc/template

diff --git a/srcpkgs/hardened-malloc/template b/srcpkgs/hardened-malloc/template
new file mode 100644
index 000000000000..9ee57f7e0707
--- /dev/null
+++ b/srcpkgs/hardened-malloc/template
@@ -0,0 +1,30 @@
+# Template file for 'hardened-malloc'
+pkgname=hardened-malloc
+version=11
+revision=1
+archs="x86_64* aarch64*"
+checkdepends="python3"
+short_desc="Hardened allocator designed for modern systems"
+maintainer="dkwo <npiazza@disroot.org>"
+license="MIT"
+homepage="https://grapheneos.org/"
+distfiles=" https://github.com/GrapheneOS/hardened_malloc/archive/refs/tags/${version}.tar.gz"
+checksum=14331990899b91f9323230c280d66f0d1a77c386eb5d206d4cd0d8b5683098da
+
+do_build() {
+	make VARIANT=default
+	make VARIANT=light
+}
+
+do_install() {
+	vinstall out/libhardened_malloc.so 755 usr/lib/
+	vinstall out-light/libhardened_malloc-light.so 755 usr/lib/
+}
+
+do_check() {
+	make test
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-22  1:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-02 17:34 [PR PATCH] new package: hardened-malloc dkwo
2023-01-02 17:38 ` [PR PATCH] [Updated] " dkwo
2023-01-03 10:15 ` dkwo
2023-01-03 10:17 ` dkwo
2023-01-05 17:54 ` [PR REVIEW] " mhmdanas
2023-01-05 17:55 ` mhmdanas
2023-01-06 15:50 ` dkwo
2023-01-06 15:50 ` [PR PATCH] [Updated] " dkwo
2023-04-07  1:49 ` github-actions
2023-04-07 14:23 ` [PR PATCH] [Updated] " dkwo
2023-04-07 15:16 ` dkwo
2023-07-07  2:06 ` github-actions
2023-07-22  1:53 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).