Commit Graph

169 Commits

Author SHA1 Message Date
richm%stanfordalumni.org
35c98be598 bug 208655 - just needed to set the two_hosts argument for ldaptool_process_args in ldapcmp.c to pickup both hosts and ports 2006-01-18 23:19:42 +00:00
richm%stanfordalumni.org
046b3c553a bug 184968 - only perform terminal manipulation if stdin is a terminal 2006-01-18 23:11:48 +00:00
richm%stanfordalumni.org
0a6f3ecb10 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
1a0eb2daba Bug 323307
There were only a few places that needed to be changed.  I needed to change the
order of c++ and cc detection around in configure - it seems that if you do the
cross compilation stuff first, it messes up the "regular" case, which is the
more important one.  In order for the GNU_CC tests to work, you must define
CC=gcc and CXX=g++ on the configure command line.  If building 64 bit, you must
also specify CFLAGS=-m64 and CXXFLAGS=-m64.  I also removed the extra arguments
for static library building as they were not only not necessary but they were
also making the build abort.
2006-01-18 03:46:52 +00:00
richm%stanfordalumni.org
65b6ae714e bug 323374
Mem and resource leaks in ldapsinit.c
1) I'm pretty sure the reference to socket should be fd instead.  I don't know
why it compiled with socket in there . . . note to self: read compiler warnings
. . .
2) The cert returned by SSL_PeerCertificate is "dup"ed, so we need to call
CERT_DestroyCertificate to release it otherwise we'll leak references.
3) The hostname returned by SSL_RevealURL is strduped and must be freed.
Reviewed by Mark and Pete (Thanks!)
2006-01-17 14:53:57 +00:00
richm%stanfordalumni.org
75853eee2e bug 323188: Link order is important when building executables
It also seems to be important in certain cases when using g++
to build shared libraries.
I was having weird errors building the CLUs on linux x86_64.  These turned out to be due to the incorrect ordering of objects on the link line.

The LINK_EXE macro already has everything needed - it is not necessary to
supply extra libs in the form of the LDTOOLS_LIBS.  Just specify them in the
correct order in EXTRA_LIBS.  You don't need to set EXTRA_LIBS for every
platform - on *nix platforms, they are all the same, so just define them in a
common place in the correct order.  Use PLATFORMLIBS to specify platform
dependent libs.

The one tricky thing is that LINK_EXE expects OBJS to have all of the objects.
This works if you only build one executable per makefile, but this makefile
builds several, so you need to get the executable specific .obj file in the
link line as well.  I suppose I could have used target specific variable
assignment to OBJS, but that seemed messy to me, so I just added a $(filter ..)
to the LINK_EXE command which will add all of the .obj files specified in the
executable link target dependency list to the link line.  The filter is to
filter out libraries and other dependencies, which are usually specified
elsewhere.  This seems to work on linux x86_64 and HP IPF 64 just fine.
2006-01-13 15:35:45 +00:00
richm%stanfordalumni.org
b28a2f939b use NSS_LIBS instead of NSS_LIB_PATH for the --with-nss case 2006-01-12 18:23:00 +00:00
richm%stanfordalumni.org
c1c8a7578b 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
92aa279ccd remove old, crufty HP-UX code for IPF port 2006-01-10 03:58:39 +00:00
richm%stanfordalumni.org
f10412907f 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
42027daa36 used endif instead of fi - doh 2006-01-10 02:05:15 +00:00
richm%stanfordalumni.org
a690df8c1f updated configure for HP-UX IPF 2006-01-09 23:23:15 +00:00
richm%stanfordalumni.org
284b4d30a9 Forgot to add an endif 2006-01-09 22:17:17 +00:00
richm%stanfordalumni.org
810651b9f9 fixes for bug 322576 - patches for building on HP-UX IPF 2006-01-09 20:08:59 +00:00
cls%seawood.org
ecc0c904a8 First pass at cleaning up ldap's configure.in.
Bug #318149 r=dmose
2005-12-01 03:18:40 +00:00
cls%seawood.org
45339d4878 Fix solaris MDCPUCFG_H settings.
Bug #317599 r=dmose,wtc
2005-11-29 21:22:00 +00:00
cls%seawood.org
9b2c949f47 Explicitly disable pthread support for win32, os2 & beos.
Bug #316919 r=dmose
2005-11-23 06:04:12 +00:00
cls%seawood.org
3321456466 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
ee08243444 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
0090d90132 Fix --with-system-nspr
Bug #288637 r=dmose a=caillon
2005-06-02 17:40:05 +00:00
cls%seawood.org
508598b2a5 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
67150fef30 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
d5865f4067 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
2dea2a81ae 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
a6687db0f1 bump default version to 516 2005-05-10 20:16:32 +00:00
richm%stanfordalumni.org
f7447f2230 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
1a909a950f 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
13a9f2055a 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
9c5d89e6a2 fix for 293042: For gcc builds, need to use g++ to link 2005-05-10 20:07:34 +00:00
richm%stanfordalumni.org
cdff707310 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
a4199fa9ce 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
599a324254 add support for Red Hat Enterprise Linux 4 - kernel 2.6 2005-03-15 01:57:53 +00:00
richm%stanfordalumni.org
f1825cfce1 Use DEFS instead of CFLAGS for the argpin and pkcs11 defs 2005-03-10 16:07:53 +00:00
richm%stanfordalumni.org
143aa3a55e Use NSPR 4.4.1, NSS 3.9.3, SVRCORE 4.0 2005-03-10 16:07:44 +00:00
richm%stanfordalumni.org
e9b476583d Change DEFAULT_VENDOR_VERSION to 515 (5.15) 2005-03-10 16:07:38 +00:00
richm%stanfordalumni.org
dda5f0bbb6 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
862ceba0a0 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
3e2648f425 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
b6c52eb5de 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
ce27adf824 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
a40ebbb569 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
8b8c385993 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
09359e1dd1 Fix bug # 255186 - 64 bit: VLV response control not parsed correctly. 2004-08-11 13:30:32 +00:00
mcs%pearlcrescent.com
663acc74b8 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
f83bfa492a 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
72c5f2058e 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
b32baea218 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
49b7ed67db 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
a6ad0ee4f5 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
7a3c76a1bd 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