mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 22:52:40 +01:00
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Contributor: Dan Williams <dan@ma.ssive.co>
|
|
pkgname=libseccomp
|
|
pkgver=2.4.1
|
|
pkgrel=0
|
|
pkgdesc="An interface to the Linux Kernel's syscall filtering mechanism"
|
|
url="https://github.com/seccomp/libseccomp"
|
|
arch="all"
|
|
license="LGPL-2.1"
|
|
depends_dev="linux-headers"
|
|
makedepends="$depends_dev"
|
|
checkdepends="bash"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://github.com/seccomp/libseccomp/releases/download/v$pkgver/libseccomp-$pkgver.tar.gz
|
|
remove-redefinition-prctl.patch"
|
|
builddir="$srcdir/libseccomp-$pkgver"
|
|
|
|
# secfixes:
|
|
# 2.4.0-r0:
|
|
# - CVE-2019-9893
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="1fe47ebb032635ba1b1cbefb505a0c103bae659844d1bf106d03e7f28b3c470726f7b0dbbe76d10ab89501630dc4f20b162c2eeefa22394eb632f803ae62ccc5 libseccomp-2.4.1.tar.gz
|
|
f2c31dcafdc9a1ad78e32e76b75e1c1603071eaa3f979e1f2483b879a34ad07e0a4ef3642196a695415cdf81e1ed2bf325175872fb4e203ef9d0e668c287493f remove-redefinition-prctl.patch"
|