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

695 Коммитов

Автор SHA1 Сообщение Дата
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
bugzilla%standard8.demon.co.uk 1b5e29beff Bug 92650 directory/xpcom/public/nsLDAP.h should go away. r/sr=dmose 2006-01-11 18:51:12 +00:00
bugzilla%standard8.demon.co.uk 4a5f86e733 Bug 92650 directory/xpcom/public/nsLDAP.h should go away. r/sr=dmose 2006-01-11 17:45:47 +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
bugzilla%standard8.demon.co.uk 349a000e0f Bug 136773 Enable ldap logging on optimized builds. r/sr=dmose 2006-01-09 17:19:57 +00:00
timeless%mozdev.org 63408ce9ed Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin
2005-12-18 01:50:50 +00:00
gerv%gerv.net adbec5dbff Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-13 13:25:40 +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
timeless%mozdev.org 98c84e24ac Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
bugzilla%standard8.demon.co.uk ef23c74837 Remove long redundant comment about needing to supply a binddn (ex bug 75990) r/sr=dmose over irc. 2005-10-31 19:42:21 +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
richm%stanfordalumni.org 59ef87b922 Bug: 309518
Description: Replace ORO Regexp with java 1.4 Pattern/Matcher
Fix Description: I removed any and all references to oro from build.properties and build.xml.  For the code replacement, the conversion was pretty straightforward.  I had to slightly modify the regular expressions but for the most part they just work the same as the oro ones.  ORO uses a PatternInput to hold the state of the iteration over the string to match, but the Matcher class does that implicitly.  For the most part, it didn't matter because the code didn't really use the state, it would just always reset the PatternInput to the beginning of the string, so I just used the String instead.  There was one place where I needed to keep track of state, so I used the Matcher object instead of a Perl5Pattern + PatternInput.  Thanks to nkinder@redhat.com for the review.
2005-09-23 15:05:55 +00:00
dmose%mozilla.org 7dc2cda258 Fix LDAP control / BerElement encoding error (bug 308511); r+sr=bienvenu 2005-09-14 17:10:17 +00:00
dmose%mozilla.org 05c7cb57c2 Allow the caller to specify the port to the LDAP testing harness. Not part of the build. 2005-09-13 02:22:38 +00:00
dmose%mozilla.org b3863aa98d Updated LDAP test harness to do stuff on the main thread and fix various bugs. Not part of the build. 2005-09-08 18:12:31 +00:00
dbaron%dbaron.org 7b6c6f51b5 Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin 2005-08-12 22:53:22 +00:00
wr%rosenauer.org 7e3b3aa71e Bug 297131 follow-up build fix for --enable-ldap-experimental, s+sr=dmose, NPOTB 2005-07-28 05:08:38 +00:00
dmose%mozilla.org 2349b95ba5 Add basic support for LDAP controls to the LDAP XPCOM SDK, LDAP autocomplete code, and LDAP addressbook (bug 297131). r=bienvenu, sr=roc, a=bsmedberg 2005-07-26 15:27:18 +00:00
dmose%mozilla.org 7d46acd44a Additional testing infrastructure and cleanup; not part of the build. 2005-07-16 18:05:02 +00:00
dmose%mozilla.org 8947a4e4f4 Add some LDAP testing infrastructure. Not part of the build. 2005-07-15 22:16:00 +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
bsmedberg%covad.net 9abe57c447 Bug 281988 - Chrome registry supports for the xpcnativewrappers=yes flag. Chrome packaging fixup to apply the xpcnativewrappers=yes flag to our application chrome packages for ffox/tbird. This also stops the repackaging of thunderbird chrome. r=mscott+bz a=drivers 2005-05-20 12:58:57 +00:00
dmose%mozilla.org 32b9b7c267 Make LDAP attributes used by the addressbook customizable via preferences (bug 119291). r=bienvenu@nventure.com, sr+a=shaver@mozilla.org 2005-05-11 04:16:54 +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
darin%meer.net e188c9c6d6 landing missing changes for bug 287648 2005-04-06 01:52:44 +00:00