diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-23 01:23:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-23 01:23:13 +0000 |
commit | f5f6fad0a975ec8c750084e980ce4b35c5cd3b60 (patch) | |
tree | 7269e8c670e2d0adbba442108a809fabdef8aa01 /app-crypt/pam_ssh | |
parent | Move 2.12.1 to stable on ppc. Directory cleanup in this dir to follow shortl... (diff) | |
download | gentoo-2-f5f6fad0a975ec8c750084e980ce4b35c5cd3b60.tar.gz gentoo-2-f5f6fad0a975ec8c750084e980ce4b35c5cd3b60.tar.bz2 gentoo-2-f5f6fad0a975ec8c750084e980ce4b35c5cd3b60.zip |
initial ebuild #42384
Diffstat (limited to 'app-crypt/pam_ssh')
-rw-r--r-- | app-crypt/pam_ssh/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/pam_ssh/files/1.9-standard-prompt.patch | 11 | ||||
-rw-r--r-- | app-crypt/pam_ssh/files/digest-pam_ssh-1.9 | 1 | ||||
-rw-r--r-- | app-crypt/pam_ssh/files/system-auth.example | 16 | ||||
-rw-r--r-- | app-crypt/pam_ssh/pam_ssh-1.9.ebuild | 31 |
5 files changed, 67 insertions, 0 deletions
diff --git a/app-crypt/pam_ssh/ChangeLog b/app-crypt/pam_ssh/ChangeLog new file mode 100644 index 000000000000..0839c9d0cc15 --- /dev/null +++ b/app-crypt/pam_ssh/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-crypt/pam_ssh +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pam_ssh/ChangeLog,v 1.1 2004/02/23 01:23:13 vapier Exp $ + +*pam_ssh-1.9 (22 Feb 2004) + + 22 Feb 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Rumba and Andrew Korty #42384. diff --git a/app-crypt/pam_ssh/files/1.9-standard-prompt.patch b/app-crypt/pam_ssh/files/1.9-standard-prompt.patch new file mode 100644 index 000000000000..2554d3887f43 --- /dev/null +++ b/app-crypt/pam_ssh/files/1.9-standard-prompt.patch @@ -0,0 +1,11 @@ +--- pam_ssh.c.orig 2004-02-22 20:15:28.256672768 -0500 ++++ pam_ssh.c 2004-02-22 20:15:40.279844968 -0500 +@@ -101,7 +101,7 @@ + #endif + + #define MODULE_NAME "pam_ssh" +-#define NEED_PASSPHRASE "SSH passphrase: " ++#define NEED_PASSPHRASE "Password: " + #define DEF_KEYFILES "id_dsa,id_rsa,identity" + #define ENV_PID_SUFFIX "_AGENT_PID" + #define ENV_SOCKET_SUFFIX "_AUTH_SOCK" diff --git a/app-crypt/pam_ssh/files/digest-pam_ssh-1.9 b/app-crypt/pam_ssh/files/digest-pam_ssh-1.9 new file mode 100644 index 000000000000..84fb4878c022 --- /dev/null +++ b/app-crypt/pam_ssh/files/digest-pam_ssh-1.9 @@ -0,0 +1 @@ +MD5 a53e076b1cba5859e68e837d4c52cc03 pam_ssh-1.9.tar.bz2 193236 diff --git a/app-crypt/pam_ssh/files/system-auth.example b/app-crypt/pam_ssh/files/system-auth.example new file mode 100644 index 000000000000..df13fe867914 --- /dev/null +++ b/app-crypt/pam_ssh/files/system-auth.example @@ -0,0 +1,16 @@ +#%PAM-1.0 + +auth required /lib/security/pam_env.so +auth sufficient /lib/security/pam_ssh.so +auth sufficient /lib/security/pam_unix.so use_first_pass likeauth nullok nodelay +auth required /lib/security/pam_deny.so + +account required /lib/security/pam_unix.so + +password required /lib/security/pam_cracklib.so retry=3 +password sufficient /lib/security/pam_unix.so nullok md5 shadow use_authtok +password required /lib/security/pam_deny.so + +session required /lib/security/pam_limits.so +session required /lib/security/pam_unix.so +session optional /lib/security/pam_ssh.so diff --git a/app-crypt/pam_ssh/pam_ssh-1.9.ebuild b/app-crypt/pam_ssh/pam_ssh-1.9.ebuild new file mode 100644 index 000000000000..1a35d01931dc --- /dev/null +++ b/app-crypt/pam_ssh/pam_ssh-1.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +DESCRIPTION="Uses ssh-agent to provide single sign-on" +HOMEPAGE="http://pam-ssh.sourceforge.net/" +SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.bz2" + +LICENSE="BSD as-is" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="sys-libs/pam" +RDEPEND="${DEPEND} + virtual/ssh" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-standard-prompt.patch +} + +src_install() { + make install DESTDIR=${D} || die "install failed" + dodoc AUTHORS ChangeLog NEWS README TODO ${FILESDIR}/system-auth.example +} + +pkg_postinst() { + einfo "You can find an example system-auth file that uses this" + einfo "library in /usr/share/doc/${PF}" +} |