Closed
Bug 355434
Opened 18 years ago
Closed 18 years ago
Change LDAP C SDK version to 6
Categories
(Directory :: LDAP C SDK, defect)
Directory
LDAP C SDK
Tracking
(Not tracked)
RESOLVED
FIXED
6.0
People
(Reporter: richm, Assigned: mcs)
References
Details
Attachments
(2 files, 3 obsolete files)
31.12 KB,
patch
|
Details | Diff | Splinter Review | |
2.82 KB,
text/plain
|
Details |
With all of the new features and API changes, we need to change the version to 6 for the new release.
Reporter | ||
Comment 1•18 years ago
|
||
The default vendor version is changed to 600. The actual version is 6.0.0, and we will use this version numbering scheme with external releases, cvs tags, etc. which is more compatible with NSPR, NSS, and other Mozilla components. In addition, this changes the shared library name suffix from 50 to 6. The single digit is also more compatible with NSPR, NSS, etc.
Assignee | ||
Comment 2•18 years ago
|
||
Comment on attachment 241225 [details] [diff] [review] diffs for fix Looks good to me. I hope no other hard-coded version numbers have crept into the code elsewhere (I do not think so). Do we need to commit new Windows .def files?
Attachment #241225 -
Flags: review+
Reporter | ||
Comment 3•18 years ago
|
||
I think the .def files are automatically generated. I went ahead and reversioned them as well.
Attachment #241225 -
Attachment is obsolete: true
Comment 4•18 years ago
|
||
(In reply to comment #3) Rich, i have two comments and one request regarding this: - you probably wanna fix rpm templates/scripts there as well. - *nix and doze makefiles for examples have to be fixed if you have time and its an easy change tho sure not critical. and the request i have is can we stick with old naming conv ? what i mean by this: replacing "6" with "60". see, the thing is we already have 6 out with old naming conv "50"->"60" and few projects/users already adopted it and while it probably doesnt bear much sence to have "60" there i would hate asking all those folks to adjust all their scripts/templates again. > Created an attachment (id=241229) [edit] > new diffs that include .def files
Reporter | ||
Comment 5•18 years ago
|
||
Thanks Anton. These diffs use 60 instead of 6 for lib suffix naming, update the example makefiles, and update the rpm spec file and build script. I had to change the package name to mozldap6 - we will be releasing a version of mozldap version 5, which is called simply "mozldap". We need to be able to install mozldap6 on the same machine as mozldap. The new package naming is the only way to do that.
Reporter | ||
Comment 6•18 years ago
|
||
These diffs omit the configure diffs which are hard to read and confusing. One more change I had to make was to the configure script. On fedora/rhel, you are supposed to use %configure in the spec file instead of ./configure. The %configure macro supplies many additional configure flags, among them --host, --target, and --build. The way the configure script handles cross compilation is not ideal, so I had to change it. You trigger a cross compile by specifying a --host on the command line. According to http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono/autoconf.html specifying a --host different from --build triggers a cross compile. However, the mozilla build system uses --target instead of --build. And the %configure macro sets --host to a different value than --target, but sets --host to the same value as --build. So I had to add additional logic to appease both mozilla and %configure.
Attachment #241229 -
Attachment is obsolete: true
Attachment #241349 -
Attachment is obsolete: true
Comment 7•18 years ago
|
||
(In reply to comment #5 & #6) > Thanks Anton. These diffs use 60 instead of 6 for lib suffix naming, update > the example makefiles, and update the rpm spec file and build script. thanx a bunch Rich! > I had to change the package name to mozldap6 - we will be releasing a version > of mozldap version 5, which is called simply "mozldap". We need to be able to > install mozldap6 on the same machine as mozldap. The new package naming is the > only way to do that. i'm totally kewl with that.
Reporter | ||
Comment 8•18 years ago
|
||
commit log
Reporter | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•