1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="MonMotha IPTables-based firewall script"
8 HOMEPAGE="http://monmotha.mplug.org/firewall/"
14 RDEPEND=">=net-firewall/iptables-1.2.5"
16 MY_PVP=(${PV//[-\._]/ })
20 SRC_URI="http://monmotha.mplug.org/~monmotha/firewall/firewall/${MY_PVP[0]}.${MY_PVP[1]}/rc.firewall-${PV}"
23 cp "${DISTDIR}"/${A} "${S}"/
27 newinitd "${FILESDIR}/monmotha.rc6" monmotha
29 newexe "${S}/rc.firewall-${PV}" monmotha
33 einfo "Don't forget to add the 'monmotha' startup script to your default"
34 einfo "runlevel by typing the following command:"
36 einfo " rc-update add monmotha default"
38 einfo "You need to edit /etc/monmotha/monmotha before using"
39 einfo "it. Enter the right vars in the file, start the script"
40 einfo "by typing: '/etc/init.d/monmotha start' and it should work."
42 einfo "Don't forget to change the path to iptables!!!"
44 einfo "Note: If You are stopping the firewall, all iptables rulesets"
45 einfo "will be flushed!!!"