Closed
Bug 233239
Opened 21 years ago
Closed 21 years ago
zlib.h, libzlib.a, secutil.h, and libsectool.a should not be included in NSS binary distributions
Categories
(NSS :: Build, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.10
People
(Reporter: wtc, Assigned: wtc)
Details
Attachments
(1 file, 1 obsolete file)
2.89 KB,
patch
|
Details | Diff | Splinter Review |
zlib.h, libzlib.a, secutil.h, and libsectool.a are only used by NSS commands and should not be included in NSS binary distributions.
Assignee | ||
Comment 1•21 years ago
|
||
The motivation for this bug report is that an NSS user accidentally picks up the zlib.h in our distribution.
Assignee | ||
Updated•21 years ago
|
Attachment #140718 -
Flags: superreview?(rrelyea0264)
Attachment #140718 -
Flags: review?(MisterSSL)
Comment 2•21 years ago
|
||
Comment on attachment 140718 [details] [diff] [review] Proposed patch r=relyea
Attachment #140718 -
Flags: superreview?(rrelyea0264) → superreview+
Comment 3•21 years ago
|
||
Comment on attachment 140718 [details] [diff] [review] Proposed patch I haven't test this, and NO_MD_RELEASE is used nowhere else so my confidence in that feature is not high. But if NO_MD_RELEASE doesn't work, that is a separate bug. r=MisterSSL
Attachment #140718 -
Flags: review?(MisterSSL) → review+
Assignee | ||
Comment 4•21 years ago
|
||
The previous patch doesn't build. Sorry. It has two problems: 1. The Makefiles need to have a private_export target in order to export the headers listed in PRIVATE_EXPORTS. 2. cmd/lib and cmd/zlib define their MODULE to be seccmd, but almost all NSS commands define their MODULE to be nss. So they can't use the private headers of seccmd, which is treated as another module. In this patch I use the easiest fix: make cmd/lib and cmd/zlib define their MODULE to be nss, too. Longer term, we should decide whether the NSS commands should be in the 'nss' or 'seccmd' MODULE.
Assignee | ||
Updated•21 years ago
|
Attachment #140718 -
Attachment is obsolete: true
Assignee | ||
Comment 5•21 years ago
|
||
Comment on attachment 140770 [details] [diff] [review] Proposed patch v2 I checked in this patch. Checking in lib/Makefile; /cvsroot/mozilla/security/nss/cmd/lib/Makefile,v <-- Makefile new revision: 1.3; previous revision: 1.2 done Checking in lib/manifest.mn; /cvsroot/mozilla/security/nss/cmd/lib/manifest.mn,v <-- manifest.mn new revision: 1.8; previous revision: 1.7 done Checking in makepqg/manifest.mn; /cvsroot/mozilla/security/nss/cmd/makepqg/manifest.mn,v <-- manifest.mn new revision: 1.5; previous revision: 1.4 done Checking in zlib/Makefile; /cvsroot/mozilla/security/nss/cmd/zlib/Makefile,v <-- Makefile new revision: 1.4; previous revision: 1.3 done Checking in zlib/manifest.mn; /cvsroot/mozilla/security/nss/cmd/zlib/manifest.mn,v <-- manifest.mn new revision: 1.5; previous revision: 1.4 done I will examine tomorrow's NSS daily build to verify that this patch does what it intends to do.
Assignee | ||
Comment 6•21 years ago
|
||
I verified that the 20040211.1 daily build does not include zlib.h, zconf.h, and secutil.h in xpheader.jar and does not include libsectool.a in mdbinary.jar.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.10
Comment 7•19 years ago
|
||
Setting priorities on unprioritized bugs resolved fixed for NSS 3.10.
Priority: -- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•