summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Iooss2016-08-16 13:19:15 +0200
committerNicolas Iooss2016-08-16 13:19:15 +0200
commitea2858f2fee29088b35cb3ecde05b2270d564a22 (patch)
treeea640d6f3ee6bccaecda81dbff075537960ddbdc /PKGBUILD
parent5f8a4aa9ef53c19e192342eb4108c6c405d1e101 (diff)
downloadaur-ea2858f2fee29088b35cb3ecde05b2270d564a22.tar.gz
libselinux 2.5-3 update
Backport fixes to make the Python wrapper works with SWIG 3.0.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ee95fe76d63..e7407295642 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=libselinux
pkgver=2.5
-pkgrel=2
+pkgrel=3
pkgdesc="SELinux library and simple utilities"
arch=('i686' 'x86_64' 'armv6h')
url='http://userspace.selinuxproject.org'
@@ -23,11 +23,13 @@ options=(!emptydirs)
source=("https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/${pkgname}-${pkgver}.tar.gz"
"libselinux.tmpfiles.d"
"0001-libselinux-only-mount-proc-if-necessary.patch"
- "0002-Avoid-mounting-proc-outside-of-selinux_init_load_pol.patch")
+ "0002-Avoid-mounting-proc-outside-of-selinux_init_load_pol.patch"
+ "0003-libselinux-Change-the-location-of-_selinux-so.patch")
sha256sums=('94c9e97706280bedcc288f784f67f2b9d3d6136c192b2c9f812115edba58514f'
'afe23890fb2e12e6756e5d81bad3c3da33f38a95d072731c0422fbeb0b1fa1fc'
'da3ed20d45b7656c25411bcc31109a78b64265978839bbc06b25151a7231611c'
- '1d20ae0d6fb39dd93258388297206980cb530b04511c4b16db247e05c84804a8')
+ '1d20ae0d6fb39dd93258388297206980cb530b04511c4b16db247e05c84804a8'
+ '725ec5a452b899309626b5e75f16f068ac108f9652565c99aedc268fd1d3922d')
prepare() {
cd "${pkgname}-${pkgver}"
@@ -38,6 +40,9 @@ prepare() {
# https://github.com/systemd/systemd/issues/3962#issuecomment-239827399
patch -Np2 -i "../0001-libselinux-only-mount-proc-if-necessary.patch"
patch -Np2 -i "../0002-Avoid-mounting-proc-outside-of-selinux_init_load_pol.patch"
+
+ # Backport commit to fix the Python wrapper with SWIG 3.0.10
+ patch -Np2 -i "../0003-libselinux-Change-the-location-of-_selinux-so.patch"
}
build() {