From 6cbcf36bb4280209ff8d1efd8f9105dc119d0147 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 30 Jan 2016 20:57:27 +0100 Subject: added debian dir --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 16 ++++++++++++++++ debian/copyright | 36 ++++++++++++++++++++++++++++++++++++ debian/placeholder | 2 ++ debian/rules | 20 ++++++++++++++++++++ debian/saswall.install | 2 ++ debian/saswall.lintian-overrides | 1 + debian/source/format | 1 + 9 files changed, 84 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/placeholder create mode 100755 debian/rules create mode 100644 debian/saswall.install create mode 100644 debian/saswall.lintian-overrides create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5d573a6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +saswall (0.1-1) unstable; urgency=medium + + * Initial release. + + -- Christian Pointner Sat, 30 Jan 2016 20:39:20 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..be37f3d --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: saswall +Maintainer: Christian Pointner +Section: utils +Priority: optional +Standards-Version: 3.9.2 +Build-Depends: debhelper (>= 9), dh-systemd + +Package: saswall +Architecture: all +Depends: ${misc:Depends} +Description: simple and safe firewall loader + saswall is a loader for firewall scripts. After reloading a new ruleset it + asks for a confirmation and reverts all changes if this confirmation times + out. + . + Firewall rules are added using shell script snippets. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d8b0ee5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: saswall +Upstream-Contact: Christian Pointner +Source: http://git.spreadspace.org/saswall.git/ + +Files: * +Copyright: (C) 2013-2016 Christian Pointner +License: GPL-2+ + saswall 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, either version 2 of the License, or + any later version. + . + saswall 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 saswall. If not, see . + +Files: debian/* +Copyright: 2015, Christian Pointner +License: GPL-3+ + This program 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, either version 3 of the License, or + (at your option) any later version. + . + This program 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 '/usr/share/common-licenses/GPL-3'. diff --git a/debian/placeholder b/debian/placeholder new file mode 100644 index 0000000..76cb8d0 --- /dev/null +++ b/debian/placeholder @@ -0,0 +1,2 @@ +# DO NOT EDIT OR REMOVE +# This file is a simple placeholder to keep dpkg from removing this directory diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b9d51fa --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f +%: + dh $@ --with=systemd + +override_dh_auto_configure: + +override_dh_auto_build: + +override_dh_auto_install: + install -d $$(pwd)/debian/tmp/usr/sbin/ + install -m 755 $$(pwd)/saswall $$(pwd)/debian/tmp/usr/sbin/saswall + install -d $$(pwd)/debian/tmp/etc/saswall/ + install -m 644 $$(pwd)/debian/placeholder $$(pwd)/debian/tmp/etc/saswall/.placeholder + install -d $$(pwd)/debian/tmp/etc/init.d/ + install -m 755 $$(pwd)/initscript $$(pwd)/debian/tmp/etc/init.d/saswall + install -d $$(pwd)/debian/tmp/lib/systemd/system + install -m 755 $$(pwd)/systemd.service $$(pwd)/debian/tmp/lib/systemd/system/saswall.service + +override_dh_installexamples: + dh_installexamples $$(pwd)/rules.sh diff --git a/debian/saswall.install b/debian/saswall.install new file mode 100644 index 0000000..4576f66 --- /dev/null +++ b/debian/saswall.install @@ -0,0 +1,2 @@ +usr/sbin/saswall +etc/saswall/.placeholder diff --git a/debian/saswall.lintian-overrides b/debian/saswall.lintian-overrides new file mode 100644 index 0000000..18ba5b9 --- /dev/null +++ b/debian/saswall.lintian-overrides @@ -0,0 +1 @@ +saswall: binary-without-manpage usr/sbin/saswall diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 -- cgit v1.2.3