Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
nhosoi%redhat.com 4de91ac302 394071 ��� LDAP SASL bind fails when the given hostname is numeric IPv6 address
[Change description]
configure: generated with autoconf213
configure.in: added getaddrinfo and getnameinfo to AC_CHECK_FUNCS
config/autoconf.mk.in: added macros HAVE_GETADDRINFO and HAVE_GETNAMEINFO
ldap/clients/tools/common.c:
1. check if the given host name looks like IPv6 numeric address or not
2. if it is, try getaddrinfo + getnameinfo if available
3. if they are not or they failed, try NSPR functions, which are a bit old
handling IPv6 addresses, but for this case, they return the expected result --
FQDN.
2007-09-17 17:46:23 +00:00
richm%stanfordalumni.org 4a01273230 Resolves: bug 386091
Description: Windows SDK package needed
Fix Description: 1) Update the packaging Makefile (package.mk) for Windows and SASL.
2) Add support for manifests in VC 8.0.  There is a new command line tool
called mt.exe that is used to generate manifest files and to compile them into
the executables.  This allows ldapsearch.exe to be able to find the right
msvcr80.dll at runtime.  This was copied from NSS at Nelson's suggestion.
3) Added support for being able to do a configure and make in a different
directory.  I find it very useful to be able to create a "build" directory and
run configure like this:
cd ~/build
/path/to/mozilla/directory/c-sdk/configure ... args ...
make
Then I can just completely blow away the build directory if I need to.  I know
this is what make clean/make clobber are supposed to do, but keeping the binary
and source directories separate like this also facilitates creating source
tarballs from the working directory for use in building rpms/packages.
There were a few changes required to cygwin_wrapper and the makefiles to
support building in this manner.
2007-06-20 17:57:12 +00:00
richm%stanfordalumni.org f8acc305d0 Resolves: bug 256515
Description: OpenBSD: ld libldap50.a error
Fix Description: Use the c compiler (gcc) to link.  Always use the -fPIC -shared flags for linking, no matter what the chip arch is.
2007-06-08 22:33:01 +00:00
richm%stanfordalumni.org 79721b17ea Resolves: bug 228704
Description: Windows: libldap and the LDAP tools should support SASL/Digest
Fix Description: The biggest change was to hack sasl.m4 to make AC_CHECK_LIB work on Windows.  I
had to override LIBS to be able to pass in /link /LIBPATH:c:/path/to/sasl
libsasl.lib, libsasl2.lib, and sasl32.lib.
Another big change was to implement getlogin() on Windows, required by
ldaptool-sasl.c.  The implementation is pretty simple.
There were several places in the Makefiles that assumed Windows meant no
support for SASL, so I just changed them, and added some support for SASL_LIBS
in some places where it was missing.
2007-01-24 20:53:02 +00:00
richm%stanfordalumni.org 2f0924dd92 svrcore was still using the -e test which is broken with test on traditional unix bourne shell systems 2006-12-18 17:01:07 +00:00
mozilla%weilbacher.org 5ea11b62a1 [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 4, changes to LDAP build config (LDAP trunk version). r=mkaply, r=mcs 2006-12-13 22:12:16 +00:00
richm%stanfordalumni.org 02b6927827 fix sasl include path lookup - look in withval/include/sasl first 2006-10-11 16:02:30 +00:00
nkinder%redhat.com 7d1c4e3d1d 355742 - Changed search order for sasl.h to simplify build 2006-10-06 17:50:26 +00:00
richm%stanfordalumni.org 1edab7d4ef Bug: 339298
Description: Merge sun_merge_branch_20060523 changes into trunk.
Fix Description: I had to change re_encode_request to use the new ber types.  Other than that, these merges are basically the sasl, ipv6, and ber types code already committed to the sun merge branch.
2006-10-03 20:43:42 +00:00
richm%stanfordalumni.org 74356e6d35 Bug: 346575
Fix Description: The default now is to not use RPATH when building shared libraries and executables.  The configure flag --with-rpath[=dir] has been added.  The dir is optional, and a default will be used if not given.
2006-08-01 15:47:14 +00:00
cls%seawood.org e723d0e1c2 Properly quote m4 macro definitions.
Thanks to Patrick Welche <pw-fb@newn.cam.ac.uk> for the patch.
Bug #298457 r=cls
2006-05-16 05:39:16 +00:00
richm%stanfordalumni.org adeeba1cb8 Bug: 334763
Description: Fix build to allow building command line tools without svrcore
Fix Description: Should allow the command line tools to be built without svrcore.  Also fixed the problem with system svrcore.
2006-05-11 14:48:34 +00:00
richm%stanfordalumni.org fea1eebb01 bug 327864
LDAP C-SDK support for Mac cross builds
Add a new configure option --with-macos-sdk=dir
2006-02-22 18:59:31 +00:00
richm%stanfordalumni.org a705f22c0e Use SVRCORE_LIBS not SVRCORE_LIB_PATH 2006-02-14 21:49:10 +00:00
richm%stanfordalumni.org 6af1ffbe3e bug 325625
This fix allows the trunk ldap c sdk build to be used to build the mozilla client.  I was able to use this to build the mozilla 1_8 branch of thunderbird on Fedora Core 4.  Addressbook and typedown addressing work fine.
The gist of the fix is to completely ignore svrcore if not specified, and to imply --with-nspr if --with-mozilla is specified.  If not specified, the client build uses $(DIST)/include/nspr and $(DIST)/lib for the locations of the NSPR files.
2006-02-10 23:08:16 +00:00
richm%stanfordalumni.org d007966ad2 bug 301035 and bug 325518
Enable autoconf build on Windows with cygwin and free MSVC compiler + SDK
1) Don't set the -lsvrcore in SVRCORE_LIBS in configure - instead, do it the
way we do the NSPR and NSS libs, in build.mk
2) For the component LINK macros, use name.lib instead of -lname on Windows
3) The new free MSVC compiler does not have lib.exe - add an autoconf test for
the lib program and use link /lib if missing
4) If using MSVC (which expects DOS style absolute paths) and cygwin (which
uses unix style abs. paths), use cygpath -m on all user supplied paths to make
sure they are in the correct format for cl and link.  It's better to do this
during configure rather than depend on cygwin_wrapper which is much, much
slower.
5) Don't link with the odbc libs (Why did we ever need these!?!??!?)
6) The free MSVC doesn't include afxwin.h, so use the other header files
instead
7) Add libutil to the Windows build, including getting rid of the old Makefile
and adding a new Makefile.in for the autoconf build (the Makefile.client
remains)
8) getopt.c doesn't need lber.h

I verified that these changes also build on Win2k with MSVC 6 SP 3.  I also changed the copyright in the new Makefile.in as suggested by Mark Smith.
2006-02-03 19:28:32 +00:00
richm%stanfordalumni.org 66fa3fd912 bug 322576
1) +DSblended can be omitted entirely - it's the default on IA, and ignored on
PA
2) +DD64 is supported on both IA and PA for B.11.23
3) The $ORIGIN linker flag should be added to any B.11.11 or later linker - the
patch to the linker to support this on B.11.11 is pretty old and should be
applied by any customer wanting a supported HP-UX system.  If for some reason
they don't have the patch, the presence of $ORIGIN just causes a couple of
extra path lookups that fail - no big deal.
2006-01-18 19:38:33 +00:00
richm%stanfordalumni.org 7e78507517 use NSS_LIBS instead of NSS_LIB_PATH for the --with-nss case 2006-01-12 18:23:00 +00:00
richm%stanfordalumni.org 0650731a8f Bug 322618 - Enable RPM build
Reviewed by Mark, Dan, Chris (Thanks!)
The newly added README.rpm explains how to build an RPM.
Running ./configure will print the list of flags and what they do.
2006-01-11 20:20:13 +00:00
richm%stanfordalumni.org 5953e5d327 Forgot to add an endif 2006-01-09 22:17:17 +00:00
richm%stanfordalumni.org 66969e5074 fixes for bug 322576 - patches for building on HP-UX IPF 2006-01-09 20:08:59 +00:00
cls%seawood.org 8391ba440b First pass at cleaning up ldap's configure.in.
Bug #318149 r=dmose
2005-12-01 03:18:40 +00:00
cls%seawood.org 8fa45dbbb4 Sync config.guess & config.sub with official GNU CVS copies.
Bug #312352 r=bsmedberg
2005-10-14 19:22:06 +00:00
dmose%mozilla.org 57656307a6 Allow for compilation with MS Visual Studio 2005 (bug 249782) patch=sdwalker@myrealbox.com, r=dmose@mozilla.org 2005-06-14 21:29:42 +00:00
cls%seawood.org fc284d6ae7 Fix --with-system-nspr
Bug #288637 r=dmose a=caillon
2005-06-02 17:40:05 +00:00
cls%seawood.org 532a095a95 Path translation fixes for msys.
Thanks to Howard Chu <hyc@symas.com> for the patches.
Bug #294122 r=cls a=shaver
2005-06-02 04:21:17 +00:00
cls%seawood.org 90fcdb00a0 Use dashes instead of backslashes for program options to avoid msys shell expansion.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls a=shaver
2005-06-01 14:28:35 +00:00
richm%stanfordalumni.org 1e00faa2b2 fix for 293042: enable Solaris builds with gcc and enable 64 bit builds as well 2005-05-10 20:08:39 +00:00
richm%stanfordalumni.org 6135545a16 add support for Red Hat Enterprise Linux 4 - kernel 2.6 2005-03-15 01:57:53 +00:00
cls%seawood.org c1012ce8c7 Update comments and use enhanced cygwin-wrapper script for nspr & ldap.
Thanks to Brian Bober <netdragon@gmail.com> for the patch.
Bug #245918 r=cls
2004-08-19 16:27:08 +00:00
mcs%pearlcrescent.com e2fb5e97ad Fix bug # 245794 - LDAP C SDK non-autoconf build problems
Add Makefile.client under mozilla/directory/c-sdk/config and call it
    from mozilla/directory/Makefile (this "new" Makefile.client is
    the same as the old mozilla/directory/c-sdk/Makefile that was
    recently cvs removed).
  Simplify the logic in mozilla/directory/build.mk and make sure the
    command line tools are linked with the C++ compiler on all platforms
    where necessary.
  Recognize HP/UX 11.11 (treated the same as 11.00).
  Replace an incorrect dependency on Makefile with a dependency on
    Makefile.client inside the command line tools Makefile.client.
2004-07-09 18:09:39 +00:00
mcs%pearlcrescent.com f9b8f9f339 Commit to the trunk - Fix bug # 212265 - files missing in .cvsignore.
r+sr=dmose.
2004-05-24 14:02:24 +00:00
mcs%pearlcrescent.com a162e9bcb1 Fix bug # 184219 - get cvs version of Ldap C-SDK and make of ldap c sdk failed.
Updated NSPR and NSS component revision numbers.
   Handle for part release numbers on Linux, e.g., 2.4.20-6
   Use correct paths for NSPR headers and libraries.
   Remove obsolete LDAP Makefiles (generated by configure these days).
   Fix command line tools link error on Linux: link with -lstdc++
2004-05-24 13:03:16 +00:00
cls%seawood.org 0114b6ff0c Add support for cross-compiling to i386-mingw32
Bug #222013 r=dmose
2004-03-15 07:38:54 +00:00
cls%seawood.org 3a8ed5d895 OpenVMS build changes. b=180291. r=mcs. sr=brendan 2004-03-15 06:51:00 +00:00
cls%seawood.org 5dfbbc63d2 Whitespace change to represent checkin for bug 158920.
Use 'mount -' to get cygdrive mountpoint rather than assuming /cygdrive.
Bug #158920 r=bryner
2004-03-15 06:27:56 +00:00
cls%seawood.org d433db0011 #188247
r=mcs, sr=dmose
OS/2 GCC work for LDAP
2004-03-15 06:25:32 +00:00
cls%seawood.org 3222fd3794 Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
2004-03-15 06:17:21 +00:00
mcs%netscape.com 405555e9c6 Additional fix for bug # 205419 - Relicense LDAP C SDK (directory/c-sdk).
Replace NPL/GPL/LGPL licenses with MPL/GPL/LGPL.
2003-10-15 17:26:10 +00:00
mcs%netscape.com 6a2cb120bd Fix bug # 205419 - Relicense LDAP C SDK (directory/c-sdk).
Replace existing licenses with a triple license (NPL/GPL/LGPL or
    MPL/GPL/LGPL).
  Add licenses to files that had no license.
  Remove two unused files.
2003-10-10 15:03:52 +00:00
seawood%netscape.com b575e3e3e4 Sync config.guess & config.sub with official GNU copies.
Bug #199343
2003-04-18 19:20:22 +00:00
mcs%netscape.com 00da1b62fe Fix 190539 - Speed optimizations for OS/2.
Changes merged from ldapcsdk_50_client_branch.
2003-04-01 18:11:26 +00:00
mcs%netscape.com 64c117c784 Fix 189089 - port nspr w32 now.c fix to directory.
See bug # 188396 - NSPR should not use ftime on windows.
	This fixes a potential Year 2038 issue.
2003-03-21 16:41:42 +00:00
seawood%netscape.com 1f7a06c631 Add mingw support.
Bug #134113 r=mcs sr=dmose
2003-03-07 21:12:09 +00:00
seawood%netscape.com 181a903b7a Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen
2003-02-23 16:58:47 +00:00
djani%netscape.com 2a0a0aa506 Bug 143300: Support for files with >2GB size. Now, we compile with _LARGEFILE64_SOURCE tag and we use fopen/fopen64 accordingly. 2002-06-07 20:09:11 +00:00
seawood%netscape.com cedbcebcf6 Sync config.guess & config.sub with official GNU copies.
Bug #140869 r=bryner
2002-05-17 23:44:58 +00:00
dmose%netscape.com f682fd6985 Reinstate real_install target so that it will be possible to have an install target for Mozilla that works as expected (bug 138442); patch from Chris Seawood <cls@seawood.org>, r=dmose@netscape.com, mcs@netscape.com 2002-04-24 23:53:23 +00:00
mcs%netscape.com 51467f9cd2 Fix bug # 138545 - more flexibility needed for pre-built components
location. Introduced component specific RELEASE_TREE macros, e.g.,
NSPR_RELEASE_TREE.
2002-04-24 15:08:06 +00:00
mcs%netscape.com 67a3aebf1c Add -v flag to native Solaris cc (enables stricter semantic checks,
and certain lint-like checks on .c files).
2002-04-18 01:23:00 +00:00