From 76ee64b5b3e30706181becbf33cc45d67f39f364 Mon Sep 17 00:00:00 2001
From: David Härdeman <david@hardeman.nu>
Date: Mon, 6 Jul 2020 20:57:33 +0200
Subject: Add some license information and the beginning of Debian packages

---
 debian/README.Debian |  6 ++++++
 debian/README.source | 10 ++++++++++
 debian/changelog     |  5 +++++
 debian/control       | 24 ++++++++++++++++++++++++
 debian/copyright     | 28 ++++++++++++++++++++++++++++
 debian/rules         | 25 +++++++++++++++++++++++++
 debian/source/format |  1 +
 7 files changed, 99 insertions(+)
 create mode 100644 debian/README.Debian
 create mode 100644 debian/README.source
 create mode 100644 debian/changelog
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100755 debian/rules
 create mode 100644 debian/source/format

(limited to 'debian')

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..a6f1d8c
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,6 @@
+minecproxy for Debian
+--------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- David Härdeman <david@hardeman.nu>  Sun, 05 Jul 2020 19:10:44 +0200
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..e0a9fb2
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,10 @@
+minecproxy for Debian
+--------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+ -- David Härdeman <david@hardeman.nu>  Sun, 05 Jul 2020 19:10:44 +0200
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4e40878
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+minecproxy (1-1) unstable; urgency=medium
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- David Härdeman <david@hardeman.nu>  Sun, 05 Jul 2020 19:10:44 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6eb6e4d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: minecproxy
+Section: net
+Priority: optional
+Maintainer: David Härdeman <david@hardeman.nu>
+Build-Depends: debhelper-compat (= 12),
+	       libcap-ng-dev,
+	       libedit-dev,
+               libsystemd-dev,
+	       liburing-dev,
+	       meson,
+	       pkg-config
+Standards-Version: 4.5.0
+Rules-Requires-Root: no
+Homepage: <insert the upstream URL, if relevant>
+#Vcs-Browser: https://salsa.debian.org/debian/minecproxy
+#Vcs-Git: https://salsa.debian.org/debian/minecproxy.git
+
+Package: minecproxy
+Architecture: linux-any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Minecraft server proxy and announce daemon
+ minecproxy is a simple daemon which can announce Minecraft servers on the
+ local network and also monitor the status of servers in order to automatically
+ start/stop them as necessary.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7b2c652
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: minecproxy
+Upstream-Contact: <preferred name and address to reach the upstream project>
+Source: <url://example.com>
+
+Files: *
+Copyright: © 2020 David Härdeman <david@hardeman.nu>
+License: GPL-2.0
+
+Files: shared/list.h
+Copyright: © 2007-2020 Linus Torvalds <torvalds@osdl.org> et al
+License: GPL-2.0
+
+License: GPL-2.0
+ This package 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 dated June, 1991.
+ .
+ This package 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, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..74af31b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+%:
+	dh $@
+
+
+# dh_make generated override targets
+# This is example for Cmake (See https://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+#	dh_auto_configure -- #	-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
-- 
cgit v1.2.3