scripts: replace FSF address with web source in license notices
Subsystems (2)
PATCH 1/1 scripts: replace FSF address with web source in license notices
A few years ago the FSF moved and "59 Temple Place" is wrong. Having this still in our source files feels old and unmaintained.
Let's take the license statement serious and not confuse users.
As https://www.gnu.org/licenses/gpl-howto.html suggests, we replace the postal address with "<http://www.gnu.org/licenses/>" in the scripts directory.
Signed-off-by Martin Kepplinger <[email protected]>
--- scripts/dtc/checks.c | 4 +--- scripts/dtc/data.c | 4 +--- scripts/dtc/dtc-lexer.l | 4 +--- scripts/dtc/dtc-lexer.lex.c_shipped | 4 +--- scripts/dtc/dtc-parser.y | 4 +--- scripts/dtc/dtc.c | 4 +--- scripts/dtc/fdtget.c | 4 +--- scripts/dtc/fdtput.c | 4 +--- scripts/dtc/flattree.c | 4 +--- scripts/dtc/fstree.c | 4 +--- scripts/dtc/livetree.c | 4 +--- scripts/dtc/srcpos.c | 4 +--- scripts/dtc/srcpos.h | 4 +--- scripts/dtc/treesource.c | 4 +--- scripts/dtc/util.c | 4 +--- scripts/dtc/util.h | 4 +--- scripts/genksyms/genksyms.c | 4 ++-- scripts/genksyms/genksyms.h | 4 ++-- scripts/genksyms/lex.l | 4 ++-- scripts/genksyms/lex.lex.c_shipped | 4 ++-- scripts/genksyms/parse.y | 4 ++-- scripts/selinux/mdp/mdp.c | 3 +-- 22 files changed, 27 insertions(+), 60 deletions(-)
scripts/dtc/checks.c +1 -3
@@ -13,9 +13,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "dtc.h"
scripts/dtc/data.c +1 -3
@@ -13,9 +13,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "dtc.h"
scripts/dtc/dtc-lexer.l +1 -3
@@ -13,9 +13,7 @@ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ %option noyywrap nounput noinput never-interactive
scripts/dtc/dtc-lexer.lex.c_shipped +1 -3
@@ -618,9 +618,7 @@ char *yytext; * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define YY_NO_INPUT 1
scripts/dtc/dtc-parser.y +1 -3
@@ -13,9 +13,7 @@ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ %{ #include <stdio.h>
scripts/dtc/dtc.c +1 -3
@@ -13,9 +13,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <sys/stat.h>
scripts/dtc/fdtget.c +1 -3
@@ -18,9 +18,7 @@* 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., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <assert.h>
scripts/dtc/fdtput.c +1 -3
@@ -12,9 +12,7 @@* 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., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <assert.h>
scripts/dtc/flattree.c +1 -3
@@ -13,9 +13,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "dtc.h"
scripts/dtc/fstree.c +1 -3
@@ -13,9 +13,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "dtc.h"
scripts/dtc/livetree.c +1 -3
@@ -13,9 +13,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "dtc.h"
scripts/dtc/srcpos.c +1 -3
@@ -12,9 +12,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define _GNU_SOURCE
scripts/dtc/srcpos.h +1 -3
@@ -12,9 +12,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef _SRCPOS_H_
scripts/dtc/treesource.c +1 -3
@@ -13,9 +13,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "dtc.h"
scripts/dtc/util.c +1 -3
@@ -16,9 +16,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <ctype.h>
scripts/dtc/util.h +1 -3
@@ -20,9 +20,7 @@* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -* USA +* along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifdef __GNUC__
scripts/genksyms/genksyms.c +2 -2
@@ -18,8 +18,8 @@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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ #include <stdio.h> #include <string.h>
scripts/genksyms/genksyms.h +2 -2
@@ -17,8 +17,8 @@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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ #ifndef MODUTILS_GENKSYMS_H #define MODUTILS_GENKSYMS_H 1
scripts/genksyms/lex.l +2 -2
@@ -17,8 +17,8 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with this program. If not, see <http://www.gnu.org/licenses/>. + */ %{
scripts/genksyms/lex.lex.c_shipped +2 -2
@@ -555,8 +555,8 @@ char *yytext; 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #include <limits.h> #include <stdlib.h>
scripts/genksyms/parse.y +2 -2
@@ -17,8 +17,8 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with this program. If not, see <http://www.gnu.org/licenses/>. + */ %{
scripts/selinux/mdp/mdp.c +1 -2
@@ -16,8 +16,7 @@* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +* along with this program. If not, see <http://www.gnu.org/licenses/>. * * Copyright (C) IBM Corporation, 2006 *
Signature · 1 line
2.11.0