diff options
author | Nicolas Iooss | 2014-12-26 12:00:12 +0100 |
---|---|---|
committer | Nicolas Iooss | 2015-06-27 11:44:58 +0800 |
commit | 7380c278a7fcae81a4017d1553709efa7a015827 (patch) | |
tree | 08b6bfd63cb9c4f75ca3044a3eff71f90e8ddcde | |
parent | 4042026c85c79e27e67b7f866349c94ee10dc183 (diff) | |
download | aur-7380c278a7fcae81a4017d1553709efa7a015827.tar.gz |
shadow-selinux: add libsemanage dependency and fix license directory name
Fix namcap errors:
shadow-selinux E: Missing custom license directory (usr/share/licenses/shadow-selinux)
shadow-selinux E: Dependency libsemanage detected and not included
(libraries ['usr/lib/libsemanage.so.1'] needed in files
['usr/bin/usermod', 'usr/bin/useradd', 'usr/bin/userdel'])
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = shadow-selinux pkgdesc = Password and account management tool suite with support for shadow files and PAM - SELinux support pkgver = 4.2.1 - pkgrel = 1 + pkgrel = 2 url = http://pkg-shadow.alioth.debian.org/ install = shadow.install arch = i686 @@ -11,9 +11,9 @@ pkgbase = shadow-selinux depends = bash depends = pam-selinux depends = acl - depends = libselinux - provides = shadow=4.2.1-1 - provides = selinux-shadow=4.2.1-1 + depends = libsemanage + provides = shadow=4.2.1-2 + provides = selinux-shadow=4.2.1-2 conflicts = shadow conflicts = selinux-shadow options = strip @@ -8,13 +8,13 @@ pkgname=shadow-selinux pkgver=4.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="Password and account management tool suite with support for shadow files and PAM - SELinux support" arch=('i686' 'x86_64') url='http://pkg-shadow.alioth.debian.org/' license=('BSD') groups=('selinux') -depends=('bash' 'pam-selinux' 'acl' 'libselinux') +depends=('bash' 'pam-selinux' 'acl' 'libsemanage') conflicts=("${pkgname/-selinux}" "selinux-${pkgname/-selinux}") provides=("${pkgname/-selinux}=${pkgver}-${pkgrel}" "selinux-${pkgname/-selinux}=${pkgver}-${pkgrel}") @@ -89,7 +89,7 @@ package() { make DESTDIR="$pkgdir" install # license - install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/shadow/LICENSE" + install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" # useradd defaults install -Dm644 "$srcdir/useradd.defaults" "$pkgdir/etc/default/useradd" |