pkgsrc/security/mit-krb5/patches/patch-aa
adam f013b18e21 Changes 1.10.2:
This is a bugfix release.
* Fix an interop issue with Windows Server 2008 R2 Read-Only Domain Controllers.
* Update a workaround for a glibc bug that would cause DNS PTR queries to occur
  even when rdns = false.
* Fix a kadmind denial of service issue (null pointer dereference), which could
  only be triggered by an administrator with the "create" privilege.
  [CVE-2012-1013]

Changes 1.10.1:
This is a bugfix release.
* Fix access controls for KDB string attributes [CVE-2012-1012]
* Make the ASN.1 encoding of key version numbers interoperate with Windows
  Read-Only Domain Controllers
* Avoid generating spurious password expiry warnings in cases where the KDC
  sends an account expiry time without a password expiry time.
2012-07-16 19:12:33 +00:00

78 lines
2.2 KiB
Text

$NetBSD: patch-aa,v 1.4 2012/07/16 19:12:33 adam Exp $
Don't make sunpro warnings into errors (warnings are seen in gcc too)
Add --enable-pkgsrc-libtool option
--- aclocal.m4.orig 2012-05-31 23:49:44.000000000 +0000
+++ aclocal.m4
@@ -611,7 +611,7 @@ else
# works, but it also means that declaration-in-code warnings won't
# be issued.
# -v -fd -errwarn=E_DECLARATION_IN_CODE ...
- WARN_CFLAGS="-errtags=yes -errwarn=E_BAD_PTR_INT_COMBINATION,E_BAD_PTR_INT_COMB_ARG,E_PTR_TO_VOID_IN_ARITHMETIC,E_NO_IMPLICIT_DECL_ALLOWED,E_ATTRIBUTE_PARAM_UNDEFINED"
+ WARN_CFLAGS="-errtags=yes"
WARN_CXXFLAGS="-errtags=yes +w +w2 -xport64"
fi
fi
@@ -1038,6 +1038,9 @@ AC_SUBST(SHLIBVEXT)
AC_SUBST(SHLIBSEXT)
AC_SUBST(DEPLIBEXT)
AC_SUBST(PFLIBEXT)
+AC_SUBST(LALIBEXT)
+AC_SUBST(LALIB_EXPFLAGS)
+AC_SUBST(LIBTOOL_TAIL)
AC_SUBST(LIBINSTLIST)
AC_SUBST(DYNOBJEXT)
AC_SUBST(MAKE_DYNOBJ_COMMAND)
@@ -1054,6 +1057,7 @@ AC_SUBST(OBJLISTS)
AC_SUBST(STOBJEXT)
AC_SUBST(SHOBJEXT)
AC_SUBST(PFOBJEXT)
+AC_SUBST(LAOBJEXT)
AC_SUBST(PICFLAGS)
AC_SUBST(PROFFLAGS)])
@@ -1168,11 +1172,42 @@ else
KDB5_PLUGIN_DEPLIBS=
KDB5_PLUGIN_LIBS=
fi
+DEPSTLIBEXT=$STLIBEXT
+AC_SUBST(DEPSTLIBEXT)
CC_LINK="$CC_LINK_SHARED"
CXX_LINK="$CXX_LINK_SHARED"
+# Check whether to build libtool archives.
+AC_ARG_ENABLE([pkgsrc-libtool],
+[ --enable-pkgsrc-libtool build libtool archives],
+[
+ case $enableval in
+ /*) LIBTOOL=$enableval ;;
+ *) LIBTOOL=libtool ;;
+ esac
+ AC_MSG_RESULT([Enabling libtool archives.])
+ LIBLIST='lib$(LIBBASE)$(LALIBEXT)'
+ LIBLINKS='$(TOPLIBD)/lib$(LIBBASE)$(LALIBEXT)'
+ OBJLISTS=OBJS.LA
+ LIBINSTLIST=install-libtool
+ DEPLIBEXT=$LALIBEXT
+ DEPSTLIBEXT=$LALIBEXT
+ PLUGIN='lib$(LIBBASE)$(LALIBEXT)'
+ PLUGININST=install-libtool
+ CC_LINK="$CC_LINK_LIBTOOL"
+ INSTALL_LIBTOOL='$(LIBTOOL) --mode=install'
+ if test "$krb5_force_static" = yes; then
+ LIBTOOL_TAIL=
+ fi
+], [
+ LIBTOOL=:
+ INSTALL_LIBTOOL=
+])
+AC_SUBST(LIBTOOL)
+AC_SUBST(INSTALL_LIBTOOL)
+
if test -z "$LIBLIST"; then
- AC_MSG_ERROR([must enable one of shared or static libraries])
+ AC_MSG_ERROR([must enable one of shared, libtool or static libraries])
fi
# Check whether to build profiled libraries.