Package Details: hardened_malloc 2-2

Git Clone URL: https://aur.archlinux.org/hardened_malloc.git (read-only)
Package Base: hardened_malloc
Description: Hardened allocator designed for modern systems
Upstream URL: https://github.com/GrapheneOS/hardened_malloc
Licenses: MIT
Conflicts: hardened-malloc-git
Submitter: thithib
Maintainer: thithib
Last Packager: thithib
Votes: 0
Popularity: 0.000000
First Submitted: 2019-08-18 21:53
Last Updated: 2019-09-30 21:29

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

thithib commented on 2019-09-30 21:09

Thanks @egrupled, I'll do that ;)

egrupled commented on 2019-09-27 12:20

Hi @thithib thx for packaging this. I have small feature request - could you use git tag instead of tarball and check gpg signature on it? Like below:

# Maintainer: Thibaut Sautereau (thithib) <thibaut at sautereau dot fr>

pkgname=hardened_malloc
pkgver=2
pkgrel=1
pkgdesc="Hardened allocator designed for modern systems"
arch=('x86_64')
url="https://github.com/GrapheneOS/hardened_malloc"
license=('MIT')
depends=('python' 'bash')
makedepends=('git')
conflicts=('hardened-malloc-git')
source=("git+https://github.com/GrapheneOS/hardened_malloc#tag=$pkgver?signed"
        'preload.sh')
sha256sums=('SKIP'
            'e6dbce7ac1d689fafbc94ffb17d8c4ae5271dd3580421828d35aac2c067b652d')
validpgpkeys=('65EEFE022108E2B708CBFCF7F9E712E59AF5F22A')

build() {
  cd "$pkgname"
  make
}

package() {
  cd "$pkgname"
  install -Dm755 --target-directory="$pkgdir/usr/lib" libhardened_malloc.so
  install -Dm755 "$srcdir/preload.sh" "$pkgdir/usr/bin/hardened_malloc_preload"
  install -Dm755 calculate_waste.py "$pkgdir/usr/bin/hardened_malloc_calculate_waste.py"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: