forked from pool/pam_kwallet6
Plasma 6 RC 2. Still untested...
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/pam_kwallet6?expand=0&rev=1
This commit is contained in:
commit
e822d13430
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
5
baselibs.conf
Normal file
5
baselibs.conf
Normal file
@ -0,0 +1,5 @@
|
||||
pam_kwallet6
|
||||
requires "pam_kwallet6 = <version>"
|
||||
supplements "packageand(pam_kwallet6:pam-<targettype>)"
|
||||
post "%{_sbindir}/pam-config -a --kwallet5 || :"
|
||||
post ":"
|
3
kwallet-pam-5.93.0.tar.xz
Normal file
3
kwallet-pam-5.93.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:762fcec596b08579923bf4049e19a1d4fcb85abc8b40ad910b3354c79699d287
|
||||
size 23016
|
16
kwallet-pam-5.93.0.tar.xz.sig
Normal file
16
kwallet-pam-5.93.0.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmW6LT8ACgkQ11dEg7tX
|
||||
sY04Bw/+P+jtbVZqtjFhe2YIFH2lDPUnBK5u3lhxmLHBzC3gmdnA3OxiIqPjAxJh
|
||||
R9Mm4Xl6gdRP/pzHWtUeQE9/K79jcd7xJZxFK74ygv+BoE/hXPiO7hdaxBaOvD2i
|
||||
QSCPwikinV4oqsVLLsBRi8HacZA6cgYm+edtN1pd10sHHpN0eFI/KeKK5Le7jYLC
|
||||
uMdC80af3LOydpwIDfdqNQcxpZ5vs+dO/xjUGreHSNc7T6xAc8mnM0XtUOs3Sbee
|
||||
1ErS8Hhg6A/x6gRHUe5vzSN87fwWbZT+/V/QdzPgzwscuMYTyIgqXNueaR4fMm3k
|
||||
TfMegZ3LqMbXmubuEObydAsUudOzxvrNuopBUGWq+boUbongN1iP1lU1HGErICek
|
||||
u+Tx7uYjldqqEpxRYt4rrkHTrGQx9dRmiKoNvnUL7CVW+Eiw4faT18u9RMzIbhMY
|
||||
L99PistiMjA5HauwZK3gFO4RonxibfK+Xq5SLzJ3ntDmUhAeFCPOecieBDWglEly
|
||||
sTsQtgmlGL4jv73U2D+RMf+ev5cAmv4YReHbi33FtxOFWXJ3jufkNWSkmiWKH7a6
|
||||
kXVsIB2d3g15AOUtZ8GF6mbu9540shrt1OD0SbcmcAuK1WwfMuF6XIqh0BEuwiVD
|
||||
BQxeXKkkeaacOGvJPABjXwNuhxgo1qXDXgNi6bi8pBf38SC33Oc=
|
||||
=BmKn
|
||||
-----END PGP SIGNATURE-----
|
19
pam_kwallet6.changes
Normal file
19
pam_kwallet6.changes
Normal file
@ -0,0 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 17:37:29 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.93.0 (6.0 RC 2):
|
||||
* New bugfix release
|
||||
* See https://kde.org/announcements/megarelease/6/rc2/ for details
|
||||
- No code changes since 5.92.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 21:09:08 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.92.0 (6.0 RC 1)
|
||||
* For more details please see:
|
||||
https://kde.org/announcements/megarelease/6/rc1/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 25 08:21:38 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init pam_kwallet6
|
120
pam_kwallet6.spec
Normal file
120
pam_kwallet6.spec
Normal file
@ -0,0 +1,120 @@
|
||||
#
|
||||
# spec file for package pam_kwallet6
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define kf6_version 5.240.0
|
||||
%define qt6_version 6.5.0
|
||||
|
||||
%define rname kwallet-pam
|
||||
|
||||
%bcond_without released
|
||||
Name: pam_kwallet6
|
||||
Version: 5.93.0
|
||||
Release: 0
|
||||
Summary: A PAM Module for KWallet signing
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-only AND GPL-3.0-only
|
||||
URL: https://www.kde.org/
|
||||
Source: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz
|
||||
%if %{with released}
|
||||
Source1: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
|
||||
Source2: plasma.keyring
|
||||
%endif
|
||||
Source3: baselibs.conf
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: socat
|
||||
BuildRequires: cmake(KF6Wallet) >= %{kf6_version}
|
||||
BuildRequires: pkgconfig(libgcrypt) >= 1.5.0
|
||||
# PAM modules need to be available for all archs of PAM on the system, otherwise pam-config
|
||||
# will not enable it.
|
||||
# Technically there can be different suffixes than just -32bit, but that's the most common.
|
||||
# Expressing a hard dependency the other way around in baselibs.conf is not possible.
|
||||
Requires: (%{name}-32bit if pam-32bit)
|
||||
Requires: pam_kwallet6-common = %{version}
|
||||
Requires(post): coreutils
|
||||
Requires(post): pam
|
||||
Requires(post): pam-config
|
||||
Requires(postun): coreutils
|
||||
Requires(postun): pam
|
||||
Requires(postun): pam-config
|
||||
Conflicts: pam_kwallet
|
||||
|
||||
%description
|
||||
This PAM module allows you to automatically open your kwallet
|
||||
when signing into your account.
|
||||
|
||||
%package common
|
||||
Summary: Support files for the KWallet PAM module
|
||||
Requires: kwalletd6
|
||||
Requires: socat
|
||||
Conflicts: pam_kwallet-common
|
||||
BuildArch: noarch
|
||||
|
||||
%description common
|
||||
This package contains support files used by the KWallet PAM
|
||||
module.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
# Before usrmerge, the PAM module goes into /lib*/security/
|
||||
%cmake_kf6 \
|
||||
%if 0%{?suse_version} < 1550
|
||||
-DKDE_INSTALL_LIBDIR=/%{_lib}
|
||||
%endif
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
# Due to boo#728586 it is necessary to duplicate this in the 32bit variant.
|
||||
# So you need to edit baselibs.conf if you change this.
|
||||
%post
|
||||
%{_sbindir}/pam-config -a --kwallet5 || :
|
||||
|
||||
%postun
|
||||
if [ "$1" = "0" ]; then
|
||||
%{_sbindir}/pam-config -d --kwallet5 || :
|
||||
fi
|
||||
|
||||
%post common
|
||||
%{systemd_user_post plasma-kwallet-pam.service}
|
||||
|
||||
%preun common
|
||||
%{systemd_user_preun plasma-kwallet-pam.service}
|
||||
|
||||
%postun common
|
||||
%{systemd_user_postun plasma-kwallet-pam.service}
|
||||
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%if 0%{?suse_version} >= 1550
|
||||
%{_pam_moduledir}/pam_kwallet5.so
|
||||
%else
|
||||
/%{_lib}/security/pam_kwallet5.so
|
||||
%endif
|
||||
|
||||
%files common
|
||||
%license LICENSES/*
|
||||
%config %{_kf6_configdir}/autostart/pam_kwallet_init.desktop
|
||||
%{_libexecdir}/pam_kwallet_init
|
||||
%{_userunitdir}/plasma-kwallet-pam.service
|
||||
|
||||
%changelog
|
BIN
plasma.keyring
Normal file
BIN
plasma.keyring
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user