summaryrefslogtreecommitdiff
path: root/security/mit-krb5
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-24 21:56:40 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-24 21:56:40 +0000
commit19e73750126a461bee00354b6c766cfbc42ead1f (patch)
tree8bb4112b6e3e1eb6c684fddbcc2a213e05ed9432 /security/mit-krb5
parent83c02a207b709e35be789185914ce40ff86c28e6 (diff)
downloadpkgsrc-19e73750126a461bee00354b6c766cfbc42ead1f.tar.gz
Add DragonFly support. Fallback to LINE_MAX if BUFSIZ is not defined.
Diffstat (limited to 'security/mit-krb5')
-rw-r--r--security/mit-krb5/distinfo4
-rw-r--r--security/mit-krb5/patches/patch-ag11
-rw-r--r--security/mit-krb5/patches/patch-al20
3 files changed, 32 insertions, 3 deletions
diff --git a/security/mit-krb5/distinfo b/security/mit-krb5/distinfo
index 82c5864b4c7..1650ee3c544 100644
--- a/security/mit-krb5/distinfo
+++ b/security/mit-krb5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2005/09/22 19:45:42 jlam Exp $
+$NetBSD: distinfo,v 1.12 2006/02/24 21:56:40 joerg Exp $
SHA1 (krb5-1.4.2-signed.tar) = bbc03bd319d539fb9523c2545d80ba0784522e88
RMD160 (krb5-1.4.2-signed.tar) = 44500f5fab8e5959cf43f17f5f52f68e2dc73a1f
@@ -9,7 +9,7 @@ SHA1 (patch-ac) = d0777e6005cd1249c7c6406068973f6959d11302
SHA1 (patch-ad) = 7b17ffcd14cdedeb0ddfb606802a156589995c1b
SHA1 (patch-ae) = fc6d5e11cd827cdfbe1bfc3a3c7ca9f5a71c17d7
SHA1 (patch-af) = c9631743e3c93aee2aab5c8a370e9bebfc4084e5
-SHA1 (patch-ag) = 761af3633fa5bd06e436f42d5f45fae4a2b02796
+SHA1 (patch-ag) = 5da57455f36a2bd40e0f97db94e93249e90e0b8e
SHA1 (patch-ah) = 59a6bfc341a22234b38db406abe83b0d6d358a9f
SHA1 (patch-aj) = 5c633571ea932ce349065cbb4c3bf482cc971675
SHA1 (patch-ak) = 9d95372fd8edddbf0366e83a51d7a0b8a507f218
diff --git a/security/mit-krb5/patches/patch-ag b/security/mit-krb5/patches/patch-ag
index 4a91bcc1cd8..abdee9a09ad 100644
--- a/security/mit-krb5/patches/patch-ag
+++ b/security/mit-krb5/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.4 2005/09/22 19:45:42 jlam Exp $
+$NetBSD: patch-ag,v 1.5 2006/02/24 21:56:40 joerg Exp $
--- config/shlib.conf.orig 2005-04-07 17:38:51.000000000 -0400
+++ config/shlib.conf
@@ -18,6 +18,15 @@ $NetBSD: patch-ag,v 1.4 2005/09/22 19:45:42 jlam Exp $
# Default for systems w/o shared libraries
CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)'
#
+@@ -219,7 +221,7 @@ mips-*-netbsd*)
+ PROFFLAGS=-pg
+ ;;
+
+-*-*-netbsd*)
++*-*-netbsd* | *-*-dragonfly*)
+ PICFLAGS=-fPIC
+ SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
+ SHLIBEXT=.so
@@ -395,3 +397,8 @@ if test "${MAKE_SHLIB_COMMAND}" = "x" ;
MAKE_SHLIB_COMMAND="${LDCOMBINE} -o \$@ \$\$objlist \$(SHLIB_EXPFLAGS) ${LDCOMBINE_TAIL}"
fi
diff --git a/security/mit-krb5/patches/patch-al b/security/mit-krb5/patches/patch-al
new file mode 100644
index 00000000000..8bf73324148
--- /dev/null
+++ b/security/mit-krb5/patches/patch-al
@@ -0,0 +1,20 @@
+$NetBSD: patch-al,v 1.3 2006/02/24 21:56:40 joerg Exp $
+
+--- src/lib/gssapi/krb5/import_name.c.orig 2005-07-18 22:12:42.000000000 +0000
++++ src/lib/gssapi/krb5/import_name.c
+@@ -27,10 +27,15 @@
+ #include "gssapiP_krb5.h"
+
+ #ifndef NO_PASSWORD
++#include <limits.h>
+ #include <pwd.h>
+ #ifdef HAVE_GETPWUID_R
+ #include <stdio.h>
+ #endif
++
++#ifndef BUFSIZ
++#define BUFSIZ LINE_MAX
++#endif
+ #endif
+
+ #ifdef HAVE_STRING_H