Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - shadow-selinux

Package Details: shadow-selinux 4.4-3

Git Clone URL: https://aur-dev.archlinux.org/shadow-selinux.git (read-only)
Package Base: shadow-selinux
Description: Password and account management tool suite with support for shadow files and PAM - SELinux support
Upstream URL: https://github.com/shadow-maint/shadow
Licenses: BSD
Groups: selinux
Conflicts: selinux-shadow, shadow
Provides: selinux-shadow=4.4-3, shadow=4.4-3
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 13
Popularity: 0.974123
First Submitted: 2013-11-03 20:05
Last Updated: 2016-11-05 09:13

Dependencies (8)

Required by (37)

Sources (14)

Latest Comments

Siosm commented on 2014-01-02 21:48

Renamed to shadow-selinux

IooNag commented on 2013-09-22 09:47

Build fails in ./configure on my system:
checking selinux/selinux.h usability... yes
checking selinux/selinux.h presence... yes
checking for selinux/selinux.h... yes
checking semanage/semanage.h usability... no
checking semanage/semanage.h presence... no
checking for semanage/semanage.h... no
configure: error: semanage/semanage.h is missing

Installing selinux-usr-libsemanage solves this issue. Please add this dependency.

chenxiaolong commented on 2011-12-12 17:12

@Nicky726: Thanks for the update! My /etc/group file didn't change when I went from shadow -> selinux-shadow or from selinux-shadow -> selinux-shadow, so I don't think there's anything wrong with the package.

Nicky726 commented on 2011-12-12 15:41

Rebased to the latest [core] and added the binutils patch and selinux ldflags. I had shared libraries disabled, as the build failed, but seems one of those fixes so I enabled it.
Had to fix inconsistencies in /etc/group though, don't know if it was caused by something in this package, though.

chenxiaolong commented on 2011-12-12 05:30

Hmm...it seems that '-lselinux' also needs to be added to the LDFLAGS.

chenxiaolong commented on 2011-12-12 05:21

Could you add 'audit' to the dependencies and also some build fixes from the original PKGBUILD (http://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/shadow)? Specifically, these:

# fix linking issues with binutils 2.22
sed -i '/^user\(mod\|add\)_LDADD/s|$| -lattr|' src/Makefile.am

# Ugh, force this to build shared libraries, for god's sake
sed -i "s/noinst_LTLIBRARIES/lib_LTLIBRARIES/g" lib/Makefile.am

Nicky726 commented on 2011-07-06 09:14

Thank you, fixed.

lks commented on 2011-07-05 15:53

Please add a slash at line 74:
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/shadow/LICENSE"

Nicky726 commented on 2010-07-24 14:21

Initial release. SELinux support and modified /etc/pam.d/login. Removed:

#Ugh, force this to build shared libraries, for god's sake
sed -i "s/noinst_LTLIBRARIES/lib_LTLIBRARIES/g" lib/Makefile.am

as it made the build fail. Works with me, apreciate user testing though.