summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-07-28 07:22:42 +0000
committerPeter Volkov <pva@gentoo.org>2011-07-28 07:22:42 +0000
commit3f7a1a3a54df479fd1f202bb5a9f3a591ec7a0da (patch)
treed320b94e89d51becb1ff1dda8f790c915118e8f5 /net-firewall/ufw
parentInitial import, bug #264912, thank Sławomir Nizio for this job. (diff)
downloadgentoo-2-3f7a1a3a54df479fd1f202bb5a9f3a591ec7a0da.tar.gz
gentoo-2-3f7a1a3a54df479fd1f202bb5a9f3a591ec7a0da.tar.bz2
gentoo-2-3f7a1a3a54df479fd1f202bb5a9f3a591ec7a0da.zip
Added longdescription, qoutation fixes in ewarn and set python version correctly. Thank Sławomir Nizio for this job.
(Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall/ufw')
-rw-r--r--net-firewall/ufw/ChangeLog7
-rw-r--r--net-firewall/ufw/metadata.xml10
-rw-r--r--net-firewall/ufw/ufw-0.30.1-r2.ebuild9
3 files changed, 20 insertions, 6 deletions
diff --git a/net-firewall/ufw/ChangeLog b/net-firewall/ufw/ChangeLog
index a9840ee2f1ec..e676f675ec3c 100644
--- a/net-firewall/ufw/ChangeLog
+++ b/net-firewall/ufw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/ufw
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ufw/ChangeLog,v 1.1 2011/07/24 11:18:22 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ufw/ChangeLog,v 1.2 2011/07/28 07:22:42 pva Exp $
+
+ 28 Jul 2011; Peter Volkov <pva@gentoo.org> ufw-0.30.1-r2.ebuild,
+ metadata.xml:
+ Added longdescription, qoutation fixes in ewarn and set python version
+ correctly. Thank Sławomir Nizio for this job.
*ufw-0.30.1-r2 (24 Jul 2011)
diff --git a/net-firewall/ufw/metadata.xml b/net-firewall/ufw/metadata.xml
index 97a6c66a3ba2..2806c051b664 100644
--- a/net-firewall/ufw/metadata.xml
+++ b/net-firewall/ufw/metadata.xml
@@ -3,12 +3,18 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
-<email>slawomir.nizio@sabayon.org</email>
-<name>Sławomir Nizio</name>
+ <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">
+ The Uncomplicated Firewall (ufw) is a frontend for iptables and is
+ particularly well-suited for host-based firewalls. It provides a framework
+ for managing netfilter, as well as an easy to use command-line interface for
+ manipulating the firewall.
+</longdescription>
</pkgmetadata>
diff --git a/net-firewall/ufw/ufw-0.30.1-r2.ebuild b/net-firewall/ufw/ufw-0.30.1-r2.ebuild
index b94775092332..8167341af708 100644
--- a/net-firewall/ufw/ufw-0.30.1-r2.ebuild
+++ b/net-firewall/ufw/ufw-0.30.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ufw/ufw-0.30.1-r2.ebuild,v 1.1 2011/07/24 11:18:22 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ufw/ufw-0.30.1-r2.ebuild,v 1.2 2011/07/28 07:22:42 pva Exp $
EAPI=3
PYTHON_DEPEND="2:2.5"
@@ -20,6 +20,7 @@ IUSE="examples"
DEPEND=""
RDEPEND=">=net-firewall/iptables-1.4"
+# tests fail; upstream bug: https://bugs.launchpad.net/ufw/+bug/815982
RESTRICT="test"
pkg_setup() {
@@ -34,6 +35,8 @@ pkg_setup() {
fi
check_extra_config
+ python_set_active_version 2
+ python_pkg_setup
}
src_prepare() {
@@ -65,8 +68,8 @@ pkg_postinst() {
if path_exists -o "${EROOT}"lib/ufw/user{,6}.rules; then
ewarn "Attention!"
ewarn "User configuration from /lib/ufw is now placed in /etc/ufw/user."
- ewarn "Please stop ufw, copy .rules files from \"${EROOT}\"lib/ufw" \
- "to \"${EROOT}\"etc/ufw/user/ and start ufw again."
+ ewarn "Please stop ufw, copy .rules files from ${EROOT}lib/ufw"
+ ewarn "to ${EROOT}etc/ufw/user/ and start ufw again."
fi
echo
elog "Remember to enable ufw add it to your boot sequence:"