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: 131
Popularity: 0.071525
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-08-11 16:17 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

BPplays commented on 2024-12-23 10:12 (UTC) (edited on 2024-12-23 11:14 (UTC) by BPplays)

im also getting SWIG_Python_AppendOutput errors

edit: a temp fix seems to be to install an old version of swig

wget https://archive.archlinux.org/packages/s/swig/swig-4.2.1-3-x86_64.pkg.tar.zst
sudo pacman -U swig-4.2.1-3-x86_64.pkg.tar.zst

then add swig to HoldPkg in /etc/pacman.conf just remember to update when this aur package updates for the new version of swig

patlefort commented on 2024-12-22 16:27 (UTC)

Fails to compile currently:

selinuxswig_python_wrap.c: In function ‘_wrap_security_compute_user’:
selinuxswig_python_wrap.c:11504:17: error: too few arguments to function ‘SWIG_Python_AppendOutput’
11504 |     resultobj = SWIG_Python_AppendOutput(resultobj, plist);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
selinuxswig_python_wrap.c:1259:1: note: declared here
 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~

IooNag commented on 2024-08-15 18:32 (UTC)

@Thiger: could you please open an issue on https://github.com/archlinuxhardened/selinux/issues ? I tried reproducing your issue in a clean environment but did not succeed: makepkg accepts using the public key from https://github.com/archlinuxhardened/selinux/blob/aa3032b27ccff1fe96cb9431eabe8bec92e83e6a/libselinux/keys/pgp/B8682847764DF60DF52D992CBC3905F235179CF1.asc (gpg also displays "WARNING: This key is not certified with a trusted signature!" but this is related to this key not being trusted in the local GPG keystore and is unrelated to verifying package sources). So more context is needed to help you fix your issue.

Thiger commented on 2024-08-15 15:59 (UTC) (edited on 2024-08-15 16:02 (UTC) by Thiger)

again similar error with 3.7:


==> Überprüfe Signaturen der Quell-Dateien mit gpg...
    libselinux-3.7.tar.gz ... cat: Schreibfehler: Datenübergabe unterbrochen (broken pipe)
SIGNATUR NICHT GEFUNDEN
FEHLGESCHLAGEN

I successfully imported the key:


$ gpg --import B8682847764DF60DF52D992CBC3905F235179CF1.asc
gpg: key 63A8AD4B982C4373: 11 signatures not checked due to missing keys
gpg: key 63A8AD4B982C4373: "Petr Lautrbach <plautrba@redhat.com>" not changed
gpg: key BC3905F235179CF1: "Petr Lautrbach <lautrbach@redhat.com>" not changed
gpg: Total number processed: 2
gpg:              unchanged: 2

but gpg --verify says the key has untrusted signature:


$ gpg --verify --auto-key-retrieve libselinux-3.7.tar.gz.asc libselinux-3.7.tar.gz
gpg: Signature made Mi 26 Jun 2024 17:38:08 CEST
gpg:                using RSA key 1BE2C0FF08949623102FD2564695881C254508D1
gpg: Good signature from "Petr Lautrbach <lautrbach@redhat.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: B868 2847 764D F60D F52D  992C BC39 05F2 3517 9CF1
     Subkey fingerprint: 1BE2 C0FF 0894 9623 102F  D256 4695 881C 2545 08D1
$

pavkamlc commented on 2024-03-25 08:26 (UTC)

On system where is installed freeipa-client

error: failed to prepare transaction (could not satisfy dependencies) :: installing libselinux (3.6-3) breaks dependency 'selinux-usr-libselinux' required by oddjob-selinux

patlefort commented on 2024-02-21 16:00 (UTC)

Can you please use provides+= in your package() section, else it will override base package provides in the resulting package.

eltongermano commented on 2023-12-16 00:31 (UTC) (edited on 2023-12-16 00:33 (UTC) by eltongermano)

To install updated PGP keys run: wget https://raw.githubusercontent.com/archlinuxhardened/selinux/master/_pgp_cache/B8682847764DF60DF52D992CBC3905F235179CF1.asc && gpg --import B8682847764DF60DF52D992CBC3905F235179CF1.asc

patlefort commented on 2023-12-15 22:40 (UTC)

Latest sources fails to verify (libselinux-3.6.tar.gz ... FAILED (unknown public key 4695881C254508D1)). One of the gpg keys (B8682847764DF60DF52D992CBC3905F235179CF1) can't be imported, it is not found on keyserver.ubuntu.com. I can't find their signature files, can someone point to where I can find them?

tallero commented on 2023-03-14 03:46 (UTC)

@Thiger: gpg --recv-keys <missing key> where <missing key> is one of those inside the PKGBUILD.