### this file is sourced not run
PKGVER=2.0.3
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=aovfirewall-2.0.3.tar.gz
MD5SUM=f350b840aa7cccf28de87e6cdad54ace
SRC_URL=http://triptico.com/download/$TARBALL
BUNDLE=

SLACKREQ='iptables' # 
SLACKDESC="aovfirewall: aovfirewall 2.0.3 (Firewall script)  
aovfirewall:  
aovfirewall: An easy firewall script from Angel Ortega (developer of 'mp' 
aovfirewall: editor). In his words: This is the firewall script I use in all 
aovfirewall: servers I maintain. It's designed to be as simple as possible. In 
aovfirewall: its default configuration, it drops all incoming connections 
aovfirewall: except for ssh (with a maximum of 5 connections per minute), 
aovfirewall: allows all outgoing connections, filters many kinds of malformed 
aovfirewall: packets, limits icmp pings and logs all rejected things (taking 
aovfirewall: care of not flooding logfiles).  
aovfirewall: http://triptico.com/software/aovfirewall.html 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/aovfirewall*
	mkdir -p /etc/init.d /usr/share/man/man8 &&
	chmod -x aovfirewall &&
	cp aovfirewall /etc/init.d/55-aovfirewall &&
	cp aovfirewall.conf.example /etc &&
	cp aovfirewall.8 /usr/share/man/man8 &&
	pkg_build_slackdesc
}
