소스 검색

Add make rpms build target

This adds the ability for developers to easily create local RPM
builds for testing purposes.  With these changes, one can simply
run configure then do a 'make rpms' to create RPM packages using
the code from the local tree.  Note that this will include local
modifications that are not committed to the local git repo.

The packages will be placed in a "dist" directory in the location
where you run make.  It will use a temporary rpmbuild environment
in this same area.  The package names will use VERSION.sh to set
the version number, and the release number will use a date/time
stamp in addition to referencing the latest git commit hash.  This
naming scheme should guarantee that each subsequent build is found
to be newer than the previous build according to RPMs N-V-R
comparison.
Nathan Kinder 12 년 전
부모
커밋
c884bd9154
17개의 변경된 파일3543개의 추가작업 그리고 1334개의 파일을 삭제
  1. 43 0
      Makefile.am
  2. 219 142
      Makefile.in
  3. 9 1
      VERSION.sh
  4. 68 46
      aclocal.m4
  5. 214 14
      compile
  6. 144 115
      config.guess
  7. 6 0
      config.h.in
  8. 136 68
      config.sub
  9. 459 630
      configure
  10. 7 0
      configure.ac
  11. 134 56
      depcomp
  12. 18 11
      install-sh
  13. 577 202
      ltmain.sh
  14. 4 49
      missing
  15. 4 0
      rpm/389-ds-base-devel.README
  16. 16 0
      rpm/389-ds-base-git.sh
  17. 1485 0
      rpm/389-ds-base.spec.in

+ 43 - 0
Makefile.am

@@ -5,6 +5,15 @@ SPACE := $(NULLSTRING) # the space is between the ) and the #
 COLON := $(NULLSTRING):# a colon
 QUOTE := $(NULLSTRING)"# a double quote"
 
+#------------------------
+# RPM Packaging
+#------------------------
+RPMBUILD ?= $(PWD)/rpmbuild
+RPM_VERSION=@rpm_version@
+RPM_RELEASE=@rpm_release@
+RPM_NAME_VERSION=$(PACKAGE)-$(RPM_VERSION)
+TARBALL=$(RPM_NAME_VERSION).tar.bz2
+
 #------------------------
 # Compiler Flags
 #------------------------
@@ -137,6 +146,7 @@ CLEANFILES =  dberrstrs.h ns-slapd.properties \
 	$(POSIX_WINSYNC_PLUGIN_LDIF)
 
 clean-local:
+	-rm -rf dist
 	-rm -rf selinux-built
 
 dberrstrs.h: Makefile
@@ -1673,3 +1683,36 @@ git-archive:
 		gittag=HEAD ; \
 	fi ; \
 	git archive --prefix=$(distdir)/ $$gittag | bzip2 > $$srcdistdir/$(distdir).tar.bz2
+
+local-archive:
+	-mkdir -p dist/$(RPM_NAME_VERSION)
+	rsync -a --exclude=dist --exclude=.git --exclude=rpmbuild $(srcdir)/. dist/$(RPM_NAME_VERSION)
+
+tarballs: local-archive
+	-mkdir -p dist/sources
+	cd dist; tar cfj sources/$(TARBALL) $(RPM_NAME_VERSION)
+	rm -rf dist/$(RPM_NAME_VERSION)
+
+rpmroot:
+	rm -rf $(RPMBUILD)
+	mkdir -p $(RPMBUILD)/BUILD
+	mkdir -p $(RPMBUILD)/RPMS
+	mkdir -p $(RPMBUILD)/SOURCES
+	mkdir -p $(RPMBUILD)/SPECS
+	mkdir -p $(RPMBUILD)/SRPMS
+
+rpmdistdir:
+	mkdir -p dist/rpms
+	mkdir -p dist/srpms
+
+rpms: rpmroot rpmdistdir tarballs
+	cp dist/sources/$(TARBALL) $(RPMBUILD)/SOURCES/
+	cp $(srcdir)/rpm/$(PACKAGE)-* $(RPMBUILD)/SOURCES/
+	sed -e s/__VERSION__/$(RPM_VERSION)/ -e s/__RELEASE__/$(RPM_RELEASE)/ \
+                $(srcdir)/rpm/$(PACKAGE).spec.in > $(RPMBUILD)/SPECS/$(PACKAGE).spec
+	rpmbuild --define "_topdir $(RPMBUILD)" -ba $(RPMBUILD)/SPECS/$(PACKAGE).spec
+	cp $(RPMBUILD)/RPMS/*/$(RPM_NAME_VERSION)-*.rpm dist/rpms/
+	cp $(RPMBUILD)/RPMS/*/$(PACKAGE)-*-$(RPM_VERSION)-*.rpm dist/rpms/
+	cp $(RPMBUILD)/SRPMS/$(RPM_NAME_VERSION)-*.src.rpm dist/srpms/
+	rm -rf $(RPMBUILD)
+

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 219 - 142
Makefile.in


+ 9 - 1
VERSION.sh

@@ -14,7 +14,7 @@ VERSION_MAINT=2
 # if this is a PRERELEASE, set VERSION_PREREL
 # otherwise, comment it out
 # be sure to include the dot prefix in the prerel
-VERSION_PREREL=.pre.a1
+VERSION_PREREL=.a1
 # NOTES on VERSION_PREREL
 # use aN for an alpha release e.g. a1, a2, etc.
 # use rcN for a release candidate e.g. rc1, rc2, etc.
@@ -22,6 +22,13 @@ VERSION_PREREL=.pre.a1
 # RC1.`date +%Y%m%d`
 # a git commit may also be used
 
+# Set the version and release numbers for local developer RPM builds. We
+# set these here because we do not want the git commit hash in the RPM
+# version since it can make RPM upgrades difficult.  If we have a git
+# commit hash, we add it into the release number below.
+RPM_RELEASE=`date -u +%Y%m%d%H%M%S`
+RPM_VERSION=$VERSION_MAJOR.$VERSION_MINOR.${VERSION_MAINT}$VERSION_PREREL
+
 if test -n "$VERSION_PREREL"; then
 # if the source is from a git repo, put the last commit
 # in the version
@@ -32,6 +39,7 @@ if test -n "$VERSION_PREREL"; then
     COMMIT=`cd $srcdir ; git log -1 --pretty=format:%h 2> /dev/null`
     if test -n "$COMMIT" ; then
         VERSION_PREREL=$VERSION_PREREL.git$COMMIT
+        RPM_RELEASE=$RPM_RELEASE.git$COMMIT
     fi
 fi
 

+ 68 - 46
aclocal.m4

@@ -1,7 +1,8 @@
-# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
+# Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -13,13 +14,14 @@
 
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
-[m4_warning([this file was generated for autoconf 2.63.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
+[m4_warning([this file was generated for autoconf 2.68.
 You have another version of autoconf.  It may work, but is not guaranteed to.
 If you have problems, you may need to regenerate the build system entirely.
 To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
 # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
+# serial 1 (pkg-config-0.24)
 # 
 # Copyright © 2004 Scott James Remnant <[email protected]>.
 #
@@ -47,7 +49,10 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
 AC_DEFUN([PKG_PROG_PKG_CONFIG],
 [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
+AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
+AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
+
 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
 fi
@@ -60,7 +65,6 @@ if test -n "$PKG_CONFIG"; then
 		AC_MSG_RESULT([no])
 		PKG_CONFIG=""
 	fi
-		
 fi[]dnl
 ])# PKG_PROG_PKG_CONFIG
 
@@ -69,21 +73,20 @@ fi[]dnl
 # Check to see whether a particular set of modules exists.  Similar
 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
 #
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
+# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+# only at the first occurence in configure.ac, so if the first place
+# it's called might be skipped (such as if it is within an "if", you
+# have to call PKG_CHECK_EXISTS manually
 # --------------------------------------------------------------
 AC_DEFUN([PKG_CHECK_EXISTS],
 [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 if test -n "$PKG_CONFIG" && \
     AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
-  m4_ifval([$2], [$2], [:])
+  m4_default([$2], [:])
 m4_ifvaln([$3], [else
   $3])dnl
 fi])
 
-
 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
 # ---------------------------------------------
 m4_define([_PKG_CONFIG],
@@ -136,6 +139,7 @@ and $1[]_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.])
 
 if test $pkg_failed = yes; then
+   	AC_MSG_RESULT([no])
         _PKG_SHORT_ERRORS_SUPPORTED
         if test $_pkg_short_errors_supported = yes; then
 	        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
@@ -145,7 +149,7 @@ if test $pkg_failed = yes; then
 	# Put the nasty error message in config.log where it belongs
 	echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
 
-	ifelse([$4], , [AC_MSG_ERROR(dnl
+	m4_default([$4], [AC_MSG_ERROR(
 [Package requirements ($2) were not met:
 
 $$1_PKG_ERRORS
@@ -153,34 +157,36 @@ $$1_PKG_ERRORS
 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.
 
-_PKG_TEXT
-])],
-		[AC_MSG_RESULT([no])
-                $4])
+_PKG_TEXT])
+        ])
 elif test $pkg_failed = untried; then
-	ifelse([$4], , [AC_MSG_FAILURE(dnl
+     	AC_MSG_RESULT([no])
+	m4_default([$4], [AC_MSG_FAILURE(
 [The pkg-config script could not be found or is too old.  Make sure it
 is in your PATH or set the PKG_CONFIG environment variable to the full
 path to pkg-config.
 
 _PKG_TEXT
 
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
-		[$4])
+To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
+        ])
 else
 	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
 	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
         AC_MSG_RESULT([yes])
-	ifelse([$3], , :, [$3])
+	$3
 fi[]dnl
 ])# PKG_CHECK_MODULES
 
-# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
+# Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_AUTOMAKE_VERSION(VERSION)
 # ----------------------------
 # Automake X.Y traces this macro to ensure aclocal.m4 has been
@@ -190,7 +196,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION],
 [am__api_version='1.11'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.11.1], [],
+m4_if([$1], [1.11.6], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -206,7 +212,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.11.1])dnl
+[AM_AUTOMAKE_VERSION([1.11.6])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -235,12 +241,14 @@ _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
@@ -322,14 +330,14 @@ AC_CONFIG_COMMANDS_PRE(
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
-# Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
+# 2010, 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 10
+# serial 12
 
 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 # written in clear, in which case automake, when reading aclocal.m4,
@@ -369,6 +377,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -433,7 +442,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
 	break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -498,10 +507,13 @@ AC_DEFUN([AM_DEP_TRACK],
 if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'
+  am__nodep='_no'
 fi
 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
 AC_SUBST([AMDEPBACKSLASH])dnl
 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+AC_SUBST([am__nodep])dnl
+_AM_SUBST_NOTMAKE([am__nodep])dnl
 ])
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
@@ -723,12 +735,15 @@ for _am_header in $config_headers :; do
 done
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
-# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
+# Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_PROG_INSTALL_SH
 # ------------------
 # Define $install_sh.
@@ -768,8 +783,8 @@ AC_SUBST([am__leading_dot])])
 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
 # From Jim Meyering
 
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
+# 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -789,7 +804,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
        [disable], [m4_define([am_maintainer_other], [enable])],
        [m4_define([am_maintainer_other], [enable])
         m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
   dnl maintainer-mode's default is 'disable' unless 'enable' is passed
   AC_ARG_ENABLE([maintainer-mode],
 [  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
@@ -935,12 +950,15 @@ else
 fi
 ])
 
-# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
+# Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_PROG_MKDIR_P
 # ---------------
 # Check for `mkdir -p'.
@@ -963,13 +981,14 @@ esac
 
 # Helper functions for option handling.                     -*- Autoconf -*-
 
-# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
+# Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 4
+# serial 5
 
 # _AM_MANGLE_OPTION(NAME)
 # -----------------------
@@ -977,13 +996,13 @@ AC_DEFUN([_AM_MANGLE_OPTION],
 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
 
 # _AM_SET_OPTION(NAME)
-# ------------------------------
+# --------------------
 # Set option NAME.  Presently that only means defining a flag for this option.
 AC_DEFUN([_AM_SET_OPTION],
 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
 # _AM_SET_OPTIONS(OPTIONS)
-# ----------------------------------
+# ------------------------
 # OPTIONS is a space-separated list of Automake options.
 AC_DEFUN([_AM_SET_OPTIONS],
 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
@@ -1059,12 +1078,14 @@ Check your system clock])
 fi
 AC_MSG_RESULT(yes)])
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 1
+
 # AM_PROG_INSTALL_STRIP
 # ---------------------
 # One issue with vendor `install' (even GNU) is that you can't
@@ -1087,13 +1108,13 @@ fi
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
-# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 2
+# serial 3
 
 # _AM_SUBST_NOTMAKE(VARIABLE)
 # ---------------------------
@@ -1102,13 +1123,13 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
 AC_DEFUN([_AM_SUBST_NOTMAKE])
 
 # AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
+# --------------------------
 # Public sister of _AM_SUBST_NOTMAKE.
 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
 # Check how to create a tarball.                            -*- Autoconf -*-
 
-# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -1130,10 +1151,11 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 # a tarball read from stdin.
 #     $(am__untar) < result.tar
 AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility.
-AM_MISSING_PROG([AMTAR], [tar])
+[# Always define AMTAR for backward compatibility.  Yes, it's still used
+# in the wild :-(  We should find a proper way to deprecate it ...
+AC_SUBST([AMTAR], ['$${TAR-tar}'])
 m4_if([$1], [v7],
-     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
      [m4_case([$1], [ustar],, [pax],,
               [m4_fatal([Unknown tar format])])
 AC_MSG_CHECKING([how to create a $1 tar archive])

+ 214 - 14
compile

@@ -1,10 +1,10 @@
 #! /bin/sh
-# Wrapper for compilers which do not understand `-c -o'.
+# Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2009-10-06.20; # UTC
+scriptversion=2012-03-05.13; # UTC
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009  Free Software
-# Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
+# Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -29,21 +29,219 @@ scriptversion=2009-10-06.20; # UTC
 # bugs to <[email protected]> or send patches to
 # <[email protected]>.
 
+nl='
+'
+
+# We need space, tab and new line, in precisely that order.  Quoting is
+# there to prevent tools from complaining about whitespace usage.
+IFS=" ""	$nl"
+
+file_conv=
+
+# func_file_conv build_file lazy
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts. If the determined conversion
+# type is listed in (the comma separated) LAZY, no conversion will
+# take place.
+func_file_conv ()
+{
+  file=$1
+  case $file in
+    / | /[!/]*) # absolute file, and not a UNC file
+      if test -z "$file_conv"; then
+	# lazily determine how to convert abs files
+	case `uname -s` in
+	  MINGW*)
+	    file_conv=mingw
+	    ;;
+	  CYGWIN*)
+	    file_conv=cygwin
+	    ;;
+	  *)
+	    file_conv=wine
+	    ;;
+	esac
+      fi
+      case $file_conv/,$2, in
+	*,$file_conv,*)
+	  ;;
+	mingw/*)
+	  file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+	  ;;
+	cygwin/*)
+	  file=`cygpath -m "$file" || echo "$file"`
+	  ;;
+	wine/*)
+	  file=`winepath -w "$file" || echo "$file"`
+	  ;;
+      esac
+      ;;
+  esac
+}
+
+# func_cl_dashL linkdir
+# Make cl look for libraries in LINKDIR
+func_cl_dashL ()
+{
+  func_file_conv "$1"
+  if test -z "$lib_path"; then
+    lib_path=$file
+  else
+    lib_path="$lib_path;$file"
+  fi
+  linker_opts="$linker_opts -LIBPATH:$file"
+}
+
+# func_cl_dashl library
+# Do a library search-path lookup for cl
+func_cl_dashl ()
+{
+  lib=$1
+  found=no
+  save_IFS=$IFS
+  IFS=';'
+  for dir in $lib_path $LIB
+  do
+    IFS=$save_IFS
+    if $shared && test -f "$dir/$lib.dll.lib"; then
+      found=yes
+      lib=$dir/$lib.dll.lib
+      break
+    fi
+    if test -f "$dir/$lib.lib"; then
+      found=yes
+      lib=$dir/$lib.lib
+      break
+    fi
+  done
+  IFS=$save_IFS
+
+  if test "$found" != yes; then
+    lib=$lib.lib
+  fi
+}
+
+# func_cl_wrapper cl arg...
+# Adjust compile command to suit cl
+func_cl_wrapper ()
+{
+  # Assume a capable shell
+  lib_path=
+  shared=:
+  linker_opts=
+  for arg
+  do
+    if test -n "$eat"; then
+      eat=
+    else
+      case $1 in
+	-o)
+	  # configure might choose to run compile as 'compile cc -o foo foo.c'.
+	  eat=1
+	  case $2 in
+	    *.o | *.[oO][bB][jJ])
+	      func_file_conv "$2"
+	      set x "$@" -Fo"$file"
+	      shift
+	      ;;
+	    *)
+	      func_file_conv "$2"
+	      set x "$@" -Fe"$file"
+	      shift
+	      ;;
+	  esac
+	  ;;
+	-I)
+	  eat=1
+	  func_file_conv "$2" mingw
+	  set x "$@" -I"$file"
+	  shift
+	  ;;
+	-I*)
+	  func_file_conv "${1#-I}" mingw
+	  set x "$@" -I"$file"
+	  shift
+	  ;;
+	-l)
+	  eat=1
+	  func_cl_dashl "$2"
+	  set x "$@" "$lib"
+	  shift
+	  ;;
+	-l*)
+	  func_cl_dashl "${1#-l}"
+	  set x "$@" "$lib"
+	  shift
+	  ;;
+	-L)
+	  eat=1
+	  func_cl_dashL "$2"
+	  ;;
+	-L*)
+	  func_cl_dashL "${1#-L}"
+	  ;;
+	-static)
+	  shared=false
+	  ;;
+	-Wl,*)
+	  arg=${1#-Wl,}
+	  save_ifs="$IFS"; IFS=','
+	  for flag in $arg; do
+	    IFS="$save_ifs"
+	    linker_opts="$linker_opts $flag"
+	  done
+	  IFS="$save_ifs"
+	  ;;
+	-Xlinker)
+	  eat=1
+	  linker_opts="$linker_opts $2"
+	  ;;
+	-*)
+	  set x "$@" "$1"
+	  shift
+	  ;;
+	*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
+	  func_file_conv "$1"
+	  set x "$@" -Tp"$file"
+	  shift
+	  ;;
+	*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
+	  func_file_conv "$1" mingw
+	  set x "$@" "$file"
+	  shift
+	  ;;
+	*)
+	  set x "$@" "$1"
+	  shift
+	  ;;
+      esac
+    fi
+    shift
+  done
+  if test -n "$linker_opts"; then
+    linker_opts="-link$linker_opts"
+  fi
+  exec "$@" $linker_opts
+  exit 1
+}
+
+eat=
+
 case $1 in
   '')
-     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
      exit 1;
      ;;
   -h | --h*)
     cat <<\EOF
 Usage: compile [--help] [--version] PROGRAM [ARGS]
 
-Wrapper for compilers which do not understand `-c -o'.
-Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
 arguments, and rename the output as expected.
 
 If you are trying to build a whole package this is not the
-right script to run: please start by reading the file `INSTALL'.
+right script to run: please start by reading the file 'INSTALL'.
 
 Report bugs to <[email protected]>.
 EOF
@@ -53,11 +251,13 @@ EOF
     echo "compile $scriptversion"
     exit $?
     ;;
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+    func_cl_wrapper "$@"      # Doesn't return...
+    ;;
 esac
 
 ofile=
 cfile=
-eat=
 
 for arg
 do
@@ -66,8 +266,8 @@ do
   else
     case $1 in
       -o)
-	# configure might choose to run compile as `compile cc -o foo foo.c'.
-	# So we strip `-o arg' only if arg is an object.
+	# configure might choose to run compile as 'compile cc -o foo foo.c'.
+	# So we strip '-o arg' only if arg is an object.
 	eat=1
 	case $2 in
 	  *.o | *.obj)
@@ -94,10 +294,10 @@ do
 done
 
 if test -z "$ofile" || test -z "$cfile"; then
-  # If no `-o' option was seen then we might have been invoked from a
+  # If no '-o' option was seen then we might have been invoked from a
   # pattern rule where we don't need one.  That is ok -- this is a
   # normal compilation that the losing compiler can handle.  If no
-  # `.c' file was seen then we are probably linking.  That is also
+  # '.c' file was seen then we are probably linking.  That is also
   # ok.
   exec "$@"
 fi
@@ -106,7 +306,7 @@ fi
 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
 
 # Create the lock directory.
-# Note: use `[/\\:.-]' here to ensure that we don't use the same name
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
 # that we are using for the .o file.  Also, base the name on the expected
 # object file name, since that is what matters with a parallel build.
 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d

+ 144 - 115
config.guess

@@ -1,10 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011, 2012 Free Software Foundation, Inc.
 
-timestamp='2009-11-20'
+timestamp='2012-02-10'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -17,9 +17,7 @@ timestamp='2009-11-20'
 # General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -56,8 +54,9 @@ version="\
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -144,7 +143,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     *:NetBSD:*:*)
 	# NetBSD (nbsd) targets should (where applicable) match one or
-	# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+	# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
 	# *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
 	# switched to ELF, *-*-netbsd* would select the old
 	# object file format.  This provides both forward
@@ -180,7 +179,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 		fi
 		;;
 	    *)
-	        os=netbsd
+		os=netbsd
 		;;
 	esac
 	# The OS release
@@ -223,7 +222,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
 		;;
 	*5.*)
-	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
 		;;
 	esac
 	# According to Compaq, /usr/sbin/psrinfo has been available on
@@ -269,7 +268,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	# A Xn.n version is an unreleased experimental baselevel.
 	# 1.2 uses "1.2" for uname -r.
 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-	exit ;;
+	# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+	exitcode=$?
+	trap '' 0
+	exit $exitcode ;;
     Alpha\ *:Windows_NT*:*)
 	# How do we know it's Interix rather than the generic POSIX subsystem?
 	# Should we change UNAME_MACHINE based on the output of uname instead
@@ -295,7 +297,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	echo s390-ibm-zvmoe
 	exit ;;
     *:OS400:*:*)
-        echo powerpc-ibm-os400
+	echo powerpc-ibm-os400
 	exit ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 	echo arm-acorn-riscix${UNAME_RELEASE}
@@ -394,23 +396,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     # MiNT.  But MiNT is downward compatible to TOS, so this should
     # be no problem.
     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
+	echo m68k-atari-mint${UNAME_RELEASE}
 	exit ;;
     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
 	echo m68k-atari-mint${UNAME_RELEASE}
-        exit ;;
+	exit ;;
     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
+	echo m68k-atari-mint${UNAME_RELEASE}
 	exit ;;
     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
-        echo m68k-milan-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-milan-mint${UNAME_RELEASE}
+	exit ;;
     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
-        echo m68k-hades-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-hades-mint${UNAME_RELEASE}
+	exit ;;
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
-        echo m68k-unknown-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-unknown-mint${UNAME_RELEASE}
+	exit ;;
     m68k:machten:*:*)
 	echo m68k-apple-machten${UNAME_RELEASE}
 	exit ;;
@@ -480,8 +482,8 @@ EOF
 	echo m88k-motorola-sysv3
 	exit ;;
     AViiON:dgux:*:*)
-        # DG/UX returns AViiON for all architectures
-        UNAME_PROCESSOR=`/usr/bin/uname -p`
+	# DG/UX returns AViiON for all architectures
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
 	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
 	then
 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -494,7 +496,7 @@ EOF
 	else
 	    echo i586-dg-dgux${UNAME_RELEASE}
 	fi
- 	exit ;;
+	exit ;;
     M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
 	echo m88k-dolphin-sysv3
 	exit ;;
@@ -551,7 +553,7 @@ EOF
 		echo rs6000-ibm-aix3.2
 	fi
 	exit ;;
-    *:AIX:*:[456])
+    *:AIX:*:[4567])
 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 		IBM_ARCH=rs6000
@@ -594,52 +596,52 @@ EOF
 	    9000/[678][0-9][0-9])
 		if [ -x /usr/bin/getconf ]; then
 		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
-                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
-                    case "${sc_cpu_version}" in
-                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
-                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
-                      532)                      # CPU_PA_RISC2_0
-                        case "${sc_kernel_bits}" in
-                          32) HP_ARCH="hppa2.0n" ;;
-                          64) HP_ARCH="hppa2.0w" ;;
+		    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+		    case "${sc_cpu_version}" in
+		      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+		      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+		      532)                      # CPU_PA_RISC2_0
+			case "${sc_kernel_bits}" in
+			  32) HP_ARCH="hppa2.0n" ;;
+			  64) HP_ARCH="hppa2.0w" ;;
 			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
-                        esac ;;
-                    esac
+			esac ;;
+		    esac
 		fi
 		if [ "${HP_ARCH}" = "" ]; then
 		    eval $set_cc_for_build
-		    sed 's/^              //' << EOF >$dummy.c
+		    sed 's/^		//' << EOF >$dummy.c
 
-              #define _HPUX_SOURCE
-              #include <stdlib.h>
-              #include <unistd.h>
+		#define _HPUX_SOURCE
+		#include <stdlib.h>
+		#include <unistd.h>
 
-              int main ()
-              {
-              #if defined(_SC_KERNEL_BITS)
-                  long bits = sysconf(_SC_KERNEL_BITS);
-              #endif
-                  long cpu  = sysconf (_SC_CPU_VERSION);
+		int main ()
+		{
+		#if defined(_SC_KERNEL_BITS)
+		    long bits = sysconf(_SC_KERNEL_BITS);
+		#endif
+		    long cpu  = sysconf (_SC_CPU_VERSION);
 
-                  switch (cpu)
-              	{
-              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
-              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
-              	case CPU_PA_RISC2_0:
-              #if defined(_SC_KERNEL_BITS)
-              	    switch (bits)
-              		{
-              		case 64: puts ("hppa2.0w"); break;
-              		case 32: puts ("hppa2.0n"); break;
-              		default: puts ("hppa2.0"); break;
-              		} break;
-              #else  /* !defined(_SC_KERNEL_BITS) */
-              	    puts ("hppa2.0"); break;
-              #endif
-              	default: puts ("hppa1.0"); break;
-              	}
-                  exit (0);
-              }
+		    switch (cpu)
+			{
+			case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+			case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+			case CPU_PA_RISC2_0:
+		#if defined(_SC_KERNEL_BITS)
+			    switch (bits)
+				{
+				case 64: puts ("hppa2.0w"); break;
+				case 32: puts ("hppa2.0n"); break;
+				default: puts ("hppa2.0"); break;
+				} break;
+		#else  /* !defined(_SC_KERNEL_BITS) */
+			    puts ("hppa2.0"); break;
+		#endif
+			default: puts ("hppa1.0"); break;
+			}
+		    exit (0);
+		}
 EOF
 		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
 		    test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -730,22 +732,22 @@ EOF
 	exit ;;
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
 	echo c1-convex-bsd
-        exit ;;
+	exit ;;
     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
 	if getsysinfo -f scalar_acc
 	then echo c32-convex-bsd
 	else echo c2-convex-bsd
 	fi
-        exit ;;
+	exit ;;
     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
 	echo c34-convex-bsd
-        exit ;;
+	exit ;;
     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
 	echo c38-convex-bsd
-        exit ;;
+	exit ;;
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 	echo c4-convex-bsd
-        exit ;;
+	exit ;;
     CRAY*Y-MP:*:*:*)
 	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit ;;
@@ -769,14 +771,14 @@ EOF
 	exit ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
-        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-        exit ;;
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+	echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit ;;
     5000:UNIX_System_V:4.*:*)
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
-        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+	echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 	exit ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -788,13 +790,12 @@ EOF
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 	exit ;;
     *:FreeBSD:*:*)
-	case ${UNAME_MACHINE} in
-	    pc98)
-		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
+	case ${UNAME_PROCESSOR} in
 	    amd64)
 		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 	    *)
-		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+		echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 	esac
 	exit ;;
     i*:CYGWIN*:*)
@@ -803,15 +804,18 @@ EOF
     *:MINGW*:*)
 	echo ${UNAME_MACHINE}-pc-mingw32
 	exit ;;
+    i*:MSYS*:*)
+	echo ${UNAME_MACHINE}-pc-msys
+	exit ;;
     i*:windows32*:*)
-    	# uname -m includes "-pc" on this system.
-    	echo ${UNAME_MACHINE}-mingw32
+	# uname -m includes "-pc" on this system.
+	echo ${UNAME_MACHINE}-mingw32
 	exit ;;
     i*:PW*:*)
 	echo ${UNAME_MACHINE}-pc-pw32
 	exit ;;
     *:Interix*:*)
-    	case ${UNAME_MACHINE} in
+	case ${UNAME_MACHINE} in
 	    x86)
 		echo i586-pc-interix${UNAME_RELEASE}
 		exit ;;
@@ -857,6 +861,13 @@ EOF
     i*86:Minix:*:*)
 	echo ${UNAME_MACHINE}-pc-minix
 	exit ;;
+    aarch64:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    aarch64_be:Linux:*:*)
+	UNAME_MACHINE=aarch64_be
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     alpha:Linux:*:*)
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
@@ -866,7 +877,7 @@ EOF
 	  EV6)   UNAME_MACHINE=alphaev6 ;;
 	  EV67)  UNAME_MACHINE=alphaev67 ;;
 	  EV68*) UNAME_MACHINE=alphaev68 ;;
-        esac
+	esac
 	objdump --private-headers /bin/sh | grep -q ld.so.1
 	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
@@ -878,20 +889,29 @@ EOF
 	then
 	    echo ${UNAME_MACHINE}-unknown-linux-gnu
 	else
-	    echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+		| grep -q __ARM_PCS_VFP
+	    then
+		echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+	    else
+		echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
+	    fi
 	fi
 	exit ;;
     avr32*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     cris:Linux:*:*)
-	echo cris-axis-linux-gnu
+	echo ${UNAME_MACHINE}-axis-linux-gnu
 	exit ;;
     crisv32:Linux:*:*)
-	echo crisv32-axis-linux-gnu
+	echo ${UNAME_MACHINE}-axis-linux-gnu
 	exit ;;
     frv:Linux:*:*)
-    	echo frv-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
+    hexagon:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     i*86:Linux:*:*)
 	LIBC=gnu
@@ -933,7 +953,7 @@ EOF
 	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 	;;
     or32:Linux:*:*)
-	echo or32-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     padre:Linux:*:*)
 	echo sparc-unknown-linux-gnu
@@ -959,7 +979,7 @@ EOF
 	echo ${UNAME_MACHINE}-ibm-linux
 	exit ;;
     sh64*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     sh*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -967,14 +987,17 @@ EOF
     sparc:Linux:*:* | sparc64:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
+    tile*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     vax:Linux:*:*)
 	echo ${UNAME_MACHINE}-dec-linux-gnu
 	exit ;;
     x86_64:Linux:*:*)
-	echo x86_64-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     xtensa*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     i*86:DYNIX/ptx:4*:*)
 	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -983,11 +1006,11 @@ EOF
 	echo i386-sequent-sysv4
 	exit ;;
     i*86:UNIX_SV:4.2MP:2.*)
-        # Unixware is an offshoot of SVR4, but it has its own version
-        # number series starting with 2...
-        # I am not positive that other SVR4 systems won't match this,
+	# Unixware is an offshoot of SVR4, but it has its own version
+	# number series starting with 2...
+	# I am not positive that other SVR4 systems won't match this,
 	# I just have to hope.  -- rms.
-        # Use sysv4.2uw... so that sysv4* matches it.
+	# Use sysv4.2uw... so that sysv4* matches it.
 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 	exit ;;
     i*86:OS/2:*:*)
@@ -1019,7 +1042,7 @@ EOF
 	fi
 	exit ;;
     i*86:*:5:[678]*)
-    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
+	# UnixWare 7.x, OpenUNIX and OpenServer 6.
 	case `/bin/uname -X | grep "^Machine"` in
 	    *486*)	     UNAME_MACHINE=i486 ;;
 	    *Pentium)	     UNAME_MACHINE=i586 ;;
@@ -1047,13 +1070,13 @@ EOF
 	exit ;;
     pc:*:*:*)
 	# Left here for compatibility:
-        # uname -m prints for DJGPP always 'pc', but it prints nothing about
-        # the processor, so we play safe by assuming i586.
+	# uname -m prints for DJGPP always 'pc', but it prints nothing about
+	# the processor, so we play safe by assuming i586.
 	# Note: whatever this is, it MUST be the same as what config.sub
 	# prints for the "djgpp" host, or else GDB configury will decide that
 	# this is a cross-build.
 	echo i586-pc-msdosdjgpp
-        exit ;;
+	exit ;;
     Intel:Mach:3*:*)
 	echo i386-pc-mach3
 	exit ;;
@@ -1088,8 +1111,8 @@ EOF
 	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
-        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-          && { echo i486-ncr-sysv4; exit; } ;;
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+	  && { echo i486-ncr-sysv4; exit; } ;;
     NCR*:*:4.2:* | MPRAS*:*:4.2:*)
 	OS_REL='.3'
 	test -r /etc/.relid \
@@ -1132,10 +1155,10 @@ EOF
 		echo ns32k-sni-sysv
 	fi
 	exit ;;
-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                      # says <[email protected]>
-        echo i586-unisys-sysv4
-        exit ;;
+    PENTIUM:*:4.0*:*)	# Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+			# says <[email protected]>
+	echo i586-unisys-sysv4
+	exit ;;
     *:UNIX_System_V:4*:FTX*)
 	# From Gerald Hewes <[email protected]>.
 	# How about differentiating between stratus architectures? -djm
@@ -1161,11 +1184,11 @@ EOF
 	exit ;;
     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 	if [ -d /usr/nec ]; then
-	        echo mips-nec-sysv${UNAME_RELEASE}
+		echo mips-nec-sysv${UNAME_RELEASE}
 	else
-	        echo mips-unknown-sysv${UNAME_RELEASE}
+		echo mips-unknown-sysv${UNAME_RELEASE}
 	fi
-        exit ;;
+	exit ;;
     BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
 	echo powerpc-be-beos
 	exit ;;
@@ -1230,6 +1253,9 @@ EOF
     *:QNX:*:4*)
 	echo i386-pc-qnx
 	exit ;;
+    NEO-?:NONSTOP_KERNEL:*:*)
+	echo neo-tandem-nsk${UNAME_RELEASE}
+	exit ;;
     NSE-?:NONSTOP_KERNEL:*:*)
 	echo nse-tandem-nsk${UNAME_RELEASE}
 	exit ;;
@@ -1275,13 +1301,13 @@ EOF
 	echo pdp10-unknown-its
 	exit ;;
     SEI:*:*:SEIUX)
-        echo mips-sei-seiux${UNAME_RELEASE}
+	echo mips-sei-seiux${UNAME_RELEASE}
 	exit ;;
     *:DragonFly:*:*)
 	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 	exit ;;
     *:*VMS:*:*)
-    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
+	UNAME_MACHINE=`(uname -p) 2>/dev/null`
 	case "${UNAME_MACHINE}" in
 	    A*) echo alpha-dec-vms ; exit ;;
 	    I*) echo ia64-dec-vms ; exit ;;
@@ -1299,6 +1325,9 @@ EOF
     i*86:AROS:*:*)
 	echo ${UNAME_MACHINE}-pc-aros
 	exit ;;
+    x86_64:VMkernel:*:*)
+	echo ${UNAME_MACHINE}-unknown-esx
+	exit ;;
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1321,11 +1350,11 @@ main ()
 #include <sys/param.h>
   printf ("m68k-sony-newsos%s\n",
 #ifdef NEWSOS4
-          "4"
+	"4"
 #else
-	  ""
+	""
 #endif
-         ); exit (0);
+	); exit (0);
 #endif
 #endif
 

+ 6 - 0
config.h.in

@@ -256,6 +256,9 @@
    */
 #undef HAVE_SYS_NDIR_H
 
+/* Define to 1 if you have the <sys/param.h> header file. */
+#undef HAVE_SYS_PARAM_H
+
 /* Define to 1 if you have the <sys/socket.h> header file. */
 #undef HAVE_SYS_SOCKET_H
 
@@ -372,6 +375,9 @@
 /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME
 
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 

+ 136 - 68
config.sub

@@ -1,10 +1,10 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011, 2012 Free Software Foundation, Inc.
 
-timestamp='2009-11-20'
+timestamp='2012-02-10'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -21,9 +21,7 @@ timestamp='2009-11-20'
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 #
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -75,8 +73,9 @@ Report bugs and patches to <[email protected]>."
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+Free Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -123,13 +122,18 @@ esac
 # Here we must recognize all the valid KERNEL-OS combinations.
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
-  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
-  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+  knetbsd*-gnu* | netbsd*-gnu* | \
   kopensolaris*-gnu* | \
   storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     ;;
+  android-linux)
+    os=-linux-android
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
+    ;;
   *)
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
     if [ $basic_machine != $1 ]
@@ -156,8 +160,8 @@ case $os in
 		os=
 		basic_machine=$1
 		;;
-        -bluegene*)
-	        os=-cnk
+	-bluegene*)
+		os=-cnk
 		;;
 	-sim | -cisco | -oki | -wec | -winbond)
 		os=
@@ -173,10 +177,10 @@ case $os in
 		os=-chorusos
 		basic_machine=$1
 		;;
- 	-chorusrdb)
- 		os=-chorusrdb
+	-chorusrdb)
+		os=-chorusrdb
 		basic_machine=$1
- 		;;
+		;;
 	-hiux*)
 		os=-hiuxwe2
 		;;
@@ -245,17 +249,22 @@ case $basic_machine in
 	# Some are omitted here because they have special meanings below.
 	1750a | 580 \
 	| a29k \
+	| aarch64 | aarch64_be \
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 	| am33_2.0 \
 	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+        | be32 | be64 \
 	| bfin \
 	| c4x | clipper \
 	| d10v | d30v | dlx | dsp16xx \
+	| epiphany \
 	| fido | fr30 | frv \
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+	| hexagon \
 	| i370 | i860 | i960 | ia64 \
 	| ip2k | iq2000 \
+	| le32 | le64 \
 	| lm32 \
 	| m32c | m32r | m32rle | m68000 | m68k | m88k \
 	| maxq | mb | microblaze | mcore | mep | metag \
@@ -281,29 +290,39 @@ case $basic_machine in
 	| moxie \
 	| mt \
 	| msp430 \
+	| nds32 | nds32le | nds32be \
 	| nios | nios2 \
 	| ns16k | ns32k \
+	| open8 \
 	| or32 \
 	| pdp10 | pdp11 | pj | pjl \
-	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+	| powerpc | powerpc64 | powerpc64le | powerpcle \
 	| pyramid \
-	| rx \
+	| rl78 | rx \
 	| score \
 	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
 	| sh64 | sh64le \
 	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
 	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
-	| spu | strongarm \
-	| tahoe | thumb | tic4x | tic80 | tron \
+	| spu \
+	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
 	| ubicom32 \
-	| v850 | v850e \
+	| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
 	| we32k \
-	| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
+	| x86 | xc16x | xstormy16 | xtensa \
 	| z8k | z80)
 		basic_machine=$basic_machine-unknown
 		;;
-	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
-		# Motorola 68HC11/12.
+	c54x)
+		basic_machine=tic54x-unknown
+		;;
+	c55x)
+		basic_machine=tic55x-unknown
+		;;
+	c6x)
+		basic_machine=tic6x-unknown
+		;;
+	m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
 		basic_machine=$basic_machine-unknown
 		os=-none
 		;;
@@ -313,6 +332,21 @@ case $basic_machine in
 		basic_machine=mt-unknown
 		;;
 
+	strongarm | thumb | xscale)
+		basic_machine=arm-unknown
+		;;
+	xgate)
+		basic_machine=$basic_machine-unknown
+		os=-none
+		;;
+	xscaleeb)
+		basic_machine=armeb-unknown
+		;;
+
+	xscaleel)
+		basic_machine=armel-unknown
+		;;
+
 	# We use `pc' rather than `unknown'
 	# because (1) that's what they normally are, and
 	# (2) the word "unknown" tends to confuse beginning users.
@@ -327,21 +361,25 @@ case $basic_machine in
 	# Recognize the basic CPU types with company name.
 	580-* \
 	| a29k-* \
+	| aarch64-* | aarch64_be-* \
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
 	| avr-* | avr32-* \
+	| be32-* | be64-* \
 	| bfin-* | bs2000-* \
-	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
+	| c[123]* | c30-* | [cjt]90-* | c4x-* \
 	| clipper-* | craynv-* | cydra-* \
 	| d10v-* | d30v-* | dlx-* \
 	| elxsi-* \
 	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 	| h8300-* | h8500-* \
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+	| hexagon-* \
 	| i*86-* | i860-* | i960-* | ia64-* \
 	| ip2k-* | iq2000-* \
+	| le32-* | le64-* \
 	| lm32-* \
 	| m32c-* | m32r-* | m32rle-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
@@ -367,25 +405,29 @@ case $basic_machine in
 	| mmix-* \
 	| mt-* \
 	| msp430-* \
+	| nds32-* | nds32le-* | nds32be-* \
 	| nios-* | nios2-* \
 	| none-* | np1-* | ns16k-* | ns32k-* \
+	| open8-* \
 	| orion-* \
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
-	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
 	| pyramid-* \
-	| romp-* | rs6000-* | rx-* \
+	| rl78-* | romp-* | rs6000-* | rx-* \
 	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
 	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
 	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
 	| sparclite-* \
-	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
-	| tahoe-* | thumb-* \
-	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
+	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
+	| tahoe-* \
+	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+	| tile*-* \
 	| tron-* \
 	| ubicom32-* \
-	| v850-* | v850e-* | vax-* \
+	| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
+	| vax-* \
 	| we32k-* \
-	| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
+	| x86-* | x86_64-* | xc16x-* | xps100-* \
 	| xstormy16-* | xtensa*-* \
 	| ymp-* \
 	| z8k-* | z80-*)
@@ -410,7 +452,7 @@ case $basic_machine in
 		basic_machine=a29k-amd
 		os=-udi
 		;;
-    	abacus)
+	abacus)
 		basic_machine=abacus-unknown
 		;;
 	adobe68k)
@@ -480,11 +522,20 @@ case $basic_machine in
 		basic_machine=powerpc-ibm
 		os=-cnk
 		;;
+	c54x-*)
+		basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
+	c55x-*)
+		basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
+	c6x-*)
+		basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	c90)
 		basic_machine=c90-cray
 		os=-unicos
 		;;
-        cegcc)
+	cegcc)
 		basic_machine=arm-unknown
 		os=-cegcc
 		;;
@@ -516,7 +567,7 @@ case $basic_machine in
 		basic_machine=craynv-cray
 		os=-unicosmp
 		;;
-	cr16)
+	cr16 | cr16-*)
 		basic_machine=cr16-unknown
 		os=-elf
 		;;
@@ -674,7 +725,6 @@ case $basic_machine in
 	i370-ibm* | ibm*)
 		basic_machine=i370-ibm
 		;;
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
 	i*86v32)
 		basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 		os=-sysv32
@@ -732,7 +782,7 @@ case $basic_machine in
 		basic_machine=ns32k-utek
 		os=-sysv
 		;;
-        microblaze)
+	microblaze)
 		basic_machine=microblaze-xilinx
 		;;
 	mingw32)
@@ -771,10 +821,18 @@ case $basic_machine in
 	ms1-*)
 		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 		;;
+	msys)
+		basic_machine=i386-pc
+		os=-msys
+		;;
 	mvs)
 		basic_machine=i370-ibm
 		os=-mvs
 		;;
+	nacl)
+		basic_machine=le32-unknown
+		os=-nacl
+		;;
 	ncr3000)
 		basic_machine=i486-ncr
 		os=-sysv4
@@ -839,6 +897,12 @@ case $basic_machine in
 	np1)
 		basic_machine=np1-gould
 		;;
+	neo-tandem)
+		basic_machine=neo-tandem
+		;;
+	nse-tandem)
+		basic_machine=nse-tandem
+		;;
 	nsr-tandem)
 		basic_machine=nsr-tandem
 		;;
@@ -921,9 +985,10 @@ case $basic_machine in
 		;;
 	power)	basic_machine=power-ibm
 		;;
-	ppc)	basic_machine=powerpc-unknown
+	ppc | ppcbe)	basic_machine=powerpc-unknown
 		;;
-	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+	ppc-* | ppcbe-*)
+		basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	ppcle | powerpclittle | ppc-le | powerpc-little)
 		basic_machine=powerpcle-unknown
@@ -1017,6 +1082,9 @@ case $basic_machine in
 		basic_machine=i860-stratus
 		os=-sysv4
 		;;
+	strongarm-* | thumb-*)
+		basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	sun2)
 		basic_machine=m68000-sun
 		;;
@@ -1073,20 +1141,8 @@ case $basic_machine in
 		basic_machine=t90-cray
 		os=-unicos
 		;;
-	tic54x | c54x*)
-		basic_machine=tic54x-unknown
-		os=-coff
-		;;
-	tic55x | c55x*)
-		basic_machine=tic55x-unknown
-		os=-coff
-		;;
-	tic6x | c6x*)
-		basic_machine=tic6x-unknown
-		os=-coff
-		;;
 	tile*)
-		basic_machine=tile-unknown
+		basic_machine=$basic_machine-unknown
 		os=-linux-gnu
 		;;
 	tx39)
@@ -1156,6 +1212,9 @@ case $basic_machine in
 	xps | xps100)
 		basic_machine=xps100-honeywell
 		;;
+	xscale-* | xscalee[bl]-*)
+		basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
+		;;
 	ymp)
 		basic_machine=ymp-cray
 		os=-unicos
@@ -1253,11 +1312,11 @@ esac
 if [ x"$os" != x"" ]
 then
 case $os in
-        # First match some system type aliases
-        # that might get confused with valid system types.
+	# First match some system type aliases
+	# that might get confused with valid system types.
 	# -solaris* is a basic system type, with this one exception.
-        -auroraux)
-	        os=-auroraux
+	-auroraux)
+		os=-auroraux
 		;;
 	-solaris1 | -solaris1.*)
 		os=`echo $os | sed -e 's|solaris1|sunos4|'`
@@ -1293,8 +1352,9 @@ case $os in
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 	      | -chorusos* | -chorusrdb* | -cegcc* \
-	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-	      | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+	      | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+	      | -mingw32* | -linux-gnu* | -linux-android* \
+	      | -linux-newlib* | -linux-uclibc* \
 	      | -uxpv* | -beos* | -mpeix* | -udk* \
 	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1341,7 +1401,7 @@ case $os in
 	-opened*)
 		os=-openedition
 		;;
-        -os400*)
+	-os400*)
 		os=-os400
 		;;
 	-wince*)
@@ -1390,7 +1450,7 @@ case $os in
 	-sinix*)
 		os=-sysv4
 		;;
-        -tpf*)
+	-tpf*)
 		os=-tpf
 		;;
 	-triton*)
@@ -1435,6 +1495,8 @@ case $os in
 	-dicos*)
 		os=-dicos
 		;;
+	-nacl*)
+		;;
 	-none)
 		;;
 	*)
@@ -1457,10 +1519,10 @@ else
 # system, and we'll never get to this point.
 
 case $basic_machine in
-        score-*)
+	score-*)
 		os=-elf
 		;;
-        spu-*)
+	spu-*)
 		os=-elf
 		;;
 	*-acorn)
@@ -1472,8 +1534,17 @@ case $basic_machine in
 	arm*-semi)
 		os=-aout
 		;;
-        c4x-* | tic4x-*)
-        	os=-coff
+	c4x-* | tic4x-*)
+		os=-coff
+		;;
+	tic54x-*)
+		os=-coff
+		;;
+	tic55x-*)
+		os=-coff
+		;;
+	tic6x-*)
+		os=-coff
 		;;
 	# This must come before the *-dec entry.
 	pdp10-*)
@@ -1493,14 +1564,11 @@ case $basic_machine in
 		;;
 	m68000-sun)
 		os=-sunos3
-		# This also exists in the configure program, but was not the
-		# default.
-		# os=-sunos4
 		;;
 	m68*-cisco)
 		os=-aout
 		;;
-        mep-*)
+	mep-*)
 		os=-elf
 		;;
 	mips*-cisco)
@@ -1527,7 +1595,7 @@ case $basic_machine in
 	*-ibm)
 		os=-aix
 		;;
-    	*-knuth)
+	*-knuth)
 		os=-mmixware
 		;;
 	*-wec)

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 459 - 630
configure


+ 7 - 0
configure.ac

@@ -21,6 +21,10 @@ AC_SUBST([CONSOLE_VERSION])
 AM_MAINTAINER_MODE
 AC_CANONICAL_HOST
 
+# Set the version and release for developer RPM builds
+rpm_version=$RPM_VERSION
+rpm_release=$RPM_RELEASE
+
 # Checks for programs.
 AC_PROG_CXX
 AC_PROG_CC
@@ -686,6 +690,9 @@ AC_SUBST(brand)
 AC_SUBST(capbrand)
 AC_SUBST(vendor)
 
+AC_SUBST(rpm_version)
+AC_SUBST(rpm_release)
+
 # AC_DEFINE([USE_OLD_UNHASHED], [], [Use old unhashed code])
 AC_DEFINE([LDAP_DEBUG], [1], [LDAP debug flag])
 AC_DEFINE([LDAP_DONT_USE_SMARTHEAP], [1], [Don't use smartheap])

+ 134 - 56
depcomp

@@ -1,10 +1,10 @@
 #! /bin/sh
 # depcomp - compile a program generating dependencies as side-effects
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-03-27.16; # UTC
 
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
-# Software Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
+# 2011, 2012 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@ scriptversion=2009-04-28.21; # UTC
 
 case $1 in
   '')
-     echo "$0: No command.  Try \`$0 --help' for more information." 1>&2
+     echo "$0: No command.  Try '$0 --help' for more information." 1>&2
      exit 1;
      ;;
   -h | --h*)
@@ -40,11 +40,11 @@ as side-effects.
 
 Environment variables:
   depmode     Dependency tracking mode.
-  source      Source file read by `PROGRAMS ARGS'.
-  object      Object file output by `PROGRAMS ARGS'.
+  source      Source file read by 'PROGRAMS ARGS'.
+  object      Object file output by 'PROGRAMS ARGS'.
   DEPDIR      directory where to store dependencies.
   depfile     Dependency file to output.
-  tmpdepfile  Temporary file to use when outputing dependencies.
+  tmpdepfile  Temporary file to use when outputting dependencies.
   libtool     Whether libtool is used (yes/no).
 
 Report bugs to <[email protected]>.
@@ -57,6 +57,12 @@ EOF
     ;;
 esac
 
+# A tabulation character.
+tab='	'
+# A newline character.
+nl='
+'
+
 if test -z "$depmode" || test -z "$source" || test -z "$object"; then
   echo "depcomp: Variables source, object and depmode must be set" 1>&2
   exit 1
@@ -90,10 +96,24 @@ if test "$depmode" = msvcmsys; then
    # This is just like msvisualcpp but w/o cygpath translation.
    # Just convert the backslash-escaped backslashes to single forward
    # slashes to satisfy depend.m4
-   cygpath_u="sed s,\\\\\\\\,/,g"
+   cygpath_u='sed s,\\\\,/,g'
    depmode=msvisualcpp
 fi
 
+if test "$depmode" = msvc7msys; then
+   # This is just like msvc7 but w/o cygpath translation.
+   # Just convert the backslash-escaped backslashes to single forward
+   # slashes to satisfy depend.m4
+   cygpath_u='sed s,\\\\,/,g'
+   depmode=msvc7
+fi
+
+if test "$depmode" = xlc; then
+   # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
+   gccflag=-qmakedep=gcc,-MF
+   depmode=gcc
+fi
+
 case "$depmode" in
 gcc3)
 ## gcc 3 implements dependency tracking that does exactly what
@@ -148,20 +168,21 @@ gcc)
 ## The second -e expression handles DOS-style file names with drive letters.
   sed -e 's/^[^:]*: / /' \
       -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
-## This next piece of magic avoids the `deleted header file' problem.
+## This next piece of magic avoids the "deleted header file" problem.
 ## The problem is that when a header file which appears in a .P file
 ## is deleted, the dependency causes make to die (because there is
 ## typically no way to rebuild the header).  We avoid this by adding
 ## dummy dependencies for each header file.  Too bad gcc doesn't do
 ## this for us directly.
-  tr ' ' '
-' < "$tmpdepfile" |
-## Some versions of gcc put a space before the `:'.  On the theory
+  tr ' ' "$nl" < "$tmpdepfile" |
+## Some versions of gcc put a space before the ':'.  On the theory
 ## that the space means something, we add a space to the output as
-## well.
+## well.  hp depmode also adds that space, but also prefixes the VPATH
+## to the object.  Take care to not repeat it in the output.
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
-    sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+    sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
+      | sed -e 's/$/ :/' >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
 
@@ -193,18 +214,15 @@ sgi)
     # clever and replace this with sed code, as IRIX sed won't handle
     # lines with more than a fixed number of characters (4096 in
     # IRIX 6.2 sed, 8192 in IRIX 6.5).  We also remove comment lines;
-    # the IRIX cc adds comments like `#:fec' to the end of the
+    # the IRIX cc adds comments like '#:fec' to the end of the
     # dependency line.
-    tr ' ' '
-' < "$tmpdepfile" \
+    tr ' ' "$nl" < "$tmpdepfile" \
     | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
-    tr '
-' ' ' >> "$depfile"
+    tr "$nl" ' ' >> "$depfile"
     echo >> "$depfile"
 
     # The second pass generates a dummy entry for each header file.
-    tr ' ' '
-' < "$tmpdepfile" \
+    tr ' ' "$nl" < "$tmpdepfile" \
    | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
    >> "$depfile"
   else
@@ -216,10 +234,17 @@ sgi)
   rm -f "$tmpdepfile"
   ;;
 
+xlc)
+  # This case exists only to let depend.m4 do its work.  It works by
+  # looking at the text of this script.  This case will never be run,
+  # since it is checked for above.
+  exit 1
+  ;;
+
 aix)
   # The C for AIX Compiler uses -M and outputs the dependencies
   # in a .u file.  In older versions, this file always lives in the
-  # current directory.  Also, the AIX compiler puts `$object:' at the
+  # current directory.  Also, the AIX compiler puts '$object:' at the
   # start of each line; $object doesn't have directory information.
   # Version 6 uses the directory in both cases.
   dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
@@ -249,12 +274,11 @@ aix)
     test -f "$tmpdepfile" && break
   done
   if test -f "$tmpdepfile"; then
-    # Each line is of the form `foo.o: dependent.h'.
+    # Each line is of the form 'foo.o: dependent.h'.
     # Do two passes, one to just change these to
-    # `$object: dependent.h' and one to simply `dependent.h:'.
+    # '$object: dependent.h' and one to simply 'dependent.h:'.
     sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
-    # That's a tab and a space in the [].
-    sed -e 's,^.*\.[a-z]*:[	 ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+    sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
   else
     # The sourcefile does not contain any dependencies, so just
     # store a dummy comment line, to avoid errors with the Makefile
@@ -265,23 +289,26 @@ aix)
   ;;
 
 icc)
-  # Intel's C compiler understands `-MD -MF file'.  However on
-  #    icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
+  # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
+  # However on
+  #    $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
   # ICC 7.0 will fill foo.d with something like
   #    foo.o: sub/foo.c
   #    foo.o: sub/foo.h
-  # which is wrong.  We want:
+  # which is wrong.  We want
   #    sub/foo.o: sub/foo.c
   #    sub/foo.o: sub/foo.h
   #    sub/foo.c:
   #    sub/foo.h:
   # ICC 7.1 will output
   #    foo.o: sub/foo.c sub/foo.h
-  # and will wrap long lines using \ :
+  # and will wrap long lines using '\':
   #    foo.o: sub/foo.c ... \
   #     sub/foo.h ... \
   #     ...
-
+  # tcc 0.9.26 (FIXME still under development at the moment of writing)
+  # will emit a similar output, but also prepend the continuation lines
+  # with horizontal tabulation characters.
   "$@" -MD -MF "$tmpdepfile"
   stat=$?
   if test $stat -eq 0; then :
@@ -290,15 +317,21 @@ icc)
     exit $stat
   fi
   rm -f "$depfile"
-  # Each line is of the form `foo.o: dependent.h',
-  # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
+  # Each line is of the form 'foo.o: dependent.h',
+  # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
   # Do two passes, one to just change these to
-  # `$object: dependent.h' and one to simply `dependent.h:'.
-  sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
-  # Some versions of the HPUX 10.20 sed can't process this invocation
-  # correctly.  Breaking it into two sed invocations is a workaround.
-  sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
-    sed -e 's/$/ :/' >> "$depfile"
+  # '$object: dependent.h' and one to simply 'dependent.h:'.
+  sed -e "s/^[ $tab][ $tab]*/  /" -e "s,^[^:]*:,$object :," \
+    < "$tmpdepfile" > "$depfile"
+  sed '
+    s/[ '"$tab"'][ '"$tab"']*/ /g
+    s/^ *//
+    s/ *\\*$//
+    s/^[^:]*: *//
+    /^$/d
+    /:$/d
+    s/$/ :/
+  ' < "$tmpdepfile" >> "$depfile"
   rm -f "$tmpdepfile"
   ;;
 
@@ -334,7 +367,7 @@ hp2)
   done
   if test -f "$tmpdepfile"; then
     sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
-    # Add `dependent.h:' lines.
+    # Add 'dependent.h:' lines.
     sed -ne '2,${
 	       s/^ *//
 	       s/ \\*$//
@@ -349,9 +382,9 @@ hp2)
 
 tru64)
    # The Tru64 compiler uses -MD to generate dependencies as a side
-   # effect.  `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
+   # effect.  'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
    # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
-   # dependencies in `foo.d' instead, so we check for that too.
+   # dependencies in 'foo.d' instead, so we check for that too.
    # Subdirectories are respected.
    dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
    test "x$dir" = "x$object" && dir=
@@ -397,14 +430,59 @@ tru64)
    done
    if test -f "$tmpdepfile"; then
       sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
-      # That's a tab and a space in the [].
-      sed -e 's,^.*\.[a-z]*:[	 ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
+      sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
    else
       echo "#dummy" > "$depfile"
    fi
    rm -f "$tmpdepfile"
    ;;
 
+msvc7)
+  if test "$libtool" = yes; then
+    showIncludes=-Wc,-showIncludes
+  else
+    showIncludes=-showIncludes
+  fi
+  "$@" $showIncludes > "$tmpdepfile"
+  stat=$?
+  grep -v '^Note: including file: ' "$tmpdepfile"
+  if test "$stat" = 0; then :
+  else
+    rm -f "$tmpdepfile"
+    exit $stat
+  fi
+  rm -f "$depfile"
+  echo "$object : \\" > "$depfile"
+  # The first sed program below extracts the file names and escapes
+  # backslashes for cygpath.  The second sed program outputs the file
+  # name when reading, but also accumulates all include files in the
+  # hold buffer in order to output them again at the end.  This only
+  # works with sed implementations that can handle large buffers.
+  sed < "$tmpdepfile" -n '
+/^Note: including file:  *\(.*\)/ {
+  s//\1/
+  s/\\/\\\\/g
+  p
+}' | $cygpath_u | sort -u | sed -n '
+s/ /\\ /g
+s/\(.*\)/'"$tab"'\1 \\/p
+s/.\(.*\) \\/\1:/
+H
+$ {
+  s/.*/'"$tab"'/
+  G
+  p
+}' >> "$depfile"
+  rm -f "$tmpdepfile"
+  ;;
+
+msvc7msys)
+  # This case exists only to let depend.m4 do its work.  It works by
+  # looking at the text of this script.  This case will never be run,
+  # since it is checked for above.
+  exit 1
+  ;;
+
 #nosideeffect)
   # This comment above is used by automake to tell side-effect
   # dependency tracking mechanisms from slower ones.
@@ -422,7 +500,7 @@ dashmstdout)
     shift
   fi
 
-  # Remove `-o $object'.
+  # Remove '-o $object'.
   IFS=" "
   for arg
   do
@@ -442,15 +520,14 @@ dashmstdout)
   done
 
   test -z "$dashmflag" && dashmflag=-M
-  # Require at least two characters before searching for `:'
+  # Require at least two characters before searching for ':'
   # in the target name.  This is to cope with DOS-style filenames:
-  # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
+  # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
   "$@" $dashmflag |
-    sed 's:^[  ]*[^: ][^:][^:]*\:[    ]*:'"$object"'\: :' > "$tmpdepfile"
+    sed 's:^['"$tab"' ]*[^:'"$tab"' ][^:][^:]*\:['"$tab"' ]*:'"$object"'\: :' > "$tmpdepfile"
   rm -f "$depfile"
   cat < "$tmpdepfile" > "$depfile"
-  tr ' ' '
-' < "$tmpdepfile" | \
+  tr ' ' "$nl" < "$tmpdepfile" | \
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
     sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
@@ -503,9 +580,10 @@ makedepend)
   touch "$tmpdepfile"
   ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
   rm -f "$depfile"
-  cat < "$tmpdepfile" > "$depfile"
-  sed '1,2d' "$tmpdepfile" | tr ' ' '
-' | \
+  # makedepend may prepend the VPATH from the source file name to the object.
+  # No need to regex-escape $object, excess matching of '.' is harmless.
+  sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
+  sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
     sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
@@ -525,7 +603,7 @@ cpp)
     shift
   fi
 
-  # Remove `-o $object'.
+  # Remove '-o $object'.
   IFS=" "
   for arg
   do
@@ -594,8 +672,8 @@ msvisualcpp)
   sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
   rm -f "$depfile"
   echo "$object : \\" > "$depfile"
-  sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::	\1 \\:p' >> "$depfile"
-  echo "	" >> "$depfile"
+  sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
+  echo "$tab" >> "$depfile"
   sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
   rm -f "$tmpdepfile"
   ;;

+ 18 - 11
install-sh

@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2011-01-19.21; # UTC
 
 # This originates from X11R5 (mit/util/scripts/install.sh), which was
 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -156,6 +156,10 @@ while test $# -ne 0; do
     -s) stripcmd=$stripprog;;
 
     -t) dst_arg=$2
+	# Protect names problematic for `test' and other utilities.
+	case $dst_arg in
+	  -* | [=\(\)!]) dst_arg=./$dst_arg;;
+	esac
 	shift;;
 
     -T) no_target_directory=true;;
@@ -186,6 +190,10 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
     fi
     shift # arg
     dst_arg=$arg
+    # Protect names problematic for `test' and other utilities.
+    case $dst_arg in
+      -* | [=\(\)!]) dst_arg=./$dst_arg;;
+    esac
   done
 fi
 
@@ -200,7 +208,11 @@ if test $# -eq 0; then
 fi
 
 if test -z "$dir_arg"; then
-  trap '(exit $?); exit' 1 2 13 15
+  do_exit='(exit $ret); exit $ret'
+  trap "ret=129; $do_exit" 1
+  trap "ret=130; $do_exit" 2
+  trap "ret=141; $do_exit" 13
+  trap "ret=143; $do_exit" 15
 
   # Set umask so as not to create temps with too-generous modes.
   # However, 'strip' requires both read and write access to temps.
@@ -228,9 +240,9 @@ fi
 
 for src
 do
-  # Protect names starting with `-'.
+  # Protect names problematic for `test' and other utilities.
   case $src in
-    -*) src=./$src;;
+    -* | [=\(\)!]) src=./$src;;
   esac
 
   if test -n "$dir_arg"; then
@@ -252,12 +264,7 @@ do
       echo "$0: no destination specified." >&2
       exit 1
     fi
-
     dst=$dst_arg
-    # Protect names starting with `-'.
-    case $dst in
-      -*) dst=./$dst;;
-    esac
 
     # If destination is a directory, append the input filename; won't work
     # if double slashes aren't ignored.
@@ -385,7 +392,7 @@ do
 
       case $dstdir in
 	/*) prefix='/';;
-	-*) prefix='./';;
+	[-=\(\)!]*) prefix='./';;
 	*)  prefix='';;
       esac
 
@@ -403,7 +410,7 @@ do
 
       for d
       do
-	test -z "$d" && continue
+	test X"$d" = X && continue
 
 	prefix=$prefix$d
 	if test -d "$prefix"; then

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 577 - 202
ltmain.sh


+ 4 - 49
missing

@@ -1,10 +1,10 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-01-06.13; # UTC
 
 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@ Supported PROGRAM values:
   help2man     touch the output file
   lex          create \`lex.yy.c', if possible, from existing .c
   makeinfo     touch the output file
-  tar          try tar, gnutar, gtar, then tar without non-portable flags
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
 
 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@ case $1 in
     # Not GNU programs, they don't have --version.
     ;;
 
-  tar*)
-    if test -n "$run"; then
-       echo 1>&2 "ERROR: \`tar' requires --run"
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       exit 1
-    fi
-    ;;
-
   *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
@@ -226,7 +216,7 @@ WARNING: \`$1' $msg.  You should only need it if
          \`Bison' from any GNU archive site."
     rm -f y.tab.c y.tab.h
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
 	case $LASTARG in
 	*.y)
 	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@ WARNING: \`$1' is $msg.  You should only need it if
          \`Flex' from any GNU archive site."
     rm -f lex.yy.c
     if test $# -ne 1; then
-        eval LASTARG="\${$#}"
+        eval LASTARG=\${$#}
 	case $LASTARG in
 	*.l)
 	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@ WARNING: \`$1' is $msg.  You should only need it if
     touch $file
     ;;
 
-  tar*)
-    shift
-
-    # We have already tried tar in the generic part.
-    # Look for gnutar/gtar before invocation to avoid ugly error
-    # messages.
-    if (gnutar --version > /dev/null 2>&1); then
-       gnutar "$@" && exit 0
-    fi
-    if (gtar --version > /dev/null 2>&1); then
-       gtar "$@" && exit 0
-    fi
-    firstarg="$1"
-    if shift; then
-	case $firstarg in
-	*o*)
-	    firstarg=`echo "$firstarg" | sed s/o//`
-	    tar "$firstarg" "$@" && exit 0
-	    ;;
-	esac
-	case $firstarg in
-	*h*)
-	    firstarg=`echo "$firstarg" | sed s/h//`
-	    tar "$firstarg" "$@" && exit 0
-	    ;;
-	esac
-    fi
-
-    echo 1>&2 "\
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
-         You may want to install GNU tar or Free paxutils, or check the
-         command line arguments."
-    exit 1
-    ;;
-
   *)
     echo 1>&2 "\
 WARNING: \`$1' is needed, and is $msg.

+ 4 - 0
rpm/389-ds-base-devel.README

@@ -0,0 +1,4 @@
+For detailed information on developing plugins for 
+389 Directory Server visit.
+
+http://port389/wiki/Plugins

+ 16 - 0
rpm/389-ds-base-git.sh

@@ -0,0 +1,16 @@
+#!/bin/bash
+
+DATE=`date +%Y%m%d`
+# use a real tag name here
+VERSION=1.3.0.5
+PKGNAME=389-ds-base
+TAG=${TAG:-$PKGNAME-$VERSION}
+URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
+SRCNAME=$PKGNAME-$VERSION
+
+wget -O $SRCNAME.tar.gz "$URL"
+
+echo convert tgz format to tar.bz2 format
+
+gunzip $PKGNAME-$VERSION.tar.gz
+bzip2 $PKGNAME-$VERSION.tar

+ 1485 - 0
rpm/389-ds-base.spec.in

@@ -0,0 +1,1485 @@
+
+%global pkgname   dirsrv
+# for a pre-release, define the prerel field e.g. .a1 .rc2 - comment out for official release
+# also remove the space between % and global - this space is needed because
+# fedpkg verrel stupidly ignores comment lines
+#% global prerel .rc3
+# also need the relprefix field for a pre-release e.g. .0 - also comment out for official release
+#% global relprefix 0.
+
+%global use_openldap 1
+%global use_db4 0
+# If perl-Socket-2.000 or newer is available, set 0 to use_Socket6.
+%global use_Socket6 0
+
+# fedora 15 and later uses tmpfiles.d
+# otherwise, comment this out
+%{!?with_tmpfiles_d: %global with_tmpfiles_d %{_sysconfdir}/tmpfiles.d}
+
+# systemd support
+%global groupname %{pkgname}.target
+
+Summary:          389 Directory Server (base)
+Name:             389-ds-base
+Version:          __VERSION__
+#Release:          %{?relprefix}1%{?prerel}%{?dist}
+Release:          __RELEASE__%{?dist}
+License:          GPLv2 with exceptions
+URL:              http://port389.org/
+Group:            System Environment/Daemons
+BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Obsoletes:        %{name}-selinux
+Conflicts:        selinux-policy-base < 3.9.8
+Requires:         %{name}-libs = %{version}-%{release}
+Provides:         ldif2ldbm 
+
+BuildRequires:    nspr-devel
+BuildRequires:    nss-devel
+BuildRequires:    svrcore-devel
+%if %{use_openldap}
+BuildRequires:    openldap-devel
+%else
+BuildRequires:    mozldap-devel
+%endif
+%if %{use_db4}
+BuildRequires:    db4-devel
+%else
+BuildRequires:    libdb-devel
+%endif
+BuildRequires:    cyrus-sasl-devel
+BuildRequires:    icu
+BuildRequires:    libicu-devel
+BuildRequires:    pcre-devel
+BuildRequires:    gcc-c++
+# The following are needed to build the snmp ldap-agent
+BuildRequires:    net-snmp-devel
+%ifnarch sparc sparc64 ppc ppc64 s390 s390x
+BuildRequires:    lm_sensors-devel
+%endif
+BuildRequires:    bzip2-devel
+BuildRequires:    zlib-devel
+BuildRequires:    openssl-devel
+BuildRequires:    tcp_wrappers
+# the following is for the pam passthru auth plug-in
+BuildRequires:    pam-devel
+BuildRequires:    systemd-units
+
+# this is needed for using semanage from our setup scripts
+Requires:         policycoreutils-python
+
+# the following are needed for some of our scripts
+%if %{use_openldap}
+Requires:         openldap-clients
+%else
+Requires:         mozldap-tools
+%endif
+# use_openldap assumes perl-Mozilla-LDAP is built with openldap support
+Requires:         perl-Mozilla-LDAP
+
+# this is needed to setup SSL if you are not using the
+# administration server package
+Requires:         nss-tools
+
+# these are not found by the auto-dependency method
+# they are required to support the mandatory LDAP SASL mechs
+Requires:         cyrus-sasl-gssapi
+Requires:         cyrus-sasl-md5
+
+# this is needed for verify-db.pl
+%if %{use_db4}
+Requires:         db4-utils
+%else
+Requires:         libdb-utils
+%endif
+
+# This picks up libperl.so as a Requires, so we add this versioned one
+Requires:         perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# for the init script
+Requires(post):   systemd-units
+Requires(preun):  systemd-units
+Requires(postun): systemd-units
+
+# for setup-ds.pl to support ipv6 
+%if %{use_Socket6}
+Requires:         perl-Socket6
+%else
+Requires:         perl-Socket
+%endif
+Requires:         perl-NetAddr-IP
+
+Source0:          http://port389.org/sources/%{name}-%{version}%{?prerel}.tar.bz2
+# 389-ds-git.sh should be used to generate the source tarball from git
+Source1:          %{name}-git.sh
+Source2:          %{name}-devel.README
+
+%description
+389 Directory Server is an LDAPv3 compliant server.  The base package includes
+the LDAP server and command line utilities for server administration.
+
+%package          libs
+Summary:          Core libraries for 389 Directory Server
+Group:            System Environment/Daemons
+BuildRequires:    nspr-devel
+BuildRequires:    nss-devel
+BuildRequires:    svrcore-devel
+%if %{use_openldap}
+BuildRequires:    openldap-devel
+%else
+BuildRequires:    mozldap-devel
+%endif
+%if %{use_db4}
+BuildRequires:    db4-devel
+%else
+BuildRequires:    libdb-devel
+%endif
+BuildRequires:    cyrus-sasl-devel
+BuildRequires:    libicu-devel
+BuildRequires:    pcre-devel
+
+%description      libs
+Core libraries for the 389 Directory Server base package.  These libraries
+are used by the main package and the -devel package.  This allows the -devel
+package to be installed with just the -libs package and without the main package.
+
+%package          devel
+Summary:          Development libraries for 389 Directory Server
+Group:            Development/Libraries
+Requires:         %{name}-libs = %{version}-%{release}
+Requires:         pkgconfig
+Requires:         nspr-devel
+Requires:         nss-devel
+Requires:         svrcore-devel
+%if %{use_openldap}
+Requires:         openldap-devel
+%else
+Requires:         mozldap-devel
+%endif
+
+%description      devel
+Development Libraries and headers for the 389 Directory Server base package.
+
+%prep
+%setup -q -n %{name}-%{version}%{?prerel}
+cp %{SOURCE2} README.devel
+
+%build
+%if %{use_openldap}
+OPENLDAP_FLAG="--with-openldap"
+%endif
+%{?with_tmpfiles_d: TMPFILES_FLAG="--with-tmpfiles-d=%{with_tmpfiles_d}"}
+# hack hack hack https://bugzilla.redhat.com/show_bug.cgi?id=833529
+NSSARGS="--with-svrcore-inc=%{_includedir} --with-svrcore-lib=%{_libdir} --with-nss-lib=%{_libdir} --with-nss-inc=%{_includedir}/nss3"
+%configure --enable-autobind --with-selinux $OPENLDAP_FLAG $TMPFILES_FLAG \
+           --with-systemdsystemunitdir=%{_unitdir} \
+           --with-systemdsystemconfdir=%{_sysconfdir}/systemd/system \
+           --with-systemdgroupname=%{groupname} $NSSARGS
+
+# Generate symbolic info for debuggers
+export XCFLAGS=$RPM_OPT_FLAGS
+
+%ifarch x86_64 ppc64 ia64 s390x sparc64
+export USE_64=1
+%endif
+
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT 
+
+make DESTDIR="$RPM_BUILD_ROOT" install
+
+mkdir -p $RPM_BUILD_ROOT/var/log/%{pkgname}
+mkdir -p $RPM_BUILD_ROOT/var/lib/%{pkgname}
+mkdir -p $RPM_BUILD_ROOT/var/lock/%{pkgname}
+
+# for systemd
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/%{groupname}.wants
+
+#remove libtool and static libs
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.a
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.a
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{pkgname}/plugins/*.la
+
+# make sure perl scripts have a proper shebang 
+sed -i -e 's|#{{PERL-EXEC}}|#!/usr/bin/perl|' $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/script-templates/template-*.pl
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+output=/dev/null
+%systemd_post %{pkgname}-snmp.service
+# reload to pick up any changes to systemd files
+/bin/systemctl daemon-reload >$output 2>&1 || :
+# reload to pick up any shared lib changes
+/sbin/ldconfig
+# restart the snmp subagent if needed
+/bin/systemctl try-restart %{pkgname}-snmp.service > $output 2>&1 || :
+# find all instances
+instances="" # instances that require a restart after upgrade
+ninst=0 # number of instances found in total
+if [ -n "$DEBUGPOSTTRANS" ] ; then
+   output=$DEBUGPOSTTRANS
+fi
+echo looking for services in %{_sysconfdir}/systemd/system/%{groupname}.wants/* > $output 2>&1 || :
+for service in %{_sysconfdir}/systemd/system/%{groupname}.wants/* ; do
+    if [ ! -f "$service" ] ; then continue ; fi # in case nothing matches
+    inst=`echo $service | sed -e 's,%{_sysconfdir}/systemd/system/%{groupname}.wants/,,'`
+    echo found instance $inst - getting status > $output 2>&1 || :
+    if /bin/systemctl -q is-active $inst ; then
+       echo instance $inst is running > $output 2>&1 || :
+       instances="$instances $inst"
+    else
+       echo instance $inst is not running > $output 2>&1 || :
+    fi
+    ninst=`expr $ninst + 1`
+done
+if [ $ninst -eq 0 ] ; then
+    echo no instances to upgrade > $output 2>&1 || :
+    exit 0 # have no instances to upgrade - just skip the rest
+fi
+# shutdown all instances
+echo shutting down all instances . . . > $output 2>&1 || :
+/bin/systemctl stop %{groupname} > $output 2>&1 || :
+echo remove pid files . . . > $output 2>&1 || :
+/bin/rm -f /var/run/%{pkgname}*.pid /var/run/%{pkgname}*.startpid
+# do the upgrade
+echo upgrading instances . . . > $output 2>&1 || :
+%{_sbindir}/setup-ds.pl -l $output -u -s General.UpdateMode=offline > $output 2>&1 || :
+# restart instances that require it
+for inst in $instances ; do
+    echo restarting instance $inst > $output 2>&1 || :
+    /bin/systemctl start $inst > $output 2>&1 || :
+done
+exit 0
+
+%preun
+if [ $1 -eq 0 ]; then # Final removal
+    # Package removal, not upgrade
+    %systemd_preun %{pkgname}-snmp.service %{groupname}
+    # remove instance specific service files/links
+    rm -rf %{_sysconfdir}/systemd/system/%{groupname}.wants/* > /dev/null 2>&1 || :
+fi
+
+%postun
+/sbin/ldconfig
+if [ $1 = 0 ]; then # Final removal
+    rm -rf /var/run/%{pkgname}
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE EXCEPTION LICENSE.GPLv2
+%dir %{_sysconfdir}/%{pkgname}
+%dir %{_sysconfdir}/%{pkgname}/schema
+%config(noreplace)%{_sysconfdir}/%{pkgname}/schema/*.ldif
+%dir %{_sysconfdir}/%{pkgname}/config
+%dir %{_sysconfdir}/systemd/system/%{groupname}.wants
+%config(noreplace)%{_sysconfdir}/%{pkgname}/config/slapd-collations.conf
+%config(noreplace)%{_sysconfdir}/%{pkgname}/config/certmap.conf
+%config(noreplace)%{_sysconfdir}/%{pkgname}/config/ldap-agent.conf
+%config(noreplace)%{_sysconfdir}/%{pkgname}/config/template-initconfig
+%config(noreplace)%{_sysconfdir}/sysconfig/%{pkgname}
+%config(noreplace)%{_sysconfdir}/sysconfig/%{pkgname}.systemd
+%{_datadir}/%{pkgname}
+%{_unitdir}
+%{_bindir}/*
+%{_sbindir}/*
+%{_libdir}/%{pkgname}/libns-dshttpd.so*
+%{_libdir}/%{pkgname}/perl
+%dir %{_libdir}/%{pkgname}/plugins
+%{_libdir}/%{pkgname}/plugins/*.so
+%dir %{_localstatedir}/lib/%{pkgname}
+%dir %{_localstatedir}/log/%{pkgname}
+%ghost %dir %{_localstatedir}/lock/%{pkgname}
+%{_mandir}/man1/*
+%{_mandir}/man8/*
+
+%files devel
+%defattr(-,root,root,-)
+%doc LICENSE EXCEPTION LICENSE.GPLv2 README.devel
+%{_includedir}/%{pkgname}
+%{_libdir}/%{pkgname}/libslapd.so
+%{_libdir}/pkgconfig/*
+
+%files libs
+%defattr(-,root,root,-)
+%doc LICENSE EXCEPTION LICENSE.GPLv2 README.devel
+%dir %{_libdir}/%{pkgname}
+%{_libdir}/%{pkgname}/libslapd.so.*
+
+%changelog
+* Thu Mar 28 2013 Noriko Hosoi <[email protected]> - 1.3.0.5-1
+- bump version to 1.3.0.5
+- Ticket 47308 - unintended information exposure when anonymous access is set to rootdse
+- Ticket 628 - crash in aci evaluation
+- Ticket 627 - ns-slapd crashes sporadically with segmentation fault in libslapd.so
+- Ticket 634 - Deadlock in DNA plug-in Ticket #576 - DNA: use event queue for config update only at the start up
+- Ticket 632 - 389-ds-base cannot handle Kerberos tickets with PAC
+- Ticket 623 - cleanAllRUV task fails to cleanup config upon completion
+
+* Mon Mar 11 2013 Mark Reynolds <[email protected]> - 1.3.0.4-1
+- e53d691 bump version to 1.3.0.4
+- Bug 912964 - CVE-2013-0312 389-ds: unauthenticated denial of service vulnerability in handling of LDAPv3 control data
+- Ticket 570 - DS returns error 20 when replacing values of a multi-valued attribute (only when replication is enabled)
+- Ticket 490 - Slow role performance when using a lot of roles
+- Ticket 590 - ns-slapd segfaults while trying to delete a tombstone entry
+
+* Wed Feb 13 2013 Noriko Hosoi <[email protected]> - 1.3.0.3-1
+- bump version to 1.3.0.3
+- Ticket #584 - Existence of an entry is not checked when its password is to be deleted
+- Ticket 562 - Crash when deleting suffix
+
+* Fri Feb 01 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.3.0.2-2
+- Rebuild for icu 50
+
+* Wed Jan 16 2013 Noriko Hosoi <[email protected]> - 1.3.0.2-1
+- bump version to 1.3.0.2
+- Ticket #542 - Cannot dynamically set nsslapd-maxbersize
+
+* Wed Jan 16 2013 Noriko Hosoi <[email protected]> - 1.3.0.1-1
+- bump version to 1.3.0.1
+- Ticket 556 - Don't overwrite certmap.conf during upgrade
+
+* Tue Jan 08 2013 Noriko Hosoi <[email protected]> - 1.3.0.0-1
+- bump version to 1.3.0.0
+
+* Tue Jan 08 2013 Noriko Hosoi <[email protected]> - 1.3.0-0.3.rc3
+- bump version to 1.3.0.rc3
+- Ticket 549 - DNA plugin no longer reports additional info when range is depleted
+- Ticket 541 - need to set plugin as off in ldif template
+- Ticket 541 - RootDN Access Control plugin is missing after upgrade 
+
+* Fri Dec 14 2012 Noriko Hosoi <[email protected]> - 1.3.0-0.2.rc2
+- bump version to 1.3.0.rc2
+- Trac Ticket #497 - Escaped character cannot be used in the substring search filter
+- Ticket 509 - lock-free access to be->be_suffixlock
+- Trac Ticket #522 - betxn: upgrade is not implemented yet
+
+* Tue Dec 11 2012 Noriko Hosoi <[email protected]> - 1.3.0-0.1.rc1
+- bump version to 1.3.0.rc1
+- Ticket #322 - Create DOAP description for the 389 Directory Server project
+- Trac Ticket #499 - Handling URP results is not corrrect
+- Ticket 509 - lock-free access to be->be_suffixlock
+- Ticket 456 - improve entry cache sizing
+- Trac Ticket #531 - loading an entry from the database should use str2entry_f
+- Trac Ticket #536 - Clean up compiler warnings for 1.3
+- Trac Ticket #531 - loading an entry from the database should use str2entry_fast
+- Ticket 509 - lock-free access to be->be_suffixlock
+- Ticket 527 - ns-slapd segfaults if it cannot rename the logs
+- Ticket 395 - RFE: 389-ds shouldn't advertise in the rootDSE that we can handle a sasl mech if we really can't
+- Ticket 216 - disable replication agreements
+- Ticket 518 - dse.ldif is 0 length after server kill or machine kill
+- Ticket 393 - Change in winSyncInterval does not take immediate effect
+- Ticket 20 - Allow automember to work on entries that have already been added
+- Coverity Fixes
+- Ticket 349 - nsViewFilter syntax issue in 389DS 1.2.5
+- Ticket 337 - improve CLEANRUV functionality
+- Fix for ticket 504
+- Ticket 394 - modify-delete userpassword
+- minor fixes for bdb 4.2/4.3 and mozldap
+- Trac Ticket #276 - Multiple threads simultaneously working on connection's private buffer causes ns-slapd to abort
+- Fix for ticket 465: cn=monitor showing stats for other db instances
+- Ticket 507 - use mutex for FrontendConfig lock instead of rwlock
+- Fix for ticket 510 Avoid creating an attribute just to determine the syntax for a type, look up the syntax directly by type
+- Coverity defect: Resource leak 13110
+- Ticket 517 - crash in DNA if no dnaMagicRegen is specified
+- Trac Ticket #520 - RedHat Directory Server crashes (segfaults) when moving ldap entry
+- Trac Ticket #519 - Search with a complex filter including range search is slow
+- Trac Ticket #500 - Newly created users with organizationalPerson objectClass fails to sync from AD to DS with missing attribute error
+- Trac Ticket #311 - IP lookup failing with multiple DNS entries
+- Trac Ticket #447 - Possible to add invalid attribute to nsslapd-allowed-to-delete-attrs
+- Trac Ticket #443 - Deleting attribute present in nsslapd-allowed-to-delete-attrs returns Operations error
+- Ticket #503 - Improve AD version in winsync log message
+- Trac Ticket #190 - Un-resolvable server in replication agreement produces unclear error message
+- Coverity fixes
+- Trac Ticket #391 - Slapd crashes when deleting backends while operations are still in progress
+- Trac Ticket #448 - Possible to set invalid macros in Macro ACIs
+- Trac Ticket #498 - Cannot abaondon simple paged result search
+- Coverity defects
+- Trac Ticket #494 - slapd entered to infinite loop during new index addition
+- Fixing compiler warnings in the posix-winsync plugin
+- Coverity defects
+- Ticket 147 - Internal Password Policy usage very inefficient
+- Ticket 495 - internalModifiersname not updated by DNA plugin
+- Revert "Ticket 495 - internalModifiersname not updated by DNA plugin"
+- Ticket 495 - internalModifiersname not updated by DNA plugin
+- Ticket 468 - if pam_passthru is enabled, need to AC_CHECK_HEADERS([security/pam_appl.h])
+- Ticket 486 - nsslapd-enablePlugin should not be multivalued
+- Ticket 488 - Doc: DS error log messages with typo
+- Trac Ticket #451 - Allow db2ldif to be quiet
+- Ticket #491 - multimaster_extop_cleanruv returns wrong error codes
+- Ticket #481 - expand nested posix groups
+- Trac Ticket #455 - Insufficient rights to unhashed#user#password when user deletes his password
+- Ticket #446 - anonymous limits are being applied to directory manager
+
+* Tue Oct 9 2012 Mark Reynolds <[email protected]> - 1.3.0.a1-1
+Ticket #28 	MOD operations with chained delete/add get back error 53 on backend config
+Ticket #173 	ds-logpipe.py script's man page and script help should be updated for -t option.
+Ticket #196 	RFE: Interpret IPV6 addresses for ACIs, replication, and chaining 
+Ticket #218 	RFE - Make RIP working with Replicated Entries 
+Ticket #328 	make sure all internal search filters are properly escaped 
+Ticket #329 	389-admin build fails on F-18 with new apache 	
+Ticket #344 	deadlock in replica_write_ruv
+Ticket #351 	use betxn plugins by default
+Ticket #352 	make cos, roles, views betxn aware 
+Ticket #356 	logconv.pl - RFE - track bind info
+Ticket #365 	Audit log - clear text password in user changes 
+Ticket #370 	Opening merge qualifier CoS entry using RHDS console changes the entry. 
+Ticket #372 	Setting nsslapd-listenhost or nsslapd-securelistenhost breaks ACI processing 	
+Ticket #386 	Overconsumption of memory with large cachememsize and heavy use of ldapmodify 	
+Ticket #402 	unhashedTicket #userTicket #password in entry extension 	
+Ticket #408 	Create a normalized dn cache 	
+Ticket #453 	db2index with -tattrname:type,type fails 	
+Ticket #461 	fix build problem with mozldap c sdk 	
+Ticket #462 	add test for include file mntent.h 	
+Ticket #463 	different parameters of getmntent in Solaris
+
+* Tue Sep 25 2012 Rich Megginson <[email protected]> - 1.2.11.15-1
+- Trac Ticket #470 - 389 prevents from adding a posixaccount with userpassword after schema reload
+- Ticket 477 - CLEANALLRUV if there are only winsync agmts task will hang
+- Ticket 457 - dirsrv init script returns 0 even when few or all instances fail to start
+- Ticket 473 - change VERSION.sh to have console version be major.minor
+- Ticket 475 - Root DN Access Control - improve value checking for config
+- Trac Ticket #466 - entry_apply_mod - ADD: Failed to set unhashed#user#password to extension
+- Ticket 474 - Root DN Access Control - days allowed not working correctly
+- Ticket 467 - CLEANALLRUV abort task should be able to ignore down replicas
+- 0b79915 fix compiler warnings in ticket 374 code
+- Ticket 452 - automember rebuild task adds users to groups that do not match the configuration scope
+
+* Fri Sep  7 2012 Rich Megginson <[email protected]> - 1.2.11.14-1
+- Ticket 450 - CLEANALLRUV task gets stuck on winsync replication agreement
+- Ticket 386 - large memory growth with ldapmodify(heap fragmentation)
+-  this patch doesn't fix the bug - it allows us to experiment with
+-  different values of mxfast
+- Ticket #374 - consumer can go into total update mode for no reason
+
+* Tue Sep  4 2012 Rich Megginson <[email protected]> - 1.2.11.13-1
+- Ticket #426 - support posix schema for user and group sync
+-   1) plugin config ldif must contain pluginid, etc. during upgrade or it
+-      will fail due to schema errors
+-   2) posix winsync should have a lower precedence (25) than the default (50)
+-      so that it will be run first
+-   3) posix winsync should support the Winsync API v3 - the v2 functions are
+-      just stubs for now - but the precedence cb is active
+
+* Thu Aug 30 2012 Rich Megginson <[email protected]> - 1.2.11.12-1
+- 8e5087a Coverity defects - 13089: Dereference after null check ldbm_back_delete
+- Trac Ticket #437 - variable dn should not be used in ldbm_back_delete
+- ba1f5b2 fix coverity resource leak in windows_plugin_add
+- e3e81db Simplify program flow: change while loops to for
+- a0d5dc0 Fix logic errors: del_mod should be latched (might not be last mod), and avoid skipping add-mods (int value 0)
+- 0808f7e Simplify program flow: make adduids/moduids/deluids action blocks all similar
+- 77eb760 Simplify program flow: eliminate unnecessary continue
+- c9e9db7 Memory leaks: unmatched slapi_attr_get_valueset and slapi_value_new
+- a4ca0cc Change "return"s in modGroupMembership to "break"s to avoid leaking
+- d49035c Factorize into new isPosixGroup function
+- 3b61c03 coverity - posix winsync mem leaks, null check, deadcode, null ref, use after free
+- 33ce2a9 fix mem leaks with parent dn log message, setting winsync windows domain
+- Ticket #440 - periodic dirsync timed event causes server to loop repeatedly
+- Ticket #355 - winsync should not delete entry that appears to be out of scope
+- Ticket 436 - nsds5ReplicaEnabled can be set with any invalid values.
+- 487932d coverity - mbo dead code - winsync leaks, deadcode, null check, test code
+- 2734a71 CLEANALLRUV coverity fixes
+- Ticket #426 - support posix schema for user and group sync
+- Ticket #430 - server to server ssl client auth broken with latest openldap
+
+* Mon Aug 20 2012 Mark Reynolds <[email protected]> - 1.2.11.11-1
+6c0778f bumped version to 1.2.11.11
+Ticket 429 - added nsslapd-readonly to DS schema
+Ticket 403 - fix CLEANALLRUV regression from last commit
+Trac Ticket #346 - Slow ldapmodify operation time for large quantities of multi-valued attribute values
+
+* Tue Aug 15 2012 Mark Reynolds <[email protected]> - 1.2.11.10-1
+db6b354 bumped version to 1.2.11.10
+Ticket 403 - CLEANALLRUV revisions
+
+* Tue Aug 7 2012 Mark Reynolds <[email protected]> - 1.2.11.9-1
+ea05e69 Bumped version to 1.2.11.9
+Ticket 407 - dna memory leak - fix crash from prev fix
+
+* Fri Aug 3 2012 Mark Reynolds <[email protected]> - 1.2.11.8-1
+ddcf669 bump version to 1.2.11.8 for offical release
+Ticket #425 - support multiple winsync plugins
+Ticket 403 - cleanallruv coverity fixes
+Ticket 407 - memory leak in dna plugin
+Ticket 403 - CLEANALLRUV feature
+Ticket 413 - "Server is unwilling to perform" when running ldapmodify on nsds5ReplicaStripAttrs
+3168f04 Coverity defects
+5ff0a02 COVERITY FIXES
+Ticket #388 - Improve replication agreement status messages
+0760116 Update the slapi-plugin documentation on new slapi functions, and added a slapi function for checking on shutdowns
+Ticket #369 - restore of replica ldif file on second master after deleting two records shows only 1 deletion
+Ticket #409 - Report during startup if nsslapd-cachememsize is too small
+Ticket #412 - memberof performance enhancement
+12813: Uninitialized pointer read string_values2keys
+Ticket #346 - Slow ldapmodify operation time for large quantities of multi-valued attribute values
+Ticket #346 - Slow ldapmodify operation time for large quantities of multi-valued attribute values
+Ticket #410 - Referential integrity plug-in does not work when update interval is not zero
+Ticket #406 - Impossible to rename entry (modrdn) with Attribute Uniqueness plugin enabled
+Ticket #405 - referint modrdn not working if case is different
+Ticket 399 - slapi_ldap_bind() doesn't check bind results
+
+* Wed Jul 18 2012 Fedora Release Engineering <[email protected]> - 1.2.11.7-2.2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Jun 28 2012 Petr Pisar <[email protected]> - 1.2.11.7-2.1
+- Perl 5.16 rebuild
+
+* Wed Jun 27 2012 Rich Megginson <[email protected]> - 1.2.11.7-2
+- Ticket 378 - unhashed#user#password visible after changing password
+-  fix func declaration from previous patch
+- Ticket 366 - Change DS to purge ticket from krb cache in case of authentication error
+
+* Wed Jun 27 2012 Rich Megginson <[email protected]> - 1.2.11.7-1
+- Trac Ticket 396 - Account Usability Control Not Working
+
+* Thu Jun 21 2012 Rich Megginson <[email protected]> - 1.2.11.6-1
+- Ticket #378 - audit log does not log unhashed password: enabled, by default.
+- Ticket #378 - unhashed#user#password visible after changing password
+- Ticket #365 - passwords in clear text in the audit log
+
+* Tue Jun 19 2012 Rich Megginson <[email protected]> - 1.2.11.5-2
+- workaround for https://bugzilla.redhat.com/show_bug.cgi?id=833529
+
+* Mon Jun 18 2012 Rich Megginson <[email protected]> - 1.2.11.5-1
+- Ticket #387 - managed entry sometimes doesn't delete the managed entry
+- 5903815 improve txn test index handling
+- Ticket #360 - ldapmodify returns Operations error - fix delete caching
+- bcfa9e3 Coverity Fix for CLEANALLRUV
+- Trac Ticket #335 - transaction retries need to be cache aware
+- Ticket #389 - ADD operations not in audit log
+- 44cdc84 fix coverity issues with uninit vals, no return checking
+- Ticket 368 - Make the cleanAllRUV task one step
+- Ticket #110 - RFE limiting root DN by host, IP, time of day, day of week
+
+* Mon Jun 11 2012 Petr Pisar <[email protected]> - 1.2.11.4-1.1
+- Perl 5.16 rebuild
+
+* Tue May 22 2012 Rich Megginson <[email protected]> - 1.2.11.4-1
+- Ticket #360 - ldapmodify returns Operations error
+- Ticket #321 - krbExtraData is being null modified and replicated on each ssh login
+- Trac Ticket #359 - Database RUV could mismatch the one in changelog under the stress
+- Ticket #361: Bad DNs in ACIs can segfault ns-slapd
+- Trac Ticket #338 - letters in object's cn get converted to lowercase when renaming object
+- Ticket #337 - Improve CLEANRUV task
+
+* Sat May  5 2012 Rich Megginson <[email protected]> - 1.2.11.3-1
+- Ticket #358 - managed entry doesn't delete linked entry
+
+* Fri May  4 2012 Rich Megginson <[email protected]> - 1.2.11.2-1
+- Ticket #351 - use betxn plugins by default
+-   revert - make no plugins betxn by default - too great a risk
+-   for deadlocks until we can test this better
+- Ticket #348 - crash in ldap_initialize with multiple threads
+-   fixes PR_Init problem in ldclt
+
+* Wed May  2 2012 Rich Megginson <[email protected]> - 1.2.11.1-1
+- f227f11 Suppress alert on unavailable port with forced setup
+- Ticket #353 - coverity 12625-12629 - leaks, dead code, unchecked return
+- Ticket #351 - use betxn plugins by default
+- Trac Ticket #345 - db deadlock return should not log error
+- Ticket #348 - crash in ldap_initialize with multiple threads
+- Ticket #214 - Adding Replication agreement should complain if required nsds5ReplicaCredentials not supplied
+- Ticket #207 - [RFE] enable attribute that tracks when a password was last set
+- Ticket #216 - RFE - Disable replication agreements
+- Ticket #337 - RFE - Improve CLEANRUV functionality
+- Ticket #326 - MemberOf plugin should work on all backends
+- Trac Ticket #19 - Convert entryUSN plugin to transaction aware type
+- Ticket #347 - IPA dirsvr seg-fault during system longevity test
+- Trac Ticket #310 - Avoid calling escape_string() for logged DNs
+- Trac Ticket #338 - letters in object's cn get converted to lowercase when renaming object
+- Ticket #183 - passwordMaxFailure should lockout password one sooner
+- Trac Ticket #335 - transaction retries need to be cache aware
+- Ticket #336 - [abrt] 389-ds-base-1.2.10.4-2.fc16: index_range_read_ext: Process /usr/sbin/ns-slapd was killed by signal 11 (SIGSEGV)
+- Ticket #325 - logconv.pl : use of getopts to parse command line options
+- Ticket #336 - [abrt] 389-ds-base-1.2.10.4-2.fc16: index_range_read_ext: Process /usr/sbin/ns-slapd was killed by signal 11 (SIGSEGV)
+- 554e29d Coverity Fixes
+- Trac Ticket #46 - (additional 2) setup-ds-admin.pl does not like ipv6 only hostnames
+- Ticket #183 - passwordMaxFailure should lockout password one sooner - and should be configurable to avoid regressions
+- Ticket #315 - small fix to libglobs
+- Ticket #315 - ns-slapd exits/crashes if /var fills up
+- Ticket #20 - Allow automember to work on entries that have already been added
+- Trac Ticket #45 - Fine Grained Password policy: if passwordHistory is on, deleting the password fails.
+
+* Fri Mar 30 2012 Rich Megginson <[email protected]> - 1.2.11-0.1.a1
+- 453eb97 schema def must have DESC '' - close paren must be preceded by space
+- Trac Ticket #46 - (additional) setup-ds-admin.pl does not like ipv6 only hostnames
+- Ticket #331 - transaction errors with db 4.3 and db 4.2
+- Ticket #261 - Add Solaris i386
+- Ticket #316 and Ticket #70 - add post add/mod and AD add callback hooks
+- Ticket #324 - Sync with group attribute containing () fails
+- Ticket #319 - ldap-agent crashes on start with signal SIGSEGV
+- 77cacd9 coverity 12606 Logically dead code
+- Trac Ticket #303 - make DNA range requests work with transactions
+- Ticket #320 - allow most plugins to be betxn plugins
+- Ticket #24 - Add nsTLS1 to the DS schema
+- Ticket #271 - Slow shutdown when you have 100+ replication agreements
+- TIcket #285 - compilation fixes for '--format-security'
+- Ticket 211 - Avoid preop range requests non-DNA operations
+- Ticket #271 - replication code cleanup
+- Ticket 317 - RHDS fractional replication with excluded password policy attributes leads to wrong error messages.
+- Ticket #308 - Automembership plugin fails if data and config area mixed in the plugin configuration
+- Ticket #292 - logconv.pl reporting unindexed search with different search base than shown in access logs
+- 6f8680a coverity 12563 Read from pointer after free (fix 2)
+- e6a9b22 coverity 12563 Read from pointer after free
+- 245d494 Config changes fail because of unknown attribute "internalModifiersname"
+- Ticket #191  - Implement SO_KEEPALIVE in network calls
+- Ticket #289 - allow betxn plugin config changes
+- 93adf5f destroy the entry cache and dn cache in the dse post op delete callback
+- e2532d8 init txn thread private data for all database modes
+- Ticket #291 - cannot use & in a sasl map search filter
+- 6bf6e79 Schema Reload crash fix
+- 60b2d12 Fixing compiler warnings
+- Trac Ticket #260 - 389 DS does not support multiple paging controls on a single connection
+- Ticket #302 - use thread local storage for internalModifiersName & internalCreatorsName
+- fdcc256 Minor bug fix introcuded by commit 69c9f3bf7dd9fe2cadd5eae0ab72ce218b78820e
+- Ticket #306 - void function cannot return value
+- ticket 181 - Allow PAM passthru plug-in to have multiple config entries
+- ticket 211 - Use of uninitialized variables in ldbm_back_modify()
+- Ticket #74 - Add schema for DNA plugin (RFE)
+- Ticket #301 - implement transaction support using thread local storage
+- Ticket #211 - dnaNextValue gets incremented even if the user addition fails
+- 144af59 coverity uninit var and resource leak
+- Trac Ticket #34 - remove-ds.pl does not remove everything
+- Trac Ticket #169 - allow 389 to use db5
+- bc78101 fix compiler warning in acct policy plugin
+- Trac Ticket #84 - 389 Directory Server Unnecessary Checkpoints
+- Trac Ticket #27 - SASL/PLAIN binds do not work
+- Ticket #129 - Should only update modifyTimestamp/modifiersName on MODIFYops
+- Ticket #17 - new replication optimizations
+
+* Tue Mar 27 2012 Noriko Hosoi <[email protected]> - 1.2.10.4-4
+- Ticket #46 - (revised) setup-ds-admin.pl does not like ipv6 only hostnames
+- Ticket #66 - 389-ds-base spec file does not have a BuildRequires on gcc-c++
+
+* Fri Mar 23 2012 Noriko Hosoi <[email protected]> - 1.2.10.4-3
+- Ticket #46 - setup-ds-admin.pl does not like ipv6 only hostnames
+
+* Wed Mar 21 2012 Rich Megginson <[email protected]> - 1.2.10.4-2
+- get rid of posttrans - move update code to post
+
+* Tue Mar 13 2012 Rich Megginson <[email protected]> - 1.2.10.4-1
+- Ticket #305 - Certain CMP operations hang or cause ns-slapd to crash
+
+* Mon Mar  5 2012 Rich Megginson <[email protected]> - 1.2.10.3-1
+- b05139b memleak in normalize_mods2bvals
+- c0eea24 memleak in mep_parse_config_entry
+- 90bc9eb handle null smods
+- Ticket #305 - Certain CMP operations hang or cause ns-slapd to crash
+- Ticket #306 - void function cannot return value
+- ticket 304 - Fix kernel version checking in dsktune
+
+* Thu Feb 23 2012 Rich Megginson <[email protected]> - 1.2.10.2-1
+- Trac Ticket #298 - crash when replicating orphaned tombstone entry
+- Ticket #281 - TLS not working with latest openldap
+- Trac Ticket #290 - server hangs during shutdown if betxn pre/post op fails
+- Trac Ticket #26 - Please support setting defaultNamingContext in the rootdse
+
+* Tue Feb 14 2012 Noriko Hosoi <[email protected]> - 1.2.10.1-2
+- Ticket #124 - add Provides: ldif2ldbm to rpm
+
+* Tue Feb 14 2012 Rich Megginson <[email protected]> - 1.2.10.1-1
+- Ticket #294 - 389 DS Segfaults during replica install in FreeIPA
+
+* Mon Feb 13 2012 Rich Megginson <[email protected]> - 1.2.10.0-1
+- Ticket 284 - Remove unnecessary SNMP MIB files
+- Ticket 51 - memory leaks in 389-ds-base-1.2.8.2-1.el5?
+- Ticket 175 - logconv.pl improvements
+
+* Fri Feb 10 2012 Noriko Hosoi <[email protected]> - 1.2.10-0.10.rc1.2
+- Introducing use_db4 macro to support db5 (libdb).
+
+* Fri Feb 10 2012 Petr Pisar <[email protected]> - 1.2.10-0.10.rc1.1
+- Rebuild against PCRE 8.30
+
+* Thu Feb  2 2012 Rich Megginson <[email protected]> - 1.2.10-0.10.rc1
+- ad9dd30 coverity 12488 Resource leak In attr_index_config(): Leak of memory or pointers to system resources
+- Ticket #281 - TLS not working with latest openldap
+- Ticket #280 - extensible binary filters do not work
+- Ticket #279 - filter normalization does not use matching rules
+- Trac Ticket #275 - Invalid read reported by valgrind
+- Ticket #277 - cannot set repl referrals or state
+- Ticket #278 - Schema replication update failed: Invalid syntax
+- Ticket #39 - Account Policy Plugin does not work for simple binds when PAM Pass Through Auth plugin is enabled
+- Ticket #13 - slapd process exits when put the database on read only mode while updates are coming to the server
+- Ticket #87 - Manpages fixes
+- c493fb4 fix a couple of minor coverity issues
+- Ticket #55 - Limit of 1024 characters for nsMatchingRule
+- Trac Ticket #274 - Reindexing entryrdn fails if ancestors are also tombstoned
+- Ticket #6 - protocol error from proxied auth operation
+- Ticket #38 - nisDomain schema is incorrect
+- Ticket #273 - ruv tombstone searches don't work after reindex entryrdn
+- Ticket #29 - Samba3-schema is missing sambaTrustedDomainPassword
+- Ticket #22 - RFE: Support sendmail LDAP routing schema
+- Ticket #161 - Review and address latest Coverity issues
+- Ticket #140 - incorrect memset parameters
+- Trac Ticket 35 - Log not clear enough on schema errors
+- Trac Ticket 139 - eliminate the use of char *dn in favor of Slapi_DN *dn
+- Trac Ticket #52 - FQDN set to nsslapd-listenhost makes the server start fail if IPv4-mapped-IPv6 address is given
+
+* Tue Jan 24 2012 Rich Megginson <[email protected]> - 1.2.10-0.9.a8
+- Ticket #272 - add tombstonenumsubordinates to schema
+
+* Mon Jan 23 2012 Rich Megginson <[email protected]> - 1.2.10-0.8.a7
+- fixes for systemd - remove .pid files after shutting down servers
+- Ticket #263 - add systemd include directive
+- Ticket #264 - upgrade needs better check for "server is running"
+
+* Fri Jan 20 2012 Rich Megginson <[email protected]> - 1.2.10-0.7.a7
+- Ticket #262 - pid file not removed with systemd
+- Ticket #50 - server should not call a plugin after the plugin close function is called
+- Ticket #18 - Data inconsitency during replication
+- Ticket #49 - better handling for server shutdown while long running tasks are active
+- Ticket #15 - Get rid of rwlock.h/rwlock.c and just use slapi_rwlock instead
+- Ticket #257 - repl-monitor doesn't work if leftmost hostnames are the same
+- Ticket #12 - 389 DS DNA Plugin / Replication failing on GSSAPI
+- 6aaeb77 add a hack to disable sasl hostname canonicalization
+- Ticket 168 - minssf should not apply to rootdse
+- Ticket #177 - logconv.pl doesn't detect restarts
+- Ticket #159 - Managed Entry Plugin runs against managed entries upon any update without validating
+- Ticket 75 - Unconfigure plugin opperations are being called.
+- Ticket 26 - Please support setting defaultNamingContext in the rootdse.
+- Ticket #71 - unable to delete managed entry config
+- Ticket #167 - Mixing transaction and non-transaction plugins can cause deadlock
+- Ticket #256 - debug build assertion in ACL_EvalDestroy()
+- Ticket #4 - bak2db gets stuck in infinite loop
+- Ticket #162 - Infinite loop / spin inside strcmpi_fast, acl_read_access_allowed_on_attr, server DoS
+- Ticket #3: acl cache overflown problem
+- Ticket 1 - pre-normalize filter and pre-compile substring regex - and other optimizations
+- Ticket 2 - If node entries are tombstone'd, subordinate entries fail to get the full DN.
+
+* Thu Jan 12 2012 Fedora Release Engineering <[email protected]> - 1.2.10-0.6.a6.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Thu Dec 15 2011 Rich Megginson <[email protected]> - 1.2.10-0.6.a6
+- Bug 755725 - 389 programs linked against openldap crash during shutdown
+- Bug 755754 - Unable to start dirsrv service using systemd
+- Bug 745259 - Incorrect entryUSN index under high load in replicated environment
+- d439e3a use slapi_hexchar2int and slapi_str_to_u8 everywhere
+- 5910551 csn_init_as_string should not use sscanf
+- b53ba00 reduce calls to csn_as_string and slapi_log_error
+- c897267 fix member variable name error in slapi_uniqueIDFormat
+- 66808e5 uniqueid formatting - use slapi_u8_to_hex instead of sprintf
+- 580a875 csn_as_string - use slapi_uN_to_hex instead of sprintf
+- Bug 751645 - crash when simple paged fails to send entry to client
+- Bug 752155 - Use restorecon after creating init script lock file
+
+* Fri Nov  4 2011 Rich Megginson <[email protected]> - 1.2.10-0.5.a5
+- Bug 751495 - 'setup-ds.pl -u' fails with undefined routine 'updateSystemD'
+- Bug 750625 750624 750622 744946 Coverity issues
+- Bug 748575 - part 2 - rhds81 modrdn operation and 100% cpu use in replication
+- Bug 748575 - rhds81 modrn operation and 100% cpu use in replication
+- Bug 745259 - Incorrect entryUSN index under high load in replicated environment
+- f639711 Reduce the number of DN normalization
+- c06a8fa Keep unhashed password psuedo-attribute in the adding entry
+- Bug 744945 - nsslapd-counters attribute value cannot be set to "off"
+- 8d3b921 Use new PLUGIN_CONFIG_ENTRY feature to allow switching between txn and regular
+- d316a67 Change referential integrity to be a betxnpostoperation plugin
+
+* Fri Oct  7 2011 Rich Megginson <[email protected]> - 1.2.10-0.4.a4
+- Bug 741744 - part3 - MOD operations with chained delete/add get back error 53
+- 1d2f5a0 make memberof transaction aware and able to be a betxnpostoperation plug in
+- b6d3ba7 pass the plugin config entry to the plugin init function
+- 28f7bfb set the ENTRY_POST_OP for modrdn betxnpostoperation plugins
+- Bug 743966 - Compiler warnings in account usability plugin
+
+* Wed Oct  5 2011 Rich Megginson <[email protected]> - 1.2.10.a3-0.3
+- 498c42b fix transaction support in ldbm_delete
+
+* Wed Oct  5 2011 Rich Megginson <[email protected]> - 1.2.10.a2-0.2
+- Bug 740942 - allow resource limits to be set for paged searches independently of limits for other searches/operations
+- Bug 741744 - MOD operations with chained delete/add get back error 53 on backend config
+- Bug 742324 - allow nsslapd-idlistscanlimit to be set dynamically and per-user
+
+* Wed Sep 21 2011 Rich Megginson <[email protected]> - 1.2.10.a1-0.1
+- Bug 695736 - Providing native systemd file
+
+* Wed Sep  7 2011 Rich Megginson <[email protected]> - 1.2.9.10-2
+- corrected source
+
+* Wed Sep  7 2011 Rich Megginson <[email protected]> - 1.2.9.10-1
+- Bug 735114 - renaming a managed entry does not update mepmanagedby
+
+* Thu Sep  1 2011 Rich Megginson <[email protected]> - 1.2.9.9-1
+- Bug 735121 - simple paged search + ip/dns based ACI hangs server
+- Bug 722292 - (cov#11030) Leak of mapped_sdn in winsync rename code
+- Bug 703990 - cross-platform - Support upgrade from Red Hat Directory Server
+- Introducing an environment variable USE_VALGRIND to clean up the entry cache and dn cache on exit.
+
+* Wed Aug 31 2011 Rich Megginson <[email protected]> - 1.2.9.8-1
+- Bug 732153 - subtree and user account lockout policies implemented?
+- Bug 722292 - Entries in DS are not updated properly when using WinSync API
+
+* Wed Aug 24 2011 Rich Megginson <[email protected]> - 1.2.9.7-1
+- Bug 733103 - large targetattr list with syntax errors cause server to crash or hang
+- Bug 633803 - passwordisglobalpolicy attribute brakes TLS chaining
+- Bug 732541 - Ignore error 32 when adding automember config
+- Bug 728592 - Allow ns-slapd to start with an invalid server cert
+
+* Wed Aug 10 2011 Rich Megginson <[email protected]> - 1.2.9.6-1
+- Bug 728510 - Run dirsync after sending updates to AD
+- Bug 729717 - Fatal error messages when syncing deletes from AD
+- Bug 729369 - upgrade DB to upgrade from entrydn to entryrdn format is not working.
+- Bug 729378 - delete user subtree container in AD + modify password in DS == DS crash
+- Bug 723937 - Slapi_Counter API broken on  32-bit F15
+-   fixed again - separate tests for atomic ops and atomic bool cas
+
+* Mon Aug  8 2011 Rich Megginson <[email protected]> - 1.2.9.5-1
+- Bug 727511 - ldclt SSL search requests are failing with "illegal error number -1" error
+-  Fix another coverity NULL deref in previous patch
+
+* Thu Aug  4 2011 Rich Megginson <[email protected]> - 1.2.9.4-1
+- Bug 727511 - ldclt SSL search requests are failing with "illegal error number -1" error
+-  Fix coverity NULL deref in previous patch
+
+* Wed Aug  3 2011 Rich Megginson <[email protected]> - 1.2.9.3-1
+- Bug 727511 - ldclt SSL search requests are failing with "illegal error number -1" error
+-  previous patch broke build on el5
+
+* Wed Aug  3 2011 Rich Megginson <[email protected]> - 1.2.9.2-1
+- Bug 727511 - ldclt SSL search requests are failing with "illegal error number -1" error
+
+* Tue Aug  2 2011 Rich Megginson <[email protected]> - 1.2.9.1-2
+- Bug 723937 - Slapi_Counter API broken on  32-bit F15
+-   fixed to use configure test for GCC provided 64-bit atomic functions
+
+* Wed Jul 27 2011 Rich Megginson <[email protected]> - 1.2.9.1-1
+- Bug 663752 - Cert renewal for attrcrypt and encchangelog
+-   this was "re-fixed" due to a deadlock condition with cl2ldif task cancel
+- Bug 725953 - Winsync: DS entries fail to sync to AD, if the User's CN entry contains a comma
+- Bug 725743 - Make memberOf use PRMonitor for it's operation lock
+- Bug 725542 - Instance upgrade fails when upgrading 389-ds-base package
+- Bug 723937 - Slapi_Counter API broken on  32-bit F15
+
+* Thu Jul 21 2011 Petr Sabata <[email protected]> - 1.2.9.0-1.2
+- Perl mass rebuild
+
+* Wed Jul 20 2011 Petr Sabata <[email protected]> - 1.2.9.0-1.1
+- Perl mass rebuild
+
+* Fri Jul 15 2011 Rich Megginson <[email protected]> - 1.2.9.0-1
+- Bug 720059 - RDN with % can cause crashes or missing entries
+- Bug 709468 - RSA Authentication Server timeouts when using simple paged results on RHDS 8.2.
+- Bug 691313 - Need TLS/SSL error messages in repl status and errors log
+- Bug 712855 - Directory Server 8.2 logs "Netscape Portable Runtime error -5961 (TCP connection reset by peer.)" to error log whereas Directory Server 8.1 did not
+- Bug 713209 - Update sudo schema
+- Bug 719069 - clean up compiler warnings in 389-ds-base 1.2.9
+- Bug 718303 - Intensive updates on masters could break the consumer's cache
+- Bug 711679 - unresponsive LDAP service when deleting vlv on replica
+
+* Mon Jun 27 2011 Rich Megginson <[email protected]> - 1.2.9-0.2.a2
+- 389-ds-base-1.2.9.a2
+- look for separate openldap ldif library
+- Split automember regex rules into separate entries
+- writing Inf file shows SchemaFile = ARRAY(0xhexnum)
+- add support for ldif files with changetype: add
+- Bug 716980 - winsync uses old AD entry if new one not found
+- Bug 697694 - rhds82 - incr update state stop_fatal_error "requires administrator action", with extop_result: 9
+- bump console version to 1.2.6
+- Bug 711679 - unresponsive LDAP service when deleting vlv on replica
+- Bug 703703 - setup-ds-admin.pl asks for legal agreement to a non-existant file
+- Bug 706209 - LEGAL: RHEL6.1 License issue for 389-ds-base package
+- Bug 663752 - Cert renewal for attrcrypt and encchangelog
+- Bug 706179 - DS can not restart after create a new objectClass has entryusn attribute
+- Bug 711906 - ns-slapd segfaults using suffix referrals
+- Bug 707384 - only allow FIPS approved cipher suites in FIPS mode
+- Bug 710377 - Import with chain-on-update crashes ns-slapd
+- Bug 709826 - Memory leak: when extra referrals configured
+
+* Fri Jun 17 2011 Marcela Mašláňová <[email protected]> - 1.2.9-0.1.a1.2
+- Perl mass rebuild
+
+* Fri Jun 10 2011 Marcela Mašláňová <[email protected]> - 1.2.9-0.1.a1.1
+- Perl 5.14 mass rebuild
+
+* Thu May 26 2011 Rich Megginson <[email protected]> - 1.2.9-0.1.a1
+- 389-ds-base-1.2.9.a1
+- Auto Membership
+- More Coverity fixes
+
+* Mon May  2 2011 Rich Megginson <[email protected]> - 1.2.8.3-1
+- 389-ds-base-1.2.8.3
+- Bug 700145 - userpasswd not replicating
+- Bug 700557 - Linked attrs callbacks access free'd pointers after close
+- Bug 694336 - Group sync hangs Windows initial Sync
+- Bug 700215 - ldclt core dumps
+- Bug 695779 - windows sync can lose old values when a new value is added
+- Bug 697027 - 12 - minor memory leaks found by Valgrind + TET
+
+* Thu Apr 14 2011 Rich Megginson <[email protected]> - 1.2.8.2-1
+- 389-ds-base-1.2.8.2
+- Bug 696407 - If an entry with a mixed case RDN is turned to be
+-    a tombstone, it fails to assemble DN from entryrdn
+
+* Fri Apr  8 2011 Rich Megginson <[email protected]> - 1.2.8.1-1
+- 389-ds-base-1.2.8.1
+- Bug 693962 - Full replica push loses some entries with multi-valued RDNs
+
+* Tue Apr  5 2011 Rich Megginson <[email protected]> - 1.2.8.0-1
+- 389-ds-base-1.2.8.0
+- Bug 693473 - rhds82 rfe - windows_tot_run to log Sizelimit exceeded instead of LDAP error - -1
+- Bug 692991 - rhds82 - windows_tot_run: failed to obtain data to send to the consumer; LDAP error - -1
+- Bug 693466 - Unable to change schema online
+- Bug 693503 - matching rules do not inherit from superior attribute type
+- Bug 693455 - nsMatchingRule does not work with multiple values
+- Bug 693451 - cannot use localized matching rules
+- Bug 692331 - Segfault on index update during full replication push on 1.2.7.5
+
+* Mon Apr  4 2011 Rich Megginson <[email protected]> - 1.2.8-0.10.rc5
+- 389-ds-base-1.2.8.rc5
+- Bug 692469 - Replica install fails after step for "enable GSSAPI for replication"
+
+* Tue Mar 29 2011 Rich Megginson <[email protected]> - 1.2.8-0.9.rc4
+- 389-ds-base-1.2.8.rc4
+- Bug 668385 - DS pipe log script is executed as many times as the dirsrv serv
+ice is restarted
+- 389-ds-base-1.2.8.rc3
+- Bug 690955 - Mrclone fails due to the replica generation id mismatch
+
+* Tue Mar 22 2011 Rich Megginson <[email protected]> - 1.2.8-0.8.rc2
+- 389-ds-base-1.2.8 release candidate 2 - git tag 389-ds-base-1.2.8.rc2
+- Bug 689537 - (cov#10610) Fix Coverity NULL pointer dereferences
+- Bug 689866 - ns-newpwpolicy.pl needs to use the new DN format
+- Bug 681015 - RFE: allow fine grained password policy duration attributes
+-              in days, hours, minutes, as well
+- Bug 684996 - Exported tombstone cannot be imported correctly
+- Bug 683250 - slapd crashing when traffic replayed
+- Bug 668909 - Can't modify replication agreement in some cases
+- Bug 504803 - Allow maxlogsize to be set if logmaxdiskspace is -1
+- Bug 644784 - Memory leak in "testbind.c" plugin
+- Bug 680558 - Winsync plugin fails to restrain itself to the configured subtree
+
+* Mon Mar  7 2011 Caolán McNamara <[email protected]> - 1.2.8-0.7.rc1
+- rebuild for icu 4.6
+
+* Wed Mar  2 2011 Rich Megginson <[email protected]> - 1.2.8-0.6.rc1
+- 389-ds-base-1.2.8 release candidate 1 - git tag 389-ds-base-1.2.8.rc1
+- Bug 518890 - setup-ds-admin.pl - improve hostname validation
+- Bug 681015 - RFE: allow fine grained password policy duration attributes in 
+-     days, hours, minutes, as well
+- Bug 514190 - setup-ds-admin.pl --debug does not log to file
+- Bug 680555 - ns-slapd segfaults if I have more than 100 DBs
+- Bug 681345 - setup-ds.pl should set SuiteSpotGroup automatically
+- Bug 674852 - crash in ldap-agent when using OpenLDAP
+- Bug 679978 - modifying attr value crashes the server, which is supposed to
+-     be indexed as substring type, but has octetstring syntax
+- Bug 676655 - winsync stops working after server restart
+- Bug 677705 - ds-logpipe.py script is failing to validate "-s" and
+-     "--serverpid" options with "-t".
+- Bug 625424 - repl-monitor.pl doesn't work in hub node
+
+* Mon Feb 28 2011 Rich Megginson <[email protected]> - 1.2.8-0.5.a3
+- Bug 676598 - 389-ds-base multilib: file conflicts
+- split off libs into a separate -libs package
+
+* Thu Feb 24 2011 Rich Megginson <[email protected]> - 1.2.8-0.4.a3
+- do not create /var/run/dirsrv - setup will create it instead
+- remove the fedora-ds initscript upgrade stuff - we do not support that anymore
+- convert the remaining lua stuff to plain old shell script
+
+* Wed Feb  9 2011 Rich Megginson <[email protected]> - 1.2.8-0.3.a3
+- 1.2.8.a3 release - git tag 389-ds-base-1.2.8.a3
+- Bug 675320 - empty modify operation with repl on or lastmod off will crash server
+- Bug 675265 - preventryusn gets added to entries on a failed delete
+- Bug 677774 - added support for tmpfiles.d
+- Bug 666076 - dirsrv crash (1.2.7.5) with multiple simple paged result search
+es
+- Bug 672468 - Don't use empty path elements in LD_LIBRARY_PATH
+- Bug 671199 - Don't allow other to write to rundir
+- Bug 678646 - Ignore tombstone operations in managed entry plug-in
+- Bug 676053 - export task followed by import task causes cache assertion
+- Bug 677440 - clean up compiler warnings in 389-ds-base 1.2.8
+- Bug 675113 - ns-slapd core dump in windows_tot_run if oneway sync is used
+- Bug 676689 - crash while adding a new user to be synced to windows
+- Bug 604881 - admin server log files have incorrect permissions/ownerships
+- Bug 668385 - DS pipe log script is executed as many times as the dirsrv serv
+ice is restarted
+- Bug 675853 - dirsrv crash segfault in need_new_pw()
+
+* Mon Feb 07 2011 Fedora Release Engineering <[email protected]> - 1.2.8-0.2.a2.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Feb  3 2011 Rich Megginson <[email protected]> - 1.2.8-0.2.a2
+- 1.2.8.a2 release - git tag 389-ds-base-1.2.8.a2
+- Bug 674430 - Improve error messages for attribute uniqueness
+- Bug 616213 - insufficient stack size for HP-UX on PA-RISC
+- Bug 615052 - intrinsics and 64-bit atomics code fails to compile
+-    on PA-RISC
+- Bug 151705 - Need to update Console Cipher Preferences with new ciphers
+- Bug 668862 - init scripts return wrong error code
+- Bug 670616 - Allow SSF to be set for local (ldapi) connections
+- Bug 667935 - DS pipe log script's logregex.py plugin is not redirecting the 
+-    log output to the text file
+- Bug 668619 - slapd stops responding
+- Bug 624547 - attrcrypt should query the given slot/token for
+-    supported ciphers
+- Bug 646381 - Faulty password for nsmultiplexorcredentials does not give any 
+-    error message in logs
+
+* Fri Jan 21 2011 Nathan Kinder <[email protected]> - 1.2.8-0.1.a1
+- 1.2.8-0.1.a1 release - git tag 389-ds-base-1.2.8.a1
+- many bug fixes
+
+* Thu Dec 16 2010 Rich Megginson <[email protected]> - 1.2.7.5-1
+- 1.2.7.5 release - git tag 389-ds-base-1.2.7.5
+- Bug 663597 - Memory leaks in normalization code
+
+* Tue Dec 14 2010 Rich Megginson <[email protected]> - 1.2.7.4-2
+- Resolves: bug 656541 - use %ghost on files in /var/lock
+
+* Fri Dec 10 2010 Rich Megginson <[email protected]> - 1.2.7.4-1
+- 1.2.7.4 release - git tag 389-ds-base-1.2.7.4
+- Bug 661792 - Valid managed entry config rejected
+
+* Wed Dec  8 2010 Rich Megginson <[email protected]> - 1.2.7.3-1
+- 1.2.7.3 release - git tag 389-ds-base-1.2.7.3
+- Bug 658312 - Invalid free in Managed Entry plug-in
+- Bug 641944 - Don't normalize non-DN RDN values
+
+* Fri Dec  3 2010 Rich Megginson <[email protected]> - 1.2.7.2-1
+- 1.2.7.2 release - git tag 389-ds-base-1.2.7.2
+- Bug 659456 - Incorrect usage of ber_printf() in winsync code
+- Bug 658309 - Process escaped characters in managed entry mappings
+- Bug 197886 - Initialize return value for UUID generation code
+- Bug 658312 - Allow mapped attribute types to be quoted
+- Bug 197886 - Avoid overflow of UUID generator
+
+* Tue Nov 23 2010 Rich Megginson <[email protected]> - 1.2.7.1-2
+- last commit had bogus commit log
+
+* Tue Nov 23 2010 Rich Megginson <[email protected]> - 1.2.7.1-1
+- 1.2.7.1 release - git tag 389-ds-base-1.2.7.1
+- Bug 656515 - Allow Name and Optional UID syntax for grouping attributes
+- Bug 656392 - Remove calls to ber_err_print()
+- Bug 625950 - hash nsslapd-rootpw changes in audit log
+
+* Tue Nov 16 2010 Nathan Kinder <[email protected]> - 1.2.7-2
+- 1.2.7 release - git tag 389-ds-base-1.2.7
+
+* Fri Nov 12 2010 Nathan Kinder <[email protected]> - 1.2.7-1
+- Bug 648949 - Merge dirsrv and dirsrv-admin policy modules into base policy
+
+* Tue Nov  9 2010 Rich Megginson <[email protected]> - 1.2.7-0.6.a5
+- 1.2.7.a5 release - git tag 389-ds-base-1.2.7.a5
+- Bug 643979 - Strange byte sequence for attribute with no values (nsslapd-ref
+erral)
+- Bug 635009 - Add one-way AD sync capability
+- Bug 572018 - Upgrading from 1.2.5 to 1.2.6.a2 deletes userRoot
+- put replication config entries in separate file
+- Bug 567282 - server can not abandon searchRequest of "simple paged results"
+- Bug 329751 - "nested" filtered roles searches candidates more than needed
+- Bug 521088 - DNA should check ACLs before getting a value from the range
+
+* Mon Nov  1 2010 Rich Megginson <[email protected]> - 1.2.7-0.5.a4
+- 1.2.7.a4 release - git tag 389-ds-base-1.2.7.a4
+- Bug 647932 - multiple memberOf configuration adding memberOf where there is 
+no member
+- Bug 491733 - dbtest crashes
+- Bug 606545 - core schema should include numSubordinates
+- Bug 638773 - permissions too loose on pid and lock files
+- Bug 189985 - Improve attribute uniqueness error message
+- Bug 619623 - attr-unique-plugin ignores requiredObjectClass on modrdn operat
+ions
+- Bug 619633 - Make attribute uniqueness obey requiredObjectClass
+
+* Wed Oct 27 2010 Rich Megginson <[email protected]> - 1.2.7-0.4.a3
+- 1.2.7.a3 release - a2 was never released - this is a rebuild to pick up
+- Bug 644608 - RHDS 8.1->8.2 upgrade fails to properly migrate ACIs
+- Adding the ancestorid fix code to ##upgradednformat.pl.
+
+* Fri Oct 22 2010 Rich Megginson <[email protected]> - 1.2.7-0.3.a3
+- 1.2.7.a3 release - a2 was never released
+- Bug 644608 - RHDS 8.1->8.2 upgrade fails to properly migrate ACIs
+- Bug 629681 - Retro Changelog trimming does not behave as expected
+- Bug 645061 - Upgrade: 06inetorgperson.ldif and 05rfc4524.ldif
+-              are not upgraded in the server instance schema dir
+
+* Tue Oct 19 2010 Rich Megginson <[email protected]> - 1.2.7-0.2.a2
+- 1.2.7.a2 release - a1 was the OpenLDAP testday release
+- git tag 389-ds-base-1.2.7.a2
+- added openldap support on platforms that use openldap with moznss
+- for crypto (F-14 and later)
+- many bug fixes
+- Account Policy Plugin (keep track of last login, disable old accounts)
+
+* Fri Oct  8 2010 Rich Megginson <[email protected]> - 1.2.7-0.1.a1
+- added openldap support
+
+* Wed Sep 29 2010 Rich Megginson <[email protected]> - 1.2.6.1-3
+- bump rel to rebuild again
+
+* Mon Sep 27 2010 Rich Megginson <[email protected]> - 1.2.6.1-2
+- bump rel to rebuild
+
+* Thu Sep 23 2010 Rich Megginson <[email protected]> - 1.2.6.1-1
+- This is the 1.2.6.1 release - git tag 389-ds-base-1.2.6.1
+- Bug 634561 - Server crushes when using Windows Sync Agreement
+- Bug 635987 - Incorrect sub scope search result with ACL containing ldap:///self
+- Bug 612264 - ACI issue with (targetattr='userPassword')
+- Bug 606920 - anonymous resource limit- nstimelimit - also applied to "cn=directory manager"
+- Bug 631862 - crash - delete entries not in cache + referint
+
+* Thu Aug 26 2010 Rich Megginson <[email protected]> - 1.2.6-1
+- This is the final 1.2.6 release
+
+* Tue Aug 10 2010 Rich Megginson <[email protected]> - 1.2.6-0.11.rc7
+- 1.2.6 release candidate 7
+- git tag 389-ds-base-1.2.6.rc7
+- Bug 621928 - Unable to enable replica (rdn problem?) on 1.2.6 rc6
+
+* Mon Aug  2 2010 Rich Megginson <[email protected]> - 1.2.6-0.10.rc6
+- 1.2.6 release candidate 6
+- git tag 389-ds-base-1.2.6.rc6
+- Bug 617013 - repl-monitor.pl use cpu upto 90%
+- Bug 616618 - 389 v1.2.5 accepts 2 identical entries with different DN formats
+- Bug 547503 - replication broken again, with 389 MMR replication and TCP errors
+- Bug 613833 - Allow dirsrv_t to bind to rpc ports
+- Bug 612242 - membership change on DS does not show on AD
+- Bug 617629 - Missing aliases in new schema files
+- Bug 619595 - Upgrading sub suffix under non-normalized suffix disappears
+- Bug 616608 - SIGBUS in RDN index reads on platforms with strict alignments
+- Bug 617862 - Replication: Unable to delete tombstone errors
+- Bug 594745 - Get rid of dirsrv_lib_t label
+
+* Wed Jul 14 2010 Rich Megginson <[email protected]> - 1.2.6-0.9.rc3
+- make selinux-devel explicit Require the base package in order
+- to comply with Fedora Licensing Guidelines
+
+* Thu Jul  1 2010 Rich Megginson <[email protected]> - 1.2.6-0.8.rc3
+- 1.2.6 release candidate 3
+- git tag 389-ds-base-1.2.6.rc3
+- Bug 603942 - null deref in _ger_parse_control() for subjectdn
+- 609256  - Selinux: pwdhash fails if called via Admin Server CGI
+- 578296  - Attribute type entrydn needs to be added when subtree rename switch is on
+- 605827 - In-place upgrade: upgrade dn format should not run in setup-ds-admin.pl
+- Bug 604453 - SASL Stress and Server crash: Program quits with the assertion failure in PR_Poll
+- Bug 604453 - SASL Stress and Server crash: Program quits with the assertion failure in PR_Poll
+- 606920 - anonymous resource limit - nstimelimit - also applied to "cn=directory manager"
+
+* Wed Jun 16 2010 Rich Megginson <[email protected]> - 1.2.6-0.7.rc2
+- 1.2.6 release candidate 2
+
+* Mon Jun 14 2010 Nathan Kinder <[email protected]> - 1.2.6-0.6.rc1
+- install replication session plugin header with devel package
+
+* Wed Jun  9 2010 Rich Megginson <[email protected]> - 1.2.6-0.5.rc1
+- 1.2.6 release candidate 1
+
+* Tue Jun 01 2010 Marcela Maslanova <[email protected]> - 1.2.6-0.4.a4.1
+- Mass rebuild with perl-5.12.0
+
+* Wed May 26 2010 Rich Megginson <[email protected]> - 1.2.6-0.4.a4
+- 1.2.6.a4 release
+
+* Tue Apr  7 2010 Nathan Kinder <[email protected]> - 1.2.6-0.4.a3
+- 1.2.6.a3 release
+- add managed entries plug-in
+- many bug fixes
+- moved selinux subpackage into base package
+
+* Fri Apr  2 2010 Caolán McNamara <[email protected]> - 1.2.6-0.3.a2
+- rebuild for icu 4.4
+
+* Mon Mar  2 2010 Rich Megginson <[email protected]> - 1.2.6-0.2.a2
+- 1.2.6.a2 release
+- add support for matching rules
+- many bug fixes
+
+* Thu Jan 14 2010 Nathan Kinder <[email protected]> - 1.2.6-0.1.a1
+- 1.2.6.a1 release
+- Added SELinux policy and subpackages
+
+* Tue Jan 12 2010 Rich Megginson <[email protected]> - 1.2.5-1
+- 1.2.5 final release
+
+* Mon Jan  4 2010 Rich Megginson <[email protected]> - 1.2.5-0.5.rc4
+- 1.2.5.rc4 release
+
+* Mon Dec 17 2009 Rich Megginson <[email protected]> - 1.2.5-0.4.rc3
+- 1.2.5.rc3 release
+
+* Mon Dec  7 2009 Rich Megginson <[email protected]> - 1.2.5-0.3.rc2
+- 1.2.5.rc2 release
+
+* Wed Dec  2 2009 Rich Megginson <[email protected]> - 1.2.5-0.2.rc1
+- 1.2.5.rc1 release
+
+* Thu Nov 12 2009 Rich Megginson <[email protected]> - 1.2.5-0.1.a1
+- 1.2.5.a1 release
+
+* Thu Oct 29 2009 Rich Megginson <[email protected]> - 1.2.4-1
+- 1.2.4 release
+- resolves bug 221905 - added support for Salted MD5 (SMD5) passwords - primarily for migration
+- resolves bug 529258 - Make upgrade remove obsolete schema from 99user.ldif
+
+* Mon Sep 14 2009 Rich Megginson <[email protected]> - 1.2.3-1
+- 1.2.3 release
+- added template-initconfig to %files
+- %posttrans now runs update to update the server instances
+- servers are shutdown, then restarted if running before install
+- scriptlets mostly use lua now to pass data among scriptlet phases
+
+* Tue Sep 01 2009 Caolán McNamara <[email protected]> - 1.2.2-2
+- rebuild with new openssl to fix dependencies
+
+* Tue Aug 25 2009 Rich Megginson <[email protected]> - 1.2.2-1
+- backed out - added template-initconfig to %files - this change is for the next major release
+- bump version to 1.2.2
+- fix reopened 509472 db2index all does not reindex all the db backends correctly
+- fix 518520 -  pre hashed salted passwords do not work
+- see https://bugzilla.redhat.com/show_bug.cgi?id=518519 for the list of
+- bugs fixed in 1.2.2
+
+* Fri Aug 21 2009 Tomas Mraz <[email protected]> - 1.2.1-5
+- rebuilt with new openssl
+
+* Wed Aug 19 2009 Noriko Hosoi <[email protected]> - 1.2.1-4
+- added template-initconfig to %files
+
+* Wed Aug 12 2009 Rich Megginson <[email protected]> - 1.2.1-3
+- added BuildRequires pcre
+
+* Fri Jul 24 2009 Fedora Release Engineering <[email protected]> - 1.2.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Mon May 18 2009 Rich Megginson <[email protected]> - 1.2.1-1
+- change name to 389
+- change version to 1.2.1
+- added initial support for numeric string syntax
+- added initial support for syntax validation
+- added initial support for paged results including sorting
+
+* Tue Apr 28 2009 Rich Megginson <[email protected]> - 1.2.0-4
+- final release 1.2.0
+- Resolves: bug 475338 - LOG: the intenal type of maxlogsize, maxdiskspace and minfreespace should be 64-bit integer
+- Resolves: bug 496836 - SNMP ldap-agent on Solaris: Unable to open semaphore for server: 389
+- CVS tag: FedoraDirSvr_1_2_0 FedoraDirSvr_1_2_0_20090428
+
+* Mon Apr  6 2009 Rich Megginson <[email protected]> - 1.2.0-3
+- re-enable ppc builds
+
+* Thu Apr  2 2009 Rich Megginson <[email protected]> - 1.2.0-2
+- exclude ppc builds - needs extensive porting work
+
+* Mon Mar 30 2009 Rich Megginson <[email protected]> - 1.2.0-1
+- new release 1.2.0
+- Made devel package depend on mozldap-devel
+- only create run dir if it does not exist
+- CVS tag: FedoraDirSvr_1_2_0_RC1 FedoraDirSvr_1_2_0_RC1_20090330
+
+* Mon Oct 30 2008 Noriko Hosoi <[email protected]> - 1.1.3-7
+- added db4-utils to Requires for verify-db.pl
+
+* Mon Oct 13 2008 Noriko Hosoi <[email protected]> - 1.1.3-6
+- Enabled LDAPI autobind
+
+* Thu Oct  9 2008 Rich Megginson <[email protected]> - 1.1.3-5
+- updated update to patch bug463991-bdb47.patch
+
+* Thu Oct  9 2008 Rich Megginson <[email protected]> - 1.1.3-4
+- updated patch bug463991-bdb47.patch
+
+* Mon Sep 29 2008 Rich Megginson <[email protected]> - 1.1.3-3
+- added patch bug463991-bdb47.patch
+- make ds work with bdb 4.7
+
+* Wed Sep 24 2008 Rich Megginson <[email protected]> - 1.1.3-2
+- rolled back bogus winsync memory leak fix
+
+* Tue Sep 23 2008 Rich Megginson <[email protected]> - 1.1.3-1
+- winsync api improvements for modify operations
+
+* Fri Jun 13 2008 Rich Megginson <[email protected]> - 1.1.2-1
+- This is the 1.1.2 release.  The bugs fixed can be found here
+- https://bugzilla.redhat.com/showdependencytree.cgi?id=452721
+- Added winsync-plugin.h to the devel subpackage
+
+* Fri Jun  6 2008 Rich Megginson <[email protected]> - 1.1.1-2
+- bump rev to rebuild and pick up new version of ICU
+
+* Fri May 23 2008 Rich Megginson <[email protected]> - 1.1.1-1
+- 1.1.1 release candidate - several bug fixes
+
+* Wed Apr 16 2008 Rich Megginson <[email protected]> - 1.1.0.1-4
+- fix bugzilla 439829 - patch to allow working with NSS 3.11.99 and later
+
+* Tue Mar 18 2008 Tom "spot" Callaway <[email protected]> - 1.1.0.1-3
+- add patch to allow server to work with NSS 3.11.99 and later
+- do NSS_Init after fork but before detaching from console
+
+* Tue Mar 18 2008 Tom "spot" Callaway <[email protected]> - 1.1.0.1-3
+- add Requires for versioned perl (libperl.so)
+
+* Wed Feb 27 2008 Rich Megginson <[email protected]> - 1.1.0.1-2
+- previous fix for 434403 used the wrong patch
+- this is the right one
+
+* Wed Feb 27 2008 Rich Megginson <[email protected]> - 1.1.0.1-1
+- Resolves bug 434403 - GCC 4.3 build fails
+- Rolled new source tarball which includes Nathan's fix for the struct ucred
+- NOTE: Change version back to 1.1.1 for next release
+- this release was pulled from CVS tag FedoraDirSvr110_gcc43
+
+* Tue Feb 19 2008 Fedora Release Engineering <[email protected]> - 1.1.0-5
+- Autorebuild for GCC 4.3
+
+* Thu Dec 20 2007 Rich Megginson <[email protected]> - 1.1.0-4
+- This is the GA release of Fedora DS 1.1
+- Removed version numbers for BuildRequires and Requires
+- Added full URL to source tarball
+
+* Fri Dec 07 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-3
+- Rebuild for deps
+
+* Wed Nov  7 2007 Rich Megginson <[email protected]> - 1.1.0-2.0
+- This is the beta2 release
+- new file added to package - /etc/sysconfig/dirsrv - for setting
+- daemon environment as is usual in other linux daemons
+
+* Thu Aug 16 2007 Rich Megginson <[email protected]> - 1.1.0-1.2
+- fix build breakage due to open()
+- mock could not find BuildRequires: db4-devel >= 4.2.52
+- mock works if >= version is removed - it correctly finds db4.6
+
+* Fri Aug 10 2007 Rich Megginson <[email protected]> - 1.1.0-1.1
+- Change pathnames to use the pkgname macro which is dirsrv
+- get rid of cvsdate in source name
+
+* Fri Jul 20 2007 Rich Megginson <[email protected]> - 1.1.0-0.3.20070720
+- Added Requires for perldap, cyrus sasl plugins
+- Removed template-migrate* files
+- Added perl module directory
+- Removed install.inf - setup-ds.pl can now easily generate one
+
+* Mon Jun 18 2007 Nathan Kinder <[email protected]> - 1.1.0-0.2.20070320
+- added requires for mozldap-tools
+
+* Tue Mar 20 2007 Rich Megginson <[email protected]> - 1.1.0-0.1.20070320
+- update to latest sources
+- added migrateTo11 to allow migrating instances from 1.0.x to 1.1
+- ldapi support
+- fixed pam passthru plugin ENTRY method
+
+* Fri Feb 23 2007 Rich Megginson <[email protected]> - 1.1.0-0.1.20070223
+- Renamed package to fedora-ds-base, but keep names of paths/files/services the same
+- use the shortname macro (fedora-ds) for names of paths, files, and services instead
+- of name, so that way we can continue to use e.g. /etc/fedora-ds instead of /etc/fedora-ds-base
+- updated to latest sources
+
+* Tue Feb 13 2007 Rich Megginson <[email protected]> - 1.1.0-0.1.20070213
+- More cleanup suggested by Dennis Gilmore
+- This is the fedora extras candidate based on cvs tag FedoraDirSvr110a1
+
+* Fri Feb  9 2007 Rich Megginson <[email protected]> - 1.1.0-1.el4.20070209
+- latest sources
+- added init scripts
+- use /etc as instconfigdir
+
+* Wed Feb  7 2007 Rich Megginson <[email protected]> - 1.1.0-1.el4.20070207
+- latest sources
+- moved all executables to _bindir
+
+* Mon Jan 29 2007 Rich Megginson <[email protected]> - 1.1.0-1.el4.20070129
+- latest sources
+- added /var/tmp/fedora-ds to dirs
+
+* Fri Jan 26 2007 Rich Megginson <[email protected]> - 1.1.0-8.el4.20070125
+- added logconv.pl
+- added slapi-plugin.h to devel package
+- added explicit dirs for /var/log/fedora-ds et. al.
+
+* Thu Jan 25 2007 Rich Megginson <[email protected]> - 1.1.0-7.el4.20070125
+- just move all .so files into the base package from the devel package
+
+* Thu Jan 25 2007 Rich Megginson <[email protected]> - 1.1.0-6.el4.20070125
+- Move the plugin *.so files into the main package instead of the devel
+- package because they are loaded directly by name via dlopen
+
+* Fri Jan 19 2007 Rich Megginson <[email protected]> - 1.1.0-5.el4.20070125
+- Move the script-templates directory to datadir/fedora-ds
+
+* Fri Jan 19 2007 Rich Megginson <[email protected]> - 1.1.0-4.el4.20070119
+- change mozldap to mozldap6
+
+* Fri Jan 19 2007 Rich Megginson <[email protected]> - 1.1.0-3.el4.20070119
+- remove . from cvsdate define
+
+* Fri Jan 19 2007 Rich Megginson <[email protected]> - 1.1.0-2.el4.20070119
+- Having a problem building in Brew - may be Release format
+
+* Fri Jan 19 2007 Rich Megginson <[email protected]> - 1.1.0-1.el4.cvs20070119
+- Changed version to 1.1.0 and added Release 1.el4.cvs20070119
+- merged in changes from Fedora Extras candidate spec file
+
+* Mon Jan 15 2007 Rich Megginson <[email protected]> - 1.1-0.1.cvs20070115
+- Bump component versions (nspr, nss, svrcore, mozldap) to their latest
+- remove unneeded patches
+
+* Tue Jan 09 2007 Dennis Gilmore <[email protected]> - 1.1-0.1.cvs20070108
+- update to a cvs snapshot
+- fedorafy the spec 
+- create -devel subpackage
+- apply a patch to use mozldap not mozldap6
+- apply a patch to allow --prefix to work correctly
+
+* Mon Dec 4 2006 Rich Megginson <[email protected]> - 1.0.99-16
+- Fixed the problem where the server would crash upon shutdown in dblayer
+- due to a race condition among the database housekeeping threads
+- Fix a problem with normalized absolute paths for db directories
+
+* Tue Nov 28 2006 Rich Megginson <[email protected]> - 1.0.99-15
+- Touch all of the ldap/admin/src/scripts/*.in files so that they
+- will be newer than their corresponding script template files, so
+- that make will rebuild them.
+
+* Mon Nov 27 2006 Rich Megginson <[email protected]> - 1.0.99-14
+- Chown new schema files when copying during instance creation
+
+* Tue Nov 21 2006 Rich Megginson <[email protected]> - 1.0.99-13
+- Configure will get ldapsdk_bindir from pkg-config, or $libdir/mozldap6
+
+* Tue Nov 21 2006 Rich Megginson <[email protected]> - 1.0.99-12
+- use eval to sed ./configure into ../configure
+
+* Tue Nov 21 2006 Rich Megginson <[email protected]> - 1.0.99-11
+- jump through hoops to be able to run ../configure
+
+* Tue Nov 21 2006 Rich Megginson <[email protected]> - 1.0.99-10
+- Need to make built dir in setup section
+
+* Tue Nov 21 2006 Rich Megginson <[email protected]> - 1.0.99-9
+- The template scripts needed to use @libdir@ instead of hardcoding
+- /usr/lib
+- Use make DESTDIR=$RPM_BUILD_ROOT install instead of % makeinstall
+- do the actual build in a "built" subdirectory, until we remove
+- the old script templates
+
+* Thu Nov 16 2006 Rich Megginson <[email protected]> - 1.0.99-8
+- Make replication plugin link with libdb
+
+* Wed Nov 15 2006 Rich Megginson <[email protected]> - 1.0.99-7
+- Have make define LIBDIR, BINDIR, etc. for C code to use
+- especially for create_instance.h
+
+* Tue Nov 14 2006 Rich Megginson <[email protected]> - 1.0.99-6
+- Forgot to checkin new config.h.in for AC_CONFIG_HEADERS
+
+* Tue Nov 14 2006 Rich Megginson <[email protected]> - 1.0.99-5
+- Add perldap as a Requires; update sources
+
+* Thu Nov 9 2006 Rich Megginson <[email protected]> - 1.0.99-4
+- Fix ds_newinst.pl
+- Remove obsolete #defines
+
+* Thu Nov 9 2006 Rich Megginson <[email protected]> - 1.0.99-3
+- Update sources; rebuild to populate brew yum repo with dirsec-nss
+
+* Tue Nov 7 2006 Rich Megginson <[email protected]> - 1.0.99-2
+- Update sources
+
+* Thu Nov 2 2006 Rich Megginson <[email protected]> - 1.0.99-1
+- initial revision

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.