public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kwallet-pam/
Date: Mon,  5 Jun 2017 11:20:14 +0000 (UTC)	[thread overview]
Message-ID: <1496661595.e25a7df4a65053c79faf270140b9a4730da7e7bd.asturm@gentoo> (raw)

commit:     e25a7df4a65053c79faf270140b9a4730da7e7bd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  5 11:18:35 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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"
+}


             reply	other threads:[~2017-06-05 11:20 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-05 11:20 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-10 10:13 [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kwallet-pam/ WANG Xuerui
2023-08-16 13:33 Arthur Zamarin
2023-08-16 13:23 Arthur Zamarin
2023-07-23 21:54 Sam James
2023-07-15 10:31 Arthur Zamarin
2023-05-22  8:27 Arthur Zamarin
2023-05-21 19:51 Sam James
2023-05-21  6:10 Arthur Zamarin
2023-04-22 15:10 Arthur Zamarin
2023-04-22 15:04 Arthur Zamarin
2023-04-22 14:57 Arthur Zamarin
2023-03-22 23:01 Andreas Sturmlechner
2023-03-22 23:01 Andreas Sturmlechner
2023-02-01  6:41 Arthur Zamarin
2023-01-24 18:40 Arthur Zamarin
2022-12-09  8:20 Arthur Zamarin
2022-10-29 14:03 Yixun Lan
2022-10-26  4:42 Arthur Zamarin
2022-09-30  3:52 Sam James
2022-09-30  2:18 Sam James
2022-08-07  5:12 Sam James
2022-05-28 20:35 Jakov Smolić
2022-05-27 11:14 Jakov Smolić
2022-01-24 22:37 Sam James
2022-01-18 23:39 Jakov Smolić
2021-12-13 23:04 Sam James
2021-12-13 18:32 Jakov Smolić
2021-12-13  0:10 Sam James
2021-09-16  1:20 Sam James
2021-09-15  2:24 Sam James
2021-02-17 22:13 Andreas Sturmlechner
2021-02-17 21:12 Sam James
2021-02-17  1:56 Sam James
2021-02-16 13:45 Sam James
2019-10-12 20:31 Mikle Kolyada
2019-05-28  4:01 Aaron Bauman
2019-02-26 20:54 Andreas Sturmlechner
2018-10-18 12:31 Thomas Deutschmann
2018-10-16 16:54 Mikle Kolyada
2018-05-26  0:52 Thomas Deutschmann
2018-05-22  7:49 Mikle Kolyada
2018-05-07 17:01 Andreas Sturmlechner
2018-05-07  9:01 Agostino Sarubbo
2018-05-07  0:24 Thomas Deutschmann
2017-09-09 16:35 Andreas Sturmlechner
2017-07-07  8:12 Agostino Sarubbo
2017-07-05 20:31 Agostino Sarubbo
2017-06-05 11:20 Andreas Sturmlechner
2017-03-20 16:45 Agostino Sarubbo
2016-12-10 11:43 Johannes Huber
2016-07-25 21:34 Johannes Huber
2016-07-06 13:26 Michael Palimaka
2016-05-25  7:38 Johannes Huber
2016-05-24 19:26 Mikle Kolyada
2016-05-11 13:14 Michael Palimaka
2016-04-20  9:21 Michael Palimaka
2016-04-07 16:12 Michael Palimaka
2016-04-07 16:12 Michael Palimaka
2016-04-07 13:27 Mikle Kolyada
2016-03-02 19:23 Michael Palimaka
2015-12-02 11:42 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1496661595.e25a7df4a65053c79faf270140b9a4730da7e7bd.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox