Replace Sun RPC license for TI-RPC library with a 3-clause BSD license,

with the explicit permission of Sun Microsystems in 2009.
The code in question in this file was copied from lib/libc/rpc/pmap_getport.c.
This commit is contained in:
Hiroki Sato 2013-12-15 16:17:00 +00:00
parent 021c5b6dd0
commit 6a67774f17
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259417

View File

@ -30,35 +30,33 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
/* /*-
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for * Copyright (c) 2009, Sun Microsystems, Inc.
* unrestricted use provided that this legend is included on all tape * All rights reserved.
* media and as a part of the software program in whole or part. Users
* may copy or modify Sun RPC without charge, but are not authorized
* to license or distribute it to anyone else except as part of a product or
* program developed by the user.
* *
* SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE * Redistribution and use in source and binary forms, with or without
* WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR * modification, are permitted provided that the following conditions are met:
* PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. * - Redistributions of source code must retain the above copyright notice,
* * this list of conditions and the following disclaimer.
* Sun RPC is provided with no support and without any obligation on the * - Redistributions in binary form must reproduce the above copyright notice,
* part of Sun Microsystems, Inc. to assist in its use, correction, * this list of conditions and the following disclaimer in the documentation
* modification or enhancement. * and/or other materials provided with the distribution.
* * - Neither the name of Sun Microsystems, Inc. nor the names of its
* SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE * contributors may be used to endorse or promote products derived
* INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC * from this software without specific prior written permission.
* OR ANY PART THEREOF. *
* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* In no event will Sun Microsystems, Inc. be liable for any lost revenue * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* or profits or other special, indirect and consequential damages, even if * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* Sun has been advised of the possibility of such damages. * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* Sun Microsystems, Inc. * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* 2550 Garcia Avenue * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* Mountain View, California 94043 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/ */
#if 0 #if 0
#ifndef lint #ifndef lint
static char *sccsid = "@(#)from: clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)from: clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";