pkgsrc/security/mit-krb5/patches/patch-af
jlam 46c042ccc9 Updated security/mit-krb5 to krb5-1.4. Changes from version 1.3.6 include:
* Merged Athena telnetd changes for creating a new option for requiring
    encryption.
* Add implementation of the RPCSEC_GSS authentication flavor to the RPC
    library.
* The kadmind4 backwards-compatibility admin server and the v5passwdd
    backwards-compatibility password-changing server have been removed.
* Thread safety for krb5 libraries.
* Yarrow code now uses AES.
* Merged Athena changes to allow ftpd to require encrypted passwords.
* Incorporate gss_krb5_set_allowable_enctypes() and
    gss_krb5_export_lucid_sec_context(), which are needed for NFSv4.
* Fix heap buffer overflow in password history mechanism.
    [MITKRB5-SA-2004-004]
2005-04-10 07:15:24 +00:00

103 lines
3.5 KiB
Text

$NetBSD: patch-af,v 1.3 2005/04/10 07:15:25 jlam Exp $
--- config/pre.in.orig 2004-11-19 16:47:51.000000000 -0500
+++ config/pre.in
@@ -159,6 +159,7 @@ CFLAGS = @CFLAGS@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
CPPFLAGS = @CPPFLAGS@
DEFS = @DEFS@
+LIBTOOL = @LIBTOOL@
CC = @CC@
LD = $(PURE) @LD@
DEPLIBS = @DEPLIBS@
@@ -176,11 +177,12 @@ CLNTDEPLIBS = @CLNTDEPLIBS@
INSTALL=@INSTALL@
INSTALL_STRIP=
-INSTALL_PROGRAM=@INSTALL_PROGRAM@ $(INSTALL_STRIP)
-INSTALL_SCRIPT=@INSTALL_PROGRAM@
+INSTALL_LIBTOOL=@INSTALL_LIBTOOL@
+INSTALL_PROGRAM=$(INSTALL_LIBTOOL) @INSTALL_PROGRAM@ $(INSTALL_STRIP)
+INSTALL_SCRIPT=@INSTALL_SCRIPT@
INSTALL_DATA=@INSTALL_DATA@
INSTALL_SHLIB=@INSTALL_SHLIB@
-INSTALL_SETUID=$(INSTALL) $(INSTALL_STRIP) -m 4755 -o root
+INSTALL_SETUID=$(INSTALL_LIBTOOL) $(INSTALL) $(INSTALL_STRIP) -m 4755 -o $(ROOT_USER)
## This is needed because autoconf will sometimes define @exec_prefix@ to be
## ${prefix}.
prefix=@prefix@
@@ -298,6 +300,10 @@ RPATH_FLAG=@RPATH_FLAG@
# depending on whether we're building with shared libraries.
DEPLIBEXT=@DEPLIBEXT@
+# this gets set by configure to either $(STLIBEXT) or $(LALIBEXT),
+# depending on whether we're building libtool archives.
+DEPSTLIBEXT=@DEPSTLIBEXT@
+
KADMCLNT_DEPLIB = $(TOPLIBD)/libkadm5clnt$(DEPLIBEXT)
KADMSRV_DEPLIB = $(TOPLIBD)/libkadm5srv$(DEPLIBEXT)
KDB5_DEPLIB = $(TOPLIBD)/libkdb5$(DEPLIBEXT)
@@ -316,13 +322,13 @@ COM_ERR_DEPLIB-k5 = $(TOPLIBD)/libcom_er
SUPPORT_LIBNAME=krb5support
SUPPORT_DEPLIB = $(TOPLIBD)/lib$(SUPPORT_LIBNAME)$(DEPLIBEXT)
-# These are forced to use ".a" as an extension because they're never
+# These are forced to use "@DEPSTLIBEXT" as an extension because they're never
# built shared.
SS_DEPLIB = $(SS_DEPLIB-@SS_VERSION@)
-SS_DEPLIB-k5 = $(TOPLIBD)/libss.a
+SS_DEPLIB-k5 = $(TOPLIBD)/libss$(DEPSTLIBEXT)
SS_DEPLIB-sys =
-PTY_DEPLIB = $(TOPLIBD)/libpty.a
-APPUTILS_DEPLIB = $(TOPLIBD)/libapputils.a
+PTY_DEPLIB = $(TOPLIBD)/libpty$(DEPSTLIBEXT)
+APPUTILS_DEPLIB = $(TOPLIBD)/libapputils$(DEPSTLIBEXT)
KRB5_BASE_DEPLIBS = $(KRB5_DEPLIB) $(CRYPTO_DEPLIB) $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
KRB4COMPAT_DEPLIBS = $(KRB4_DEPLIB) $(DES425_DEPLIB) $(KRB5_BASE_DEPLIBS)
@@ -363,7 +369,7 @@ GEN_LIB = @GEN_LIB@
SS_LIB = $(SS_LIB-@SS_VERSION@)
SS_LIB-sys = @SS_LIB@
-SS_LIB-k5 = $(TOPLIBD)/libss.a
+SS_LIB-k5 = $(TOPLIBD)/libss$(DEPSTLIBEXT)
KDB5_LIB = -lkdb5
DB_LIB = @DB_LIB@
KDB5_DB_LIB = @KDB5_DB_LIB@
@@ -494,6 +500,9 @@ SHLIBEXT=@SHLIBEXT@
# usually _p.a
PFLIBEXT=@PFLIBEXT@
+# usually .la
+LALIBEXT=@LALIBEXT@
+
# File with symbol names to be exported, both functions and data,
# currently not distinguished.
SHLIB_EXPORT_FILE=$(srcdir)/lib$(LIBBASE).exports
@@ -511,6 +520,7 @@ MAKE_SHLIB_COMMAND=@MAKE_SHLIB_COMMAND@
# flags for explicit libraries depending on this one,
# e.g. "-R$(SHLIB_RPATH) $(SHLIB_SHLIB_DIRFLAGS) $(SHLIB_EXPLIBS)"
SHLIB_EXPFLAGS=@SHLIB_EXPFLAGS@
+LALIB_EXPFLAGS=@LALIB_EXPFLAGS@
## Parameters to be set by configure for use in libobj.in:
@@ -522,6 +532,7 @@ OBJLISTS=@OBJLISTS@
# the suffix substitution will break on some platforms!
SHLIBOBJS=$(STLIBOBJS:.o=@SHOBJEXT@)
PFLIBOBJS=$(STLIBOBJS:.o=@PFOBJEXT@)
+LALIBOBJS=$(STLIBOBJS:.o=@LAOBJEXT@)
# "$(CC) -G", "$(LD) -Bshareable", etc.
LDCOMBINE=@LDCOMBINE@
@@ -529,6 +540,10 @@ LDCOMBINE=@LDCOMBINE@
# "-h $@", "-h lib$(LIBNAME).$(LIBMAJOR)", etc.
SONAME=@SONAME@
+# Args to tack on the tail of LIBTOOL to generate versioned, installable
+# libtool archives.
+LIBTOOL_TAIL=@LIBTOOL_TAIL@
+
#
# rules to make various types of object files
#