summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortqre2020-11-19 03:07:34 +0200
committerNicolas Iooss2020-11-22 21:37:41 +0100
commite5105807f9f140077477c9607aa31ce8e001a9d5 (patch)
treee9ddbe6aef824bc3936912689dc8c4e78db6f2fa
parentc27a22b3d0e8816c2574e6fce555dea9f92b08a9 (diff)
downloadaur-e5105807f9f140077477c9607aa31ce8e001a9d5.tar.gz
Dependency reversed with pam-selinux and pambase-selinux
Cleaned up commit. See the PR #61 for discussion occurred. Link: https://github.com/archlinuxhardened/selinux/pull/61
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 2 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e1cea11f35c3..31a8acc890c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,11 +6,11 @@ pkgbase = pambase-selinux
arch = any
groups = selinux
license = GPL
- depends = pam-selinux>=1.4.0
provides = pambase=20200721.1-2
provides = selinux-pambase=20200721.1-2
conflicts = pambase
conflicts = selinux-pambase
+ conflicts = pam-selinux<1.4.0
backup = etc/pam.d/system-auth
backup = etc/pam.d/system-local-login
backup = etc/pam.d/system-login
diff --git a/PKGBUILD b/PKGBUILD
index d388da196dfc..1c51d5adefaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,8 +14,7 @@ arch=('any')
url="https://www.archlinux.org"
license=('GPL')
groups=('selinux')
-depends=('pam-selinux>=1.4.0') # For module pam_faillock.so
-conflicts=("${pkgname/-selinux}" "selinux-${pkgname/-selinux}")
+conflicts=("${pkgname/-selinux}" "selinux-${pkgname/-selinux}" 'pam-selinux<1.4.0')
provides=("${pkgname/-selinux}=${pkgver}-${pkgrel}"
"selinux-${pkgname/-selinux}=${pkgver}-${pkgrel}")
source=('system-auth'