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

213 Коммитов

Автор SHA1 Сообщение Дата
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 e1f517fe9f remove old, crufty HP-UX code for IPF port 2006-01-10 03:58:39 +00:00
richm%stanfordalumni.org f26f68f5ee use +Olit=all instead of +0lit=all - that is capital-o instead of zero 2006-01-10 02:25:53 +00:00
richm%stanfordalumni.org 69c609a4c7 used endif instead of fi - doh 2006-01-10 02:05:15 +00:00
richm%stanfordalumni.org c398b82631 updated configure for HP-UX IPF 2006-01-09 23:23:15 +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 7675b5564c Fix solaris MDCPUCFG_H settings.
Bug #317599 r=dmose,wtc
2005-11-29 21:22:00 +00:00
cls%seawood.org 4d9eb0274d Explicitly disable pthread support for win32, os2 & beos.
Bug #316919 r=dmose
2005-11-23 06:04:12 +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 aae5e30473 Add support for msys uname & cleanup OS_ARCH checks.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls sr=wtc a=shaver
2005-06-01 15:30:48 +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
cls%seawood.org ddc5452e4e Allow --enable-debug to accept compiler flags like --enable-optimize
Bug #284767 r=bsmedberg a=shaver
2005-06-01 13:54:02 +00:00
richm%stanfordalumni.org 8e96d167a5 bump default version to 516 2005-05-10 20:16:32 +00:00
richm%stanfordalumni.org f5403bd2a4 fix for 291993: find the NSPR libraries in the correct location in the dist build tree and make prldap have a run time dependency on them 2005-05-10 20:08:48 +00:00
richm%stanfordalumni.org 0f7e925e79 fix for 293199: do not automatically set the secure mode (to use port 636) if the user requested the startTLS operation - in this case, we want to use the regular (389) port and negotiate SSL on that connection 2005-05-10 20:08:43 +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 866bde189f fix for 293042: For gcc builds, need to use g++ to link 2005-05-10 20:07:34 +00:00
richm%stanfordalumni.org f3af8166a0 Fix for bug 290482 - add the -l directive to fix the broken linker command 2005-04-25 20:03:49 +00:00
richm%stanfordalumni.org fde909e0d1 Fix for bug 288397 - just remove definition of MAXHOSTNAMELEN since it is not used anywhere 2005-04-25 20:03:40 +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
richm%stanfordalumni.org c594f166bd Use DEFS instead of CFLAGS for the argpin and pkcs11 defs 2005-03-10 16:07:53 +00:00
richm%stanfordalumni.org 84730cb1c2 Use NSPR 4.4.1, NSS 3.9.3, SVRCORE 4.0 2005-03-10 16:07:44 +00:00
richm%stanfordalumni.org e662d723e5 Change DEFAULT_VENDOR_VERSION to 515 (5.15) 2005-03-10 16:07:38 +00:00
richm%stanfordalumni.org ca8dac8b85 Fix bug 281140 - patch submitted by ulf@loop.to
The getpass() function on HP-UX only allows 8 characters.
Since there is not (yet?) a better function, this fix
allows up to 256 character passwords using the raw
tty interfaces for no echo.
2005-02-11 20:02:47 +00:00
mcs%pearlcrescent.com 5fe47233c2 Fix bug # 263557 - Sending a request fails on Windows when the
ber size is larger than 64MB.
  Break up large messages into <= 8MB sized chunks inside prldap_write().
2004-10-15 13:10:04 +00:00
mcs%pearlcrescent.com efb382c9df Additional fix for 141754 - Enhancement: Should support startTls:
Remove extra semicolon which causes an error on some non-gcc compilers.
2004-09-10 13:03:03 +00:00
mcs%pearlcrescent.com 7752583403 Fix bug # 141754 - Enhancement: Should support startTLS.
LDAP command line tools now accept 2 new options:
    -ZZ  (issue a startTLS request)
    -ZZZ (like -ZZ but require a successful response).
 API extensions:
  ldap_ssl.h: LDAP_EXOP_START_TLS macro (OID of start TLS extended op.).
  libssldap:  Added ldap_start_tls_s() function.
  libprldap:  Added prldap_is_installed() and prldap_import_connection().
  libldap:    Added new LDAP_X_OPT_SOCKETARG option for ldap_get_option()
                and ldap_set_option() (get/set the socketarg associated
                with the main LDAP TCP connection).
  liblber:    Added new LBER_SOCKBUF_OPT_SOCK_ARG option for
                 ber_sockbuf_set_option() and ber_sockbuf_get_option()
                 (get/set the socketarg associated with a Sockbuf).
Also, some refactoring was done in libssldap to simplify the code.
2004-09-09 18:50:05 +00:00
mcs%pearlcrescent.com 06b18dd1b8 Fix bug # 242143 - ldap_extended_operation(3) sends requestValue
when not requested.
  Now if a NULL struct berval * is passed for the extended op data,
  no value is sent.
2004-09-09 18:23:39 +00:00
mcs%pearlcrescent.com ff40976c0d Commit fix for bug #244231 from ldapcsdk_50_client_branch:
Add support for generating PDB-format debug symbols with MSVC,
  by setting MOZ_DEBUG_SYMBOLS=1 in the environment. This is to
  be used in place of MOZ_PROFILE. r=wtc, dmose.
2004-08-27 13:24:29 +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 3846649157 Fix bug # 255186 - 64 bit: VLV response control not parsed correctly. 2004-08-11 13:30:32 +00:00
mcs%pearlcrescent.com 98c87eb0dc Additional fix for bug #246694 - 64-bit build: incorrect handling of
password policy response.
2004-08-10 12:36: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 f4f961dd1b Fix bug # 246694 - 64-bit build: incorrect handling of
password policy response.
   The 'i' format specifier to ber_scanf() requires a long arg, not int.
2004-06-16 13:18:48 +00:00
mcs%pearlcrescent.com e96f99997c Commit to the trunk the fix for bug # 223987 - Fix LDAP library
makefile to play nice with "make -jN" builds with MSVC.
2004-05-24 14:25:07 +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 3814afe365 Use the proper flags when building with --enable-debug --enable-optimize.
Thanks to Wan-Teh Chang <wchang0222@aol.com> for the patch.
Bug #243079 r=cls
2004-05-20 20:21:33 +00:00
cls%seawood.org 447f8d8f04 Allow ldap to accept multiple --{enable,disable}-{debug,optimize} args.
Bug #54828 r=dmose
2004-04-26 22:54:01 +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 f800c09685 Fixing whatever got missed between the missed bug 141834 checkin & bug 134113 checkin. 2004-03-15 07:15:51 +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 4141b45420 #215581
r=mark smith
OS/2 changes for GCC 3.2.2
2004-03-15 06:35:14 +00:00
cls%seawood.org 7f12986477 198462 patch by rich cannings cannings@math.ucalgary.ca r=mcs sr=dmose a=mkaply Get LDAP to build on OpenBSD 2004-03-15 06:28:55 +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
cls%seawood.org 88572b8722 Gratuitous whitespace change to represent checkin for bug 53764. 2004-03-15 06:13:51 +00:00
cls%seawood.org a4e39fad01 Update openbsd support for openbsd >= 3.4
Thanks to Peter Str��mberg <wilfried@spamcop.net> for pulling these patches out of openbsd's ports tree.
Bug #236599 r+sr=dmose
2004-03-10 07:46:38 +00:00
mcs%netscape.com cde580375a Additional fix for 221694 - ber_get_next_buffer_ext() fails when
length or tag is split across buffers.
Improve backwards compatibility by setting *Bytes_Scanned to zero
when errors occur; use errno to report specific errors.
2003-10-23 19:35:02 +00:00
mcs%netscape.com 538b87bab9 Additional "bulletproofing" for bug # 221694 - ber_get_next_buffer_ext()
fails when length or tag is split across buffers.
2003-10-21 19:12:55 +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 1335021487 Fix bug # 221694 - ber_get_next_buffer_ext() fails when length or tag
is split across buffers.
2003-10-15 14:32:10 +00:00
mcs%netscape.com bb9cdbd80b Improve the PRLDAP_OPT_IO_MAX_TIMEOUT related comment. 2003-10-15 13:19:01 +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 f89fef792f Bug 217502 - Use sane libpath in LDAP libraries.
r=MarkCSmithWork@aol.com, a=asa@mozilla.org
2003-10-07 22:01:12 +00:00
mcs%netscape.com 71eee06b55 Fix bug # 140182 - async I/O improvements.
A queue of pending outbound requests is kept. UnBind requests are NOT
   queued however.
  Abandon requests are not sent if a request is not outstanding.
  Cleaned up the code in result.c to avoid use of magic return values
	such as -1 and -2.  Also removed some dead code and dead files.
ltest (test.c) now supports SSL and async I/O options.
2003-10-01 17:19:11 +00:00
mcs%netscape.com 7841f2b3bf Fix bug # 206777 - obsolete entries in
mozilla/directory/c-sdk/ldap/build/.cvsignore
2003-10-01 15:02:23 +00:00
mcs%netscape.com ed2f75ee6d Fix bug # 206776 - remove obsolete files under
mozilla/directory/c-sdk/ldap/libraries/msdos/winsock
2003-10-01 14:58:35 +00:00
mcs%netscape.com bc4279ccb3 Put back the contributed change that we previously did not
have permission to relicense; we now have permission.
2003-09-25 20:01:54 +00:00
mcs%netscape.com 462272f76d NPL 1.1/GPL 2.0/LGPL 2.1 triple license. 2003-09-25 16:38:52 +00:00
mcs%netscape.com 1be4267583 Back out contributed change that we do not have permission to relicense. 2003-09-25 15:48:59 +00:00
seawood%netscape.com e9f6376826 When calling windres, use a temp file to work around resource issues.
Bug #213281 r=wtc
2003-09-15 03:48:56 +00:00
mcs%netscape.com ce5df09b84 Follow up fix for 200528 - ldap/include/portable.h is confused
about Solaris: older Linux versions do not have in_addr_t, so
don't assume they do.
2003-08-27 21:02:31 +00:00
mcs%netscape.com ba94d4bffb Fix 200528 - ldap/include/portable.h is confused about Solaris.
Avoid using sunos5 (not defined).
    Removed definitions of these macros that are not used anwhere:
		HAVE_GETPWNAM_R, HAVE_GETGRNAM_R, SIG_FN, WAIT_FLAGS.
2003-08-27 14:10:02 +00:00
mcs%netscape.com a6b0bf4fd7 Fix 200361 - LDAP tools should accept -i UTF-8 and -i utf8 on all platforms.
Also, on Windows the -i option was previously ignored; now the following
  values are accepted: windows-1252, ANSI, utf-8, utf8 (2 charsets in total).
2003-08-27 13:35:21 +00:00
seawood%netscape.com 4ee1fc13e4 Change mksnt* checks to mks*
Bug #202598 r=wtc
2003-04-19 01:47:57 +00:00
seawood%netscape.com d14fa1269a Add -s to default optimization flags for os2gcc builds.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #201555 r=cls
2003-04-18 19:27:09 +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
seawood%netscape.com 5ddf3d0a8d Fix x86 checks so that they work for xeon processors
Bug #199343 r=wtc
2003-04-18 19:18:12 +00:00
mcs%netscape.com 346de1e6ae Partial fix for 148272 - flawfinder warnings in directory.
Fix most critical warnings in the core LDAP library code:
    AIX has snprintf() so we now #define HAVE_SNPRINTF there.
    Use snprintf() instead of sprintf() in ldap_perror().
    Use snprintf() instead of sprintf() in ldap_init_getfilter_buf()
     and improve error reporting for bad regular expressions.
2003-04-01 21:04:23 +00:00
djani%netscape.com 27e82f49ab Bug 198218: added usage for -g 2003-04-01 18:12:49 +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 9ec47562dc Fix 199353 - ldapsearch contains recurring memory leaks.
Free the entry controls (ectrls) array inside print_entry().
2003-04-01 17:55:45 +00:00
mcs%netscape.com b2e711e461 Fix bug # 200007 - add option to flush ldapsearch output after each entry.
The new option is:
    -r flush output after each entry is printed (useful with -C)
2003-04-01 17:04:41 +00:00
mcs%netscape.com 5d5474607a Fix bug # 174912 - Sporadically missing entries during referral.
Don't treat a request as complete if its LDAP result message
  has not yet been received. Previously, nested referrals and
  references could cause requests to be prematurely terminated.
2003-04-01 15:17:11 +00:00
djani%netscape.com 57a160ffb2 Bug 198218: Now, the ldap clients send the password policy request control by default at the 'bind' level. To suppress it, use -g option. Also, the clients can parse the password policy response control. 2003-04-01 01:37:54 +00:00
mcs%netscape.com f034c8092e Fix 175900 - read overrun in ldap resolve code.
Note: this fixes code we do not compile right now.
2003-03-24 21:12:03 +00:00
mcs%netscape.com ec0f469f37 Follow up fix for 126462 - Occurences of uninitialized variables being
used before being set (in directory/c-sdk).
	Fix debug build.
2003-03-24 20:44:58 +00:00
mcs%netscape.com 04293f017e Fix 144241 - possible C SDK leak or delayed free().
Note: unconfirmed fix; I do not have a test program for this bug.
2003-03-24 20:05:24 +00:00
mcs%netscape.com 72f29f6e43 Fix 126462 - Occurences of uninitialized variables being used
before being set (in directory/c-sdk).
2003-03-24 19:59:05 +00:00
mcs%netscape.com 89b551cbdf Fix 198972 - LDAP tools do not build on AIX.
Link with iconv library on AIX.
2003-03-24 19:49:11 +00:00
dmose%mozilla.org 877fb1ee13 Don't use strcmp() just to check for a zero-length string (bug 58221). Patch by timeless@myrealbox.com, r=dmose@mozilla.org 2003-03-22 03:19:05 +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
mcs%netscape.com f8e295fb12 Fix 183385 - eliminate references to NSS key/cert/module files.
The LDAP tools code no longer has any knowledge of the NSS
	file names; the certpath2keypath() function has been deleted
	and we now simply use the certdbpath as keydbpath when it is
	provided (it makes no difference in the end). But note that
	because we need to maintain backwards compatibility, the
	libssldap code used by the ldapssl_.*_init() functions still
	knows the default name of the NSS module file (secmod.db),
	and the code also relies on the fact that the suffix for the
	key and cert files is ".db" and that the first letter in the
	main part of the name is either 'c' or 'k'.
Also fixed a bug that caused the module file name specified on
	the LDAP tools command line (-m name) to be ignored.
The ldapsearch and ldapcmp tools now exit with LDAP_NO_MEMORY
	if an LDIF fragment can't be constructed.
Also fixed some issues reported by lint:
	Return values that were ignored.
	Make more functions and global variables static.
	Add /*ARGSUSED*/ and similar lint-friendly comments.
2003-03-21 16:00:34 +00:00
mcs%netscape.com 10660ce443 Fix 183798 - crash if charset conversion fails. 2003-03-20 15:46:41 +00:00
mcs%netscape.com b59b4af405 Fix 195441 - command line tools: :< in LDIF fails to import file
contents correctly.
Also removed a useless call to feof().
2003-03-20 14:56:59 +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
seawood%netscape.com 37a3044f84 Hardcode the use of Sun's ld & ranlib since they are the only ones supported.
Bug #181382 r=dmose
2002-12-17 21:44:49 +00:00
djani%netscape.com 5a49c52a9f Bug 179133: Now we support cert and key DBs with prefixes in the names also, just like ldapssl_pkcs_init() does. Now all of the code calls NSS_Initialize() instead of NSS_Init(). 2002-12-04 19:10:17 +00:00
mcs%netscape.com 2b6abef319 Fix bug # 177756 - eliminate dependency on libNLS.
If HAVE_LIBNLS is not defined, OS functions (iconv and Win32
	native APIs) are used for character set conversion of command
	line arguments.
Fix bug # 177766 - LDAP tools should reject second -h argument.
	A second -p argument is also rejected.
Fix bug # 159139 - HP/UX: LDAP command line tools do no charset conversion.
	Removed special case makefile rules for convutf8.cpp on HP/UX.
2002-12-04 17:21:55 +00:00
mcs%netscape.com ddd73f9e96 Fix bug # 177771 - libssldap: keyfile password should be optional.
If a NULL keypasswd value is passed to ldapssl_enable_clientauth()
		then it is assumed that the application has already unlocked
		the key DB or has installed its own GetPassword callback.
	Also improved some error reporting.
2002-12-04 17:11:20 +00:00
seawood%netscape.com dfc7752e80 Fix egrep syntax. 2002-11-23 09:59:07 +00:00