diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-07-02 21:20:57 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-07-02 21:20:57 +0000 |
commit | 8b6c84e09ad2aaa54c5107965ca14412850664cc (patch) | |
tree | ae64e9e345292ec219205beea437b2f80591ad3b /sys-auth/pam_krb5 | |
parent | Removing obsolete ebuild (diff) | |
download | gentoo-2-8b6c84e09ad2aaa54c5107965ca14412850664cc.tar.gz gentoo-2-8b6c84e09ad2aaa54c5107965ca14412850664cc.tar.bz2 gentoo-2-8b6c84e09ad2aaa54c5107965ca14412850664cc.zip |
Moved from app-crypt/pam_krb5 to sys-auth/pam_krb5.
Diffstat (limited to 'sys-auth/pam_krb5')
-rw-r--r-- | sys-auth/pam_krb5/ChangeLog | 60 | ||||
-rw-r--r-- | sys-auth/pam_krb5/Manifest | 13 | ||||
-rw-r--r-- | sys-auth/pam_krb5/files/digest-pam_krb5-1.0 | 1 | ||||
-rw-r--r-- | sys-auth/pam_krb5/files/digest-pam_krb5-1.0-r1 | 1 | ||||
-rw-r--r-- | sys-auth/pam_krb5/files/digest-pam_krb5-20030601 | 1 | ||||
-rw-r--r-- | sys-auth/pam_krb5/files/digest-pam_krb5-20030601-r1 | 1 | ||||
-rw-r--r-- | sys-auth/pam_krb5/files/pam_krb5-1.0-errno_h.patch | 20 | ||||
-rw-r--r-- | sys-auth/pam_krb5/files/pam_krb5-1.0-gentoo.diff | 29 | ||||
-rw-r--r-- | sys-auth/pam_krb5/files/pam_krb5-20030601-defaultrealm.patch | 11 | ||||
-rw-r--r-- | sys-auth/pam_krb5/metadata.xml | 8 | ||||
-rw-r--r-- | sys-auth/pam_krb5/pam_krb5-1.0-r1.ebuild | 41 | ||||
-rw-r--r-- | sys-auth/pam_krb5/pam_krb5-1.0.ebuild | 33 | ||||
-rw-r--r-- | sys-auth/pam_krb5/pam_krb5-20030601-r1.ebuild | 63 | ||||
-rw-r--r-- | sys-auth/pam_krb5/pam_krb5-20030601.ebuild | 61 |
14 files changed, 343 insertions, 0 deletions
diff --git a/sys-auth/pam_krb5/ChangeLog b/sys-auth/pam_krb5/ChangeLog new file mode 100644 index 000000000000..34a799c02274 --- /dev/null +++ b/sys-auth/pam_krb5/ChangeLog @@ -0,0 +1,60 @@ +# ChangeLog for sys-auth/pam_krb5 +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_krb5/ChangeLog,v 1.1 2005/07/02 21:20:57 flameeyes Exp $ + + 02 Jul 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/pam_krb5-1.0-errno_h.patch, +files/pam_krb5-1.0-gentoo.diff, + +files/pam_krb5-20030601-defaultrealm.patch, +metadata.xml, + +pam_krb5-1.0.ebuild, +pam_krb5-1.0-r1.ebuild, +pam_krb5-20030601.ebuild, + +pam_krb5-20030601-r1.ebuild: + Moved from app-crypt/pam_krb5 to sys-auth/pam_krb5. + + 30 Jun 2005; <rphillips@gentoo.org> + +files/pam_krb5-20030601-defaultrealm.patch, pam_krb5-20030601-r1.ebuild: + Added Christophe Saout patch to fix segfaults when the default realm (like + chroot environments) cannot be found. #66919 + + 21 Apr 2005; Simon Stelling <blubb@gentoo.org> pam_krb5-1.0-r1.ebuild: + stable on amd64 + +*pam_krb5-20030601-r1 (28 Jan 2005) + + 28 Jan 2005; <rphillips@gentoo.org> pam_krb5-20030601-r1.ebuild: + Added Anthony Gorecki ebuild to fix compatibility with mit-krb5 and heimdal. + Tha package now supports both. See bug #75396 + + 28 Sep 2004; Sven Wegener <swegener@gentoo.org> : + Gentoo Technologies, Inc. -> Gentoo Foundation + + 20 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> pam_krb5-1.0-r1.ebuild: + Fixed BUG #59323. Marked ~amd64. + +*pam_krb5-20030601 (20 Jul 2004) + + 20 Jul 2004; <rphillips@gentoo.org> pam_krb5-20030601.ebuild: + Added Torsten Kurbad ebuild to use the latest pam_krb5 snapshot + Fixes #51837 + +*pam_krb5-1.0-r1 (15 Jul 2004) + + 15 Jul 2004; Martin Schlemmer <azarah@gentoo.org> + +files/pam_krb5-1.0-errno_h.patch, +pam_krb5-1.0-r1.ebuild: + Fix bug #35059 - need to include errno.h. + + 29 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> pam_krb5-1.0.ebuild: + inherit eutils for epatch + + 28 Mar 2003; Pieter Van den Abeele <pvdabeel@gentoo.org> : + stable ppc + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*pam_krb5-1.0 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/sys-auth/pam_krb5/Manifest b/sys-auth/pam_krb5/Manifest new file mode 100644 index 000000000000..c99f88bfb049 --- /dev/null +++ b/sys-auth/pam_krb5/Manifest @@ -0,0 +1,13 @@ +MD5 699f72ace0bdde43ba1eddd02287d3e5 pam_krb5-1.0.ebuild 761 +MD5 dd1462b9f456a5c24c9ec26bbc04fa47 pam_krb5-20030601-r1.ebuild 1444 +MD5 cc034dd803bfb35c676a8bf3991cb2b9 pam_krb5-1.0-r1.ebuild 868 +MD5 a31f7e06a9e257379a69282272d41ac7 pam_krb5-20030601.ebuild 1428 +MD5 b233976d47a96ec9c557d3ce86d664af ChangeLog 2082 +MD5 102803b67de61116a1fdc71371020afd metadata.xml 221 +MD5 9e9b7dfbf4b5e17ef690ed51d576b944 files/pam_krb5-1.0-errno_h.patch 680 +MD5 607c031de2b5895628efb020f8d63b95 files/pam_krb5-20030601-defaultrealm.patch 548 +MD5 d4efdcb4a1be749ff6dde010e9dd9dc4 files/digest-pam_krb5-1.0-r1 63 +MD5 d4efdcb4a1be749ff6dde010e9dd9dc4 files/digest-pam_krb5-1.0 63 +MD5 9d71d4c20b07cdd282e489cb8cd045d8 files/pam_krb5-1.0-gentoo.diff 695 +MD5 af4b553272c02dec5d66ca2c7da9920c files/digest-pam_krb5-20030601 76 +MD5 af4b553272c02dec5d66ca2c7da9920c files/digest-pam_krb5-20030601-r1 76 diff --git a/sys-auth/pam_krb5/files/digest-pam_krb5-1.0 b/sys-auth/pam_krb5/files/digest-pam_krb5-1.0 new file mode 100644 index 000000000000..30d16b19aa00 --- /dev/null +++ b/sys-auth/pam_krb5/files/digest-pam_krb5-1.0 @@ -0,0 +1 @@ +MD5 dd4ca3cc1b6b6b124625544e870968cb pam_krb5-1.0.tar.gz 13107 diff --git a/sys-auth/pam_krb5/files/digest-pam_krb5-1.0-r1 b/sys-auth/pam_krb5/files/digest-pam_krb5-1.0-r1 new file mode 100644 index 000000000000..30d16b19aa00 --- /dev/null +++ b/sys-auth/pam_krb5/files/digest-pam_krb5-1.0-r1 @@ -0,0 +1 @@ +MD5 dd4ca3cc1b6b6b124625544e870968cb pam_krb5-1.0.tar.gz 13107 diff --git a/sys-auth/pam_krb5/files/digest-pam_krb5-20030601 b/sys-auth/pam_krb5/files/digest-pam_krb5-20030601 new file mode 100644 index 000000000000..10f3ed645bc0 --- /dev/null +++ b/sys-auth/pam_krb5/files/digest-pam_krb5-20030601 @@ -0,0 +1 @@ +MD5 9d8d8b6be696ea3dceb427e23c8e389a pam_krb5_snap-2003.06.01.tar.gz 322217 diff --git a/sys-auth/pam_krb5/files/digest-pam_krb5-20030601-r1 b/sys-auth/pam_krb5/files/digest-pam_krb5-20030601-r1 new file mode 100644 index 000000000000..10f3ed645bc0 --- /dev/null +++ b/sys-auth/pam_krb5/files/digest-pam_krb5-20030601-r1 @@ -0,0 +1 @@ +MD5 9d8d8b6be696ea3dceb427e23c8e389a pam_krb5_snap-2003.06.01.tar.gz 322217 diff --git a/sys-auth/pam_krb5/files/pam_krb5-1.0-errno_h.patch b/sys-auth/pam_krb5/files/pam_krb5-1.0-errno_h.patch new file mode 100644 index 000000000000..a87d68dc0c22 --- /dev/null +++ b/sys-auth/pam_krb5/files/pam_krb5-1.0-errno_h.patch @@ -0,0 +1,20 @@ +--- pam_krb5/pam_krb5_auth.c 2004-07-15 21:43:42.856078792 +0200 ++++ pam_krb5.az/pam_krb5_auth.c 2004-07-15 21:44:12.891512712 +0200 +@@ -14,6 +14,7 @@ + #include <syslog.h> /* syslog */ + #include <unistd.h> /* chown */ + #include <sys/types.h> /* chown */ ++#include <errno.h> /* errno */ + + #include <security/pam_appl.h> + #include <security/pam_modules.h> +--- pam_krb5/support.c 2004-07-15 21:44:30.779793280 +0200 ++++ pam_krb5.az/support.c 2004-07-15 21:45:00.553267024 +0200 +@@ -8,6 +8,7 @@ + + #include <stdio.h> /* BUFSIZ */ + #include <syslog.h> /* syslog */ ++#include <errno.h> /* ENOMEM */ + #include <security/pam_appl.h> + #include <security/pam_modules.h> + #include <krb5.h> diff --git a/sys-auth/pam_krb5/files/pam_krb5-1.0-gentoo.diff b/sys-auth/pam_krb5/files/pam_krb5-1.0-gentoo.diff new file mode 100644 index 000000000000..671621f46a49 --- /dev/null +++ b/sys-auth/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/sys-auth/pam_krb5/files/pam_krb5-20030601-defaultrealm.patch b/sys-auth/pam_krb5/files/pam_krb5-20030601-defaultrealm.patch new file mode 100644 index 000000000000..ac57c6d19aa4 --- /dev/null +++ b/sys-auth/pam_krb5/files/pam_krb5-20030601-defaultrealm.patch @@ -0,0 +1,11 @@ +diff -Nur pam_krb5_snap-2003.06.01.orig/pam_krb5afs.c pam_krb5_snap-2003.06.01/pam_krb5afs.c +--- pam_krb5_snap-2003.06.01.orig/pam_krb5afs.c 2003-06-01 23:42:45.000000000 +0200 ++++ pam_krb5_snap-2003.06.01/pam_krb5afs.c 2004-10-09 22:31:22.134322249 +0200 +@@ -1089,6 +1089,7 @@ + ret->retain_token, &ret->retain_token); + + /* The default realm we assume users are in unless told otherwise. */ ++ ret->realm = ""; + krb5_get_default_realm(context, &ret->realm); + appdefault_string(context, "realm", argc, argv, + ret->realm, &ret->realm); diff --git a/sys-auth/pam_krb5/metadata.xml b/sys-auth/pam_krb5/metadata.xml new file mode 100644 index 000000000000..6c9ee6222649 --- /dev/null +++ b/sys-auth/pam_krb5/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>pam</herd> +<maintainer> + <email>rphillips@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sys-auth/pam_krb5/pam_krb5-1.0-r1.ebuild b/sys-auth/pam_krb5/pam_krb5-1.0-r1.ebuild new file mode 100644 index 000000000000..b452dc8e2f48 --- /dev/null +++ b/sys-auth/pam_krb5/pam_krb5-1.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_krb5/pam_krb5-1.0-r1.ebuild,v 1.1 2005/07/02 21:20:57 flameeyes Exp $ + +inherit eutils + +DESCRIPTION="Pam module for MIT Kerberos V" +SRC_URI="http://www.fcusack.com/soft/${P}.tar.gz" +HOMEPAGE="http://www.fcusack.com/" + +SLOT="0" +LICENSE="BSD GPL-2 as-is" +KEYWORDS="x86 sparc ppc amd64" +IUSE="" + +DEPEND="app-crypt/mit-krb5 + sys-libs/pam" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff + # bug #35059 - needs errno.h included. + epatch ${FILESDIR}/${P}-errno_h.patch +} + +src_compile() { + emake || die +} + +src_install() { + exeinto /lib/security + doexe pam_krb5.so.1 + dosym /lib/security/pam_krb5.so.1 /lib/security/pam_krb5.so + + doman pam_krb5.5 + dodoc COPYRIGHT README TODO +} diff --git a/sys-auth/pam_krb5/pam_krb5-1.0.ebuild b/sys-auth/pam_krb5/pam_krb5-1.0.ebuild new file mode 100644 index 000000000000..cfe9b6dcf834 --- /dev/null +++ b/sys-auth/pam_krb5/pam_krb5-1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_krb5/pam_krb5-1.0.ebuild,v 1.1 2005/07/02 21:20:57 flameeyes Exp $ + +inherit eutils + +DESCRIPTION="Pam module for MIT Kerberos V" +SRC_URI="http://www.fcusack.com/soft/${P}.tar.gz" +HOMEPAGE="http://www.fcusack.com/" + +SLOT="0" +LICENSE="BSD GPL-2 as-is" +KEYWORDS="x86 sparc ppc" +IUSE="" + +DEPEND="app-crypt/mit-krb5 + sys-libs/pam" + +S=${WORKDIR}/${PN} + +src_compile() { + epatch ${FILESDIR}/${P}-gentoo.diff + make CFLAGS="$CFLAGS" || die +} + +src_install() { + exeinto /lib/security + doexe pam_krb5.so.1 + dosym /lib/security/pam_krb5.so.1 /lib/security/pam_krb5.so + + doman pam_krb5.5 + dodoc COPYRIGHT README TODO +} diff --git a/sys-auth/pam_krb5/pam_krb5-20030601-r1.ebuild b/sys-auth/pam_krb5/pam_krb5-20030601-r1.ebuild new file mode 100644 index 000000000000..a94e993fc771 --- /dev/null +++ b/sys-auth/pam_krb5/pam_krb5-20030601-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_krb5/pam_krb5-20030601-r1.ebuild,v 1.1 2005/07/02 21:20:57 flameeyes Exp $ + +inherit eutils + +MY_PN="${PN}_snap" +MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}" +DESCRIPTION="Pam module for MIT Kerberos V and Heimdal" +SRC_URI_BASE="mirror://sourceforge/pam-krb5" +RESTRICT="nomirror" +SRC_URI="${SRC_URI_BASE}/${MY_PN}-${MY_PV}.tar.gz" +HOMEPAGE="http://pam-krb5.sourceforge.net/" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="~x86 ~ppc" +IUSE="afs" + +DEPEND="virtual/krb5 + sys-libs/pam + afs? ( net-fs/openafs )" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +src_unpack() { + unpack ${A} + + # bug #66919 + epatch ${FILESDIR}/${P}-defaultrealm.patch +} + +src_compile() { + local myconf + use afs && myconf="${myconf} --with-krbafs=/usr" + CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-pamdir=/lib/security \ + --with-krb5=/usr \ + --host=${CHOST} ${myconf} || die "./configure failed." + make CFLAGS="$CFLAGS" || die +} + +src_install() { + exeinto /lib/security + doexe .libs/pam_krb5.so + + if use afs ; then + if [ -f .libs/pam_krb5afs.so ]; then + doexe .libs/pam_krb5afs.so + doman pam_krb5afs.5 pam_krb5afs.8 + fi + fi + + doman pam_krb5.5 pam_krb5.8 + + dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README README.heimdal TODO + + docinto pam.d + dodoc pam.d/* +} diff --git a/sys-auth/pam_krb5/pam_krb5-20030601.ebuild b/sys-auth/pam_krb5/pam_krb5-20030601.ebuild new file mode 100644 index 000000000000..4a8936b56896 --- /dev/null +++ b/sys-auth/pam_krb5/pam_krb5-20030601.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_krb5/pam_krb5-20030601.ebuild,v 1.1 2005/07/02 21:20:57 flameeyes Exp $ + +inherit eutils + +MY_PN="${PN}_snap" +MY_PV="${PV:0:4}.${PV:4:2}.${PV:6:2}" +DESCRIPTION="Pam module for MIT Kerberos V" +SRC_URI_BASE="mirror://sourceforge/pam-krb5" +RESTRICT="nomirror" +SRC_URI="${SRC_URI_BASE}/${MY_PN}-${MY_PV}.tar.gz" +HOMEPAGE="http://pam-krb5.sourceforge.net/" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="~x86 ~ppc" +IUSE="afs" + +DEPEND="virtual/krb5 + sys-libs/pam + afs? ( app-crypt/heimdal net-fs/openafs app-crypt/kth-krb )" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +src_unpack() { + unpack ${A} +} + +src_compile() { + local myconf + use afs && myconf="${myconf} --with-krbafs=/usr" + CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-pamdir=/lib/security \ + --with-krb5=/usr \ + --with-krb4=/usr \ + --host=${CHOST} ${myconf} || die "./configure failed." + make CFLAGS="$CFLAGS" || die +} + +src_install() { + exeinto /lib/security + doexe .libs/pam_krb5.so + + if use afs ; then + if [ -f .libs/pam_krb5afs.so ]; then + doexe .libs/pam_krb5afs.so + doman pam_krb5afs.5 pam_krb5afs.8 + fi + fi + + doman pam_krb5.5 pam_krb5.8 + + dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README README.heimdal TODO + + docinto pam.d + dodoc pam.d/* +} |