add kwallet-pam
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From 02ed7d968dc1c4e8140c73bfe8e9becac1e2aad7 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Sat, 29 Aug 2015 23:16:15 +0200
|
||||
Subject: [PATCH 1/2] use pkgconfig to find libgcrypt
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
CMakeLists.txt | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f60ac41..e04d6af 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -7,7 +7,8 @@ set(PROJECT_VERSION_MAJOR 5)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" )
|
||||
|
||||
find_package(PAM REQUIRED)
|
||||
-find_package(LibGcrypt 1.5.0 REQUIRED)
|
||||
+find_package(PkgConfig REQUIRED)
|
||||
+pkg_search_module(LIBGCRYPT REQUIRED libgcrypt)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
include_directories (
|
||||
--
|
||||
2.1.0
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From c469a2111eea16edb70e847b71011afd08ac4a84 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
|
||||
Date: Sat, 29 Aug 2015 23:35:46 +0200
|
||||
Subject: [PATCH 2/2] fix install path
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e04d6af..cbd4950 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -36,4 +36,4 @@ target_link_libraries (${library_name}
|
||||
${LIBGCRYPT_LIBRARIES}
|
||||
)
|
||||
|
||||
-install(TARGETS ${library_name} DESTINATION /${CMAKE_INSTALL_LIBDIR}/security)
|
||||
+install(TARGETS ${library_name} DESTINATION ${CMAKE_INSTALL_LIBDIR}/security)
|
||||
--
|
||||
2.1.0
|
||||
|
||||
25
recipes-kde/plasma/untier/kwallet-pam/kwallet-pam.bb
Normal file
25
recipes-kde/plasma/untier/kwallet-pam/kwallet-pam.bb
Normal file
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "Unlock KWallet using PAM"
|
||||
LICENSE = "LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
||||
"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "pam"
|
||||
|
||||
inherit kde-plasma distro_features_check
|
||||
|
||||
DEPENDS += " \
|
||||
libpam \
|
||||
libgcrypt \
|
||||
"
|
||||
|
||||
PV = "${PLASMA_VERSION}"
|
||||
SRC_URI[md5sum] = "fa968c4eecb73f4bc1cbb032d112eda9"
|
||||
SRC_URI[sha256sum] = "2c32c7e471f802ac959ad5f24279f2583f79e82944411ec18c26a08f1e94b1bc"
|
||||
SRC_URI += " \
|
||||
file://0001-use-pkgconfig-to-find-libgcrypt.patch \
|
||||
file://0002-fix-install-path.patch \
|
||||
"
|
||||
|
||||
FILES_${PN} += "${libdir}/security"
|
||||
FILES_${PN}-dbg += "${libdir}/security/.debug"
|
||||
Reference in New Issue
Block a user