summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-02 14:12:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-02 14:12:59 +0000
commit52036cb70554deaac7d3cd08bc84837c15cd9c18 (patch)
treee406afc0aea14548be87064588d47fc8d61c2e7a /sys-auth
parentStable on alpha. (diff)
downloadgentoo-2-52036cb70554deaac7d3cd08bc84837c15cd9c18.tar.gz
gentoo-2-52036cb70554deaac7d3cd08bc84837c15cd9c18.tar.bz2
gentoo-2-52036cb70554deaac7d3cd08bc84837c15cd9c18.zip
Moved from app-crypt/pam_ssh to sys-auth/pam_ssh.
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_ssh/ChangeLog33
-rw-r--r--sys-auth/pam_ssh/Manifest20
-rw-r--r--sys-auth/pam_ssh/files/1.9-standard-prompt.patch11
-rw-r--r--sys-auth/pam_ssh/files/digest-pam_ssh-1.91
-rw-r--r--sys-auth/pam_ssh/files/digest-pam_ssh-1.911
-rw-r--r--sys-auth/pam_ssh/files/digest-pam_ssh-1.91-r11
-rw-r--r--sys-auth/pam_ssh/files/system-auth.example16
-rw-r--r--sys-auth/pam_ssh/metadata.xml5
-rw-r--r--sys-auth/pam_ssh/pam_ssh-1.9.ebuild34
-rw-r--r--sys-auth/pam_ssh/pam_ssh-1.91-r1.ebuild40
-rw-r--r--sys-auth/pam_ssh/pam_ssh-1.91.ebuild30
11 files changed, 192 insertions, 0 deletions
diff --git a/sys-auth/pam_ssh/ChangeLog b/sys-auth/pam_ssh/ChangeLog
new file mode 100644
index 000000000000..36b23704f3a9
--- /dev/null
+++ b/sys-auth/pam_ssh/ChangeLog
@@ -0,0 +1,33 @@
+# ChangeLog for sys-auth/pam_ssh
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/ChangeLog,v 1.1 2005/07/02 14:12:59 flameeyes Exp $
+
+ 02 Jul 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/1.9-standard-prompt.patch, +files/system-auth.example,
+ +metadata.xml, +pam_ssh-1.9.ebuild, +pam_ssh-1.91.ebuild,
+ +pam_ssh-1.91-r1.ebuild:
+ Moved from app-crypt/pam_ssh to sys-auth/pam_ssh.
+
+*pam_ssh-1.91-r1 (08 Jun 2005)
+
+ 08 Jun 2005; Diego Pettenò <flameeyes@gentoo.org> metadata.xml,
+ +pam_ssh-1.91-r1.ebuild:
+ Added new revision to pam_ssh with support for non-default PAM modules dirs.
+ Marked ~amd64. Set this herded by pam.
+
+ 08 Jun 2004; David Holm <dholm@gentoo.org> pam_ssh-1.91.ebuild:
+ Added to ~ppc.
+
+*pam_ssh-1.91 (07 Jun 2004)
+
+ 07 Jun 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ pam_ssh-1.9.ebuild, +pam_ssh-1.91.ebuild:
+ 1.9 - x86 keyword. version bump
+
+ 29 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> pam_ssh-1.9.ebuild:
+ inherit eutils for epatch
+
+*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/sys-auth/pam_ssh/Manifest b/sys-auth/pam_ssh/Manifest
new file mode 100644
index 000000000000..96663a8108e5
--- /dev/null
+++ b/sys-auth/pam_ssh/Manifest
@@ -0,0 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 1fc321cd416b7183fa2fb4d6349ab338 ChangeLog 971
+MD5 d3b4e86535e8d7f0a6e03b53d5f3219f metadata.xml 157
+MD5 2e1785e7d5e28d486f6c88576ff578e9 pam_ssh-1.9.ebuild 856
+MD5 7d53d7cbe10c4faa30bebc4ea1aa65db pam_ssh-1.91.ebuild 831
+MD5 95801f821f2f72dfc56862216600f034 pam_ssh-1.91-r1.ebuild 972
+MD5 5cd5460fb7b7377b0e576eac476bc830 files/1.9-standard-prompt.patch 378
+MD5 2da9f0064c9caa03f6d298f3f3f6a169 files/digest-pam_ssh-1.9 64
+MD5 d42a0e20bf5fa8783aa3a7c6de9a935e files/digest-pam_ssh-1.91 65
+MD5 4d93b0a0bbf019434f9c7a6da68c5e9f files/system-auth.example 612
+MD5 d42a0e20bf5fa8783aa3a7c6de9a935e files/digest-pam_ssh-1.91-r1 65
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCppx2j5H05b2HAEkRAmCuAKCGrd9cBcSuvDambEUxDoDq732oPACgmSg0
++V98QCDsiXCF7E7FkK6LDgQ=
+=Ynv9
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/pam_ssh/files/1.9-standard-prompt.patch b/sys-auth/pam_ssh/files/1.9-standard-prompt.patch
new file mode 100644
index 000000000000..2554d3887f43
--- /dev/null
+++ b/sys-auth/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/sys-auth/pam_ssh/files/digest-pam_ssh-1.9 b/sys-auth/pam_ssh/files/digest-pam_ssh-1.9
new file mode 100644
index 000000000000..84fb4878c022
--- /dev/null
+++ b/sys-auth/pam_ssh/files/digest-pam_ssh-1.9
@@ -0,0 +1 @@
+MD5 a53e076b1cba5859e68e837d4c52cc03 pam_ssh-1.9.tar.bz2 193236
diff --git a/sys-auth/pam_ssh/files/digest-pam_ssh-1.91 b/sys-auth/pam_ssh/files/digest-pam_ssh-1.91
new file mode 100644
index 000000000000..87d38542272a
--- /dev/null
+++ b/sys-auth/pam_ssh/files/digest-pam_ssh-1.91
@@ -0,0 +1 @@
+MD5 57a3aa476394efa219a8a99f527d4e4b pam_ssh-1.91.tar.bz2 193705
diff --git a/sys-auth/pam_ssh/files/digest-pam_ssh-1.91-r1 b/sys-auth/pam_ssh/files/digest-pam_ssh-1.91-r1
new file mode 100644
index 000000000000..87d38542272a
--- /dev/null
+++ b/sys-auth/pam_ssh/files/digest-pam_ssh-1.91-r1
@@ -0,0 +1 @@
+MD5 57a3aa476394efa219a8a99f527d4e4b pam_ssh-1.91.tar.bz2 193705
diff --git a/sys-auth/pam_ssh/files/system-auth.example b/sys-auth/pam_ssh/files/system-auth.example
new file mode 100644
index 000000000000..df13fe867914
--- /dev/null
+++ b/sys-auth/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/sys-auth/pam_ssh/metadata.xml b/sys-auth/pam_ssh/metadata.xml
new file mode 100644
index 000000000000..a79778792804
--- /dev/null
+++ b/sys-auth/pam_ssh/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pam</herd>
+</pkgmetadata>
diff --git a/sys-auth/pam_ssh/pam_ssh-1.9.ebuild b/sys-auth/pam_ssh/pam_ssh-1.9.ebuild
new file mode 100644
index 000000000000..496cfe948397
--- /dev/null
+++ b/sys-auth/pam_ssh/pam_ssh-1.9.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.9.ebuild,v 1.1 2005/07/02 14:12:59 flameeyes Exp $
+
+inherit eutils
+
+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"
+IUSE=""
+
+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}"
+}
diff --git a/sys-auth/pam_ssh/pam_ssh-1.91-r1.ebuild b/sys-auth/pam_ssh/pam_ssh-1.91-r1.ebuild
new file mode 100644
index 000000000000..d4bd589f2a8c
--- /dev/null
+++ b/sys-auth/pam_ssh/pam_ssh-1.91-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.91-r1.ebuild,v 1.1 2005/07/02 14:12:59 flameeyes Exp $
+
+inherit pam
+
+DESCRIPTION="Uses ssh-agent to provide single sign-on"
+HOMEPAGE="http://pam-ssh.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.bz2"
+
+RESTRICT="nomirror"
+LICENSE="BSD as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+# Doesn't work on OpenPAM.
+DEPEND="sys-libs/pam
+ sys-devel/libtool"
+
+RDEPEND="sys-libs/pam
+ virtual/ssh"
+
+src_compile() {
+ econf \
+ "--with-pam-dir=$(getpam_mod_dir)" \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+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}"
+}
diff --git a/sys-auth/pam_ssh/pam_ssh-1.91.ebuild b/sys-auth/pam_ssh/pam_ssh-1.91.ebuild
new file mode 100644
index 000000000000..507328afd883
--- /dev/null
+++ b/sys-auth/pam_ssh/pam_ssh-1.91.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_ssh/pam_ssh-1.91.ebuild,v 1.1 2005/07/02 14:12:59 flameeyes Exp $
+
+DESCRIPTION="Uses ssh-agent to provide single sign-on"
+HOMEPAGE="http://pam-ssh.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.bz2"
+RESTRICT="nomirror"
+LICENSE="BSD as-is"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+DEPEND="sys-libs/pam
+ sys-apps/gawk
+ sys-apps/grep
+ sys-devel/libtool"
+
+RDEPEND="sys-libs/pam
+ virtual/ssh"
+
+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}"
+}