Package Details: libselinux 3.0-1

Git Clone URL: https://aur.archlinux.org/libselinux.git (read-only, click to copy)
Package Base: libselinux
Description: SELinux library and simple utilities
Upstream URL: http://userspace.selinuxproject.org
Keywords: selinux
Licenses: custom
Groups: selinux
Conflicts: selinux-usr-libselinux
Provides: selinux-usr-libselinux=3.0-1
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 108
Popularity: 1.38
First Submitted: 2013-11-03 20:05
Last Updated: 2019-12-13 19:59

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

IooNag commented on 2014-09-16 06:10

Upstream moved to GitHub a few weeks ago (http://marc.info/?l=selinux&m=140379660506494&w=2 and https://github.com/SELinuxProject/selinux link "Wiki"->"Release").

I've patched SELinux PKGBUILDs in GitHub:
https://github.com/archlinuxhardened/selinux/commit/63e6c3ddbc159775d5d1bfeaa81166e9d429d424
Waiting for maintainer to update AUR packages.

Thanks!

s4ncho commented on 2014-09-15 18:47

source url doesn't exist.

correct path:
http://archive.ubuntu.com/ubuntu/pool/main/libs/libselinux/libselinux_2.3.orig.tar.gz

please correct pkgbuild.

IooNag commented on 2014-05-23 12:50

As following Fedora patch changes is quite painful, I'd like to drop this patch from the package. Moreover, it contains some changes which have explicitly been rejected by upstream (http://marc.info/?l=selinux&m=138842015508829&w=2). If people are interested in the Go port, please report it upstream.

For users who are interested in testing libselinux 2.3 (without the Fedora patch) before the package is updated, the new PKGBUILD is waiting for testers on https://github.com/Siosm/siosm-selinux/pull/17.

Chocobozzz commented on 2014-05-23 09:30

Thank's Alda but sha256sum changed (line 27) :

2c7f13a1fea5c6e7068e43acf628d54cda12afd5e66112958d0ca4a44e7ecbc8

Alda commented on 2014-02-20 07:38

PKGBUILD is currently broken, here is the patch to make it work again:

27c27
< 'd60265f59b7fca51724e401f0ff4d1bbb9ad790ba9595ed4534942b286a7a1e4'
---
> '4078b4a8fd94f529cd64bf465bacf0acd2c108edc28a5d73a619857c00104a32'
35c35
< sed -i 's|pkg-config --cflags ruby|pkg-config --cflags ruby-2.0|' src/Makefile
---
> sed -i 's|pkg-config --cflags ruby|pkg-config --cflags ruby-2.1|' src/Makefile

errier commented on 2014-01-13 19:50

I second RobertGasteins comment! Please add armv6h arch to PKGBUILD.

Siosm commented on 2014-01-02 21:47

Renamed to libselinux

Anonymous comment on 2013-08-11 11:22

I have installed it on my Raspberry by adding armv6h to PKGBUILD,
because i need this package for the seafile-server!
Is it possible to add armv6h to the install script for this package!?

Nicky726 commented on 2013-07-20 17:22

Thank you, added the patch you mentioned.

hi117 commented on 2013-06-10 20:01

Package is broken due to known issue involving a Fedora specific patch being sent upstream, Gentoo has a patch to fix it, here is a diff to apply their patch if licencing permits.
--- a/PKGBUILD 2013-06-10 16:00:39.701454119 -0400
+++ b/PKGBUILD 2013-06-10 16:00:44.051506513 -0400
@@ -16,14 +16,19 @@
makedepends=('swig')
conflicts=('selinux-usr-libselinux-python')
options=(!emptydirs)
-source=(http://userspace.selinuxproject.org/releases/${_release}/${_origname}-${pkgver}.tar.gz)
-sha256sums=('57aad47c06b7ec18a76e8d9870539277a84cb40109cfdcf70ed3260bdb04447a')
+source=(http://userspace.selinuxproject.org/releases/${_release}/${_origname}-${pkgver}.tar.gz
+ http://dev.gentoo.org/~swift/patches/${_origname}/patchbundle-${_origname}-${pkgver}-r2.tar.gz)
+sha256sums=('57aad47c06b7ec18a76e8d9870539277a84cb40109cfdcf70ed3260bdb04447a'
+ 'd71f0923c7bd7cce8d3d305865736aa56d4038de319a1d016582f1470108cb07')

build() {
cd "${srcdir}/${_origname}-${pkgver}"

CFLAGS="${CFLAGS} -lpcre -pthread"

+ # Add gentoo patches for fedora specific functions
+ patch -p1 < "${srcdir}/gentoo-patches/0006-introduce-selinux_current_policy_path-from-fedora-needed-by-policycoreutils.patch"
+
# Set python version
sed -i -e "s/ python/ python2/" src/Makefile
sed -i -e "s/PYLIBDIR ?= \$(LIBDIR)\/\$(PYLIBVER)/PYLIBDIR ?=\$(LIBDIR)\/python2.7/g" "src/Makefile"