blob: 9d306faf2503c99d2b0219c69632362e122294ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=pax-utils
pkgver=1.3.4
pkgrel=0
pkgdesc="ELF related utils for ELF 32/64 binaries"
url="https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities"
arch="all"
options="!check" # depends on nx package(s)
license="GPL-2.0-only"
depends="scanelf"
makedepends="linux-headers libcap-dev"
# ATTENTION MAINTAINERS: Generate a new tarball from upstream sources:
# git clone https://anongit.gentoo.org/git/proj/pax-utils.git
# cd pax-utils
# ./make-tarball.sh v$pkgver
source="https://distfiles.adelielinux.org/source/upstream/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-doc scanelf:_scanelf"
build() {
make USE_CAP=yes
}
package() {
make DESTDIR="$pkgdir/" install
# Don't conflict with lddtree package
rm -f "$pkgdir"/usr/bin/lddtree
}
_scanelf() {
pkgdesc="Scan ELF binaries for stuff"
depends=""
replaces="pax-utils"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/scanelf "$subpkgdir"/usr/bin/
}
sha512sums="44a475860823e8b70b1d09d69e5fba3ed8298511d07e1e7b09ce62237cb8b1ecee8fc2fc550d6853d0b9f8db3c350bf78ced49d5f210997b294dc10e36627fcd pax-utils-1.3.4.tar.xz"
|