[Trisquel-devel] [PATCH] Added make-ax25-apps, fixes #5805

Legimet legimet.calc at gmail.com
Wed Jun 11 00:49:41 CEST 2014


This patch adds a package helper which changes the license of a nonfree file
in ax25-apps. The file was relicensed to a 3-clause BSD license in 2012. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630893.

Legimet

---
 helpers/make-ax25-apps |   66 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)
 create mode 100644 helpers/make-ax25-apps

diff --git a/helpers/make-ax25-apps b/helpers/make-ax25-apps
new file mode 100644
index 0000000..de6d586
--- /dev/null
+++ b/helpers/make-ax25-apps
@@ -0,0 +1,66 @@
+#!/bin/sh
+#
+#    Copyright (C) 2014  Legimet <legimet.calc at gmail.com>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+#
+
+VERSION=1
+. ./config
+
+# The nonfree file listen/ripdump.c was relicensed to a 3-clause BSD license
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630893
+
+patch -p1 << EOF
+--- a/listen/ripdump.c	2001-10-08 21:03:33.000000000 -0400
++++ b/listen/ripdump.c	2012-05-21 07:25:40.000000000 -0400
+@@ -2,8 +2,29 @@
+  * Copyright 1991 Phil Karn, KA9Q
+  *
+  *  Changes Copyright (c) 1993 Jeff White - N0POY, All Rights Reserved.
+- *  Permission granted for non-commercial copying and use, provided
+- *  this notice is retained.
++ *    Redistribution and use in source and binary forms, with or without
++ *    modification, are permitted provided that the following conditions
++ *    are met:
++ *    1. Redistributions of source code must retain the above copyright
++ *       notice, this list of conditions and the following disclaimer.
++ *    2. 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.
++ *    3. Neither the name of the University 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 HOLDER(S) ``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(S) 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.
+  *
+  * Rehack for RIP-2 (RFC1388) by N0POY 4/1993
+  *
+EOF
+
+changelog "License changed to 3-clause BSD license for listen/ripdump.c, fixes #5805"
+
+compile
+
-- 
1.7.9.5



More information about the Trisquel-devel mailing list