diff options
Diffstat (limited to 'security/heimdal/patches')
-rw-r--r-- | security/heimdal/patches/patch-aa | 19 | ||||
-rw-r--r-- | security/heimdal/patches/patch-ab | 40 | ||||
-rw-r--r-- | security/heimdal/patches/patch-ac | 14 | ||||
-rw-r--r-- | security/heimdal/patches/patch-ad | 14 |
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 |