diff --git a/PACKAGING.md b/PACKAGING.md new file mode 100644 index 0000000..79eb1aa --- /dev/null +++ b/PACKAGING.md @@ -0,0 +1,4 @@ +$ git checkout debian-sid +$ debmake -t +... edit rules, changelog, ... +$ dpkg-buildpackage diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..77b2a2d --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,8 @@ +minifirewall for Debian + +Please edit this to provide information specific to +this minifirewall Debian package. + + (Automatically generated by debmake Version 4.2.9) + + -- Benoît SÉRIE Sat, 05 Aug 2017 21:29:51 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..fd599b5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +minifirewall (0~1708051929-1) UNRELEASED; urgency=low + + * Initial release. + + -- Benoît SÉRIE Sat, 05 Aug 2017 21:29:51 +0200 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..d7ec1e1 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: minifirewall +Section: unknown +Priority: extra +Maintainer: Benoît SÉRIE +Build-Depends: debhelper (>=9) +Standards-Version: 3.9.8 +Homepage: https://forge.evolix.org/projects/minifirewall + +Package: minifirewall +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: minimalist firewall + This Debian binary package was auto-generated by the + debmake(1) command provided by the debmake package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..de118cb --- /dev/null +++ b/debian/copyright @@ -0,0 +1,45 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: minifirewall +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: README.md + blacklist-countries.sh + cron_minifirewall + minifirewall.conf + ripe.sh +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: minifirewall +Copyright: 2007-2015 Evolix +License: GPL-2.0 + 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 2 + of the License. + . + Description + script for standalone server + . + Start or stop minifirewall + . + BEGIN INIT INFO + Provides: minfirewall + Required-Start: + Required-Stop: + Should-Start: $network $syslog $named + Should-Stop: $syslog + Default-Start: 2 3 4 5 + Default-Stop: 0 1 6 + Short-Description: start and stop the firewall + Description: Firewall designed for standalone server + END INIT INFO + . + On Debian systems, the complete text of the GNU General Public License + Version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c4b41ea --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ + +install: + install -m 700 -d $(CURDIR)/debian/etc/default 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) diff --git a/debian/source/local-options b/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3