Closed
Bug 105368
Opened 24 years ago
Closed 24 years ago
make SDK vendor neutral; add packaging options
Categories
(Directory Graveyard :: LDAP C SDK, defect)
Directory Graveyard
LDAP C SDK
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mcs, Assigned: mcs)
Details
Attachments
(4 files, 2 obsolete files)
647 bytes,
text/plain
|
Details | |
18.03 KB,
text/plain
|
Details | |
811 bytes,
patch
|
Details | Diff | Splinter Review | |
22.77 KB,
patch
|
Details | Diff | Splinter Review |
The C SDK from mozilla.org should be vendor neutral, e.g., it should not refer
to "the iPlanet C SDK." Other vendors may want to build their own branded C
SDK. To accomplish this, I will add two new gmake options:
VENDOR_NAME=string SDK vendor name (default mozilla.org)
VENDOR_VERSION=# vendor specific version number * 100 (default 500)
It would also be nice to have more flexibility with respect to packaging. I
propose to implement these gmake options:
PKG_PRIVATE_HDRS=0 do not ship private headers
PKG_PRIVATE_LIBS=0 do not ship private libraries
PKG_DEP_LIBS=0 do not ship dependent libraries
Assignee | ||
Comment 1•24 years ago
|
||
Assignee | ||
Comment 2•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
Assignee | ||
Comment 4•24 years ago
|
||
All of the changes are included in the bug attachments except for one:
mozilla/directory/c-sdk/ldap/include/ldap-standard.h will be removed (because it
is now generated from ldap-standard-tmpl.h using the new replace.pl script).
I tested these changes on Solaris 8 and Windows 2000.
Status: NEW → ASSIGNED
Whiteboard: waiting for review
Assignee | ||
Comment 5•24 years ago
|
||
Comment 6•24 years ago
|
||
Added myself to CC list.
BTW, the SDK also contains references to Airius.com
I'm told we are no longer able to legally use this (apparently it now belongs to
a former iPlanet employee -- see http://airius.com).
Assignee | ||
Comment 8•24 years ago
|
||
Assignee | ||
Comment 9•24 years ago
|
||
The last attachment shows the changes needed to change all references to
Airius.com to example.com. Note that there are some remaining references to
Airius in one source file:
mozilla/directory/c-sdk/ldap/clients/tools/examples-from-ldif-spec.ldif
That file contains the LDIF examples from RFC 2849, and since we can't change
the RFC we won't change that file (it is not typically shipped as part of a
vendor's binary C SDK distribution anyway).
Assignee | ||
Updated•24 years ago
|
Attachment #54020 -
Attachment is obsolete: true
Assignee | ||
Updated•24 years ago
|
Attachment #54506 -
Attachment is obsolete: true
Assignee | ||
Comment 10•24 years ago
|
||
Assignee | ||
Comment 11•24 years ago
|
||
The final changes (see http://bugzilla.mozilla.org/attachment.cgi?id=54541)
differ from the original proposal in these ways:
a) NSS version changed from 3.3 to 3.3.1
b) Static LDAP libraries are included in the package even when
PKG_PRIVATE_LIBS=0 (but the ituil library is not included).
Fix committed:
/mozilla/directory/Makefile
new revision: 1.1.16.1.2.1.2.22; previous revision: 1.1.16.1.2.1.2.21
/mozilla/directory/c-sdk/build.mk
new revision: 1.1.2.35; previous revision: 1.1.2.34
/mozilla/directory/c-sdk/package.mk
new revision: 1.1.2.13; previous revision: 1.1.2.12
/mozilla/directory/c-sdk/ldap/build/replace.pl (new file)
new revision: 1.1.2.1; previous revision: 1.1
/mozilla/directory/c-sdk/ldap/clients/tools/Makefile.client
new revision: 1.1.2.35; previous revision: 1.1.2.34
/mozilla/directory/c-sdk/ldap/docs/relnotes_41.htm
new revision: 1.1.2.2; previous revision: 1.1.2.1
/mozilla/directory/c-sdk/ldap/examples/README
new revision: 1.1.2.1.2.2; previous revision: 1.1.2.1.2.1
/mozilla/directory/c-sdk/ldap/examples/examples.h
new revision: 1.1.2.1.2.2; previous revision: 1.1.2.1.2.1
/mozilla/directory/c-sdk/ldap/examples/modattrs.c
new revision: 1.1.2.1.2.2; previous revision: 1.1.2.1.2.1
/mozilla/directory/c-sdk/ldap/examples/modrdn.c
new revision: 1.1.2.1.2.2; previous revision: 1.1.2.1.2.1
/mozilla/directory/c-sdk/ldap/examples/srvrsort.c
new revision: 1.1.2.1.2.2; previous revision: 1.1.2.1.2.1
/mozilla/directory/c-sdk/ldap/examples/ssearch.c
new revision: 1.1.2.1.2.2; previous revision: 1.1.2.1.2.1
/mozilla/directory/c-sdk/ldap/examples/ssnoauth.c
new revision: 1.1.2.1.2.3; previous revision: 1.1.2.1.2.2
/mozilla/directory/c-sdk/ldap/examples/windows/winldap/winldap.cpp
new revision: 1.1.2.1.2.1; previous revision: 1.1.2.1
/mozilla/directory/c-sdk/ldap/include/Makefile.client
new revision: 1.2.16.1.56.9; previous revision: 1.2.16.1.56.8
/mozilla/directory/c-sdk/ldap/include/ldap-extension.h
new revision: 1.1.2.4; previous revision: 1.1.2.3
/mozilla/directory/c-sdk/ldap/include/ldap-standard-tmpl.h (new file)
new revision: 1.1.2.1; previous revision: 1.1
/mozilla/directory/c-sdk/ldap/include/ldap-standard.h (deleted file)
new revision: delete; previous revision: 1.1.2.1
/mozilla/directory/c-sdk/ldap/libraries/libiutil/Makefile.client
new revision: 1.1.2.9; previous revision: 1.1.2.8
/mozilla/directory/c-sdk/ldap/libraries/libldap/Makefile.client
new revision: 1.2.16.1.20.1.2.17; previous revision: 1.2.16.1.20.1.2.16
/mozilla/directory/c-sdk/ldap/libraries/libldap/nsprthreadtest.c
new revision: 1.1.16.1.20.2.2.2; previous revision: 1.1.16.1.20.2.2.1
/mozilla/directory/c-sdk/ldap/libraries/libldap/pthreadtest.c
new revision: 1.2.2.2.20.2.2.2; previous revision: 1.2.2.2.20.2.2.1
/mozilla/directory/c-sdk/ldap/libraries/libprldap/Makefile.client
new revision: 1.1.2.1.2.9; previous revision: 1.1.2.1.2.8
/mozilla/directory/c-sdk/ldap/libraries/libssldap/Makefile.client
new revision: 1.1.2.10; previous revision: 1.1.2.9
Use NSS 3.3.1 (previously was using NSS 3.3).
Vendor independence:
add VENDOR_NAME and VENDOR_VERSION gmake variables.
New packaging options:
PKG_PRIVATE_HDRS=0 do not ship private headers
PKG_PRIVATE_LIBS=0 do not ship private libraries
PKG_DEP_LIBS=0 do not ship dependent libraries
Remove references to Airius (not safe to use in examples).
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: waiting for review
You need to log in
before you can comment on or make changes to this bug.
Description
•