summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/kwallet-pam')
-rw-r--r--kde-plasma/kwallet-pam/Manifest1
-rw-r--r--kde-plasma/kwallet-pam/kwallet-pam-5.10.1.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-plasma/kwallet-pam/Manifest b/kde-plasma/kwallet-pam/Manifest
index 403bd5ef40f9..4cb7a415506b 100644
--- a/kde-plasma/kwallet-pam/Manifest
+++ b/kde-plasma/kwallet-pam/Manifest
@@ -1,3 +1,4 @@
+DIST kwallet-pam-5.10.1.tar.xz 17908 SHA256 267db5af7e0f13033cf79bbb7fc476c7654bafce7e5a6c654f1e9d0a43383708 SHA512 7d2ba9e38f7b00e1eeb721762a37e19189dc0983daa89619d34cce44181d55a05bd5a75accc5d886a1794eab2c5935e29d943aa07d36433f79ae10c6087c57d1 WHIRLPOOL 762663dbd1084ad1e7c8eae3f33ddfd84b9dcfe6555324a15a3efd78bbe8c2c99d4d737fe3e9caadf2e051f7175e275b18e86123fc8380feb09fb49aef8c8e7b
DIST kwallet-pam-5.8.6.tar.xz 17760 SHA256 63bc9333a89d545465ab7cfb7d7a5cd61d8c098e454e06ea9a1b77c4cb0021c6 SHA512 279d7c663ee0802cd0d8939f1be0c4db0d8c416b2f118479b9c2eede59af7005cd3aa2f57817c0ef07f8e57ca63366b49a3d7d111d605c45f2887a04b330042c WHIRLPOOL 214ffc9d9ff033d4b5de4a9d8fc866b31bd765c38b9f714b16d250103e3c9a2da5e4f9502519050d1a3a5edf9852bdea0ae183e0c10cc3d001298623306b1c19
DIST kwallet-pam-5.8.7.tar.xz 17768 SHA256 51f74dd2ca2757aa5ef04bef17b825d2aef6d28728c957c87d445c3aa4b7835a SHA512 49e3a16bc81753066c7f080c73b8ee31fd34d193e4da5d569b5fbded4ac6315b3d401d927f0c4ce1e5e64bdda0c9509cc95c4ae0a5636340ddf4c1befcb37201 WHIRLPOOL 652a96eb9a7d31672b2a085750bb7121e797e7d79b720c22e0914cb6cfd8fb7c78ce0a87eb3bdebfda82f5181e1eff3cdcf5f8bbcf88f239a3e652412e483779
DIST kwallet-pam-5.9.5.tar.xz 17848 SHA256 361b2b53c8e1cf00b57ef17f9b15e6db9b3161e935f43abedec7775ff8ba9059 SHA512 120a2dd42faad9c71e0cea5a37fbc8112552a70df823215d7059ce8a2ba803508e91679e5f988d6a4e5357cb1c4046f528d84f7c9fff8b2305f8b16e616d5712 WHIRLPOOL a55d67260fa13b39cbc6ddf798a3bc37e498ace3b47672c44e761fc49817f2866647eb253b45b52bc239cc970c2c969fb81e3f99a0c020cba29df0a30b3d20ba
diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.10.1.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.10.1.ebuild
new file mode 100644
index 000000000000..c91205f1557b
--- /dev/null
+++ b/kde-plasma/kwallet-pam/kwallet-pam-5.10.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="KWallet PAM module to not enter password again"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/libgcrypt:0=
+ virtual/pam
+"
+RDEPEND="${DEPEND}
+ net-misc/socat
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)"
+ -DKWALLET4=0
+ )
+ kde5_src_configure
+}
+
+pkg_postinst() {
+ check_dm() {
+ if [[ -e "${ROOT}${2}" ]] ; then
+ if grep -Eq "auth\s+optional\s+pam_kwallet5.so" "${ROOT}${2}" && \
+ grep -Eq "session\s+optional\s+pam_kwallet5.so" "${ROOT}${2}" ; then
+ elog " ${1} - ${2} ...GOOD"
+ else
+ ewarn " ${1} - ${2} ...BAD"
+ fi
+ fi
+ }
+ elog "This package enables auto-unlocking of kde-frameworks/kwallet:5."
+ elog "List of things to make it work:"
+ elog "1. Use standard blowfish encryption instead of GPG"
+ elog "2. Use same password for login and kwallet"
+ elog "3. A display manager with support for PAM"
+ elog "4.a Have the following lines in the display manager's pam.d file:"
+ elog " -auth optional pam_kwallet5.so"
+ elog " -session optional pam_kwallet5.so auto_start"
+ elog "4.b Checking installed DMs..."
+ has_version "x11-misc/sddm" && check_dm "SDDM" "/etc/pam.d/sddm"
+ has_version "x11-misc/lightdm" && check_dm "LightDM" "/etc/pam.d/lightdm"
+ elog
+ elog "See also: https://wiki.gentoo.org/wiki/KDE#KWallet_auto-unlocking"
+}