import authselect-1.2.2-1.el8
This commit is contained in:
parent
0c9113f023
commit
e66ad16452
@ -1 +1 @@
|
||||
5136bf93d7cbcbbcf039f1b180e5cb644758ed21 SOURCES/authselect-1.2.1.tar.gz
|
||||
7409561c3379931675241b7858ab27fee13bd2ed SOURCES/authselect-1.2.2.tar.gz
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/authselect-1.2.1.tar.gz
|
||||
SOURCES/authselect-1.2.2.tar.gz
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,42 @@
|
||||
From f2eaf5548f32cb4db51aa5002ad964a975310d5e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
|
||||
Date: Wed, 25 Nov 2020 14:05:00 +0100
|
||||
Subject: [PATCH] rhel8: Revert "profiles: add support for resolved"
|
||||
|
||||
systemd-resolved should not be enabled by default on rhel8.
|
||||
|
||||
This reverts commit c5294c508a940291440eb32d5d750f33baf1ae54.
|
||||
---
|
||||
profiles/minimal/nsswitch.conf | 2 +-
|
||||
profiles/nis/nsswitch.conf | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/profiles/minimal/nsswitch.conf b/profiles/minimal/nsswitch.conf
|
||||
index a9e4bc79a1090304542ccd8b43d1107eeb5304df..a39e4d32ebf79e8bf05f2db5753b01596222dc35 100644
|
||||
--- a/profiles/minimal/nsswitch.conf
|
||||
+++ b/profiles/minimal/nsswitch.conf
|
||||
@@ -2,7 +2,7 @@ aliases: files {exclude if "with-custom
|
||||
automount: files {exclude if "with-custom-automount"}
|
||||
ethers: files {exclude if "with-custom-ethers"}
|
||||
group: files {if "with-altfiles":altfiles }systemd {exclude if "with-custom-group"}
|
||||
-hosts: resolve [!UNAVAIL=return] files myhostname dns {exclude if "with-custom-hosts"}
|
||||
+hosts: files dns myhostname {exclude if "with-custom-hosts"}
|
||||
initgroups: files {exclude if "with-custom-initgroups"}
|
||||
netgroup: files {exclude if "with-custom-netgroup"}
|
||||
networks: files {exclude if "with-custom-networks"}
|
||||
diff --git a/profiles/nis/nsswitch.conf b/profiles/nis/nsswitch.conf
|
||||
index 50a3ffb7431a91b88b4bfef4c09df19310fac7e7..9bee7d839f84ff39d54cb6ead9dea38e51736b4d 100644
|
||||
--- a/profiles/nis/nsswitch.conf
|
||||
+++ b/profiles/nis/nsswitch.conf
|
||||
@@ -2,7 +2,7 @@ aliases: files nis {exclude if "with-custom-aliases"}
|
||||
automount: files nis {exclude if "with-custom-automount"}
|
||||
ethers: files nis {exclude if "with-custom-ethers"}
|
||||
group: files nis systemd {exclude if "with-custom-group"}
|
||||
-hosts: resolve [!UNAVAIL=return] files nis myhostname dns {exclude if "with-custom-hosts"}
|
||||
+hosts: files nis dns myhostname {exclude if "with-custom-hosts"}
|
||||
initgroups: files nis {exclude if "with-custom-initgroups"}
|
||||
netgroup: files nis {exclude if "with-custom-netgroup"}
|
||||
networks: files nis {exclude if "with-custom-networks"}
|
||||
--
|
||||
2.25.4
|
||||
|
@ -2,8 +2,8 @@
|
||||
%define _empty_manifest_terminate_build 0
|
||||
|
||||
Name: authselect
|
||||
Version: 1.2.1
|
||||
Release: 2%{?dist}
|
||||
Version: 1.2.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Configures authentication and identity sources from supported profiles
|
||||
URL: https://github.com/authselect/authselect
|
||||
|
||||
@ -12,11 +12,10 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
%global makedir %{_builddir}/%{name}-%{version}
|
||||
|
||||
Patch0001: 0001-po-update-translations.patch
|
||||
|
||||
# Downstream only
|
||||
Patch0901: 0901-rhel8-remove-mention-of-Fedora-Change-page-in-compat.patch
|
||||
Patch0902: 0902-rhel8-remove-ecryptfs-support.patch
|
||||
Patch0903: 0903-rhel8-Revert-profiles-add-support-for-resolved.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -125,6 +124,16 @@ find $RPM_BUILD_ROOT -name "*.a" -exec %__rm -f {} \;
|
||||
%files libs -f %{name}.lang -f %{name}-profiles.5.lang
|
||||
%dir %{_sysconfdir}/authselect
|
||||
%dir %{_sysconfdir}/authselect/custom
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/authselect.conf
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/dconf-db
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/dconf-locks
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/fingerprint-auth
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/nsswitch.conf
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/password-auth
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/postlogin
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/smartcard-auth
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/system-auth
|
||||
%ghost %attr(0644,root,root) %{_sysconfdir}/authselect/user-nsswitch.conf
|
||||
%dir %{_localstatedir}/lib/authselect
|
||||
%ghost %attr(0755,root,root) %{_localstatedir}/lib/authselect/backups/
|
||||
%ghost %attr(0644,root,root) %{_localstatedir}/lib/authselect/dconf-db
|
||||
@ -201,6 +210,15 @@ find $RPM_BUILD_ROOT -name "*.a" -exec %__rm -f {} \;
|
||||
|
||||
%global validfile %{_localstatedir}/lib/rpm-state/%{name}.config-valid
|
||||
|
||||
%preun
|
||||
if [ $1 == 0 ] ; then
|
||||
# Remove authselect symbolic links so all authselect files can be
|
||||
# deleted safely. If this fail, the uninstallation must fail to avoid
|
||||
# breaking the system by removing PAM files. However, the command can
|
||||
# only fail if it can not write to the file system.
|
||||
%{_bindir}/authselect uninstall
|
||||
fi
|
||||
|
||||
%pre libs
|
||||
%__rm -f %{validfile}
|
||||
if [ $1 -gt 1 ] ; then
|
||||
@ -268,6 +286,9 @@ exit 0
|
||||
exit 0
|
||||
|
||||
%changelog
|
||||
* Wed Nov 25 2020 Pavel Březina <pbrezina@redhat.com> - 1.2.2-1
|
||||
- Rebase to authselect-1.2.2 (RHBZ #1892761)
|
||||
|
||||
* Fri Jun 19 2020 Pavel Březina <pbrezina@redhat.com> - 1.2.1-2
|
||||
- Update translations (RHBZ #1820533)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user