aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hardinfo2/binreloc.c16
-rw-r--r--hardinfo2/hardinfo.c5
-rw-r--r--includes/binreloc.h16
-rw-r--r--includes/loongarch64/processor-platform.h3
-rw-r--r--modules/benchmark/md5.c29
-rwxr-xr-xtools/check_license.sh (renamed from tools/check_licens.sh)1
6 files changed, 38 insertions, 32 deletions
diff --git a/hardinfo2/binreloc.c b/hardinfo2/binreloc.c
index f47a3fae..42a7a6df 100644
--- a/hardinfo2/binreloc.c
+++ b/hardinfo2/binreloc.c
@@ -1,13 +1,19 @@
/*
* BinReloc - a library for creating relocatable executables
- * Written by: Hongli Lai <h.lai@chello.nl>
+ * Copyright: hardinfo2 project
* http://autopackage.org/
*
- * This source code is public domain. You can relicense this code
- * under whatever license you want.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License v2.0 or later.
*
- * See http://autopackage.org/docs/binreloc/ for
- * more information and how to use this.
+ * 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
*/
#ifndef __BINRELOC_C__
diff --git a/hardinfo2/hardinfo.c b/hardinfo2/hardinfo.c
index e2f11cdf..1cf6603a 100644
--- a/hardinfo2/hardinfo.c
+++ b/hardinfo2/hardinfo.c
@@ -2,9 +2,9 @@
* HardInfo - Displays System Information
* Copyright (C) 2003-2009 L. A. F. Pereira <l@tia.mat.br>
*
+ *
* 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, version 2 or later.
+ * it under the terms of the GNU General Public License v2.0 or later.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
#include <config.h>
#include <shell.h>
diff --git a/includes/binreloc.h b/includes/binreloc.h
index 3bf48bc6..4e7366e8 100644
--- a/includes/binreloc.h
+++ b/includes/binreloc.h
@@ -1,13 +1,19 @@
/*
* BinReloc - a library for creating relocatable executables
- * Written by: Hongli Lai <h.lai@chello.nl>
+ * Copyright by: hardinfo2 project
* http://autopackage.org/
*
- * This source code is public domain. You can relicense this code
- * under whatever license you want.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License v2.0 or later.
*
- * See http://autopackage.org/docs/binreloc/ for
- * more information and how to use this.
+ * 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
*/
#ifndef __BINRELOC_H__
diff --git a/includes/loongarch64/processor-platform.h b/includes/loongarch64/processor-platform.h
index 006b762a..cc4b7fa6 100644
--- a/includes/loongarch64/processor-platform.h
+++ b/includes/loongarch64/processor-platform.h
@@ -3,8 +3,7 @@
* Copyright (C) 2003-2006 L. A. F. Pereira <l@tia.mat.br>
*
* 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, version 2 or Later.
+ * it under the terms of the GNU General Public License v2.0 or later.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/modules/benchmark/md5.c b/modules/benchmark/md5.c
index f4032ddd..8cb22d93 100644
--- a/modules/benchmark/md5.c
+++ b/modules/benchmark/md5.c
@@ -2,27 +2,22 @@
* This code implements the MD5 message-digest algorithm.
* The algorithm is due to Ron Rivest. This code was
* written by Colin Plumb in 1993, no copyright is claimed.
- * This code is in the public domain; do with it what you wish.
+ * Copyright by: hardinfo2 project
+
+ * 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, version 2 or later.
*
- * Equivalent code is available from RSA Data Security, Inc.
- * This code has been tested against that, and is equivalent,
- * except that you don't need to include two pages of legalese
- * with every copy.
+ * 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.
*
- * To compute the message digest of a chunk of bytes, declare an
- * MD5Context structure, pass it to MD5Init, call MD5Update as
- * needed on buffers full of bytes, and then call MD5Final, which
- * will fill a supplied 16-byte array with the digest.
+ * 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
*/
-/* This code was modified in 1997 by Jim Kingdon of Cyclic Software to
- not require an integer type which is exactly 32 bits. This work
- draws on the changes for the same purpose by Tatu Ylonen
- <ylo@cs.hut.fi> as part of SSH, but since I didn't actually use
- that code, there is no copyright issue. I hereby disclaim
- copyright in any changes I have made; this code remains in the
- public domain. */
-
#include <string.h> /* for memcpy() and memset() */
/* Add prototype support. */
diff --git a/tools/check_licens.sh b/tools/check_license.sh
index 52825ee7..1a754ce8 100755
--- a/tools/check_licens.sh
+++ b/tools/check_license.sh
@@ -29,7 +29,6 @@ echo ""
#remaining licenses
echo "Others:"
-echo "includes/loongarch64/processor-platform.h detected wrong - is GPL2+:"
cat licenses_all.txt|grep -v 'General Public License v2.0 or later\|GNU Library General Public License v2 or later' \
| grep -v 'GNU Lesser General Public License v2.1 or later'| grep -v 'GNU Lesser General Public License, Version 2.1' \
| grep -v 'General Public License v3.0 or later' \