# Distributed under the terms of the GNU General Public License v2 # $Header: Exp $ DESCRIPTION="Arno's IPTables Based Firewall." HOMEPAGE="http://rocky.molphys.leidenuniv.nl/" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" IUSE="" SLOT="0" RDEPEND=">=net-firewall/iptables-1.2.5" SRC_URI="http://rocky.eld.leidenuniv.nl/iptables-firewall/arno-iptables-firewall_${PV}.tar.gz" S="${WORKDIR}/arno-iptables-firewall_${PV}" src_install() { cd "${S}" insinto /etc/arno-iptables-firewall doins "${S}/etc/arno-iptables-firewall/firewall.conf" exeinto /etc/init.d newexe "${FILESDIR}/arno.rc6" arno-firewall exeinto /usr/sbin doexe "${S}/arno-iptables-firewall" exeinto /usr/bin doexe "${S}/arno-fwfilter" dodoc "${S}/CHANGELOG" dodoc "${S}/README" doman "${S}/man/arno-fwfilter.1" doman "${S}/man/arno-iptables-firewall.8" } pkg_postinst () { einfo "Don't forget to add the 'arno-firewall' startup script to your default" einfo "runlevel by typing the following command:" einfo "" einfo " rc-update add arno-firewall default" einfo "" einfo "You need to edit /etc/arno-iptables-firewall/firewall.conf before using" einfo "it. Enter the right vars in the file, start the script" einfo "by typing: '/etc/init.d/arno-firewall' and it should work." einfo "" einfo "Don't forget to change the path to iptables!!!" einfo "" einfo "Note: If You are stopping the firewall, all iptables rulesets" einfo "will be flushed!!!" einfo "" }