summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-06-27 13:33:43 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-06-27 18:42:19 +0200
commit713bb1df50f36712885d5dcb635b4c959b389ac5 (patch)
treea5ce482aa616a94c73f69aaed37aef073dff4dce /kde-plasma/kwallet-pam
parentwww-servers/nginx: Bump to v1.13.2 mainline (diff)
downloadgentoo-713bb1df50f36712885d5dcb635b4c959b389ac5.tar.gz
gentoo-713bb1df50f36712885d5dcb635b4c959b389ac5.tar.bz2
gentoo-713bb1df50f36712885d5dcb635b4c959b389ac5.zip
kde-plasma: KDE Plasma 5.10.3 version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1
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.3.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-plasma/kwallet-pam/Manifest b/kde-plasma/kwallet-pam/Manifest
index cecb60ab764c..3540b4d78458 100644
--- a/kde-plasma/kwallet-pam/Manifest
+++ b/kde-plasma/kwallet-pam/Manifest
@@ -1,4 +1,5 @@
DIST kwallet-pam-5.10.2.tar.xz 17904 SHA256 aac1cfbf83a1696d103468d7d3d38ebccf94d98c9cd30331aa886b625d167106 SHA512 a54ec02570be98e439f67f89da623c87616510a772e8f3e527370d5e082a2fc02df229c22021b9af0c308e4074fa3a89716648fd2fc2a613622cb9307b6315bf WHIRLPOOL 728076bd136d47d4de29ea2a1a103061c7431873676792e92e1aba4306adbb66f4975307f1f8327d63525df332352d77565b912153277592ddc8daa539b5a2d6
+DIST kwallet-pam-5.10.3.tar.xz 17916 SHA256 f574d10866867325746fd5e59b8429ff83e8bd3bdaf2d9f2245949ea68dada5f SHA512 dcefe76ba92bd116627a5a10597f5dc3e9b6754a73e12e0d038ed78d9487e7fd96f55d820ff487102867cf0e57445bbc8fe809a573f8da1f193c761a41a03e54 WHIRLPOOL 03d896c3fa2296e39516693d056c953219383d3c4a422a10bd7b90b2cf6e41e7a4129d6e31570bd51898c630d80b1a1879c34fe46fb3515d80d0105e1ba8218f
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.3.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.10.3.ebuild
new file mode 100644
index 000000000000..c91205f1557b
--- /dev/null
+++ b/kde-plasma/kwallet-pam/kwallet-pam-5.10.3.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"
+}