diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-12-23 14:04:10 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-12-23 14:09:48 +0100 |
commit | e74d3ef07b41f9add650c0bb5162cc2cafcb7d4d (patch) | |
tree | 7563f53d4bbf3c3dcabba6ce2c52b693ab4743ad /sys-auth | |
parent | dev-lang/ruby: arm stable wrt bug #661262 (diff) | |
download | gentoo-e74d3ef07b41f9add650c0bb5162cc2cafcb7d4d.tar.gz gentoo-e74d3ef07b41f9add650c0bb5162cc2cafcb7d4d.tar.bz2 gentoo-e74d3ef07b41f9add650c0bb5162cc2cafcb7d4d.zip |
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@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pam_skey/pam_skey-1.1.5-r6.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
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 000000000000..c286358b4e13 --- /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 +} |