Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5cb05ff2b9
!34 【Mainline】Update to 1.4.3
From: @yixiangzhike 
Reviewed-by: @houmingyong, @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
2024-01-04 02:44:35 +00:00
yixiangzhike
dc49c8e735 Update to 1.4.3 2023-12-18 18:30:35 +08:00
openeuler-ci-bot
a15174b3ca
!29 【Mainline】update to 1.4.2
From: @yixiangzhike 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
2023-01-18 06:11:45 +00:00
yixiangzhike
6cb3034eb4 update to 1.4.2
Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
2023-01-17 14:28:04 +08:00
openeuler-ci-bot
fbcf4b9190
!23 cli: fix memory handling with new popt library
From: @panxh_purple 
Reviewed-by: @houmingyong, @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
2022-08-16 01:24:51 +00:00
panxiaohe
c332bec1c3 cli: fix memory handling with new popt library 2022-08-15 17:29:10 +08:00
openeuler-ci-bot
a6883f52aa
!20 【Mainline】provide default directory
From: @yixiangzhike 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-05-23 02:05:07 +00:00
yixiangzhike
c115ec27f2 provide default directory
Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
2022-05-15 11:35:09 +08:00
openeuler-ci-bot
9a28df7247
!17 【Mainline】delete duplicate file from authselect-help
From: @yixiangzhike 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
2022-05-05 11:05:36 +00:00
yixiangzhike
0c5616b3b4 delete duplicate file from authselect-help 2022-04-29 16:31:49 +08:00
4 changed files with 26 additions and 58 deletions

Binary file not shown.

BIN
authselect-1.4.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,47 +0,0 @@
From 9b2b28a314e56f6334b99de9e5345811a6385ca4 Mon Sep 17 00:00:00 2001
From: yixiangzhike <yixiangzhike007@163.com>
Date: Thu, 13 Jan 2022 10:58:52 +0800
Subject: [PATCH] revert "remove authselect compat package"
---
Makefile.am | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 9e1ea66..5ceeaca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,7 @@ SUBDIRS= \
po \
profiles \
src/common \
+ src/compat \
src/lib \
src/cli \
src/tests \
@@ -23,22 +24,8 @@ EXTRA_DIST = \
scripts/release-version.sh \
scripts/po-linguas.sh \
scripts/zanata-hooks.sh \
- src/compat/authcompat_ConfigSnippet.py \
- src/compat/authcompat_EnvironmentFile.py \
- src/compat/authcompat_Options.py \
- src/compat/authcompat.py.in.in \
- src/compat/Makefile.am \
- src/compat/Makefile.in \
- src/compat/snippets \
- src/compat/snippets/authconfig-krb.conf \
- src/compat/snippets/authconfig-sssd.conf \
$(NULL)
-CLEANFILES = \
- src/compat/authcompat.py.in \
- src/compat/Makefile \
- $(NULL)
-
# Create authselect directories
authselect_config_dir=@AUTHSELECT_CONFIG_DIR@
authselect_vendor_dir=@AUTHSELECT_VENDOR_DIR@
--
1.8.3.1

View File

@ -1,19 +1,17 @@
Name: authselect
Version: 1.2.4
Release: 3
Version: 1.4.3
Release: 1
Summary: A tool to select system authentication and identity sources from a list of supported profiles
License: GPLv3+
URL: https://github.com/authselect/authselect
Source0: https://github.com/authselect/authselect/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: authselect-revert-remove-authselect-compat-package.patch
BuildRequires: autoconf gettext-devel automake libtool popt-devel libcmocka-devel
BuildRequires: m4 gcc pkgconfig pkgconfig(popt) po4a asciidoc python3-devel
BuildRequires: libselinux-devel
Requires: grep sed systemd gawk coreutils findutils pam >= 1.3.1
Obsoletes: authselect-libs
Provides: authselect-libs
Obsoletes: authselect-libs < %{version}-%{release}
Provides: authselect-libs = %{version}-%{release}
%description
Authselect is designed to be a replacement for authconfig (which is the default tool for this
@ -59,7 +57,10 @@ package is used to develop a front-end for the authselect library.
%build
autoreconf -ivf
%configure
%configure \
--with-compat \
--with-pythonbin=%{__python3}
%make_build
%install
@ -79,6 +80,8 @@ autoreconf -ivf
%postun -n %{name} -p /sbin/ldconfig
%files
%dir %{_sysconfdir}/authselect
%dir %{_sysconfdir}/authselect/custom
%defattr(-,root,root)
%license COPYING
%{_bindir}/authselect
@ -101,13 +104,25 @@ autoreconf -ivf
%files help
%defattr(-,root,root)
%{_datadir}/doc/authselect/*
%exclude %{_datadir}/doc/authselect/README.md
%{_mandir}/*
%posttrans compat
sed -i -E '/^\w+=$/d' %{_sysconfdir}/security/pwquality.conf.d/10-authconfig-pwquality.conf &> /dev/null
exit 0
%changelog
* Mon Dec 18 2023 yixiangzhike <yixiangzhike007@163.com> - 1.4.3-1
- update to 1.4.3
* Tue Jan 17 2023 yixiangzhike <yixiangzhike007@163.com> - 1.4.2-1
- update to 1.4.2
* Mon Aug 15 2022 panxiaohe <panxh.life@foxmail.com> - 1.2.4-6
- cli: fix memory handling with new popt library
* Sun May 15 2022 yixiangzhike <yixiangzhike007@163.com> - 1.2.4-5
- provide default directory /etc/authselect
* Fri Apr 29 2022 yixiangzhike <yixiangzhike007@163.com> - 1.2.4-4
- delete duplicate file README.md from authselect-help
* Mon Mar 21 2022 yixiangzhike <yixiangzhike007@163.com> - 1.2.4-3
- fix change date for version 1.2.4-2 in changelog