network/fail2ban: Updated for version 0.10.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Nishant Limbachia 2017-11-05 16:48:06 +00:00 committed by David Spencer
parent 73d28c8fd4
commit d2da39a59b
4 changed files with 13 additions and 11 deletions

View file

@ -66,3 +66,5 @@ upgraded to version 0.9.6
upgraded to version 0.9.7
9/23/2017
upgraded to version 0.10.0, added upstream bash completion script.
11/5/2017
upgraded to version 0.10.1

View file

@ -28,7 +28,6 @@ config etc/fail2ban/fail2ban.conf.new
config etc/fail2ban/jail.conf.new
config etc/fail2ban/paths-common.conf.new
config etc/fail2ban/paths-slackware.conf.new
config etc/bash_completion.d/fail2ban.new
for conf_file in etc/fail2ban/action.d/*.new; do
config $conf_file

View file

@ -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}

View file

@ -1,8 +1,8 @@
PRGNAM="fail2ban"
VERSION="0.10.0"
VERSION="0.10.1"
HOMEPAGE="https://github.com/fail2ban/fail2ban/"
DOWNLOAD="https://github.com/fail2ban/fail2ban/archive/0.10.0/fail2ban-0.10.0.tar.gz"
MD5SUM="0f504ae1f8af0ac0b600e34ff48eb374"
DOWNLOAD="https://github.com/fail2ban/fail2ban/archive/0.10.1/fail2ban-0.10.1.tar.gz"
MD5SUM="bfcb1dec6d181d5996e00560bdcbfabf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""