diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 17:50:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 17:50:47 +0000 |
commit | a362e5f95dc0a2710be0dc3d81fe8b8bbe8a6ffc (patch) | |
tree | 2cd4b198b4ac3dceac31049426974ae0840cb734 /net-firewall/iptables | |
parent | Mark 4.4.0-r5 stable on ia64 (diff) | |
download | gentoo-2-a362e5f95dc0a2710be0dc3d81fe8b8bbe8a6ffc.tar.gz gentoo-2-a362e5f95dc0a2710be0dc3d81fe8b8bbe8a6ffc.tar.bz2 gentoo-2-a362e5f95dc0a2710be0dc3d81fe8b8bbe8a6ffc.zip |
only warn about iptables-1.2.x when upgrading #121533 by ph
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'net-firewall/iptables')
-rw-r--r-- | net-firewall/iptables/iptables-1.3.4.ebuild | 12 | ||||
-rw-r--r-- | net-firewall/iptables/iptables-1.3.5.ebuild | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/net-firewall/iptables/iptables-1.3.4.ebuild b/net-firewall/iptables/iptables-1.3.4.ebuild index 862431889972..c97fb92a9b35 100644 --- a/net-firewall/iptables/iptables-1.3.4.ebuild +++ b/net-firewall/iptables/iptables-1.3.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.3.4.ebuild,v 1.10 2006/02/02 01:40:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.3.4.ebuild,v 1.11 2006/02/04 17:50:47 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs linux-info @@ -152,8 +152,10 @@ pkg_postinst() { einfo " net.ipv6.ip_forward = 1" einfo "for ipv6." fi - echo - ewarn "When upgrading from iptables-1.2.x, you may be unable to remove" - ewarn "rules added with iptables-1.2.x. This is a known issue, please see:" - ewarn "http://bugs.gentoo.org/show_bug.cgi?id=92535" + if has_version '=net-firewall/iptables-1.2*' ; then + echo + ewarn "When upgrading from iptables-1.2.x, you may be unable to remove" + ewarn "rules added with iptables-1.2.x. This is a known issue, please see:" + ewarn "http://bugs.gentoo.org/92535" + fi } diff --git a/net-firewall/iptables/iptables-1.3.5.ebuild b/net-firewall/iptables/iptables-1.3.5.ebuild index d3f43be7bfe1..8e89aa47e550 100644 --- a/net-firewall/iptables/iptables-1.3.5.ebuild +++ b/net-firewall/iptables/iptables-1.3.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.3.5.ebuild,v 1.1 2006/02/04 00:33:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.3.5.ebuild,v 1.2 2006/02/04 17:50:47 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs linux-info @@ -152,8 +152,10 @@ pkg_postinst() { einfo " net.ipv6.ip_forward = 1" einfo "for ipv6." fi - echo - ewarn "When upgrading from iptables-1.2.x, you may be unable to remove" - ewarn "rules added with iptables-1.2.x. This is a known issue, please see:" - ewarn "http://bugs.gentoo.org/show_bug.cgi?id=92535" + if has_version '=net-firewall/iptables-1.2*' ; then + echo + ewarn "When upgrading from iptables-1.2.x, you may be unable to remove" + ewarn "rules added with iptables-1.2.x. This is a known issue, please see:" + ewarn "http://bugs.gentoo.org/92535" + fi } |