From 76ee64b5b3e30706181becbf33cc45d67f39f364 Mon Sep 17 00:00:00 2001 From: David Härdeman 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 +-------------------- + + + + -- David Härdeman 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 +-------------------- + + + + + + -- David Härdeman 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) + + -- David Härdeman 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 +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: +#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: +Source: + +Files: * +Copyright: © 2020 David Härdeman +License: GPL-2.0 + +Files: shared/list.h +Copyright: © 2007-2020 Linus Torvalds 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 + . + 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