From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D901139695 for ; Mon, 5 Jun 2017 11:20:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FDE221C084; Mon, 5 Jun 2017 11:20:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5007621C084 for ; Mon, 5 Jun 2017 11:20:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12AD9341734 for ; Mon, 5 Jun 2017 11:20:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B2D37468 for ; Mon, 5 Jun 2017 11:20:14 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1496661595.e25a7df4a65053c79faf270140b9a4730da7e7bd.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kwallet-pam/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/kwallet-pam/kwallet-pam-5.8.7-r1.ebuild kde-plasma/kwallet-pam/kwallet-pam-5.9.5-r1.ebuild X-VCS-Directories: kde-plasma/kwallet-pam/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e25a7df4a65053c79faf270140b9a4730da7e7bd X-VCS-Branch: master Date: Mon, 5 Jun 2017 11:20:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ae61435f-75fa-4191-81b3-ede88ac49785 X-Archives-Hash: 2d09ed1d979e40043d2f5cd5de379f39 commit: e25a7df4a65053c79faf270140b9a4730da7e7bd Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jun 5 11:18:35 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Jun 5 11:19:55 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25a7df4 kde-plasma/kwallet-pam: Drop USE=oldwallet Gentoo-bug: 597610 Package-Manager: Portage-2.3.5, Repoman-2.3.1 kde-plasma/kwallet-pam/kwallet-pam-5.8.7-r1.ebuild | 53 ++++++++++++++++++++++ kde-plasma/kwallet-pam/kwallet-pam-5.9.5-r1.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.8.7-r1.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.8.7-r1.ebuild new file mode 100644 index 00000000000..c91205f1557 --- /dev/null +++ b/kde-plasma/kwallet-pam/kwallet-pam-5.8.7-r1.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" +} diff --git a/kde-plasma/kwallet-pam/kwallet-pam-5.9.5-r1.ebuild b/kde-plasma/kwallet-pam/kwallet-pam-5.9.5-r1.ebuild new file mode 100644 index 00000000000..c91205f1557 --- /dev/null +++ b/kde-plasma/kwallet-pam/kwallet-pam-5.9.5-r1.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" +}