Browse Source

* debian package : extract modules, bump version

master
Alex 'AdUser' Z 8 years ago
parent
commit
180353c0ce
  1. 6
      debian/changelog
  2. 19
      debian/control
  3. 2
      debian/f2b-mod-pcre3.install
  4. 2
      debian/f2b-mod-redis.install
  5. 1
      debian/rules

6
debian/changelog vendored

@ -1,3 +1,9 @@
f2b (0.4-1) unstable; urgency=medium
* new version
-- Alex 'AdUser' Z <ad_user@runbox.com> Fri, 07 Oct 2016 17:44:32 +1000
f2b (0.3-1) unstable; urgency=medium f2b (0.3-1) unstable; urgency=medium
* new version * new version

19
debian/control vendored

@ -2,7 +2,7 @@ Source: f2b
Section: net Section: net
Priority: optional Priority: optional
Maintainer: Alex 'AdUser' Z <ad_user@runbox.com> Maintainer: Alex 'AdUser' Z <ad_user@runbox.com>
Build-Depends: debhelper (>= 9), cmake, libpcre3-dev Build-Depends: debhelper (>= 9), cmake, libpcre3-dev, libhiredis-dev
Standards-Version: 3.9.5 Standards-Version: 3.9.5
Homepage: https://github.com/AdUser/f2b Homepage: https://github.com/AdUser/f2b
Vcs-Git: https://github.com/AdUser/f2b.git Vcs-Git: https://github.com/AdUser/f2b.git
@ -11,10 +11,25 @@ Vcs-Browser: https://github.com/AdUser/f2b
Package: f2b Package: f2b
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}
Description: f2b is lightweight fail2ban alternative Description: lightweight fail2ban alternative
Features: Features:
. .
* written in pure C * written in pure C
* small memory footprint * small memory footprint
* minimum dependencies (req: libc, libdl; optional: pcre) * minimum dependencies (req: libc, libdl; optional: pcre)
* pluggable filters / backends (you may write custom one) * pluggable filters / backends (you may write custom one)
.
This package contains daemon, client and basic modules
Package: f2b-mod-pcre3
Architecture: any
Depends: f2b (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: lightweight fail2ban alternative
This package contains filter module that uses pcre3 library
Package: f2b-mod-redis
Architecture: any
Depends: f2b (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Suggests: redis-server
Description: lightweight fail2ban alternative
This package contains source and backend modules working with redis-server

2
debian/f2b-mod-pcre3.install vendored

@ -0,0 +1,2 @@
etc/f2b/conf-available/*-*-pcre.conf
usr/lib/*/libf2b_*_pcre.so*

2
debian/f2b-mod-redis.install vendored

@ -0,0 +1,2 @@
etc/f2b/conf-available/*-*-redis.conf
usr/lib/*/libf2b_*_redis.so*

1
debian/rules vendored

@ -19,4 +19,5 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- \ dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \ -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DWITH_REDIS=ON \
-DWITH_HARDENING=ON -DWITH_HARDENING=ON

Loading…
Cancel
Save