summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-firewall/kmyfirewall/kmyfirewall-1.0.1-r1.ebuild')
-rw-r--r--net-firewall/kmyfirewall/kmyfirewall-1.0.1-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/net-firewall/kmyfirewall/kmyfirewall-1.0.1-r1.ebuild b/net-firewall/kmyfirewall/kmyfirewall-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..6c4e0396dfb5
--- /dev/null
+++ b/net-firewall/kmyfirewall/kmyfirewall-1.0.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/kmyfirewall/kmyfirewall-1.0.1-r1.ebuild,v 1.1 2007/04/18 10:30:02 jokey Exp $
+
+inherit kde eutils
+
+MY_P="${P/_/}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Graphical KDE iptables configuration tool"
+HOMEPAGE="http://kmyfirewall.sourceforge.net/"
+SRC_URI="mirror://sourceforge/kmyfirewall/${MY_P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc sparc x86"
+IUSE=""
+
+RDEPEND="net-firewall/iptables"
+need-kde 3
+
+src_unpack() {
+ kde_src_unpack
+ echo -e "[PATHS]\nDistribution=gentoo\nIPTPath=${ROOT}sbin/iptables\nModprobePath=${ROOT}sbin/modprobe\nrcDefaultPath=${ROOT}etc/runlevels/default/" >> ${S}/kmyfirewall/kmyfirewallrc}
+}
+
+src_install() {
+ kde_src_install
+
+ # search path is broken in the app, help it temporarily
+ dosym kpartplugins/kmfinstallerpluginui.rc /usr/share/apps/kmyfirewall/kmfinstallerpluginui.rc
+}
+
+pkg_postinst() {
+ make_desktop_entry m "Kmyfirewall" kmyfirewall
+ einfo
+ einfo "Only run-as-user menuentry provided. If you want to directly"
+ einfo "run kmyfirewall as root (inside kdesu), just check:"
+ einfo "run-as-other-user inside the menu edit,leving blank the field"
+ einfo
+}