Bring in a transport-independent RPC (TI-RPC).
[dragonfly.git] / lib / libc / rpc / LICENSE
1 $FreeBSD: src/lib/libc/rpc/LICENSE,v 1.1 2002/07/11 16:23:04 alfred Exp $
2 $DragonFly$
3
4 Sun Industry Standards Source License 1.0
5
6 DEFINITIONS
7
8 1.1.  "Commercial Use" means distribution or otherwise
9 making the Original Code available to a third party.
10
11 1.2.  "Contributor Version" means the combination of the
12 Original Code, and the Modifications made by that particular
13 Contributor.
14
15 1.3.  "Electronic Distribution Mechanism" means a mechanism
16 generally accepted in the software development community for
17 the electronic transfer of data.
18
19 1.4.  "Executable" means Original Code in any form other
20 than Source Code.
21
22 1.5.  "Initial Developer" means the individual or entity
23 identified as the Initial Developer in the Source Code
24 notice required by 2 (Exhibit A)
25
26 1.6.  "Larger Work" means a work which combines Original
27 Code or portions thereof with code not governed by the terms
28 of this License.
29
30 1.7.  "License" means this document.
31
32 1.8.  "Licensable" means having the right to grant, to the
33 maximum extent possible, whether at the time of the initial
34 grant or subsequently acquired, any and all of the rights
35 conveyed herein.
36
37 1.9.  "Modifications" means any addition to or deletion from
38 the substance or structure of either the Original Code or
39 any previous Modifications.  A Modification is:
40
41 A.  Any addition to or deletion from the contents of a file
42 containing Original Code or previous Modifications.
43
44 B.  Any new file that contains any part of the Original Code
45 or previous Modifications.  .
46
47 1.10.  "Original Code" means Source Code of computer
48 software code which is described in the Source Code notice
49 required by Exhibit A as Original Code.
50
51 1.11.  "Patent Claims" means any patent claims, now owned or
52 hereafter acquired, including without limitation, method,
53 process, and apparatus claims, in any patent Licensable by
54 grantor.
55
56 1.12.  "Source Code" means the preferred form of the
57 Original Code for making modifications to it, including all
58 modules it contains, plus any associated interface
59 definition files, or scripts used to control compilation and
60 installation of an Executable.
61
62 1.13.  "Standards" means the standard identified in Exhibit
63 B or a subsequent version of such standard.
64
65 1.14.  "You" or "Your" means an individual or a legal entity
66 exercising rights under, and complying with all of the terms
67 of, this License or a future version of this License issued
68 under Section 6.1.  For legal entities, "You" includes any
69 entity which controls, is controlled by, or is under common
70 control with You.  For purposes of this definition,
71 "control" means (a) the power, direct or indirect, to cause
72 the direction or management of such entity, whether by
73 contract or otherwise, or (b) ownership of more than fifty
74 percent (50%) of the outstanding shares or beneficial
75 ownership of such entity.
76
77 2.0 SOURCE CODE LICENSE
78
79 2.1 The Initial Developer Grant:  The Initial Developer
80 hereby grants You a world-wide, royalty-free, non-exclusive
81 license, subject to third party intellectual property
82 claims:
83
84 a) under intellectual property rights (other than patent or
85 trademark) Licensable by Initial Developer to use,
86 reproduce, modify, display, perform, sub license and
87 distribute the Original Code (or portions thereof )with or
88 without Modifications, and/or as part of a Larger Work; and
89
90 b) under Patents Claims infringed by the making, using or
91 selling of Original Code, to make, have made, use, practice,
92 sell, and offer for sale, and/or otherwise dispose of the
93 Original Code (or portions thereof).
94
95 c) the licenses granted in this Section 2.1(a ) and (b) are
96 effective on the date Initial Developer first distributes
97 Original Code under the terms of this License.
98
99 d) Notwithstanding Section 2.1(b )above, no patent license
100 is granted:  1) for code that You delete from the Original
101 Code; 2) separate from the Original Code; or 3) for
102 infringements caused by:  i) the modification of the
103 Original Code or
104
105 ii) the combination of the Original Code with other software
106 or devices, including but not limited to Modifications.
107
108 3.0 DISTRIBUTION OBLIGATIONS
109
110 3.1 Application of License.  The Source Code version of
111 Original Code may be distributed only under the terms of
112 this License or a future version of this License released
113 under Section 6.1, and You must include a copy of this
114 License with every copy of the Source Code You distribute.
115 You may not offer or impose any terms on any Source Code
116 version that alters or restricts the applicable version of
117 this License or the recipient's rights hereunder.  Your
118 license for shipment of the Contributor Version is
119 conditioned upon your full compliance with this Section.
120 The Modifications which you create must comply with all
121 requirements set out by the Standards body in effect 120
122 days before You ship the Contributor Version.  In the event
123 that the Modifications do not meet such requirements, You
124 agree to publish (i) any deviation from the Standards
125 protocol resulting from implementation of your Modifications
126 and (ii) a reference implementation of Your Modifications,
127 and to make any such deviation and reference implementation
128 available to all third parties under the same terms as the
129 license on a royalty free basis within thirty (30) days of
130 Your first customer shipment of Your Modifications.
131
132 3.2 Required Notices.  You must duplicate the notice in
133 Exhibit A in each file of the Source Code.  If it is not
134 possible to put such notice in a particular Source Code file
135 due to its structure, then You must include such notice in a
136 location (such as a relevant directory ) where a user would
137 be likely to look for such a notice.  If You created one or
138 more Modifications ) You may add your name as a Contributor
139 to the notice described in Exhibit A.  You must also
140 duplicate this License in any documentation for the Source
141 Code where You describe recipients' rights or ownership
142 rights relating to Initial Code.  You may choose to offer,
143 and to charge a fee for, warranty, support, indemnity or
144 liability obligations to one or more recipients of Your
145 version of the Code.  However, You may do so only
146
147 on Your own behalf, and not on behalf of the Initial
148 Developer.  You must make it absolutely clear than any such
149 warranty, support, indemnity or liability obligation is
150 offered by You alone, and You hereby agree to indemnify the
151 Initial Developer for any liability incurred by the Initial
152 Developer as a result of warranty, support, indemnity or
153 liability terms You offer.
154
155 3.3 Distribution of Executable Versions.  You may distribute
156 Original Code in Executable and Source form only if the
157 requirements of Section 3.1 and 3.2 have been met for that
158 Original Code, and if You include a notice stating that the
159 Source Code version of the Original Code is available under
160 the terms of this License.  The notice must be conspicuously
161 included in any notice in an Executable or Source versions,
162 related documentation or collateral in which You describe
163 recipients' rights relating to the Original Code.  You may
164 distribute the Executable and Source versions of Your
165 version of the Code or ownership rights under a license of
166 Your choice, which may contain terms different from this
167 License, provided that You are in compliance with the terms
168 of this License.  If You distribute the Executable and
169 Source versions under a different license You must make it
170 absolutely clear that any terms which differ from this
171 License are offered by You alone, not by the Initial
172 Developer .  You hereby agree to indemnify the Initial
173 Developer for any liability incurred by the Initial
174 Developer as a result of any such terms You offer .
175
176 3.4 Larger Works.  You may create a Larger Work by combining
177 Original Code with other code not governed by the terms of
178 this License and distribute the Larger Work as a single
179 product.  In such a case, You must make sure the
180 requirements of this License are fulfilled for the Original
181 Code.
182
183 4.0 INABILITY TO COMPLY DUE TO STATUTE OR REGULATION
184
185 If it is impossible for You to comply with any of the terms
186 of this License with respect to some or all of the Original
187 Code due to statute, judicial order, or regulation then You
188 must:
189
190 a) comply with the terms of this License to the maximum
191 extent possible; and
192
193 b) describe the limitations and the code they affect.  Such
194 description must be included in the LEGAL file described in
195 Section 3.2 and must be included with all distributions of
196 the Source Code.  Except to the extent prohibited by statute
197 or regulation, such description must be sufficiently
198 detailed for a recipient of ordinary skill to be able to
199 understand it.
200
201 5.0 APPLICATION OF THIS LICENSE This License applies to code
202 to which the Initial Developer has attached the notice in
203 Exhibit A and to related Modifications as set out in Section
204 3.1.
205
206 6.0 VERSIONS OF THE LICENSE
207
208 6.1 New Versions.  Sun Microsystems, Inc.  Sun may publish
209 revised and/or new versions of the License from time to
210 time.  Each version will be given a distinguishing version
211 number .
212
213 6.2 Effect of New Versions.  Once Original Code has been
214 published under a particular version of the License, You may
215 always continue to use it under the terms of that version.
216 You may also choose to use such Original Code under the
217 terms of any subsequent version of the License published by
218 Sun.  No one other than Sun has the right to modify the
219 terms applicable to Original Code.
220
221 7.  DISCLAIMER OF W ARRANTY.  ORIGINAL CODE IS PROVIDED
222 UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF
223 ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
224 LIMITATION, WARRANTIES THAT THE ORIGINAL CODE IS FREE OF
225 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR
226 NON-INFRINGING.  THE ENTIRE RISK AS TO THE QUALITY AND
227 PERFORMANCE OF THE ORIGINAL CODE IS WITH YOU.  SHOULD ANY
228 ORIGINAL CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
229 INITIAL DEVELOPER )ASSUME THE COST OF ANY NECESSARY
230 SERVICING, REPAIR OR CORRECTION.  THIS DISCLAIMER OF
231 WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE.  NO
232 USE OF ANY ORIGINAL CODE IS AUTHORIZED HEREUNDER EXCEPT
233 UNDER THIS DISCLAIMER.
234
235 8.0 TERMINATION
236
237 8.1 This License and the rights granted hereunder will
238 terminate automatically if You fail to comply with terms
239 herein and fail to cure such breach within 30 days of
240 becoming aware of the breach.  All sublicenses to the
241 Original Code which are properly granted shall survive any
242 termination of this License.  Provisions which, by their
243 nature, must remain in effect beyond the termination of this
244 License shall survive.
245
246 8.2 .In the event of termination under Section 8.1 above,
247 all end user license agreements (excluding distributors and
248 resellers) which have been validly granted by You or any
249 distributor hereunder prior to termination shall survive
250 termination.
251
252 9.0 LIMIT OF LIABILITY UNDER NO CIRCUMSTANCES AND UNDER NO
253 LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE) ,CONTRACT,
254 OR OTHER WISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER
255 CONTRIBUTOR, OR ANY DISTRIBUTOR OF ORIGINAL CODE, OR ANY
256 SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
257 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
258 OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
259 LOSS OF GOOD WILL, WORK STOPPAGE, COMPUTER FAILURE OR
260 MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR
261 LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE
262 POSSIBILITY OF SUCH DAMAGES.  THIS LIMITATION OF LIABILITY
263 SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
264 RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT
265 APPLICABLE LAW PROHIBITS SUCH LIMITATION.  SOME
266 JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF
267 INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND
268 LIMITATION MAY NOT APPLY TO YOU.
269
270 10.0 U .S.  GOVERNMENT END USERS U.S.  Government:  If this
271 Software is being acquired by or on behalf of the U.S.
272 Government or by a U.S.  Government prime contractor or
273 subcontractor (at any tier), then the Government's rights in
274 the Software and accompanying documentation shall be only as
275 set forth in this license; this is in accordance with 48 C.F
276 .R.  227.7201 through 227.7202-4 (for Department of Defense
277 (DoD) acquisitions )and with 48 C.F.R.2.101 and 12.212( for
278 non-DoD acquisitions).
279
280 11.0 MISCELLANEOUS This License represents the complete
281 agreement concerning subject matter hereof.  If any
282 provision of this License is held to be unenforceable, such
283 provision shall be reformed only to the extent necessary to
284 make it enforceable.  This License shall be governed by
285 California law provisions (except to the extent applicable
286 law, if any, provides otherwise), excluding its
287 conflict-of-law provisions.  With respect to disputes in
288 which at least one party is a citizen of, or an entity
289 chartered or registered to do business in the United States
290 of America, any litigation relating to this License shall be
291 subject to the jurisdiction of the Federal Courts of the
292 Northern District of California, with venue lying in Santa
293 Clara County, California, with the losing party responsible
294 for costs, including without limitation, court costs and
295 reasonable attorneys fees and expenses.  The application of
296 the United Nations Convention on Contracts for the
297 International Sale of Goods is expressly excluded.  Any law
298 or regulation which provides that the language of a contract
299 shall be construed against the drafter shall not apply to
300 this License.
301
302 EXHIBIT A - Sun Standards
303
304 "The contents of this file are subject to the Sun Standards
305 License Version 1.0 the (the "License";) You may not use
306 this file except in compliance with the License.  You may
307 obtain a copy of the License at
308 _______________________________.
309
310     Software distributed under the License is distributed on
311 an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
312 express or implied.  See the License for the specific
313 language governing rights and limitations under the License.
314
315 The Original Code is Copyright 1998 by Sun Microsystems, Inc
316
317 The Initial Developer of the Original Code is:  Sun
318 Microsystems, Inc.
319
320 Portions created by _____________________________ are
321 Copyright ______________________________.
322
323 All Rights Reserved.
324
325 Contributors:  ______________________________________.
326
327 EXHIBIT B - Sun Standards
328
329 The Standard is defined as the following IETF RFCs:
330
331 RFC1831:  RPC:  Remote Procedure Call Protocol Specification
332 Version 2 RFC1832:  XDR:  External Data REpresentation
333 Standard RFC1833:  Binding Protocols for ONC RPC Version 2
334 RFC2078:  Generic Security Service Application Program
335 Interface, Version 2 RFC2203:  RPCSEC_GSS Protocol
336 Specification RFC2695:  Authentication Mechanisms for ONC RPC