diff options
author | Johannes Huber <johu@gentoo.org> | 2016-04-06 21:34:33 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-04-06 21:43:49 +0200 |
commit | 244143483d79122cb433381d37f3f482b747968c (patch) | |
tree | 141942602702353f6541470ee960e2c7fc5dd144 /kde-plasma/kwallet-pam | |
parent | profiles: mask net-libs/libqinfinity for removal (diff) | |
download | gentoo-244143483d79122cb433381d37f3f482b747968c.tar.gz gentoo-244143483d79122cb433381d37f3f482b747968c.tar.bz2 gentoo-244143483d79122cb433381d37f3f482b747968c.zip |
kde-plasma: Version bump KDE Plasma 5.6.2
Package-Manager: portage-2.2.28
Diffstat (limited to 'kde-plasma/kwallet-pam')
-rw-r--r-- | kde-plasma/kwallet-pam/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kwallet-pam/kwallet-pam-5.6.2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-plasma/kwallet-pam/Manifest b/kde-plasma/kwallet-pam/Manifest index fa3bc2778f4e..546698bc14c0 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.1.tar.xz 17540 SHA256 01d8a091c32da2e0d9824252994f070cfd0395e959c6408fbd020812873d409a SHA512 43d1874d9dab89e8f7d9de64e1e4a96defc95c4d093858933d66bd1a0cd5bea3f7435567c0e1aee010ab6b9d9707e7229ac77ecc296a84ae8291675ce88cb9f9 WHIRLPOOL a6463ab2d0d5e4479cfafe03c608aacd1382f763de02a8fd61303afcc4757207ed9d5dece18c17f39f244ad177b96c381d66fc1c9162d2170c92519fdb849a46 +DIST kwallet-pam-5.6.2.tar.xz 17544 SHA256 53bb18eea2e4f995d685cfcb42402c2fb7b46ff139ca6a87a0cc96475bfe2703 SHA512 ae580b2b299bd6479b49d83fce165c6e944598a4c049b0244cbb369afe88e3cdcca38d53c8df98b7fd5e1614e0000102c4bf0652c1986c4abefa46c8894fc2f0 WHIRLPOOL 1c3e779b6443f251b7a4dbc69ebb6e54071d2cabf6f291d16803f324e9ff1a91a8cc50624dcbc28e18c08feea68bd629889ef5d14a8c80e3b06a5457ee990e67 diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.6.2.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.6.2.ebuild new file mode 100644 index 000000000000..e16b8a3384f3 --- /dev/null +++ b/kde-plasma/kwallet-pam/kwallet-pam-5.6.2.ebuild @@ -0,0 +1,57 @@ +# 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}" ]] && \ + [[ -n $(egrep "auth\s+optional\s+pam_kwallet5.so" "${ROOT}${2}") ]] && \ + [[ -n $(egrep "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 same password for login and kwallet" + elog "2. A display manager with support for PAM" + elog "3.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 "3.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 +} |