Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp632208pxy; Wed, 5 May 2021 09:56:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlJF0EUlm20CnZ8BDbFA7jA3dY5VlfOdmQla73qzFmRsefWvSi+OqAQ7KVGGkXKQSpSLHa X-Received: by 2002:a17:902:9002:b029:e6:c95f:2a1d with SMTP id a2-20020a1709029002b02900e6c95f2a1dmr32539262plp.79.1620233799740; Wed, 05 May 2021 09:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620233799; cv=none; d=google.com; s=arc-20160816; b=GOe1GU8LqTG4Qe2YxfUygtAldVUstLwEeZgQMy27QeIPqBYbJ+Z3auuQgwav8RHG+b xeIi57eVpzYA8NHENvoLK5hWo0es12l6jZIS0jrtGq6NScxx3GEZSsYzSx5vfWp7d4Dl VeZTk9FZdTox5S4BcQLusuuKpOI7fBzabSHN/DbT7aloScoDjuUQ6xXtTvmbSo0lSX/b cSoXuKGwE8yVxP9vrHPYqywO/ko45yfpUIuHOu3X/F9MBGkNdVXS9xmOp+FyCbWPq+Ga DaKp5hZ+hghYGOWIzjMPjQAWErJW0t37wTn7tjz2Zzmu0XYcIPt4okd5DFsKgeZ+AWaM Ajsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Nh7Hrv9peARsejcGbgKdkJm6PbW9xCKkeFJTSXziRW8=; b=XXMducTMM/5qNQ9CdnwNFRgEObAV0T4tgd+OBsaW4BXL6KIUcClKXLXr6zc2wOoZBP ZoKFSRzLwfGhJoKB32Msh2ZC2XzO2ONaQrjNp4j14LMPCXvPFJaYsPsuyWBdgsNRT2lK 7PNS25igXsxxSPxNtDXAElp3XjpHyV+Z+c25f7tYhrK+2yQT2gG8btT9JU6R8GOuuhne V36ezN47bmdLs7woguGHEp6WJjohsJihHd0gRcKRWNtdsZxJTJ3Vcvyl1a0G/e2DJdMT PQ9YUahoZIVtP1YqrdjVFunoUw0NFA0OinttNpbOzG20phQzOTDV0b4NBLzR8ppopw16 w+2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ahkfnu1Q; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i18si9529282pgg.184.2021.05.05.09.56.18; Wed, 05 May 2021 09:56:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ahkfnu1Q; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236226AbhEEQ4B (ORCPT + 99 others); Wed, 5 May 2021 12:56:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:44828 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236680AbhEEQu1 (ORCPT ); Wed, 5 May 2021 12:50:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620233370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Nh7Hrv9peARsejcGbgKdkJm6PbW9xCKkeFJTSXziRW8=; b=ahkfnu1Q+kMQf2pc/qORuKOdjZQ8rJpQFSil/fo6yt8P5FMGAkwWOzsPb4zVAfux7/hHyQ YbL9ZOCnXVNcAgmofojD8k2PSHC6TTasVY/xBfdS6woBlMnaVnPxeUuBF6cM+FyBUSevJV gYC4zUCteOhBflzs7EQqFuDLoEdiJVM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-206-S_XMW2wXP6q_APPMyGkzmw-1; Wed, 05 May 2021 12:49:28 -0400 X-MC-Unique: S_XMW2wXP6q_APPMyGkzmw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B609310066E8; Wed, 5 May 2021 16:49:27 +0000 (UTC) Received: from dobby.home.dicksonnet.net (ovpn-113-122.phx2.redhat.com [10.3.113.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id 463565D9C0; Wed, 5 May 2021 16:49:27 +0000 (UTC) From: Steve Dickson To: Libtirpc-devel Mailing List Cc: Linux NFS Mailing list , Tom 'spot' Callaway Subject: [PATCH] Replace the final SunRPC licenses with BSD licenses Date: Wed, 5 May 2021 12:49:26 -0400 Message-Id: <20210505164926.29968-1-steved@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Tom 'spot' Callaway It was noticed there was a couple SunRPC licenses were left from the work that was done in 2009-2010 (ea26246^..ba3945e). This converts them to BSD licenses. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1955239 Signed-off-by: Steve Dickson --- tirpc/rpc/key_prot.h | 49 ++++++++++++++-------------- tirpc/rpcsvc/key_prot.x | 71 ++++++++++++++++++++--------------------- 2 files changed, 60 insertions(+), 60 deletions(-) diff --git a/tirpc/rpc/key_prot.h b/tirpc/rpc/key_prot.h index ff852dc..fd5a6c5 100644 --- a/tirpc/rpc/key_prot.h +++ b/tirpc/rpc/key_prot.h @@ -13,33 +13,34 @@ extern "C" { #endif -/* - * Sun RPC is a product of Sun Microsystems, Inc. and is provided for - * unrestricted use provided that this legend is included on all tape - * 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 - * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR - * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - * Sun RPC is provided with no support and without any obligation on the - * part of Sun Microsystems, Inc. to assist in its use, correction, - * modification or enhancement. +/* Copyright (c) 2010, Oracle America, Inc. * - * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE - * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC - * OR ANY PART THEREOF. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: * - * In no event will Sun Microsystems, Inc. be liable for any lost revenue - * or profits or other special, indirect and consequential damages, even if - * Sun has been advised of the possibility of such damages. + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * * Neither the name of the "Oracle America, Inc." nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. * - * Sun Microsystems, Inc. - * 2550 Garcia Avenue - * Mountain View, California 94043 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * 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 #pragma ident "@(#)key_prot.x 1.7 94/04/29 SMI" diff --git a/tirpc/rpcsvc/key_prot.x b/tirpc/rpcsvc/key_prot.x index 63c1bbc..9baf943 100644 --- a/tirpc/rpcsvc/key_prot.x +++ b/tirpc/rpcsvc/key_prot.x @@ -1,34 +1,33 @@ -%/* -% * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -% * unrestricted use provided that this legend is included on all tape -% * 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 -% * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -% * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -% * -% * Sun RPC is provided with no support and without any obligation on the -% * part of Sun Microsystems, Inc. to assist in its use, correction, -% * modification or enhancement. -% * -% * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -% * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -% * OR ANY PART THEREOF. -% * -% * In no event will Sun Microsystems, Inc. be liable for any lost revenue -% * or profits or other special, indirect and consequential damages, even if -% * Sun has been advised of the possibility of such damages. -% * -% * Sun Microsystems, Inc. -% * 2550 Garcia Avenue -% * Mountain View, California 94043 -% */ /* * Key server protocol definition - * Copyright (C) 1990, 1991 Sun Microsystems, Inc. + * Copyright (c) 2010, Oracle America, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * * Neither the name of the "Oracle America, Inc." nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * 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. * * The keyserver is a public key storage/encryption/decryption service * The encryption method used is based on the Diffie-Hellman exponential @@ -87,7 +86,7 @@ enum keystatus { KEY_SUCCESS, /* no problems */ KEY_NOSECRET, /* no secret key stored */ KEY_UNKNOWN, /* unknown netname */ - KEY_SYSTEMERR /* system error (out of memory, encryption failure) */ + KEY_SYSTEMERR /* system error (out of memory, encryption failure) */ }; typedef opaque keybuf[HEXKEYBYTES]; /* store key in hex */ @@ -171,7 +170,7 @@ program KEY_PROG { /* * This is my secret key. - * Store it for me. + * Store it for me. */ keystatus KEY_SET(keybuf) = 1; @@ -179,7 +178,7 @@ program KEY_PROG { /* * I want to talk to X. * Encrypt a conversation key for me. - */ + */ cryptkeyres KEY_ENCRYPT(cryptkeyarg) = 2; @@ -213,7 +212,7 @@ program KEY_PROG { /* * This is my secret key. - * Store it for me. + * Store it for me. */ keystatus KEY_SET(keybuf) = 1; @@ -221,7 +220,7 @@ program KEY_PROG { /* * I want to talk to X. * Encrypt a conversation key for me. - */ + */ cryptkeyres KEY_ENCRYPT(cryptkeyarg) = 2; @@ -248,7 +247,7 @@ program KEY_PROG { /* * I want to talk to X. and I know X's public key * Encrypt a conversation key for me. - */ + */ cryptkeyres KEY_ENCRYPT_PK(cryptkeyarg2) = 6; @@ -268,7 +267,7 @@ program KEY_PROG { /* * Retrieve my public key, netname and private key. */ - key_netstres + key_netstres KEY_NET_GET(void) = 9; /* -- 2.30.2