feat(kiran auth 2.5): kiranui2.5 authentication service released
- KIRANUI-2.5版本认证服务发布
This commit is contained in:
parent
a3ed59b5fd
commit
1918de8290
@ -1,33 +0,0 @@
|
|||||||
From 1016fc08d59a344b922ebdf522ea5ac147676280 Mon Sep 17 00:00:00 2001
|
|
||||||
From: wangxiaoqing <wangxiaoqing@kylinsec.com.cn>
|
|
||||||
Date: Wed, 1 Mar 2023 11:00:52 +0800
|
|
||||||
Subject: [PATCH] fix(kiran-authentication-service): Modify the log information
|
|
||||||
level of zlog initialization failure to debug
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
- 修改zlog初始化失败的日志信息级别为debug
|
|
||||||
Closes #I6IFYZ
|
|
||||||
|
|
||||||
Signed-off-by: wangxiaoqing <wangxiaoqing@kylinsec.com.cn>
|
|
||||||
---
|
|
||||||
src/main.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/main.c b/src/main.c
|
|
||||||
index 9527572..14114d8 100644
|
|
||||||
--- a/src/main.c
|
|
||||||
+++ b/src/main.c
|
|
||||||
@@ -40,7 +40,7 @@ int main(int argc, char *argv[])
|
|
||||||
if (dzlog_init("/etc/zlog.conf", "kylinsec-system") < 0)
|
|
||||||
#endif
|
|
||||||
{
|
|
||||||
- g_warning("zlog init failed!");
|
|
||||||
+ g_debug("zlog init failed!");
|
|
||||||
}
|
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION(2, 36, 0)
|
|
||||||
--
|
|
||||||
2.36.1
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
kiran-authentication-service-2.5.0.tar.gz
Normal file
BIN
kiran-authentication-service-2.5.0.tar.gz
Normal file
Binary file not shown.
@ -1,29 +1,32 @@
|
|||||||
%global on_openeuler 1
|
|
||||||
|
|
||||||
Name: kiran-authentication-service
|
Name: kiran-authentication-service
|
||||||
Version: 0.0.2
|
Version: 2.5.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Kiran Desktop kiran authentication service
|
Summary: Kiran Desktop kiran authentication service
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
URL: http://www.kylinsec.com.cn
|
URL: http://www.kylinsec.com.cn
|
||||||
|
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch0: 0001-fix-kiran-authentication-service-Modify-the-log-info.patch
|
|
||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: systemd
|
||||||
%if 0%{?on_openeuler}
|
BuildRequires: systemd-devel
|
||||||
BuildRequires: zlog
|
BuildRequires: gcc
|
||||||
%else
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: zlog-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt5-linguist
|
||||||
|
BuildRequires: kiran-log-qt5-devel
|
||||||
BuildRequires: kiran-cc-daemon-devel
|
BuildRequires: kiran-cc-daemon-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: kiran-authentication-devices-devel
|
||||||
BuildRequires: json-glib-devel
|
|
||||||
BuildRequires: gcc
|
Requires: pam
|
||||||
BuildRequires: gcc-c++
|
Requires: qt5-qtbase
|
||||||
|
Requires: kiran-log-qt5
|
||||||
|
Requires: kiran-system-daemon
|
||||||
|
Requires: kiran-session-daemon
|
||||||
|
Requires: kiran-control-panel
|
||||||
|
Requires: kiran-authentication-devices
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Kiran authentication service is used to do system auth with password, fingerprint, face
|
Kiran authentication service is used to do system auth with password, fingerprint, face
|
||||||
@ -39,32 +42,31 @@ Development files for kiran authentication service
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%{__mkdir} -p %{buildroot}
|
||||||
%cmake
|
%cmake
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libexecdir}/kiran_authentication_service
|
%{_datadir}/polkit-1/actions/com.kylinsec.Kiran.Authentication.policy
|
||||||
%{_sysconfdir}/dbus-1/system.d/kiran_authentication.conf
|
%{_sysconfdir}/dbus-1/system.d/com.kylinsec.Kiran.Authentication.conf
|
||||||
%{_sysconfdir}/kiran-authentication-service/custom.conf
|
%{_datadir}/dbus-1/system-services/com.kylinsec.Kiran.Authentication.service
|
||||||
%{_sysconfdir}/pam.d/kiran-auth-service
|
%{_prefix}/lib/systemd/system/kiran-authentication-daemon.service
|
||||||
%{_datadir}/dbus-1/system-services/com.kylinsec.Kiran.SystemDaemon.Authentication.service
|
%{_sysconfdir}/kiran-authentication-service/kad.ini
|
||||||
%{_prefix}/lib/systemd/system/kiran-system-daemon-authentication.service
|
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.zh_CN.qm
|
||||||
%{_libdir}/libkiran-authentication-service.so.0.0.1
|
%{_bindir}/kiran-authentication-daemon
|
||||||
%{_libdir}/libkiran-authentication-service.so.0.1
|
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.zh_CN.qm
|
||||||
%{_libdir}/security/pam_kiran_authentication.so
|
%{_libdir}/security/pam_kiran_authentication.so
|
||||||
%{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-authentication-service.mo
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/kiran-authentication-service/authentication_i.h
|
%{_includedir}/kiran-authentication-service/kas-authentication-i.h
|
||||||
%{_libdir}/pkgconfig/kiran-authentication-service.pc
|
|
||||||
%{_libdir}/libkiran-authentication-service.so
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 04 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.5.0-1
|
||||||
|
- KYOS-F: New version authentication service
|
||||||
|
|
||||||
* Wed Mar 01 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 0.0.2-2
|
* Wed Mar 01 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 0.0.2-2
|
||||||
- KYOS-B: Modify the log information level of zlog initialization failure to debug.
|
- KYOS-B: Modify the log information level of zlog initialization failure to debug.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user