diff options
author | Peter Volkov <pva@gentoo.org> | 2011-07-28 07:20:19 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-07-28 07:20:19 +0000 |
commit | 6271f1cb42d5f003852dbd4e0184294b53ca2e0d (patch) | |
tree | 96d23933e86979fec3698a6d851f93008a98650b /net-firewall | |
parent | tl-latex3 has been merged to tl-latexrecommended in TeX Live 2011 (diff) | |
download | gentoo-2-6271f1cb42d5f003852dbd4e0184294b53ca2e0d.tar.gz gentoo-2-6271f1cb42d5f003852dbd4e0184294b53ca2e0d.tar.bz2 gentoo-2-6271f1cb42d5f003852dbd4e0184294b53ca2e0d.zip |
Initial import, bug #264912, thank Sławomir Nizio for this job.
(Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/ufw-frontends/ChangeLog | 10 | ||||
-rw-r--r-- | net-firewall/ufw-frontends/metadata.xml | 19 | ||||
-rw-r--r-- | net-firewall/ufw-frontends/ufw-frontends-0.2.0.ebuild | 37 |
3 files changed, 66 insertions, 0 deletions
diff --git a/net-firewall/ufw-frontends/ChangeLog b/net-firewall/ufw-frontends/ChangeLog new file mode 100644 index 000000000000..6d8ea4701733 --- /dev/null +++ b/net-firewall/ufw-frontends/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-firewall/ufw-frontends +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ufw-frontends/ChangeLog,v 1.1 2011/07/28 07:20:19 pva Exp $ + +*ufw-frontends-0.2.0 (28 Jul 2011) + + 28 Jul 2011; Peter Volkov <pva@gentoo.org> +ufw-frontends-0.2.0.ebuild, + +metadata.xml: + Initial import, bug #264912, thank Sławomir Nizio for this job. + diff --git a/net-firewall/ufw-frontends/metadata.xml b/net-firewall/ufw-frontends/metadata.xml new file mode 100644 index 000000000000..08c3fbf804d2 --- /dev/null +++ b/net-firewall/ufw-frontends/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>slawomir.nizio@sabayon.org</email> + <name>Sławomir Nizio</name> +</maintainer> +<maintainer> + <email>pva@gentoo.org</email> + <name>Peter Volkov</name> +</maintainer> +<longdescription lang="en"> + Currently, UFW provides only a command-line interface (CLI) for user + interaction--the ufw command. This project implements graphical frontends + for UFW using PyGTK and PyQt (the latter in early stage of development). +</longdescription> +</pkgmetadata> + diff --git a/net-firewall/ufw-frontends/ufw-frontends-0.2.0.ebuild b/net-firewall/ufw-frontends/ufw-frontends-0.2.0.ebuild new file mode 100644 index 000000000000..3683ec89e47c --- /dev/null +++ b/net-firewall/ufw-frontends/ufw-frontends-0.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/ufw-frontends/ufw-frontends-0.2.0.ebuild,v 1.1 2011/07/28 07:20:19 pva Exp $ + +EAPI=3 +PYTHON_DEPEND="2:2.6" +inherit distutils + +DESCRIPTION="Provides graphical frontend to ufw" +HOMEPAGE="http://code.google.com/p/ufw-frontends/" +SRC_URI="http://ufw-frontends.googlecode.com/files/${P}.tar.gz" + +# CC* is for a png file +LICENSE="GPL-3 CCPL-Attribution-ShareAlike-NonCommercial-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + dev-python/pygobject + dev-python/pygtk + net-firewall/ufw + x11-libs/gksu" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + sed -i 's/^Exec=su-to-root -X -c/Exec=gksu/' \ + share/ufw-gtk.desktop || die + # Qt version is unusable for now + rm gfw/frontend_qt.py || die + distutils_src_prepare +} |