/[gentoo-x86]/net-misc/monmotha/monmotha-2.3.8.ebuild
Gentoo

Contents of /net-misc/monmotha/monmotha-2.3.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Oct 28 11:10:12 2010 UTC (3 years, 9 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
quoting

(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/monmotha/monmotha-2.3.8.ebuild,v 1.2 2007/04/28 16:57:51 swegener Exp $
4
5 DESCRIPTION="MonMotha IPTables-based firewall script."
6 HOMEPAGE="http://monmotha.mplug.org/firewall/"
7 LICENSE="GPL-2"
8
9 KEYWORDS="x86 ~amd64"
10 IUSE=""
11 SLOT="0"
12 RDEPEND=">=net-firewall/iptables-1.2.5"
13
14 MY_PVP=(${PV//[-\._]/ })
15
16 S=${WORKDIR}
17
18 SRC_URI="http://monmotha.mplug.org/~monmotha/firewall/firewall/${MY_PVP[0]}.${MY_PVP[1]}/rc.firewall-${PV}"
19
20 src_unpack() {
21 cp "${DISTDIR}"/${A} "${S}"/
22 }
23
24 src_install() {
25 newinitd "${FILESDIR}/monmotha.rc6" monmotha
26 exeinto /etc/monmotha
27 newexe "${S}/rc.firewall-${PV}" monmotha
28 }
29
30 pkg_postinst () {
31 einfo "Don't forget to add the 'monmotha' startup script to your default"
32 einfo "runlevel by typing the following command:"
33 einfo ""
34 einfo " rc-update add monmotha default"
35 einfo ""
36 einfo "You need to edit /etc/monmotha/monmotha before using"
37 einfo "it. Enter the right vars in the file, start the script"
38 einfo "by typing: '/etc/init.d/monmotha start' and it should work."
39 einfo ""
40 einfo "Don't forget to change the path to iptables!!!"
41 einfo ""
42 einfo "Note: If You are stopping the firewall, all iptables rulesets"
43 einfo "will be flushed!!!"
44 einfo ""
45 }

  ViewVC Help
Powered by ViewVC 1.1.20