Package Details: policycoreutils 3.7-1

Git Clone URL: https://aur.archlinux.org/policycoreutils.git (read-only, click to copy)
Package Base: policycoreutils
Description: SELinux policy core utilities
Upstream URL: https://github.com/SELinuxProject/selinux
Keywords: selinux
Licenses: GPL2
Groups: selinux
Conflicts: selinux-usr-policycoreutils
Provides: selinux-usr-policycoreutils
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 19
Popularity: 0.001236
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-08-11 16:19 (UTC)

Dependencies (9)

Sources (2)

Latest Comments

1 2 3 Next › Last »

Siosm commented on 2014-01-02 21:46 (UTC)

Renamed to policycoreutils

xangelux commented on 2013-08-13 04:19 (UTC)

It has references to pkgdir and restorecon doesn't work for me (says exit error code 1), I assume it's searching for everything on my ~/AUR/selinux-usr-policycoreutils/pkg/selinux-usr-policycoreutils/. . . . how can I help, I'm determined to make it work to learn and make the policy for Arch (hopfuly some day)

Nicky726 commented on 2013-07-20 17:23 (UTC)

The build problem was due to setools, which I didn't have installed. Now added as dependency.

hi117 commented on 2013-06-10 16:57 (UTC)

Package is broken for me, semanage gives error: ImportError: No module named sepolicy Package now builds fine with sepolicy enabled, here is a diff to apply the change: --- a/PKGBUILD 2013-06-09 12:10:17.000000000 -0400 +++ b/PKGBUILD 2013-06-10 12:55:54.493807731 -0400 @@ -32,9 +32,6 @@ sed -i -e "s/shell python -c/shell python2 -c/" "sandbox/Makefile" sed -i -e "s/\/usr\/bin\/python/\/usr\/bin\/python2/" "sepolicy/Makefile" - # disable sepolicy as the build fails - sed -i -e "s/sepolicy//" "Makefile" - # /bin, /sbin, /usr/sbin -> /usr/bin sed -i -e "s/\$(PREFIX)\/sbin/\$(PREFIX)\/bin/g" */Makefile sed -i -e "s/\$(DESTDIR)\/sbin/\$(PREFIX)\/bin/g" */Makefile Also the optimizations can be improved by this diff: --- a/PKGBUILD 2013-06-09 12:10:17.000000000 -0400 +++ b/PKGBUILD 2013-06-10 12:56:45.924625009 -0400 @@ -24,8 +24,8 @@ cd "${srcdir}/${_origname}-${pkgver}" # optimizations - sed -i -e "s/-Werror -Wall -W/-Werror -Wall -W -O2/" "setfiles/Makefile" - sed -i -e "s/-Werror -Wall -W/-Werror -Wall -W -O2/" "sestatus/Makefile" + sed -i -e "s/-Werror -Wall -W/-Werror -Wall -W ${CFLAGS}/" "setfiles/Makefile" + sed -i -e "s/-Werror -Wall -W/-Werror -Wall -W ${CFLAGS}/" "sestatus/Makefile" # python2 sed -i -e "s/shell python -c/shell python2 -c/" "semanage/Makefile"

Nicky726 commented on 2013-06-09 20:32 (UTC)

Thank you added.

genghizkhan91 commented on 2013-05-24 17:15 (UTC)

It seems that the package python2-ipy should be listed as a dependency because the command semanage gives an error of a missing module without it.

Nicky726 commented on 2013-05-06 16:52 (UTC)

Thank you, fixed.

kagebe commented on 2013-04-23 16:55 (UTC)

I also had the same issue: Optimization must be enabled to build.

<deleted-account> commented on 2013-04-16 03:38 (UTC)

The package requires that the optimizations be set due to _FORTIFY_SOURCE. I've changed the PKGBUILD file to add the -O2 optimizations through the build() function to get the package to compile. Error message: http://pastebin.com/WiDRSamG PKGBUILD with changes: http://pastebin.com/6WUt5xAb

Nicky726 commented on 2013-03-04 16:19 (UTC)

Thank you, added.