diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-07-18 22:00:32 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-07-18 22:00:58 +0200 |
commit | 154e8fb9324bda4fa1a364bc67785caa39d97c4c (patch) | |
tree | a41a34d2274714f7e726119a69477fd69ab98827 /kde-plasma/kwallet-pam | |
parent | dev-lang/julia: add new ebuild for 0.6.0 (diff) | |
download | gentoo-154e8fb9324bda4fa1a364bc67785caa39d97c4c.tar.gz gentoo-154e8fb9324bda4fa1a364bc67785caa39d97c4c.tar.bz2 gentoo-154e8fb9324bda4fa1a364bc67785caa39d97c4c.zip |
kde-plasma: Add KDE Plasma 5.10.4
Package-Manager: Portage-2.3.6, Repoman-2.3.1
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.10.4.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/kde-plasma/kwallet-pam/Manifest b/kde-plasma/kwallet-pam/Manifest index ccf5a2b58428..e7d472ce565e 100644 --- a/kde-plasma/kwallet-pam/Manifest +++ b/kde-plasma/kwallet-pam/Manifest @@ -1,2 +1,3 @@ DIST kwallet-pam-5.10.3.tar.xz 17916 SHA256 f574d10866867325746fd5e59b8429ff83e8bd3bdaf2d9f2245949ea68dada5f SHA512 dcefe76ba92bd116627a5a10597f5dc3e9b6754a73e12e0d038ed78d9487e7fd96f55d820ff487102867cf0e57445bbc8fe809a573f8da1f193c761a41a03e54 WHIRLPOOL 03d896c3fa2296e39516693d056c953219383d3c4a422a10bd7b90b2cf6e41e7a4129d6e31570bd51898c630d80b1a1879c34fe46fb3515d80d0105e1ba8218f +DIST kwallet-pam-5.10.4.tar.xz 17912 SHA256 0227751c8f68970e184c2e723796bf11966ae045b904e7a6b07d1e4b9e7729ea SHA512 e6a7cfa743410ea6def35e9b8c81880e9627a4035dddc1d5d269a63451e1852e0d1f0f9bc516a39ce5778222df79286d807f039842d5557e5d36daf368320d46 WHIRLPOOL b762f2e36429810d91a11e8a5b448fda7c776e8cbe3f43fb359cc48ce924ab4456832f26a11005a3042a294d3c85aa4b47f4f4cc41868e7f18a60de987c18f81 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.4.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.10.4.ebuild new file mode 100644 index 000000000000..c91205f1557b --- /dev/null +++ b/kde-plasma/kwallet-pam/kwallet-pam-5.10.4.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" +} |