summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2015-02-05 15:50:59 +0800
committerNicolas Iooss2015-02-22 16:03:11 +0800
commit38e86108ee7421991eeb78cbfcd29463fba0ac3c (patch)
tree2a315d0aa57d5d51bc7d87aafc68cf4744f8d775
parent7ee553fcf76ad6bb1b52a71d0d844d5b52ff6d45 (diff)
downloadaur-38e86108ee7421991eeb78cbfcd29463fba0ac3c.tar.gz
libsepol 2.4-1 udpate
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
2 files changed, 10 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 005ec6f0a317..7dd2c6c3e0fe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
pkgbase = libsepol
pkgdesc = SELinux binary policy manipulation library
- pkgver = 2.3
- pkgrel = 2
+ pkgver = 2.4
+ pkgrel = 1
url = http://userspace.selinuxproject.org
arch = i686
arch = x86_64
groups = selinux
license = GPL
depends = glibc
- provides = selinux-usr-libsepol=2.3-2
+ provides = selinux-usr-libsepol=2.4-1
conflicts = selinux-usr-libsepol
options = staticlibs
- source = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/libsepol-2.3.tar.gz
- sha256sums = cc8d8642c3b7b95d6928d65dcbca2ab0627abc1c05166637851e63c1a6eae68f
+ source = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libsepol-2.4.tar.gz
+ sha256sums = 299015d59932404c6b69d365fdecffe5c0e2f9c44e08b47286a4bfc02ee49659
pkgname = libsepol
diff --git a/PKGBUILD b/PKGBUILD
index e2c6bfacd35f..91cbdf8bec38 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
# Contributor: Sergej Pupykin (pupykin <dot> s+arch <at> gmail <dot> com)
pkgname=libsepol
-pkgver=2.3
-pkgrel=2
+pkgver=2.4
+pkgrel=1
pkgdesc="SELinux binary policy manipulation library"
arch=('i686' 'x86_64')
url='http://userspace.selinuxproject.org'
@@ -15,8 +15,8 @@ depends=('glibc')
options=(staticlibs)
conflicts=("selinux-usr-${pkgname}")
provides=("selinux-usr-${pkgname}=${pkgver}-${pkgrel}")
-source=("https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('cc8d8642c3b7b95d6928d65dcbca2ab0627abc1c05166637851e63c1a6eae68f')
+source=("https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('299015d59932404c6b69d365fdecffe5c0e2f9c44e08b47286a4bfc02ee49659')
build() {
cd "${pkgname}-${pkgver}"
@@ -24,14 +24,6 @@ build() {
}
package(){
- cd ${pkgname}-${pkgver}
+ cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" LIBDIR="${pkgdir}"/usr/lib SHLIBDIR="${pkgdir}"/usr/lib install
-
- # Those are removed in Fedora
- rm -r "${pkgdir}"/usr/bin/chkcon "${pkgdir}"/usr/share/man
-
- # /lib/lisepol.so fix
- cd "${pkgdir}"/usr/lib
- rm libsepol.so
- ln -s libsepol.so.1 libsepol.so
}