diff options
author | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-07-07 10:40:34 +0000 |
---|---|---|
committer | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-07-07 10:40:34 +0000 |
commit | 722de784f3a335e54a9854c138d45268315678fe (patch) | |
tree | 6797746e1a9ddd1bc11cb1ddefe528bf8611e927 /net/firewall | |
parent | 7f3c17265b172f4cd4f6a5a8322d67f275ee9526 (diff) | |
download | slackbuilds-722de784f3a335e54a9854c138d45268315678fe.tar.gz slackbuilds-722de784f3a335e54a9854c138d45268315678fe.tar.bz2 |
Updated: arno-iptables-firewall
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1270 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/firewall')
-rwxr-xr-x | net/firewall/arno-iptables-firewall/arno-iptables-firewall.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/net/firewall/arno-iptables-firewall/arno-iptables-firewall.SlackBuild b/net/firewall/arno-iptables-firewall/arno-iptables-firewall.SlackBuild index fb373147..8322e799 100755 --- a/net/firewall/arno-iptables-firewall/arno-iptables-firewall.SlackBuild +++ b/net/firewall/arno-iptables-firewall/arno-iptables-firewall.SlackBuild @@ -33,7 +33,7 @@ CWD="$(pwd)" SRC_NAME="arno-iptables-firewall" PKG_NAME="arno-iptables-firewall" ARCH="noarch" -SRC_VERSION=${VERSION:=1.8.8h} +SRC_VERSION=${VERSION:=1.8.8i} PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" BUILD=${BUILD:=1ls} SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME @@ -88,16 +88,17 @@ cp -a man/arno-fwfilter.1 "$PKG/$PREFIX/man/man1" cp -a man/arno-iptables-firewall.8 "$PKG/$PREFIX/man/man8" mv -f "$PKG/etc/arno-iptables-firewall/firewall.conf" \ "$PKG/etc/arno-iptables-firewall/firewall.conf.new" -mv -f "$PKG/etc/arno-iptables-firewall/plugins/ssh-brute-force-protection.conf" \ - "$PKG/etc/arno-iptables-firewall/plugins/ssh-brute-force-protection.conf.new" +for file in $('ls' -1 "$PKG/etc/arno-iptables-firewall/plugins/"*.conf); do + mv -f "$file" "${file}.new" +done # Compress and link manpages if [ -d "$PKG/$PREFIX/man" ]; then ( cd "$PKG/$PREFIX/man" for manpagedir in $(find . -type d -name "man*") ; do ( cd $manpagedir - for eachpage in $( find . -type l -maxdepth 1) ; do - ln -s $( readlink $eachpage ).gz $eachpage.gz + for eachpage in $(find . -type l -maxdepth 1) ; do + ln -s $(readlink $eachpage).gz $eachpage.gz rm $eachpage done gzip -9 *.? @@ -152,12 +153,15 @@ config() { config etc/rc.d/rc.firewall.new config etc/arno-iptables-firewall/firewall.conf.new -config etc/arno-iptables-firewall/plugins/ssh-brute-force-protection.conf.new +$(for path in $('ls' -1 "$PKG/etc/arno-iptables-firewall/plugins/"*.conf.new); do + file="$(basename $path)" + echo "config etc/arno-iptables-firewall/plugins/$file" +done) config etc/syslog.conf.new config etc/logrotate.d/syslog.new echo -echo " Remember to check the .new files (if any), specially:" +echo " Remember to check the new configuration files, specially:" echo echo " /etc/rc.d/rc.firewall.new" echo " /etc/arno-iptables-firewall/firewall.conf.new" |