summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-05-11 21:31:41 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-05-11 22:20:09 +1000
commit58c29c1d9f1987d4348da66537bcfd19d5f71bf2 (patch)
tree03ed4b30a6b97bf23e91cf328f9782f97663c581 /kde-plasma/kwallet-pam
parentsys-kernel/hardened-sources: remove older unstable (diff)
downloadgentoo-58c29c1d9f1987d4348da66537bcfd19d5f71bf2.tar.gz
gentoo-58c29c1d9f1987d4348da66537bcfd19d5f71bf2.tar.bz2
gentoo-58c29c1d9f1987d4348da66537bcfd19d5f71bf2.zip
kde-plasma: version bump 5.6.4
Package-Manager: portage-2.2.28
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.6.4.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/kde-plasma/kwallet-pam/Manifest b/kde-plasma/kwallet-pam/Manifest
index ab942f605aae..959c26b3be63 100644
--- a/kde-plasma/kwallet-pam/Manifest
+++ b/kde-plasma/kwallet-pam/Manifest
@@ -1,2 +1,3 @@
DIST kwallet-pam-5.5.5.tar.xz 16280 SHA256 19c153a0593232767b370a1310f16d13673caba13842571bb7cb01535ba89336 SHA512 7daf595c110df7277a609590bb48da8a038c8516ed3bd6a6f55cdb73df850ef6989f248e5ed7b7128abd5fda0b358b4d695043c974d49451a0037b8a3280c92a WHIRLPOOL 7601debd5eed6baf4bddf98fff424280999e95bc30000663254b391e673df7b191f112689d3914d9dfec3f0bf3142fbe88b8d30b159563be659c9cc91a65ea49
DIST kwallet-pam-5.6.3.tar.xz 17576 SHA256 f63c184d90207545eae1a5d646bfc1e8100ed6c7db9faffe649ee2b3efd0c5ff SHA512 6221c25e4a1feea766a8a9fa5a5934ebf221b1a3dba48bab0586bf3cbefdc03be1c770aeecc84d8d1ab3f80c6e3072dc6bcfa6d73b8dc527ddf384aebbc153d8 WHIRLPOOL 5e93597fb29f60e1f271e12d2caa976db2060deb0c54080d553c6e63b270895d9493dbabd1202910b86e3129f505e1e3f56cc965493bba4581b47571ba07d183
+DIST kwallet-pam-5.6.4.tar.xz 17576 SHA256 b20b2cd55b6f4c5e4c1f1590b783ff346e1ea6a1f8341b2c4ee4cf9c3bb425fb SHA512 42382799960b87b9f2abc69def4ed17485b35c4f33f9b0b7a0f0a64d8e9c2567c405e305b4f5b9060c8b141ee3d7727ca36a5f2a41d999a022bfd52702efe0a6 WHIRLPOOL 16e58985410087ddafd71a3b1dce5d55b963e45d951139b2f7311c1edd8d57b9bf5fa4998bc2ac9534ea2aebab61a487a86cdc495dbf85f01c9a437eb3511824
diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.6.4.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.6.4.ebuild
new file mode 100644
index 000000000000..7bb19fb2b1b5
--- /dev/null
+++ b/kde-plasma/kwallet-pam/kwallet-pam-5.6.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+inherit kde5 multilib
+
+DESCRIPTION="KWallet PAM module to not enter password again"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+ dev-libs/libgcrypt:0=
+ virtual/pam
+"
+DEPEND="${COMMON_DEPEND}
+ $(add_frameworks_dep extra-cmake-modules)
+"
+RDEPEND="${COMMON_DEPEND}
+ net-misc/socat
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_LIBDIR="/$(get_libdir)"
+ )
+
+ kde5_src_configure
+}
+
+pkg_postinst() {
+ check_dm() {
+ if [[ -e "${ROOT}${2}" ]] && \
+ 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
+ }
+ elog
+ 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"
+ has_version "kde-base/kdm" && check_dm "KDM" "/etc/pam.d/kde"
+ elog
+}