use SPDX-License-Identifier in source files

cute-signatures
TBK 2020-04-22 15:33:41 +02:00 committed by Timo Teräs
parent f1c6067603
commit 5d796b5678
49 changed files with 65 additions and 141 deletions

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_APPLET_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_ARCHIVE

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_BLOB_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_PKGDB_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_DEFINES_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_HASH_H

View File

@ -3,9 +3,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_IO

View File

@ -1,3 +1,12 @@
/* apk_openssl.h - Alpine Package Keeper (APK)
*
* Copyright (C) 2005-2008 Natanael Copa <n@tanael.org>
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_SSL_COMPAT_H
#define APK_SSL_COMPAT_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_PKG_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_PRINT_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2012 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_PROVIDER_DATA_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2013 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_SOLVER_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2012 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_SOLVER_DATA_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#ifndef APK_VERSION_H

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <fcntl.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -3,9 +3,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -5,9 +5,7 @@
* Copyright (C) 2018 William Pitcock <nenolod@dereferenced.org>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -5,9 +5,7 @@
* Copyright (C) 2017 William Pitcock <nenolod@dereferenced.org>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -3,9 +3,7 @@
* Copyright (C) 2013 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <fnmatch.h>

View File

@ -3,9 +3,7 @@
* Copyright (C) 2013 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -3,9 +3,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <malloc.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2013 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <limits.h>

View File

@ -3,9 +3,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <malloc.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include "apk_defines.h"

View File

@ -3,9 +3,7 @@
* Copyright (C) 2020 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <zlib.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -3,9 +3,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>

View File

@ -1,3 +1,12 @@
/* src/lua-apk.c - Alpine Package Keeper (APK)
*
* Copyright (C) 2005-2008 Natanael Copa <n@tanael.org>
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <features.h>
#include <lua.h>
#include <lualib.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <errno.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <assert.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2013 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdint.h>

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include "apk_database.h"

View File

@ -4,9 +4,7 @@
* Copyright (C) 2008-2011 Timo Teräs <timo.teras@iki.fi>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation. See http://www.gnu.org/ for details.
* SPDX-License-Identifier: GPL-2.0-only
*/
#include <stdio.h>