From b60b288c91f8fa566fa34ec921a7306e732ff99f Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 19 May 2009 21:17:11 +0000 Subject: [PATCH] Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems --- rpcbind-changelicensetoBSD.patch | 604 +++++++++++++++++++++++++++++++ rpcbind.spec | 7 +- 2 files changed, 610 insertions(+), 1 deletion(-) create mode 100644 rpcbind-changelicensetoBSD.patch diff --git a/rpcbind-changelicensetoBSD.patch b/rpcbind-changelicensetoBSD.patch new file mode 100644 index 0000000..63aca05 --- /dev/null +++ b/rpcbind-changelicensetoBSD.patch @@ -0,0 +1,604 @@ +diff -up rpcbind-0.1.7/src/check_bound.c.BAD rpcbind-0.1.7/src/check_bound.c +--- rpcbind-0.1.7/src/check_bound.c.BAD 2009-05-19 17:05:03.622809557 -0400 ++++ rpcbind-0.1.7/src/check_bound.c 2009-05-19 17:05:25.506809074 -0400 +@@ -2,32 +2,31 @@ + /* $FreeBSD: src/usr.sbin/rpcbind/check_bound.c,v 1.4 2002/10/07 02:56:59 alfred Exp $ */ + + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* + * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc. +diff -up rpcbind-0.1.7/src/pmap_svc.c.BAD rpcbind-0.1.7/src/pmap_svc.c +--- rpcbind-0.1.7/src/pmap_svc.c.BAD 2009-05-19 17:05:03.645808856 -0400 ++++ rpcbind-0.1.7/src/pmap_svc.c 2009-05-19 17:05:39.994809113 -0400 +@@ -2,32 +2,31 @@ + /* $FreeBSD: src/usr.sbin/rpcbind/pmap_svc.c,v 1.4 2002/10/07 02:56:59 alfred Exp $ */ + + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* + * Copyright (c) 1984 - 1991 by Sun Microsystems, Inc. +diff -up rpcbind-0.1.7/src/rpcbind.c.BAD rpcbind-0.1.7/src/rpcbind.c +--- rpcbind-0.1.7/src/rpcbind.c.BAD 2009-05-19 17:05:03.647825314 -0400 ++++ rpcbind-0.1.7/src/rpcbind.c 2009-05-19 17:05:54.106809229 -0400 +@@ -2,32 +2,31 @@ + /* $FreeBSD: src/usr.sbin/rpcbind/rpcbind.c,v 1.12 2003/10/29 09:31:41 mbr Exp $ */ + + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* + * Copyright (c) 1984 - 1991 by Sun Microsystems, Inc. +diff -up rpcbind-0.1.7/src/rpcbind.h.BAD rpcbind-0.1.7/src/rpcbind.h +--- rpcbind-0.1.7/src/rpcbind.h.BAD 2009-05-19 17:05:03.649807620 -0400 ++++ rpcbind-0.1.7/src/rpcbind.h 2009-05-19 17:06:05.108832601 -0400 +@@ -2,32 +2,31 @@ + /* $FreeBSD: src/usr.sbin/rpcbind/rpcbind.h,v 1.2 2002/10/07 02:56:59 alfred Exp $ */ + + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* + * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc. +diff -up rpcbind-0.1.7/src/rpcb_stat.c.BAD rpcbind-0.1.7/src/rpcb_stat.c +--- rpcbind-0.1.7/src/rpcb_stat.c.BAD 2009-05-19 17:05:03.650807048 -0400 ++++ rpcbind-0.1.7/src/rpcb_stat.c 2009-05-19 17:06:29.738808755 -0400 +@@ -3,32 +3,31 @@ + * $FreeBSD: src/usr.sbin/rpcbind/rpcb_stat.c,v 1.4 2003/10/29 09:29:23 mbr Exp $ + */ + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* #pragma ident "@(#)rpcb_stat.c 1.7 94/04/25 SMI" */ + +diff -up rpcbind-0.1.7/src/rpcb_svc_4.c.BAD rpcbind-0.1.7/src/rpcb_svc_4.c +--- rpcbind-0.1.7/src/rpcb_svc_4.c.BAD 2009-05-19 17:05:03.651823658 -0400 ++++ rpcbind-0.1.7/src/rpcb_svc_4.c 2009-05-19 17:06:43.034808990 -0400 +@@ -4,32 +4,31 @@ + */ + + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* + * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc. +diff -up rpcbind-0.1.7/src/rpcb_svc.c.BAD rpcbind-0.1.7/src/rpcb_svc.c +--- rpcbind-0.1.7/src/rpcb_svc.c.BAD 2009-05-19 17:05:03.654808885 -0400 ++++ rpcbind-0.1.7/src/rpcb_svc.c 2009-05-19 17:06:53.698808997 -0400 +@@ -2,32 +2,31 @@ + /* $FreeBSD: src/usr.sbin/rpcbind/rpcb_svc.c,v 1.2 2002/10/07 02:56:59 alfred Exp $ */ + + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* + * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc. +diff -up rpcbind-0.1.7/src/rpcb_svc_com.c.BAD rpcbind-0.1.7/src/rpcb_svc_com.c +--- rpcbind-0.1.7/src/rpcb_svc_com.c.BAD 2009-05-19 17:05:03.656827578 -0400 ++++ rpcbind-0.1.7/src/rpcb_svc_com.c 2009-05-19 17:07:06.419808905 -0400 +@@ -2,32 +2,31 @@ + /* $FreeBSD: src/usr.sbin/rpcbind/rpcb_svc_com.c,v 1.11 2003/10/29 09:30:37 mbr Exp $ */ + + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* + * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc. +diff -up rpcbind-0.1.7/src/rpcinfo.c.BAD rpcbind-0.1.7/src/rpcinfo.c +--- rpcbind-0.1.7/src/rpcinfo.c.BAD 2009-05-19 17:05:03.659808824 -0400 ++++ rpcbind-0.1.7/src/rpcinfo.c 2009-05-19 17:07:22.188016671 -0400 +@@ -1,30 +1,29 @@ + /* +- * 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. ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. + * +- * 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. ++ * 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 Sun Microsystems, 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 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 ++ * 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. + */ + /* + * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc. +diff -up rpcbind-0.1.7/src/warmstart.c.BAD rpcbind-0.1.7/src/warmstart.c +--- rpcbind-0.1.7/src/warmstart.c.BAD 2009-05-19 17:05:03.662827853 -0400 ++++ rpcbind-0.1.7/src/warmstart.c 2009-05-19 17:07:33.146808643 -0400 +@@ -1,30 +1,29 @@ + /* +- * 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 ++ * Copyright (c) 2009, Sun Microsystems, Inc. ++ * All rights reserved. ++ * ++ * 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 Sun Microsystems, 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. + */ + /* + * warmstart.c diff --git a/rpcbind.spec b/rpcbind.spec index 63c7324..f8100d4 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -2,7 +2,7 @@ Name: rpcbind Version: 0.1.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Universal Addresses to RPC Program Number Mapper Group: System Environment/Daemons License: GPL @@ -11,6 +11,7 @@ URL: http://nfsv4.bullopensource.org BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2 Source1: rpcbind.init +Patch0: rpcbind-changelicensetoBSD.patch Requires: glibc-common >= 2.5.90-20 Requires: setup >= 2.6.4-1 @@ -32,6 +33,7 @@ RPC calls on a server on that machine. %prep %setup -q +%patch0 -p1 %build %ifarch s390 s390x @@ -111,6 +113,9 @@ fi %dir %attr(700,rpc,rpc) /var/lib/rpcbind %changelog +* Tue May 19 2009 Tom "spot" Callaway - 0.1.7-3 +- Replace the Sun RPC license with the BSD license, with the explicit permission of Sun Microsystems + * Wed Feb 25 2009 Fedora Release Engineering - 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild