add quilt format

This commit is contained in:
Yang Min 2024-09-23 19:33:42 +08:00
parent d948b5051b
commit 7bba614034
12 changed files with 308 additions and 0 deletions

144
debian/changelog vendored Normal file
View File

@ -0,0 +1,144 @@
ukui-biometric-auth (4.20.0.0-ok0.1) huanghe; urgency=medium
* BUG号
* 需求号:无
* 其他改动说明添加quilt格式
* 其他改动影响域:无
-- Yang Min <yangmin@kylinos.cn> Mon, 23 Sep 2024 19:29:25 +0800
ukui-biometric-auth (4.10.0.0-ok9) nile; urgency=medium
* BUG号
* 需求号:无
* 其他改动说明:添加维文翻译
* 其他改动影响域:无
-- Yang Min <yangmin@kylinos.cn> Tue, 27 Aug 2024 17:13:35 +0800
ukui-biometric-auth (4.10.0.0-ok8) nile; urgency=medium
* BUG号
* 需求号:无
* 其他改动说明更新desktop文件名
* 其他改动影响域:无
-- Kevin Duan <duankaiwen@kylinos.cn> Tue, 23 Apr 2024 10:31:46 +0800
ukui-biometric-auth (4.10.0.0-ok7) nile; urgency=medium
* BUG号
* 需求号:无
* 其他改动说明:更新维文翻译
* 其他改动影响域commit idc67110c
-- Kevin Duan <duankaiwen@kylinos.cn> Tue, 23 Apr 2024 10:31:46 +0800
ukui-biometric-auth (4.10.0.0-ok6~042313) nile; urgency=medium
* BUG号#I90LU8【次要】【提权】需要提权框进行授权时如添加新用户、生物特征管理工具中录入指纹提权授权框出现在左上角不居中
* 需求号:无
* 其他改动说明:无
* 其他改动影响域commit idc67110c
-- Yang Min <yangmin@kylinos.cn> Tue, 23 Apr 2024 10:31:46 +0800
ukui-biometric-auth (4.10.0.0-ok5~0105) nile; urgency=medium
* BUG号
* 需求号:无
* 其他修改说明Task190787 子 UKUI&Kylin应用捐赠事宜 / biometric-auth- & screensaver合规性修改
* commit id:d24cb3a
-- Yang Min <yangmin@kylinos.cn> Fri, 05 Jan 2024 17:37:41 +0800
ukui-biometric-auth (4.10.0.0-ok4~1212) nile; urgency=medium
* BUG号I8KQ18 【主要】【需求24683】【登录选项】登录界面不显示扫码登录
* 需求号:无
* 其他修改说明:无
-- Yang Min <yangmin@kylinos.cn> Tue, 12 Dec 2023 16:07:16 +0800
ukui-biometric-auth (4.10.0.0-ok3~1127) nile; urgency=medium
* BUG号
* 需求号:无
* 其他修改说明:修复未汉化问题
-- Yang Min <yangmin@kylinos.cn> Mon, 27 Nov 2023 17:41:11 +0800
ukui-biometric-auth (4.10.0.0-ok2~1117) nile; urgency=medium
* BUG号
* 需求号:无
* 其他修改说明:处理编译依赖问题
-- Yang Min <yangmin@kylinos.cn> Fri, 17 Nov 2023 10:06:56 +0800
ukui-biometric-auth (4.10.0.0-ok1~1116) nile; urgency=medium
* BUG号
* 需求号task#180727 更新多语言翻译
* 其他修改说明:增加用户个性化设置接口和单点登录接口
-- Yang Min <yangmin@kylinos.cn> Thu, 16 Nov 2023 14:45:37 +0800
ukui-biometric-auth (4.0.0.0-ok1~0426) yangtze; urgency=medium
* BUG号
* 需求号:无
* 其他修改说明合并V101、V101-tablet代码
-- Yang Min <yangmin@kylinos.cn> Wed, 26 Apr 2023 21:58:51 +0800
ukui-biometric-auth (3.22.0.0-ok7~0420) yangtze; urgency=medium
* BUG号
* 需求号:无
* 其他修改说明修复glib2.0头文件引用不规范导致的编译问题
-- Yang Min <yangmin@kylinos.cn> Thu, 20 Apr 2023 16:16:16 +0800
ukui-biometric-auth (3.22.0.0-ok6~0420) yangtze; urgency=medium
* BUG号
* 需求号:无
* 其他修改说明解决libpam-biometric与libkysdk-log库同时加载时程序崩溃问题
-- Yang Min <yangmin@kylinos.cn> Thu, 20 Apr 2023 11:09:41 +0800
ukui-biometric-auth (3.22.0.0-ok5~0417) yangtze; urgency=medium
* BUG号167371 【提权】A用户添加生物识别特征B用户登录使用A用户进行提权时没有生物识别选项
* 需求号:无
* 其他修改说明:无
-- Yang Min <yangmin@kylinos.cn> Mon, 17 Apr 2023 14:09:28 +0800
ukui-biometric-auth (3.22.0.0-ok4~0413) yangtze; urgency=medium
* BUG号:I643GT 【提权】授权窗口无图标
* 需求号:无
* 其他修改说明:无
-- Yang Min <yangmin@kylinos.cn> Thu, 13 Apr 2023 17:59:37 +0800
ukui-biometric-auth (3.22.0.0-ok3~1101) yangtze; urgency=medium
* 其他修改说明:修复编包问题,重新编包
-- Yang Min <yangmin@kylinos.cn> Tue, 01 Nov 2022 11:21:52 +0800
ukui-biometric-auth (3.22.0.0-ok1~1024) yangtze; urgency=medium
* BUG号143415 【安全套件】卫士通Ukey绑定后授权提示信息乱码
-- Yang Min <yangmin@kylinos.cn> Mon, 24 Oct 2022 09:33:25 +0800
ukui-biometric-auth (1.2.0.1kylin60-ok2~0707) yangtze; urgency=medium
* Bug:
- #127121 点击重启服务没反应
-- Xie Wei <xiewei@kylinos.cn> Fri, 20 May 2022 16:33:24 +0800

50
debian/control vendored Normal file
View File

@ -0,0 +1,50 @@
Source: ukui-biometric-auth
Section: admin
Priority: optional
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Uploaders: handsome_feng <jianfengli@ubuntukylin.com>
Build-Depends: cmake (>= 2.6),
debhelper-compat (= 12),
libglib2.0-dev,
libgsettings-qt-dev,
libopencv-dev,
libpam-dev,
libpolkit-qt5-1-dev,
libqt5svg5-dev,
pkg-config,
qtbase5-dev,
qttools5-dev,
qttools5-dev-tools,
libkysdk-sysinfo-dev,
libukui-log4qt-dev,
libssl-dev,
liblightdm-qt5-3-dev,
libkysdk-waylandhelper-dev,
libkf5windowsystem-dev (>= 5.92.0-ok5),
libx11-dev
Standards-Version: 4.5.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
Package: libpam-biometric
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: biometric-auth
Breaks: ukui-polkit (<<1.0.3)
Replaces: ukui-polkit (<<1.0.3)
Description: Insertable authentication module for PAM
The indispensable part for biometric authentication in
ukui desktop environment.
This package contains a modules for PAM.
Package: ukui-polkit
Architecture: any
Depends: policykit-1, ${misc:Depends}, ${shlibs:Depends}
Suggests: biometric-auth
Provides: polkit-1-auth-agent
Description: UKUI authentication agent for PolicyKit-1
The ukui-polkit package supports general authentication and
biometric authentication that the service is provided by the
biometric-auth package.

16
debian/copyright vendored Normal file
View File

@ -0,0 +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
Files: *
Copyright: 2023, KylinSoftCo., Ltd.
License: GPL-3+
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; 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'.

10
debian/libpam-biometric.install vendored Normal file
View File

@ -0,0 +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/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/

3
debian/libpam-biometric.manpages vendored Normal file
View File

@ -0,0 +1,3 @@
man/bioauth.1
man/bioctl.1
man/biodrvctl.1

54
debian/libpam-biometric.postinst vendored Normal file
View File

@ -0,0 +1,54 @@
#!/bin/sh
set -e
#DEBHELPER#
pam-auth-update --package
#update default conf
config_file=/etc/biometric-auth/ukui-biometric.conf
delimeter='='
get_opt(){
file=$1
section=$2
key=$3
val=$(awk -F "$delimeter" '/\['${section}'\]/{a=1}(a==1 && "'${key}'"==$1){print $2;exit}' ${file})
echo ${val}
}
is_key_exist(){
file=$1
section=$2
key=$3
is_exist=$(awk -F "$delimeter" '/\['${section}'\]/{a=1}(a==1 && "'${key}'"==$1){print '1';exit}' ${file})
echo ${is_exist}
}
set_opt(){
file=$1
section=$2
key=$3
val=$4
contain_section=$(awk '/\['${section}'\]/ {print NR}' ${file})
if [ ${#contain_section} -gt 0 ]; then
is_exist=$(is_key_exist $file $section $key)
if [ "${is_exist}" = "1" ]; then
awk -F "$delimeter" '/\['${section}'\]/{a=1}(a==1 && "'${key}'"==$1){gsub($2,"'${val}'");a=0} {print $0}' ${file} 1<>${file}
else
sed -i "s/\[${section}\]/\[${section}\]\n${key}\=${val}/g" ${file}
fi
else
echo -e "\n[${section}]\n${key}=${val}" >> ${file}
sed -i "s/\-e//g" ${file}
fi
}
if [ ! -f ${config_file} ]; then
mkdir -p /etc/biometric-auth
cp /usr/share/ukui-biometric/ukui-biometric.conf ${config_file}
else
set_opt ${config_file} General UseFirstDevice true
set_opt ${config_file} General MaxFailedTimes 5
set_opt ${config_file} Functions EnableQRCode true
fi

6
debian/libpam-biometric.prerm vendored Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
set -e
#DEBHELPER#
pam-auth-update --package --remove pam-biometric

8
debian/rules vendored Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export QT_SELECT := qt5
export NO_PKG_MANGLE=1
%:
dh $@

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

9
debian/source/include-binaries vendored Normal file
View File

@ -0,0 +1,9 @@
images/FingerPrint.gif
images/FingerPrint.png
images/FingerVein.gif
images/FingerVein.png
images/icon.png
images/Iris.gif
images/Iris.png
images/VoicePrint.gif
images/VoicePrint.png

4
debian/ukui-polkit.install vendored Normal file
View File

@ -0,0 +1,4 @@
/etc/xdg/*
/usr/share/applications/*
/usr/lib/*
/usr/share/ukui-biometric/i18n_qm/polkit/*.qm

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/ukui-biometric-auth-$1\.tar\.gz/ \
https://github.com/ukui/ukui-biometric-auth/releases .*/v?(\d\S+)\.tar\.gz