summaryrefslogtreecommitdiff
path: root/minecctl
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-07-06 20:57:33 +0200
committerDavid Härdeman <david@hardeman.nu>2020-07-06 20:57:33 +0200
commit76ee64b5b3e30706181becbf33cc45d67f39f364 (patch)
tree27ef23d5026469258d7fad09c74c4dd9d0ffbed5 /minecctl
parentc9c5028018a588baad2c1af6dcfa3325bc18d02c (diff)
Add some license information and the beginning of Debian packages
Diffstat (limited to 'minecctl')
-rw-r--r--minecctl/mc-commands.c1
-rw-r--r--minecctl/mc-commands.h1
-rw-r--r--minecctl/meson.build4
-rw-r--r--minecctl/minecctl-commands.h1
-rw-r--r--minecctl/minecctl.c1
-rw-r--r--minecctl/minecctl.h1
-rw-r--r--minecctl/misc-commands.c1
-rw-r--r--minecctl/misc-commands.h1
-rw-r--r--minecctl/misc.c1
-rw-r--r--minecctl/misc.h1
-rw-r--r--minecctl/rcon-commands.c4
-rw-r--r--minecctl/rcon-commands.h1
-rw-r--r--minecctl/server.c1
-rw-r--r--minecctl/server.h1
14 files changed, 17 insertions, 3 deletions
diff --git a/minecctl/mc-commands.c b/minecctl/mc-commands.c
index 49fea30..133bfc0 100644
--- a/minecctl/mc-commands.c
+++ b/minecctl/mc-commands.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <unistd.h>
#include "shared/utils.h"
diff --git a/minecctl/mc-commands.h b/minecctl/mc-commands.h
index 3140a73..c6e2e6f 100644
--- a/minecctl/mc-commands.h
+++ b/minecctl/mc-commands.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foomccommandshfoo
#define foomccomanndshfoo
diff --git a/minecctl/meson.build b/minecctl/meson.build
index 7a41203..a4a1620 100644
--- a/minecctl/meson.build
+++ b/minecctl/meson.build
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
minecctl_sources = [
'minecctl.c',
'server.c',
@@ -7,7 +8,7 @@ minecctl_sources = [
'misc.c',
]
-dep_readline = dependency('readline')
+dep_readline = dependency('libedit')
minecctl_deps = [
dep_libshared,
@@ -19,5 +20,6 @@ executable(
minecctl_sources,
link_args: [ '-lanl' ],
dependencies: minecctl_deps,
+ install: true,
)
diff --git a/minecctl/minecctl-commands.h b/minecctl/minecctl-commands.h
index b1729f0..b946271 100644
--- a/minecctl/minecctl-commands.h
+++ b/minecctl/minecctl-commands.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foominecctlcommandshfoo
#define foominecctlcommandshfoo
diff --git a/minecctl/minecctl.c b/minecctl/minecctl.c
index dd4e9e8..a12d3ce 100644
--- a/minecctl/minecctl.c
+++ b/minecctl/minecctl.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
diff --git a/minecctl/minecctl.h b/minecctl/minecctl.h
index 5025cc4..14243c6 100644
--- a/minecctl/minecctl.h
+++ b/minecctl/minecctl.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foominecctlhfoo
#define foominecctlhfoo
diff --git a/minecctl/misc-commands.c b/minecctl/misc-commands.c
index a880e15..f89afb6 100644
--- a/minecctl/misc-commands.c
+++ b/minecctl/misc-commands.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include "shared/utils.h"
#include "minecctl.h"
#include "server.h"
diff --git a/minecctl/misc-commands.h b/minecctl/misc-commands.h
index eb03fd9..8ea4127 100644
--- a/minecctl/misc-commands.h
+++ b/minecctl/misc-commands.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foomisccommandshfoo
#define foomisccommandshfoo
diff --git a/minecctl/misc.c b/minecctl/misc.c
index 143b0cc..525b09a 100644
--- a/minecctl/misc.c
+++ b/minecctl/misc.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/minecctl/misc.h b/minecctl/misc.h
index c91271d..3182ef8 100644
--- a/minecctl/misc.h
+++ b/minecctl/misc.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foomischfoo
#define foomischfoo
diff --git a/minecctl/rcon-commands.c b/minecctl/rcon-commands.c
index 5e4ea08..f18f082 100644
--- a/minecctl/rcon-commands.c
+++ b/minecctl/rcon-commands.c
@@ -1,9 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <ctype.h>
-#include <readline/readline.h>
-#include <readline/history.h>
+#include <editline/readline.h>
#include <alloca.h>
#include <inttypes.h>
#include <string.h>
diff --git a/minecctl/rcon-commands.h b/minecctl/rcon-commands.h
index c77e6fe..b2720b4 100644
--- a/minecctl/rcon-commands.h
+++ b/minecctl/rcon-commands.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef foorconcommandshfoo
#define foorconcommandshfoo
diff --git a/minecctl/server.c b/minecctl/server.c
index e7d9e7b..fb59d35 100644
--- a/minecctl/server.c
+++ b/minecctl/server.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/minecctl/server.h b/minecctl/server.h
index 2bfb3e8..ace1943 100644
--- a/minecctl/server.h
+++ b/minecctl/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef fooserverhfoo
#define fooserverhfoo