Package Details: libselinux 3.7-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: https://github.com/SELinuxProject/selinux
Keywords: selinux
Licenses: custom
Groups: selinux
Conflicts: selinux-usr-libselinux
Provides: libselinux.so, selinux-usr-libselinux
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 132
Popularity: 0.93
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-08-11 16:17 (UTC)

Dependencies (11)

Sources (3)

Latest Comments

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

<deleted-account> commented on 2013-08-11 11:22 (UTC)

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 (UTC)

Thank you, added the patch you mentioned.

hi117 commented on 2013-06-10 20:01 (UTC)

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"

Nicky726 commented on 2013-02-25 10:29 (UTC)

Thanx, added.

xangelux commented on 2013-02-24 10:13 (UTC)

audit2allow and practically every python utility doesn't work, I found a workaround for it, add this sed in the build process: sed -i -e "s/PYLIBDIR ?= \$(LIBDIR)\/\$(PYLIBVER)/PYLIBDIR ?= \$(LIBDIR)\/python2.7/g" "src/Makefile"

Nicky726 commented on 2013-02-20 20:51 (UTC)

So I added a feature request: https://bugs.archlinux.org/task/33954

Nicky726 commented on 2013-02-20 20:33 (UTC)

Oh, I see. It's that python issue. Quick workaround is: # cd /usr/lib/pkgconfig/ # ln -s python-2.7.pc python2.pc I think I did requested python2 maintainers to add the link, but apparently I did not... Will do now.

Nicky726 commented on 2013-02-20 20:21 (UTC)

Strange, I built it on 64bit system like 10 days ago. I'll look into it later, if I can reproduce it.

dejavu commented on 2013-02-20 19:05 (UTC)

Doesn't build on 64 bit: cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lpcre -I../include -D_GNU_SOURCE -Wl,-O1,--sort-common,--as-needed,-z,relro avcstat.c -L../src -lselinux -L/usr/lib -o avcstat make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/utils' make[1]: Entering directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/man' make -C src pywrap pywrap make[1]: Entering directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/src' bash exception.sh > selinuxswig_python_exception.i Package python2 was not found in the pkg-config search path. Perhaps you should add the directory containing `python2.pc' to the PKG_CONFIG_PATH environment variable No package 'python2' found cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lpcre -I../include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DSHARED -c -o python2audit2why.lo audit2why.c audit2why.c:6:20: fatal error: Python.h: No such file or directory compilation terminated. make[1]: *** [python2audit2why.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-selinux-usr-libselinux/src/libselinux-2.1.12/src' make: *** [pywrap] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build selinux-usr-libselinux. ==> Restart building selinux-usr-libselinux ? [y/N]

xangelux commented on 2013-02-17 18:20 (UTC)

Yeah, that was fine, I forgot to delete that part when I was testing what the issue was