summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2001-06-21 15:26:25 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2001-06-21 15:26:25 +0000
commit7a91dfb87ff9014862e36151470b2e240623d5a2 (patch)
tree2189fd7d8a21cf8e7080d894fe5100940bcf5531 /app-crypt
parentutilities for type 1 fonts (diff)
downloadgentoo-2-7a91dfb87ff9014862e36151470b2e240623d5a2.tar.gz
gentoo-2-7a91dfb87ff9014862e36151470b2e240623d5a2.tar.bz2
gentoo-2-7a91dfb87ff9014862e36151470b2e240623d5a2.zip
Kerberos V and PAM; new ebuilds
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/krb5/files/digest-krb5-1.2.22
-rw-r--r--app-crypt/krb5/krb5-1.2.2.ebuild36
-rw-r--r--app-crypt/pam_krb5/files/digest-pam_krb5-1.01
-rw-r--r--app-crypt/pam_krb5/files/pam_krb5-1.0-gentoo.diff29
-rw-r--r--app-crypt/pam_krb5/pam_krb5-1.0.ebuild34
5 files changed, 102 insertions, 0 deletions
diff --git a/app-crypt/krb5/files/digest-krb5-1.2.2 b/app-crypt/krb5/files/digest-krb5-1.2.2
new file mode 100644
index 000000000000..0cd7bda10ea2
--- /dev/null
+++ b/app-crypt/krb5/files/digest-krb5-1.2.2
@@ -0,0 +1,2 @@
+MD5 57d1bf3a3c68ee8af64e31a46799551c krb5-1.2.2.tar.gz
+MD5 dd4ca3cc1b6b6b124625544e870968cb pam_krb5-1.0.tar.gz
diff --git a/app-crypt/krb5/krb5-1.2.2.ebuild b/app-crypt/krb5/krb5-1.2.2.ebuild
new file mode 100644
index 000000000000..2c8498d40905
--- /dev/null
+++ b/app-crypt/krb5/krb5-1.2.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Grant Goodyear <grant@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/krb5/krb5-1.2.2.ebuild,v 1.1 2001/06/21 15:26:25 g2boojum Exp $
+
+#P=
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+SRC_URI="http://www.crypto-publish.org/dist/mit-kerberos5/${A1}"
+DESCRIPTION="MIT Kerberos V (set up for pam)"
+HOMEPAGE="http://crypto-publish.org"
+
+DEPEND="virtual/glibc"
+
+
+src_compile() {
+
+ cd ${S}/src
+ try ./configure --with-krb4 --enable-shared --prefix=/usr --host=${CHOST}
+ mv Makefile Makefile.orig
+ #Don't install the ftp, telnet, r* apps; use pam instead
+ sed -e 's/ appl //' Makefile.orig > Makefile
+ try make
+
+}
+
+src_install () {
+
+ cd ${S}/src
+ try make DESTDIR=${D} install
+ cd ..
+ dodoc README
+ echo 'NOTE: ftp, telnet, r* apps not installed. Install pam-krb5!'
+
+}
+
diff --git a/app-crypt/pam_krb5/files/digest-pam_krb5-1.0 b/app-crypt/pam_krb5/files/digest-pam_krb5-1.0
new file mode 100644
index 000000000000..eaeeb73ab588
--- /dev/null
+++ b/app-crypt/pam_krb5/files/digest-pam_krb5-1.0
@@ -0,0 +1 @@
+MD5 dd4ca3cc1b6b6b124625544e870968cb pam_krb5-1.0.tar.gz
diff --git a/app-crypt/pam_krb5/files/pam_krb5-1.0-gentoo.diff b/app-crypt/pam_krb5/files/pam_krb5-1.0-gentoo.diff
new file mode 100644
index 000000000000..671621f46a49
--- /dev/null
+++ b/app-crypt/pam_krb5/files/pam_krb5-1.0-gentoo.diff
@@ -0,0 +1,29 @@
+--- Makefile.orig Thu Jun 21 08:26:05 2001
++++ Makefile Thu Jun 21 08:27:20 2001
+@@ -4,18 +4,21 @@
+
+ CC = gcc
+ CFLAGS = -O2 -fPIC
+-#LDFLAGS = -shared
+-LDFLAGS = -G
++LDFLAGS = -shared
++#LDFLAGS = -G
+
+ DESTDIR = /usr/lib/security
+ MANDIR = /opt/local/man/man5
+
+-OSLIBS = -lpam -lnsl -lsocket
+-KRB5LIBS = -L/opt/local/lib -lkrb5 -lk5crypto -lcom_err
++#OSLIBS = -lpam -lnsl -lsocket
++OSLIBS = -lpam
++#KRB5LIBS = -L/opt/local/lib -lkrb5 -lk5crypto -lcom_err
++KRB5LIBS = -L/usr/lib -lkrb5 -lk5crypto -lcom_err
+
+ LIBS = $(OSLIBS) $(KRB5LIBS)
+
+-INC = -I/opt/local/include
++#INC = -I/opt/local/include
++INC = -I/usr/include
+
+
+ ####################################################################
diff --git a/app-crypt/pam_krb5/pam_krb5-1.0.ebuild b/app-crypt/pam_krb5/pam_krb5-1.0.ebuild
new file mode 100644
index 000000000000..fe42f5e0a62e
--- /dev/null
+++ b/app-crypt/pam_krb5/pam_krb5-1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Grant Goodyear <grant@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pam_krb5/pam_krb5-1.0.ebuild,v 1.1 2001/06/21 15:26:25 g2boojum Exp $
+
+#P=
+A=${P}.tar.gz
+S=${WORKDIR}/${PN}
+DESCRIPTION="Pam module for MIT Kerberos V"
+SRC_URI="http://www.fcusack.com/soft/${A}"
+HOMEPAGE="http://www.fcusack.com"
+
+DEPEND="app-crypt/krb5
+ sys-libs/pam"
+
+src_compile() {
+
+ pwd
+ patch -p0 < ${FILESDIR}/${P}-gentoo.diff
+ try make
+
+}
+
+src_install () {
+
+ insinto /usr/lib/security
+ doins pam_krb5.so.1
+ dosym /usr/lib/security/pam_krb5.so.1 /usr/lib/security/pam_krb5.so
+ into /usr
+ doman pam_krb5.5
+ dodoc COPYRIGHT README TODO
+
+}
+