diff options
author | 2009-07-03 15:49:32 +0000 | |
---|---|---|
committer | 2009-07-03 15:49:32 +0000 | |
commit | 9043aca3250697fd40135240f52b744ce8923a33 (patch) | |
tree | de3a4c89a111585e0fd5e910b964cfbba5f030df /net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.2a.ebuild | |
parent | remove app-doc/afsdoc, bug 268507 (diff) | |
download | historical-9043aca3250697fd40135240f52b744ce8923a33.tar.gz historical-9043aca3250697fd40135240f52b744ce8923a33.tar.bz2 historical-9043aca3250697fd40135240f52b744ce8923a33.zip |
(non maintainer commit) Version bump for security bug 261507, ebuild by Johannes Kellner
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.2a.ebuild')
-rw-r--r-- | net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.2a.ebuild | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.2a.ebuild b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.2a.ebuild new file mode 100644 index 000000000000..2f0046e23441 --- /dev/null +++ b/net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.2a.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/arno-iptables-firewall/arno-iptables-firewall-1.9.2a.ebuild,v 1.1 2009/07/03 15:49:32 darkside Exp $ + +EAPI=1 + +DESCRIPTION="Arno's iptables firewall script" +HOMEPAGE="http://rocky.molphys.leidenuniv.nl/" +SRC_URI="http://rocky.eld.leidenuniv.nl/iptables-firewall/${PN}_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins" + +DEPEND=">=net-firewall/iptables-1.2.5" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}_${PV} + +src_install() { + insinto /etc/arno-iptables-firewall + + # update the default location of the environment script + sed -e 's:/usr/local/share/:/usr/share/:' \ + etc/arno-iptables-firewall/firewall.conf > \ + "${T}"/firewall.conf + doins "${T}"/firewall.conf + doins etc/arno-iptables-firewall/custom-rules + + sed -e 's:local/::' \ + contrib/Gentoo/firewall.conf > \ + "${T}"/arno-iptables-firewall.confd + newconfd "${T}"/arno-iptables-firewall.confd arno-iptables-firewall + newinitd contrib/Gentoo/rc.firewall arno-iptables-firewall + + dobin bin/arno-fwfilter + dosbin bin/arno-iptables-firewall + + insinto /usr/share/arno-iptables-firewall/ + doins share/arno-iptables-firewall/environment + + if use plugins + then + insinto /etc/arno-iptables-firewall/plugins + doins etc/arno-iptables-firewall/plugins/* + + insinto /usr/share/arno-iptables-firewall/plugins + doins share/arno-iptables-firewall/plugins/*.plugin + + exeinto /usr/share/arno-iptables-firewall/plugins + doexe share/arno-iptables-firewall/plugins/dyndns-host-open-helper + doexe share/arno-iptables-firewall/plugins/traffic-accounting-helper + doexe share/arno-iptables-firewall/plugins/traffic-accounting-log-rotate + doexe share/arno-iptables-firewall/plugins/traffic-accounting-show + + docinto plugins + dodoc share/arno-iptables-firewall/plugins/*.CHANGELOG + fi + + dodoc CHANGELOG README + + doman share/man/man1/arno-fwfilter.1 share/man/man8/arno-iptables-firewall.8 +} + +pkg_postinst () { + elog "You will need to configure /etc/${PN}/firewall.conf before using this" + elog "package. To start the script, run:" + elog " /etc/init.d/${PN} start" + echo + elog "If you want to start this script at boot, run:" + elog " rc-update add ${PN} default" + echo + ewarn "When you start the firewall, the default is to," + ewarn "DROP ALL existing connections! So be carefull when installing" + ewarn "on a remote host! There is a option to disable this behavior" + ewarn "for testting." + echo + ewarn "When you stop this script, all firewall rules are flushed!" + echo +} |