diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3babdeb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +f2b (0.2-1) unstable; urgency=low + + * Initial release + + -- Alex 'AdUser' Z Sun, 21 Aug 2016 15:56:52 +1000 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..52e4083 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: f2b +Section: net +Priority: optional +Maintainer: Alex 'AdUser' Z +Build-Depends: debhelper (>= 9), cmake +Standards-Version: 3.9.5 +Homepage: https://github.com/AdUser/f2b +Vcs-Git: https://github.com/AdUser/f2b.git +Vcs-Browser: https://github.com/AdUser/f2b + +Package: f2b +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: f2b is lightweight fail2ban alternative + Features: + . + * written in pure C + * small memory footprint + * minimum dependencies (req: libc, libdl; optional: pcre) + * pluggable filters / backends (you may write custom one) diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..39e065f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: f2b +Source: https://github.com/AdUser/f2b + +Files: * +Copyright: 2015-2016 Alex 'AdUser' Z +License: GPL-2.0+ + +Files: debian/* +Copyright: 2016 Alex 'AdUser' Z +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; either version 2 of the License, or + (at your option) any later version. + . + 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/f2b.default b/debian/f2b.default new file mode 100644 index 0000000..bdd6fc7 --- /dev/null +++ b/debian/f2b.default @@ -0,0 +1,4 @@ +# This is a POSIX shell fragment + +# Additional options that are passed to the Daemon. +DAEMON_OPTS="" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c1d8fc9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ + +# debmake generated override targets +# This is example for Cmake (See http://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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..c4e8b72 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/f2b-$1\.tar\.gz/ \ + https://github.com/AdUser/f2b/releases .*/v?(\d\S*)\.tar\.gz