summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-05-15 17:25:38 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-05-15 17:25:38 +0000
commit3ce7e2098229ba6c3714b5a4a590cb1732fa3821 (patch)
tree295119a464f1e79b932ea990078a030a2405a8e8 /net-firewall
parentAdd ~alpha/~ia64/~sparc wrt #359047 (diff)
downloadgentoo-2-3ce7e2098229ba6c3714b5a4a590cb1732fa3821.tar.gz
gentoo-2-3ce7e2098229ba6c3714b5a4a590cb1732fa3821.tar.bz2
gentoo-2-3ce7e2098229ba6c3714b5a4a590cb1732fa3821.zip
Version bump, now including libfwbuilder; bug 364515
(Portage version: 2.1.9.49/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/fwbuilder/ChangeLog8
-rw-r--r--net-firewall/fwbuilder/files/fwbuilder-4.2.2.3541-ldflags.patch11
-rw-r--r--net-firewall/fwbuilder/fwbuilder-4.2.2.3541.ebuild48
3 files changed, 66 insertions, 1 deletions
diff --git a/net-firewall/fwbuilder/ChangeLog b/net-firewall/fwbuilder/ChangeLog
index e628e5a5d30f..69495376f808 100644
--- a/net-firewall/fwbuilder/ChangeLog
+++ b/net-firewall/fwbuilder/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/fwbuilder
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v 1.100 2011/03/30 20:52:15 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v 1.101 2011/05/15 17:25:38 dilfridge Exp $
+
+*fwbuilder-4.2.2.3541 (15 May 2011)
+
+ 15 May 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ +fwbuilder-4.2.2.3541.ebuild, +files/fwbuilder-4.2.2.3541-ldflags.patch:
+ Version bump, now including libfwbuilder; bug 364515
30 Mar 2011; Andreas K. Huettel <dilfridge@gentoo.org>
-files/4.0.1-secure-mktemp.patch, -fwbuilder-3.0.3.ebuild,
diff --git a/net-firewall/fwbuilder/files/fwbuilder-4.2.2.3541-ldflags.patch b/net-firewall/fwbuilder/files/fwbuilder-4.2.2.3541-ldflags.patch
new file mode 100644
index 000000000000..f6869db95b83
--- /dev/null
+++ b/net-firewall/fwbuilder/files/fwbuilder-4.2.2.3541-ldflags.patch
@@ -0,0 +1,11 @@
+diff -ruN fwbuilder-4.2.2.3541.orig/qmake.inc.in fwbuilder-4.2.2.3541/qmake.inc.in
+--- fwbuilder-4.2.2.3541.orig/qmake.inc.in 2011-05-11 23:02:03.000000000 +0200
++++ fwbuilder-4.2.2.3541/qmake.inc.in 2011-05-15 19:36:03.000000000 +0200
+@@ -39,6 +39,7 @@
+ QMAKE_CFLAGS_RELEASE += -Wno-unused-parameter
+ QMAKE_CXXFLAGS_DEBUG += -Wno-unused-parameter
+ QMAKE_CXXFLAGS_RELEASE += -Wno-unused-parameter
++ QMAKE_LFLAGS = @LDFLAGS@
+
+ !macx {
+
diff --git a/net-firewall/fwbuilder/fwbuilder-4.2.2.3541.ebuild b/net-firewall/fwbuilder/fwbuilder-4.2.2.3541.ebuild
new file mode 100644
index 000000000000..837ae648b80b
--- /dev/null
+++ b/net-firewall/fwbuilder/fwbuilder-4.2.2.3541.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/fwbuilder-4.2.2.3541.ebuild,v 1.1 2011/05/15 17:25:38 dilfridge Exp $
+
+EAPI=4
+
+inherit eutils qt4-r2 multilib autotools
+
+DESCRIPTION="A firewall GUI"
+HOMEPAGE="http://www.fwbuilder.org/"
+SRC_URI="mirror://sourceforge/fwbuilder/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
+IUSE=""
+
+DEPEND=">=x11-libs/qt-gui-4.3
+ dev-libs/openssl
+ dev-libs/elfutils
+ sys-devel/gnuconfig
+ !net-libs/libfwbuilder"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt4-r2_src_prepare
+ epatch "${FILESDIR}/${P}-ldflags.patch"
+ eautoreconf
+
+ # This package fundamentally changed its build system. We have to
+ # manually copy config.{sub,guess} from /usr/share/gnuconfig/.
+ cp /usr/share/gnuconfig/config.{sub,guess} "${WORKDIR}/${P}/" \
+ || die "failed to copy config.{sub,guess}"
+}
+
+src_configure() {
+ econf
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
+
+pkg_postinst() {
+ validate_desktop_entries
+
+ elog "You need to emerge sys-apps/iproute2 on the machine"
+ elog "that will run the firewall script."
+}