summaryrefslogtreecommitdiff
path: root/minecproxy
diff options
context:
space:
mode:
Diffstat (limited to 'minecproxy')
-rw-r--r--minecproxy/announce.c1
-rw-r--r--minecproxy/announce.h1
-rw-r--r--minecproxy/idle.c1
-rw-r--r--minecproxy/idle.h1
-rw-r--r--minecproxy/igmp.c1
-rw-r--r--minecproxy/igmp.h1
-rw-r--r--minecproxy/main.c1
-rw-r--r--minecproxy/main.h1
-rw-r--r--minecproxy/meson.build3
-rw-r--r--minecproxy/misc.c1
-rw-r--r--minecproxy/misc.h1
-rw-r--r--minecproxy/ptimer.c1
-rw-r--r--minecproxy/ptimer.h1
-rw-r--r--minecproxy/server-config.c1
-rw-r--r--minecproxy/server-config.h1
-rw-r--r--minecproxy/server-proxy.c1
-rw-r--r--minecproxy/server-proxy.h1
-rw-r--r--minecproxy/server-rcon.c1
-rw-r--r--minecproxy/server-rcon.h1
-rw-r--r--minecproxy/server.c1
-rw-r--r--minecproxy/server.h1
-rw-r--r--minecproxy/signal-handler.c1
-rw-r--r--minecproxy/signal-handler.h1
-rw-r--r--minecproxy/systemd.c1
-rw-r--r--minecproxy/systemd.h1
-rw-r--r--minecproxy/uring.c1
-rw-r--r--minecproxy/uring.h1
27 files changed, 29 insertions, 0 deletions
diff --git a/minecproxy/announce.c b/minecproxy/announce.c
index 78a7ccd..4193a75 100644
--- a/minecproxy/announce.c
+++ b/minecproxy/announce.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <inttypes.h>
#include <sys/socket.h>
#include <netinet/ip.h>
diff --git a/minecproxy/announce.h b/minecproxy/announce.h
index 77a36f2..78d1a9e 100644
--- a/minecproxy/announce.h
+++ b/minecproxy/announce.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooannouncehfoo
#define fooannouncehfoo
diff --git a/minecproxy/idle.c b/minecproxy/idle.c
index e237533..b4f804f 100644
--- a/minecproxy/idle.c
+++ b/minecproxy/idle.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <inttypes.h>
#include <sys/socket.h>
#include <netinet/ip.h>
diff --git a/minecproxy/idle.h b/minecproxy/idle.h
index d7e4ab0..2ab39b0 100644
--- a/minecproxy/idle.h
+++ b/minecproxy/idle.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooidlehfoo
#define fooidlehfoo
diff --git a/minecproxy/igmp.c b/minecproxy/igmp.c
index ae9ed10..591ac4f 100644
--- a/minecproxy/igmp.c
+++ b/minecproxy/igmp.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <unistd.h>
#include <string.h>
#include <stdint.h>
diff --git a/minecproxy/igmp.h b/minecproxy/igmp.h
index 80875b0..46247ce 100644
--- a/minecproxy/igmp.h
+++ b/minecproxy/igmp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooigmphfoo
#define fooigmphfoo
diff --git a/minecproxy/main.c b/minecproxy/main.c
index 3a06a8c..238b612 100644
--- a/minecproxy/main.c
+++ b/minecproxy/main.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
diff --git a/minecproxy/main.h b/minecproxy/main.h
index b49cd72..12b16df 100644
--- a/minecproxy/main.h
+++ b/minecproxy/main.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foomainhfoo
#define foomainhfoo
diff --git a/minecproxy/meson.build b/minecproxy/meson.build
index 7023f10..959b975 100644
--- a/minecproxy/meson.build
+++ b/minecproxy/meson.build
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
minecproxy_sources = [
'main.c',
'uring.c',
@@ -31,5 +32,7 @@ executable(
minecproxy_sources,
link_args: [ '-lanl' ],
dependencies: minecproxy_deps,
+ install: true,
+ install_dir: get_option('sbindir'),
)
diff --git a/minecproxy/misc.c b/minecproxy/misc.c
index 0f0da00..5687a3b 100644
--- a/minecproxy/misc.c
+++ b/minecproxy/misc.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdlib.h>
#include <errno.h>
#include <stdint.h>
diff --git a/minecproxy/misc.h b/minecproxy/misc.h
index 559c1d7..fe3a947 100644
--- a/minecproxy/misc.h
+++ b/minecproxy/misc.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foomischfoo
#define foomischfoo
diff --git a/minecproxy/ptimer.c b/minecproxy/ptimer.c
index 6ed405d..1ef7609 100644
--- a/minecproxy/ptimer.c
+++ b/minecproxy/ptimer.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <inttypes.h>
#include <sys/timerfd.h>
#include <string.h>
diff --git a/minecproxy/ptimer.h b/minecproxy/ptimer.h
index 3481ba4..3d6afd4 100644
--- a/minecproxy/ptimer.h
+++ b/minecproxy/ptimer.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooptimerhfoo
#define fooptimerhfoo
diff --git a/minecproxy/server-config.c b/minecproxy/server-config.c
index d4f52b1..575661a 100644
--- a/minecproxy/server-config.c
+++ b/minecproxy/server-config.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <ctype.h>
#include <string.h>
diff --git a/minecproxy/server-config.h b/minecproxy/server-config.h
index ced3777..f8dfde8 100644
--- a/minecproxy/server-config.h
+++ b/minecproxy/server-config.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooserverconfighfoo
#define fooserverconfighfoo
diff --git a/minecproxy/server-proxy.c b/minecproxy/server-proxy.c
index 814b1a9..9d7b59e 100644
--- a/minecproxy/server-proxy.c
+++ b/minecproxy/server-proxy.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <unistd.h>
#include <time.h>
diff --git a/minecproxy/server-proxy.h b/minecproxy/server-proxy.h
index 877ae9a..be37a3c 100644
--- a/minecproxy/server-proxy.h
+++ b/minecproxy/server-proxy.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooserverproxyhfoo
#define fooserverproxyhfoo
diff --git a/minecproxy/server-rcon.c b/minecproxy/server-rcon.c
index 4c9da48..c8a91c3 100644
--- a/minecproxy/server-rcon.c
+++ b/minecproxy/server-rcon.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/minecproxy/server-rcon.h b/minecproxy/server-rcon.h
index 6625f25..77f7c91 100644
--- a/minecproxy/server-rcon.h
+++ b/minecproxy/server-rcon.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooserverrconhfoo
#define fooserverrconhfoo
diff --git a/minecproxy/server.c b/minecproxy/server.c
index 85019b4..d24c0ad 100644
--- a/minecproxy/server.c
+++ b/minecproxy/server.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdlib.h>
#include <string.h>
#include <arpa/inet.h>
diff --git a/minecproxy/server.h b/minecproxy/server.h
index da2a336..8058d42 100644
--- a/minecproxy/server.h
+++ b/minecproxy/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooserverhfoo
#define fooserverhfoo
diff --git a/minecproxy/signal-handler.c b/minecproxy/signal-handler.c
index 7e297a3..56d016f 100644
--- a/minecproxy/signal-handler.c
+++ b/minecproxy/signal-handler.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <sys/signalfd.h>
#include <signal.h>
#include <fcntl.h>
diff --git a/minecproxy/signal-handler.h b/minecproxy/signal-handler.h
index e0140b3..1b43e8e 100644
--- a/minecproxy/signal-handler.h
+++ b/minecproxy/signal-handler.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foosignalhfoo
#define foosignalhfoo
diff --git a/minecproxy/systemd.c b/minecproxy/systemd.c
index 3351f1c..94d5b8b 100644
--- a/minecproxy/systemd.c
+++ b/minecproxy/systemd.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <string.h>
#include <stdlib.h>
#include <systemd/sd-bus.h>
diff --git a/minecproxy/systemd.h b/minecproxy/systemd.h
index fb9e3a4..f3f96e4 100644
--- a/minecproxy/systemd.h
+++ b/minecproxy/systemd.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foosystemdhfoo
#define foosystemdhfoo
diff --git a/minecproxy/uring.c b/minecproxy/uring.c
index dd0d28a..0e90914 100644
--- a/minecproxy/uring.c
+++ b/minecproxy/uring.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <liburing.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/minecproxy/uring.h b/minecproxy/uring.h
index c465904..d5db725 100644
--- a/minecproxy/uring.h
+++ b/minecproxy/uring.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foouringhfoo
#define foouringhfoo