diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2004-07-15 19:49:23 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2004-07-15 19:49:23 +0000 |
commit | ecb5358ac3b4b67a7c36e5a46e3b38924eb1b6fa (patch) | |
tree | 6f30375fd3a8ab1c14bb1aff87d65c81b2e54e16 /app-crypt/pam_krb5 | |
parent | Marked ~amd64, added a patch from Tyler Montbriand. Closing 54937. (Manifest ... (diff) | |
download | gentoo-2-ecb5358ac3b4b67a7c36e5a46e3b38924eb1b6fa.tar.gz gentoo-2-ecb5358ac3b4b67a7c36e5a46e3b38924eb1b6fa.tar.bz2 gentoo-2-ecb5358ac3b4b67a7c36e5a46e3b38924eb1b6fa.zip |
Fix bug #35059 - need to include errno.h.
Diffstat (limited to 'app-crypt/pam_krb5')
-rw-r--r-- | app-crypt/pam_krb5/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/pam_krb5/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/pam_krb5/files/digest-pam_krb5-1.0-r1 | 1 | ||||
-rw-r--r-- | app-crypt/pam_krb5/files/pam_krb5-1.0-errno_h.patch | 20 | ||||
-rw-r--r-- | app-crypt/pam_krb5/pam_krb5-1.0-r1.ebuild | 41 |
5 files changed, 72 insertions, 1 deletions
diff --git a/app-crypt/pam_krb5/ChangeLog b/app-crypt/pam_krb5/ChangeLog index 064717a312b3..71459d4650f5 100644 --- a/app-crypt/pam_krb5/ChangeLog +++ b/app-crypt/pam_krb5/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-crypt/pam_krb5 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/pam_krb5/ChangeLog,v 1.7 2004/06/24 21:36:08 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pam_krb5/ChangeLog,v 1.8 2004/07/15 19:49:23 azarah Exp $ + +*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 diff --git a/app-crypt/pam_krb5/Manifest b/app-crypt/pam_krb5/Manifest index 694a1d322d1c..4e26633bd802 100644 --- a/app-crypt/pam_krb5/Manifest +++ b/app-crypt/pam_krb5/Manifest @@ -1,4 +1,7 @@ MD5 6ef5715b3ef81403c4c0856716b7f44a pam_krb5-1.0.ebuild 759 MD5 9e814b893a8ff4ac424e09fe464395c9 ChangeLog 932 +MD5 43ebebda6d71529b2140c99a19ab73c4 pam_krb5-1.0-r1.ebuild 879 MD5 d4efdcb4a1be749ff6dde010e9dd9dc4 files/digest-pam_krb5-1.0 63 MD5 9d71d4c20b07cdd282e489cb8cd045d8 files/pam_krb5-1.0-gentoo.diff 695 +MD5 9e9b7dfbf4b5e17ef690ed51d576b944 files/pam_krb5-1.0-errno_h.patch 680 +MD5 d4efdcb4a1be749ff6dde010e9dd9dc4 files/digest-pam_krb5-1.0-r1 63 diff --git a/app-crypt/pam_krb5/files/digest-pam_krb5-1.0-r1 b/app-crypt/pam_krb5/files/digest-pam_krb5-1.0-r1 new file mode 100644 index 000000000000..30d16b19aa00 --- /dev/null +++ b/app-crypt/pam_krb5/files/digest-pam_krb5-1.0-r1 @@ -0,0 +1 @@ +MD5 dd4ca3cc1b6b6b124625544e870968cb pam_krb5-1.0.tar.gz 13107 diff --git a/app-crypt/pam_krb5/files/pam_krb5-1.0-errno_h.patch b/app-crypt/pam_krb5/files/pam_krb5-1.0-errno_h.patch new file mode 100644 index 000000000000..a87d68dc0c22 --- /dev/null +++ b/app-crypt/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/app-crypt/pam_krb5/pam_krb5-1.0-r1.ebuild b/app-crypt/pam_krb5/pam_krb5-1.0-r1.ebuild new file mode 100644 index 000000000000..692239cb3ac7 --- /dev/null +++ b/app-crypt/pam_krb5/pam_krb5-1.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pam_krb5/pam_krb5-1.0-r1.ebuild,v 1.1 2004/07/15 19:49:23 azarah 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_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff + # bug #35059 - needs errno.h included. + epatch ${FILESDIR}/${P}-errno_h.patch +} + +src_compile() { + 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 +} |