summaryrefslogtreecommitdiff
path: root/security/heimdal/patches
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-10 14:56:44 +0000
committerjlam <jlam>2004-01-10 14:56:44 +0000
commit96abe366e18dbd15683480c70ada90d1e511ad42 (patch)
tree9ab2153ce67f3445b6cf6543c6d4676af6b3c3e3 /security/heimdal/patches
parent1c2ba4ac6dc7791fd21e3125abf3bf3bf1157591 (diff)
downloadpkgsrc-96abe366e18dbd15683480c70ada90d1e511ad42.tar.gz
Initial import of heimdal-0.6 into security/heimdal.
Heimdal is a free implementation of Kerberos 5. Kerberos is a system for authenticating users and services on a network. It is built upon the assumption that the network is "unsafe". Kerberos is a trusted third-party service. That means that there is a third party (the Kerberos server) that is trusted by all the entities on the network (users and services, usually called "principals"). All principals share a secret password (or key) with the Kerberos server and this enables principals to verify that the messages from the Kerberos server are authentic. Thus trusting the Kerberos server, users and services can authenticate each other.
Diffstat (limited to 'security/heimdal/patches')
-rw-r--r--security/heimdal/patches/patch-aa19
-rw-r--r--security/heimdal/patches/patch-ab40
-rw-r--r--security/heimdal/patches/patch-ac14
-rw-r--r--security/heimdal/patches/patch-ad14
4 files changed, 87 insertions, 0 deletions
diff --git a/security/heimdal/patches/patch-aa b/security/heimdal/patches/patch-aa
new file mode 100644
index 00000000000..4c1e5c7b35b
--- /dev/null
+++ b/security/heimdal/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/10 14:56:45 jlam Exp $
+
+--- appl/ftp/ftp/gssapi.c.orig Sun Mar 16 14:40:18 2003
++++ appl/ftp/ftp/gssapi.c
+@@ -228,12 +228,13 @@ gss_adat(void *app_data, void *buf, size
+ gss_release_buffer(&min_stat, &export_name);
+ goto out;
+ }
+- name = realloc(export_name.value, export_name.length + 1);
++ name = malloc(export_name.length + 1);
+ if(name == NULL) {
+ reply(500, "Out of memory");
+ gss_release_buffer(&min_stat, &export_name);
+ goto out;
+ }
++ memcpy(name, export_name.value, export_name.length);
+ name[export_name.length] = '\0';
+ gss_release_buffer(&min_stat, &export_name);
+ d->client_name = name;
diff --git a/security/heimdal/patches/patch-ab b/security/heimdal/patches/patch-ab
new file mode 100644
index 00000000000..9905a3e27ea
--- /dev/null
+++ b/security/heimdal/patches/patch-ab
@@ -0,0 +1,40 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/10 14:56:45 jlam Exp $
+
+--- cf/install-catman.sh.orig Sat Sep 29 12:05:38 2001
++++ cf/install-catman.sh
+@@ -14,16 +14,7 @@ for f in "$@"; do
+ base=`echo "$f" | sed 's/\(.*\)\.\([^.]*\)$/\1/'`
+ section=`echo "$f" | sed 's/\(.*\)\.\([^.]*\)$/\2/'`
+ mandir="$manbase/man$section"
+- catdir="$manbase/cat$section"
+- c="$base.cat$section"
+
+- if test -f "$srcdir/$c"; then
+- if test \! -d "$catdir"; then
+- eval "$mkinstalldirs $catdir"
+- fi
+- eval "echo $INSTALL_DATA $srcdir/$c $catdir/$base.$suffix"
+- eval "$INSTALL_DATA $srcdir/$c $catdir/$base.$suffix"
+- fi
+ for link in `sed -n -e '/SYNOPSIS/q;/DESCRIPTION/q;s/^\.Nm \([^ ]*\).*/\1/p' $srcdir/$f`; do
+ if [ "$link" != "$base" ]; then
+ target="$mandir/$link.$section"
+@@ -36,18 +27,6 @@ for f in "$@"; do
+ break
+ fi
+ done
+- if test -f "$srcdir/$c"; then
+- target="$catdir/$link.$suffix"
+- for cmd in "ln -f $catdir/$base.$suffix $target" \
+- "ln -fs $base.$suffix $target" \
+- "cp -f $catdir/$base.$suffix $target"
+- do
+- if eval "$cmd"; then
+- eval echo "$cmd"
+- break
+- fi
+- done
+- fi
+ fi
+ done
+ done
diff --git a/security/heimdal/patches/patch-ac b/security/heimdal/patches/patch-ac
new file mode 100644
index 00000000000..ade79ffbd10
--- /dev/null
+++ b/security/heimdal/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/01/10 14:56:45 jlam Exp $
+
+--- configure.in.orig Mon May 12 11:26:39 2003
++++ configure.in
+@@ -16,9 +16,6 @@ AM_MAINTAINER_MODE
+
+ AC_PREFIX_DEFAULT(/usr/heimdal)
+
+-test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
+-test "$localstatedir" = '${prefix}/var' && localstatedir='/var/heimdal'
+-
+ AC_CANONICAL_HOST
+ CANONICAL_HOST=$host
+ AC_SUBST(CANONICAL_HOST)
diff --git a/security/heimdal/patches/patch-ad b/security/heimdal/patches/patch-ad
new file mode 100644
index 00000000000..262cfc5cdf0
--- /dev/null
+++ b/security/heimdal/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/01/10 14:56:45 jlam Exp $
+
+--- configure.orig Mon May 12 11:28:20 2003
++++ configure
+@@ -3036,9 +3036,6 @@ fi
+
+
+
+-test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
+-test "$localstatedir" = '${prefix}/var' && localstatedir='/var/heimdal'
+-
+ # Make sure we can run config.sub.
+ $ac_config_sub sun4 >/dev/null 2>&1 ||
+ { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5