lintian检查以及版权修改
This commit is contained in:
parent
23b1dc268a
commit
ed3acc76f3
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2023 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023 KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2023 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023 KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2023 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023 KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2023 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023 KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,58 +1,81 @@
|
|||
ukui-biometric-auth (4.0.0.0-ok1~0426) yangtze; urgency=medium
|
||||
ukui-biometric-auth (4.0.0.5-1) unstable; urgency=medium
|
||||
|
||||
* BUG号:无
|
||||
* 需求号:无
|
||||
* 其他修改说明:合并V101、V101-tablet代码
|
||||
* New upstream release.
|
||||
|
||||
-- Yang Min <yangmin@kylinos.cn> Wed, 26 Apr 2023 21:58:51 +0800
|
||||
-- liudun <liudun@kylinos.cn> Wed, 13 Dec 2023 21:40:12 +0800
|
||||
ukui-biometric-auth (1.2.2.1-2) unstable; urgency=medium
|
||||
|
||||
ukui-biometric-auth (3.22.0.0-ok7~0420) yangtze; urgency=medium
|
||||
* d/control: drop policykit-1, add pkexec. (Closes: #1025633)
|
||||
|
||||
* BUG号:无
|
||||
* 需求号:无
|
||||
* 其他修改说明:修复glib2.0头文件引用不规范导致的编译问题
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Mon, 21 Aug 2023 13:47:48 +0800
|
||||
|
||||
-- Yang Min <yangmin@kylinos.cn> Thu, 20 Apr 2023 16:16:16 +0800
|
||||
ukui-biometric-auth (1.2.2.1-1) unstable; urgency=medium
|
||||
|
||||
ukui-biometric-auth (3.22.0.0-ok6~0420) yangtze; urgency=medium
|
||||
[ Adrian Bunk ]
|
||||
* Fix FTBFS with new glib. (Closes: #1019990)
|
||||
|
||||
* BUG号:无
|
||||
* 需求号:无
|
||||
* 其他修改说明:解决libpam-biometric与libkysdk-log库同时加载时程序崩溃问题
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Mon, 17 Oct 2022 17:57:05 +0800
|
||||
|
||||
-- Yang Min <yangmin@kylinos.cn> Thu, 20 Apr 2023 11:09:41 +0800
|
||||
ukui-biometric-auth (1.2.2-1) unstable; urgency=medium
|
||||
|
||||
ukui-biometric-auth (3.22.0.0-ok5~0417) yangtze; urgency=medium
|
||||
* New upstream release.
|
||||
|
||||
* BUG号:167371 【提权】A用户添加生物识别特征,B用户登录使用A用户进行提权时没有生物识别选项
|
||||
* 需求号:无
|
||||
* 其他修改说明:无
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Wed, 18 Aug 2021 19:30:31 +0800
|
||||
|
||||
-- Yang Min <yangmin@kylinos.cn> Mon, 17 Apr 2023 14:09:28 +0800
|
||||
ukui-biometric-auth (1.2.1-1) unstable; urgency=medium
|
||||
|
||||
ukui-biometric-auth (3.22.0.0-ok4~0413) yangtze; urgency=medium
|
||||
* New upstream bugfix release.
|
||||
|
||||
* BUG号:I643GT 【提权】授权窗口无图标
|
||||
* 需求号:无
|
||||
* 其他修改说明:无
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Sun, 27 Sep 2020 14:57:48 +0800
|
||||
|
||||
-- Yang Min <yangmin@kylinos.cn> Thu, 13 Apr 2023 17:59:37 +0800
|
||||
ukui-biometric-auth (1.2.0-1) unstable; urgency=medium
|
||||
|
||||
ukui-biometric-auth (3.22.0.0-ok3~1101) yangtze; urgency=medium
|
||||
* New upstream release.
|
||||
* debian/control:
|
||||
- Bump standards-vertion to 4.5.0.
|
||||
|
||||
* 其他修改说明:修复编包问题,重新编包
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Mon, 24 Feb 2020 22:07:07 +0800
|
||||
|
||||
-- Yang Min <yangmin@kylinos.cn> Tue, 01 Nov 2022 11:21:52 +0800
|
||||
ukui-biometric-auth (1.0.4-1) unstable; urgency=medium
|
||||
|
||||
ukui-biometric-auth (3.22.0.0-ok1~1024) yangtze; urgency=medium
|
||||
* Upload to unstable.
|
||||
* New upstream release.
|
||||
* debian/control:
|
||||
- Bump standards-version to 4.4.1. No changes needed.
|
||||
* debian/{compat,control}:
|
||||
- Use debhelper-compat notation. Bump to DH compat level
|
||||
version 12.
|
||||
|
||||
* BUG号:143415 【安全套件】卫士通Ukey绑定后授权提示信息乱码
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Sat, 30 Nov 2019 17:16:35 +0800
|
||||
|
||||
-- Yang Min <yangmin@kylinos.cn> Mon, 24 Oct 2022 09:33:25 +0800
|
||||
ukui-biometric-auth (1.0.3-2) experimental; urgency=medium
|
||||
|
||||
ukui-biometric-auth (1.2.0.1kylin60-ok2~0707) yangtze; urgency=medium
|
||||
* Debian/control:
|
||||
- libpam-biometric: Breaks and Replaces ukui-polkit(<<1.0.3)
|
||||
(Closes: #925377)
|
||||
|
||||
* Bug:
|
||||
- #127121 点击重启服务没反应
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Wed, 27 Mar 2019 11:58:32 +0800
|
||||
|
||||
-- Xie Wei <xiewei@kylinos.cn> Fri, 20 May 2022 16:33:24 +0800
|
||||
ukui-biometric-auth (1.0.3-1) experimental; urgency=medium
|
||||
|
||||
* The dialog of su or sudo is replaced by command output.
|
||||
* Autorestart biometric authentication if authentication failed.
|
||||
* Change the path of some config files.
|
||||
* Add biodrvctl script to control driver status.
|
||||
* Add fr/pt/ru/es translation.
|
||||
* Add a series of biometric image.
|
||||
* migrate to cmake.
|
||||
* Fix the bug that polit can't load qm file.
|
||||
* Fix the bug that polkit can't load icon.
|
||||
* Fix the bug that polkit doesn't exit when logout.
|
||||
* debian/control:
|
||||
- Now ukui-polkit provides polkit-1-auto-agent.
|
||||
- Bump standards-version to 4.3.0.
|
||||
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Thu, 21 Mar 2019 10:55:27 +0800
|
||||
|
||||
ukui-biometric-auth (1.0.2-1) unstable; urgency=medium
|
||||
|
||||
* Initial release. (Closes: #908469)
|
||||
|
||||
-- handsome_feng <jianfengli@ubuntukylin.com> Tue, 25 Sep 2018 15:37:06 +0800
|
||||
|
|
|
@ -2,26 +2,27 @@ Source: ukui-biometric-auth
|
|||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
|
||||
Uploaders: handsome_feng <jianfengli@ubuntukylin.com>
|
||||
Uploaders: handsome_feng <jianfengli@ubuntukylin.com>,
|
||||
liudun <liudun@kylinos.cn>
|
||||
Build-Depends: cmake (>= 2.6),
|
||||
debhelper-compat (= 12),
|
||||
debhelper-compat (= 13),
|
||||
libglib2.0-dev,
|
||||
libgsettings-qt-dev,
|
||||
libkysdk-system-dev,
|
||||
libopencv-dev,
|
||||
libpam-dev,
|
||||
libpolkit-qt5-1-dev,
|
||||
libqt5svg5-dev,
|
||||
libukui-log4qt-dev,
|
||||
pkg-config,
|
||||
qtbase5-dev,
|
||||
qttools5-dev,
|
||||
qttools5-dev-tools,
|
||||
libkysdk-sysinfo-dev,
|
||||
libukui-log4qt-dev
|
||||
Standards-Version: 4.5.0
|
||||
qttools5-dev-tools
|
||||
Standards-Version: 4.6.1.0
|
||||
Rules-Requires-Root: no
|
||||
Homepage: https://github.com/ukui/ukui-biometric-auth
|
||||
Vcs-Git: https://github.com/ukui/ukui-biometric.git
|
||||
Vcs-Browser: https://github.com/ukui/ukui-biometric-auth
|
||||
Homepage: https://gitee.com/openkylin/ukui-biometric-auth
|
||||
Vcs-Git: https://gitee.com/openkylin/ukui-biometric.git
|
||||
Vcs-Browser: https://gitee.com/openkylin/ukui-biometric-auth
|
||||
|
||||
Package: libpam-biometric
|
||||
Architecture: any
|
||||
|
@ -36,7 +37,7 @@ Description: Insertable authentication module for PAM
|
|||
|
||||
Package: ukui-polkit
|
||||
Architecture: any
|
||||
Depends: policykit-1, ${misc:Depends}, ${shlibs:Depends}
|
||||
Depends: pkexec, ${misc:Depends}, ${shlibs:Depends}
|
||||
Suggests: biometric-auth
|
||||
Provides: polkit-1-auth-agent
|
||||
Description: UKUI authentication agent for PolicyKit-1
|
||||
|
|
|
@ -1,23 +1,16 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: ukui-biometric-auth
|
||||
Upstream-Contact: yanghao@kylinos.cn
|
||||
Source: https://github.com/ukui/ukui-biometric-auth
|
||||
Upstream-Contact: yangmin <yangmin@kylinos.cn>
|
||||
Source: https://gitee.com/openkylin/ukui-biometric-auth
|
||||
|
||||
Files: *
|
||||
Copyright: 2018, yanghao <yanghao@kylinos.cn>
|
||||
Copyright: 2023, KylinSoft Co., Ltd.
|
||||
License: GPL-3+
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
|
||||
License: GPL-3+
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Genaral Public License for more details.
|
||||
.
|
||||
You should have received a copy og the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
the Free Software Foundation; version 3 dated June, 2007, or (at
|
||||
your option) any later version.
|
||||
On Debian systems, the complete text of version 3 of the GNU General
|
||||
Public License can be found in '/usr/share/common-licenses/GPL-3'.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/usr/share/ukui-biometric/ukui-biometric.conf
|
||||
/usr/share/dbus-1/system-services/org.ukui.UniauthBackend.service
|
||||
/etc/dbus-1/system.d/org.ukui.UniauthBackend.conf
|
||||
/lib/security/*
|
||||
/usr/bin/*
|
||||
/usr/share/dbus-1/system-services/org.ukui.UniauthBackend.service
|
||||
/usr/share/dbus-1/system.d/org.ukui.UniauthBackend.conf
|
||||
/usr/share/pam-configs/*
|
||||
/usr/share/polkit-1/actions/*.policy
|
||||
/usr/share/ukui-biometric/i18n_qm/*.qm
|
||||
/usr/share/ukui-biometric/i18n_qm/bioauth-bin/*.qm
|
||||
/usr/share/ukui-biometric/images/
|
||||
/usr/share/ukui-biometric/ukui-biometric.conf
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
man/bioauth.1
|
||||
man/bioctl-helper.1
|
||||
man/bioctl.1
|
||||
man/biodrvctl.1
|
||||
man/biorestart.1
|
||||
man/uniauth-backend.1
|
||||
|
|
|
@ -39,7 +39,8 @@ set_opt(){
|
|||
sed -i "s/\[${section}\]/\[${section}\]\n${key}\=${val}/g" ${file}
|
||||
fi
|
||||
else
|
||||
echo -e "\n[${section}]\n${key}=${val}" >> ${file}
|
||||
echo "[${section}]" >> ${file}
|
||||
echo "${key}=${val}" >> ${file}
|
||||
sed -i "s/\-e//g" ${file}
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
3.0 (native)
|
||||
3.0 (quilt)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/etc/xdg/*
|
||||
/usr/share/applications/*
|
||||
/usr/lib/*
|
||||
/usr/share/applications/*
|
||||
/usr/share/ukui-biometric/i18n_qm/polkit/*.qm
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -7,12 +7,12 @@ export TEXTDOMAIN=biodrvctl
|
|||
|
||||
function usage()
|
||||
{
|
||||
echo -e "Usage:"
|
||||
echo -e " biodrvctl "$(gettext "COMMAND DRIVER-NAME")
|
||||
echo "Usage:"
|
||||
echo " biodrvctl "$(gettext "COMMAND DRIVER-NAME")
|
||||
echo
|
||||
echo -e "Build-in command:"
|
||||
echo -e " enable\t"$(gettext "Enable device's driver")
|
||||
echo -e " disable\t"$(gettext "Disable device's driver")
|
||||
echo "Build-in command:"
|
||||
echo " enable "$(gettext "Enable device's driver")
|
||||
echo " disable "$(gettext "Disable device's driver")
|
||||
}
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
|
|
|
@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.6)
|
|||
project(ukui-polkit-agent)
|
||||
|
||||
pkg_check_modules(QGS REQUIRED gsettings-qt)
|
||||
#pkg_search_module(GSETTINGS_QT REQUIRED gsettings-qt)
|
||||
pkg_check_modules(KDKINFO REQUIRED kysdk-sysinfo)
|
||||
#pkg_search_module(KDKINFO REQUIRED kysdk-sysinfo)
|
||||
|
||||
find_package(PolkitQt5-1 REQUIRED 0.103.0)
|
||||
find_package(Qt5 COMPONENTS Core Widgets DBus X11Extras Xml Network Svg)
|
||||
|
@ -61,6 +63,8 @@ add_executable(polkit-ukui-authentication-agent-1 ${polkit_SRCS})
|
|||
target_link_libraries(polkit-ukui-authentication-agent-1
|
||||
Qt5::Core Qt5::Widgets Qt5::DBus ${EXTRA_LIBS}
|
||||
${POLKITQT-1_LIBRARIES}
|
||||
${QGS_LIBRARIES}
|
||||
${KDKINFO_LIBRARIES}
|
||||
BioAuthWidgets
|
||||
-lrt
|
||||
-lukui-log4qt
|
||||
|
|
|
@ -77,8 +77,7 @@ Exec=${LIB_ARCH_PATH}/ukui-polkit/polkit-ukui-authentication-agent-1
|
|||
Icon=ukui-polkit
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=
|
||||
OnlyShowIn=UKUI;MATE
|
||||
OnlyShowIn=UKUI
|
||||
X-UKUI-StartupNotify=false
|
||||
X-UKUI-AutoRestart=true
|
||||
X-UKUI-Autostart-Phase=Application
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**/
|
||||
#include "kalabel.h"
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**/
|
||||
#ifndef KALABEL_H
|
||||
#define KALABEL_H
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -748,7 +748,7 @@ void MainWindow::setPrompt(const QString &text, bool echo)
|
|||
/*
|
||||
转换pam英文提示,目前转换的就3个翻译
|
||||
Authenticated failed, account locked!
|
||||
Authenticated failed, 1 login attemps left
|
||||
Authenticated failed, 1 login attempts left
|
||||
Account locked, 4 minutes left
|
||||
*/
|
||||
QString MainWindow::check_is_pam_message(QString text)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**/
|
||||
#include "modeButton.h"
|
||||
|
||||
#include <QIcon>
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
/*
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**/
|
||||
#ifndef MODEBUTTON_H
|
||||
#define MODEBUTTON_H
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -22,5 +22,5 @@ add_executable(uniauth-backend ${bin_SRCS})
|
|||
target_link_libraries(uniauth-backend Qt5::Core Qt5::DBus -lukui-log4qt)
|
||||
|
||||
install(TARGETS uniauth-backend DESTINATION bin)
|
||||
install(FILES org.ukui.UniauthBackend.conf DESTINATION /etc/dbus-1/system.d/)
|
||||
install(FILES org.ukui.UniauthBackend.conf DESTINATION /usr/share/dbus-1/system.d/)
|
||||
install(FILES org.ukui.UniauthBackend.service DESTINATION /usr/share/dbus-1/system-services/)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2022 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Tianjin KYLIN Information Technology Co., Ltd.
|
||||
* Copyright (C) 2023, KylinSoft Co., Ltd.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
Loading…
Reference in New Issue