From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1063437-garchives=archives.gentoo.org@lists.gentoo.org> 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 56AEA138334 for <garchives@archives.gentoo.org>; Sun, 23 Dec 2018 13:10:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 253CDE0974; Sun, 23 Dec 2018 13:10:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB1E9E0974 for <gentoo-commits@lists.gentoo.org>; Sun, 23 Dec 2018 13:09:59 +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 73738335C39 for <gentoo-commits@lists.gentoo.org>; Sun, 23 Dec 2018 13:09:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C91B2A7 for <gentoo-commits@lists.gentoo.org>; Sun, 23 Dec 2018 13:09:55 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1545570588.e74d3ef07b41f9add650c0bb5162cc2cafcb7d4d.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_skey/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/pam_skey/pam_skey-1.1.5-r6.ebuild X-VCS-Directories: sys-auth/pam_skey/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: e74d3ef07b41f9add650c0bb5162cc2cafcb7d4d X-VCS-Branch: master Date: Sun, 23 Dec 2018 13:09:55 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 09ee789f-cf6a-4876-9ffb-4f7912a57a1e X-Archives-Hash: 5dd80c2679af2ff8d8c8f6dfa879207b commit: e74d3ef07b41f9add650c0bb5162cc2cafcb7d4d Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun Dec 23 13:04:10 2018 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Dec 23 13:09:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74d3ef0 sys-auth/pam_skey: Fix README.gentoo message. Configuration belongs in system-login, not system-auth. Bump EAPI to 7 and minor fixups. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> sys-auth/pam_skey/pam_skey-1.1.5-r6.ebuild | 59 ++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/sys-auth/pam_skey/pam_skey-1.1.5-r6.ebuild b/sys-auth/pam_skey/pam_skey-1.1.5-r6.ebuild new file mode 100644 index 00000000000..c286358b4e1 --- /dev/null +++ b/sys-auth/pam_skey/pam_skey-1.1.5-r6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils pam autotools multilib readme.gentoo-r1 + +DESCRIPTION="PAM interface for the S/Key authentication system" +HOMEPAGE="http://freshmeat.net/projects/pam_skey/" +SRC_URI="http://dkorunic.net/tarballs/${P}.tar.gz + https://dev.gentoo.org/~ulm/distfiles/${P}-patches-6.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="net-libs/libnsl:0= + >=sys-libs/pam-0.78-r3 + >=sys-auth/skey-1.1.5-r4" +DEPEND="${RDEPEND}" + +PATCHES="${WORKDIR}/patch" +DOCS="README INSTALL" + +src_prepare() { + default + + cd autoconf || die + mv configure.{in,ac} || die + eautoconf + eautoheader + mv configure defs.h.in .. || die +} + +src_configure() { + econf --libdir="/$(get_libdir)" CFLAGS="${CFLAGS} -fPIC" +} + +src_install() { + default + + DOC_CONTENTS="To use the pam_skey module, you need to configure PAM + by adding a line like: + \n\nauth [success=done ignore=ignore auth_err=die default=bad] pam_skey.so\n + \nto an appropriate place in the /etc/pam.d/system-login file. + Consult the README and INSTALL files in /usr/share/doc/${PF} + for detailed instructions. + \n\nPlease note that calling this module from unprivileged + applications, e.g. screensavers, is not supported. + \n\nError checking has become stricter in pam_skey-1.1.5-r4; + errors returned from the underlying skey library when accessing + the S/Key data base will no longer be ignored. + Make sure that your PAM configuration is correct." + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}