diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2017-11-05 16:48:06 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-11-05 16:48:06 +0000 |
commit | d2da39a59b647c73c9ad804fd19a3097e4146bfa (patch) | |
tree | 856f119d179ea3022e04e6d3db94c790b5f792a1 /network/fail2ban/fail2ban.SlackBuild | |
parent | 73d28c8fd4b41d3b3f89cc728ebe437227cf13d9 (diff) |
network/fail2ban: Updated for version 0.10.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/fail2ban/fail2ban.SlackBuild')
-rw-r--r-- | network/fail2ban/fail2ban.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild index b58fb1b34583e..8cc9857aba9f0 100644 --- a/network/fail2ban/fail2ban.SlackBuild +++ b/network/fail2ban/fail2ban.SlackBuild @@ -26,7 +26,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="fail2ban" -VERSION=${VERSION:-0.10.0} +VERSION=${VERSION:-0.10.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -89,11 +89,6 @@ install -D -m 0644 $CWD/config/paths-slackware.conf $PKG/etc/fail2ban/paths-slac # remove non-slackware specific config files rm -f $PKG/etc/fail2ban/paths-{arch,debian,fedora,freebsd,osx,opensuse}.conf.new -# install bash completion script if requested -if [ "$BASH_COMPLETION" = "yes" ]; then - install -D -m 0644 files/bash-completion $PKG/etc/bash_completion.d/fail2ban.new -fi - # install logrotate script install -D -m 0644 files/fail2ban-logrotate $PKG/etc/logrotate.d/fail2ban.new @@ -111,8 +106,14 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # building package mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +# install bash completion script if requested +if [ "${BASH_COMPLETION:-no}" = "yes" ]; then + install -D -m 0644 files/bash-completion $PKG/etc/bash_completion.d/fail2ban.new + echo "config etc/bash_completion.d/fail2ban.new" >> $PKG/install/doinst.sh +fi cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |