SHA256
1
0
forked from pool/pam_kwallet6

Accepting request 1181133 from KDE:Frameworks

Plasma 6.1

OBS-URL: https://build.opensuse.org/request/show/1181133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam_kwallet6?expand=0&rev=7
This commit is contained in:
Ana Guerrero 2024-06-22 11:22:15 +00:00 committed by Git OBS Bridge
commit d173bed0b4
8 changed files with 56 additions and 68 deletions

View File

@ -1,32 +0,0 @@
From 9be236e39ef3ac75772066ecc60cab2ca6f54e5c Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Thu, 14 Mar 2024 19:29:48 +0100
Subject: [PATCH 1/2] Allow specifing KWALLETD_BIN_PATH manually
That way the dependency on KF6::Wallet can be avoided.
---
CMakeLists.txt | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4f10b4f..643270e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,9 +43,12 @@ set(pam_kwallet_SRCS
pam_kwallet.c
)
-find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
+if (NOT KWALLETD_BIN_PATH)
+ message (STATUS "KWALLETD_BIN_PATH not set, trying KF6::Wallet")
+ find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
Wallet
-)
+ )
+endif ()
add_definitions(-DKWALLETD_BIN_PATH="${KWALLETD_BIN_PATH}")
--
2.43.0

View File

@ -8,11 +8,11 @@ This installs rather generic files so it's not necessary to query Qt here.
CMakeLists.txt | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 643270e..e94130b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@ find_package (ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE)
Index: kwallet-pam-%{_plasma6_version}git.20240421T181146~fa8c240/CMakeLists.txt
===================================================================
--- kwallet-pam-%{_plasma6_version}git.20240421T181146~fa8c240.orig/CMakeLists.txt
+++ kwallet-pam-%{_plasma6_version}git.20240421T181146~fa8c240/CMakeLists.txt
@@ -12,7 +12,7 @@ find_package (ECM ${KF6_MIN_VERSION} REQ
set (CMAKE_MODULE_PATH ${ECM_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" )
include(CheckFunctionExists)
@ -20,10 +20,10 @@ index 643270e..e94130b 100644
+include(GNUInstallDirs)
include(KDEClangFormat)
include(ECMConfiguredInstall)
include(KDEGitCommitHooks)
@@ -93,13 +93,11 @@ kde_clang_format(${ALL_CLANG_FORMAT_SOUR
@@ -90,13 +90,11 @@ target_link_libraries (${library_name}
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
-install(TARGETS ${library_name} DESTINATION ${KDE_INSTALL_LIBDIR}/security)
+install(TARGETS ${library_name} DESTINATION ${CMAKE_INSTALL_LIBDIR}/security)
@ -39,6 +39,3 @@ index 643270e..e94130b 100644
ecm_install_configured_files(INPUT plasma-kwallet-pam.service.in @ONLY DESTINATION
- ${KDE_INSTALL_SYSTEMDUSERUNITDIR})
+ ${CMAKE_INSTALL_PREFIX}/lib/systemd/user/)
--
2.43.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25c61128eaefb563e500547f650be293e75126ed5fc2fac574ef40cccbfd00db
size 22932

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmZM0GEACgkQ11dEg7tX
sY0M+g/+LEPV7bSqwOns+oVOjLyKB7ZDLT0NSjC4fPX3Itx2AgsWMRtpqSqCw6Br
WarmWhLoWKpn/jaak+7ZyN9j5xfq5wrjpycpzXq3/hhOQ0Fm4f1T3QoEdSVY7cGW
I6GSvaQRfzMzKTLmMwfRiJOxTjlJT887K5RwVRsWZ8TtTO1hgTb7cxGDqrxduVYi
Hsr+cBHZ00XHMwIVjUj4DFnasZvRDQaPhTgJyAxF3hZE7y+Meu9BFJYWkHA9IyDZ
iJAbsXMBodLC5DvTe0gbvmvXfv6tqJzdNVSOoCuACtAsxXti9d7s2b4NGVsCMmkw
ET2zIoOWHHRjJWYDP6S3wDHXSA+rgohsyTVnO2b4KDQv3Cii2SklmUS64c7CYMXa
AN314vIez69ovpsctd+sjEdh20E3L6WO6mpCUPAYqfLE2S4YqcZF9trxp92P4Het
+deQyAmQOxhZtDgG+nxBe1UPbUmyHr/XaDiso4bqYeHL4PZGfYgVcs1mY0KCoFBW
7bOsMB4S8nl7OMKBaHlUrOg4q06kQq7Tr7kJPJ+6sox0B9UPuys8rjOLUeZjr5xV
xp1JxNk8wgfQQjvcWdmRcpdNjQyadwA8i35gmPEsQbkFGkvek9W4MiM35NRM//z3
sFnp2kR1bkAu1+36sYYpohj8aQVehT68GvQHJzfMQVNqHTgA0/s=
=ZBED
-----END PGP SIGNATURE-----

3
kwallet-pam-6.1.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b21ed862e9751dfea938e557185ac8eaa24ae260ef795fb99ad74d3c4cb96a1a
size 23064

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmZqy20ACgkQ11dEg7tX
sY3E8xAAt0QPkjnU42sM3bnlXbhhgZKCULlOZMbESqxYUr77Orq5x8TaNvwozMm4
kvOki4BFc6oa2QQEsXDV2Mx8u5Xh1C0yfydP//Ay8eJL35rqrTERrU+o+tpKgcqV
B40t1CnBG4xYyyQTzwsWOWjMWErOuA/boPCIv1DsmR2FlEm9hk/zuehTD1ol1rbl
SkF9BPqZzIgfl9+khQezze0K6mOJZ3R0iNImKGXRp9C9mrCRcSgKr22eEPOfes+u
26pti61c4siDRMXsmYQ2v9TYJ9ncL5LJY9yTBfd6YP95nICD9UddeKwnqhnVx0s/
Hsh0CDlQpiRsLpq0DQGGB4gGAuLLutssBQytLIEJqiI906Dx9xfGPngGa3YeRM92
/heGH9DZIjsE8SBhBxnCNY81qtas6Lr56HLnVGZaPwXWNT6tpBxFFfDlO4r6NCVd
Xbz66Dcyxaa2I1JHFcXTHuI21cfBahwhV04dSzj847Pdd/R4Tdj7mrcUFRuwh++s
7ILedaBrz3w9XnoueyKhqJQBDUUaWwIlpLMjkGprBwxncvEszoQzMrjfHka7881O
rluXtY3b8KBDePnDODsBJcjtfXHCk5zHSLIgZ0ihFu76qxgB4sUiH1kLo5GJIEGi
5kgZPtlksZwPyxy5G60buuNwvJdb+Zjh9LNaXAJXx4dUk8gsKo4=
=hggG
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Jun 13 10:58:39 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.0
- Changes since 6.0.90:
* update version for new release
-------------------------------------------------------------------
Sat May 25 11:18:58 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.0.90
- Changes since 6.0.5:
* update version for new release
* Add clang-format commit hook
* Move cmake_minimum_required above project
* Allow specifing KWALLETD_BIN_PATH manually
- Drop patches, now upstream:
* 0001-Allow-specifing-KWALLETD_BIN_PATH-manually.patch
- Refresh 0002-Use-GNUInstallDirs-instead-of-KDEInstallDirs.patch
-------------------------------------------------------------------
Wed May 22 07:43:10 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -16,27 +16,26 @@
#
%define kf6_version 6.0.0
%define kf6_version 6.2.0
%define qt6_version 6.6.0
%define rname kwallet-pam
%bcond_without released
Name: pam_kwallet6
Version: 6.0.5
Version: 6.1.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/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
Source: %{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
Source1: %{rname}-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
Source3: baselibs.conf
# PATCH-FEATURE-OPENSUSE
Patch1: 0001-Allow-specifing-KWALLETD_BIN_PATH-manually.patch
Patch2: 0002-Use-GNUInstallDirs-instead-of-KDEInstallDirs.patch
Patch0: 0002-Use-GNUInstallDirs-instead-of-KDEInstallDirs.patch
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: pam-devel
BuildRequires: pkgconfig