summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-01-30 20:57:27 +0100
committerChristian Pointner <equinox@spreadspace.org>2016-01-30 21:00:11 +0100
commit6cbcf36bb4280209ff8d1efd8f9105dc119d0147 (patch)
tree0b09ed803ba12e6c6d11b588523811874ad9e406
parentsome cleanup and update changelog for release (diff)
added debian dir
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control16
-rw-r--r--debian/copyright36
-rw-r--r--debian/placeholder2
-rwxr-xr-xdebian/rules20
-rw-r--r--debian/saswall.install2
-rw-r--r--debian/saswall.lintian-overrides1
-rw-r--r--debian/source/format1
9 files changed, 84 insertions, 0 deletions
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 <equinox@spreadspace.org> 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 <equinox@spreadspace.org>
+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 <equinox@spreadspace.org>
+Source: http://git.spreadspace.org/saswall.git/
+
+Files: *
+Copyright: (C) 2013-2016 Christian Pointner <equinox@spreadspace.org>
+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 <http://www.gnu.org/licenses/>.
+
+Files: debian/*
+Copyright: 2015, Christian Pointner <equinox@spreadspace.org>
+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