summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Silva <r3pek@gentoo.org>2007-09-29 23:04:46 +0000
committerCarlos Silva <r3pek@gentoo.org>2007-09-29 23:04:46 +0000
commitb0f0fba1d761147b15cc8d56179e66e76e83e989 (patch)
tree986d817784e21781e5e55e02af6220814ef22f89 /net-firewall
parentVersion bump (diff)
downloadgentoo-2-b0f0fba1d761147b15cc8d56179e66e76e83e989.tar.gz
gentoo-2-b0f0fba1d761147b15cc8d56179e66e76e83e989.tar.bz2
gentoo-2-b0f0fba1d761147b15cc8d56179e66e76e83e989.zip
Version bump
(Portage version: 2.1.3.9)
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/fwbuilder/ChangeLog7
-rw-r--r--net-firewall/fwbuilder/files/digest-fwbuilder-2.1.143
-rw-r--r--net-firewall/fwbuilder/fwbuilder-2.1.14.ebuild73
3 files changed, 82 insertions, 1 deletions
diff --git a/net-firewall/fwbuilder/ChangeLog b/net-firewall/fwbuilder/ChangeLog
index 24ed86b3df99..15d5a9966232 100644
--- a/net-firewall/fwbuilder/ChangeLog
+++ b/net-firewall/fwbuilder/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-firewall/fwbuilder
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v 1.65 2007/09/07 01:26:17 r3pek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v 1.66 2007/09/29 23:04:46 r3pek Exp $
+
+*fwbuilder-2.1.14 (29 Sep 2007)
+
+ 29 Sep 2007; Carlos Silva <r3pek@gentoo.org> +fwbuilder-2.1.14.ebuild:
+ Version bump
*fwbuilder-2.1.13-r2 (07 Sep 2007)
diff --git a/net-firewall/fwbuilder/files/digest-fwbuilder-2.1.14 b/net-firewall/fwbuilder/files/digest-fwbuilder-2.1.14
new file mode 100644
index 000000000000..c54dc2d5ebef
--- /dev/null
+++ b/net-firewall/fwbuilder/files/digest-fwbuilder-2.1.14
@@ -0,0 +1,3 @@
+MD5 b0e41962b8deda7d0fdcaa632098199b fwbuilder-2.1.14.tar.gz 1708015
+RMD160 909996b212170ce50bf224c2cb1a256aae7cdee4 fwbuilder-2.1.14.tar.gz 1708015
+SHA256 a99d847699ed522b9a64124bf5dd3519a132613da72990ae9fb6ed2fa673d2e7 fwbuilder-2.1.14.tar.gz 1708015
diff --git a/net-firewall/fwbuilder/fwbuilder-2.1.14.ebuild b/net-firewall/fwbuilder/fwbuilder-2.1.14.ebuild
new file mode 100644
index 000000000000..9754bdaa5ac0
--- /dev/null
+++ b/net-firewall/fwbuilder/fwbuilder-2.1.14.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/fwbuilder-2.1.14.ebuild,v 1.1 2007/09/29 23:04:46 r3pek Exp $
+
+inherit eutils qt3 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 ~ppc ~ppc64 ~x86"
+IUSE="nls"
+
+DEPEND="~net-libs/libfwbuilder-${PV}
+ nls? ( >=sys-devel/gettext-0.11.4 )
+ ~dev-java/antlr-2.7.7
+ >=dev-libs/libxslt-1.0.7"
+
+pkg_setup() {
+ if built_with_use dev-java/antlr nocxx; then
+ eerror "dev-java/antlr can't be compiled with nocxx."
+ eerror "recompile it without that use flag set."
+ die "Need dev-java/antlr compiled without the nocxx use flag set"
+ fi
+}
+
+src_compile() {
+ # we'll use our eqmake instead of bundled script to process qmake files
+ sed -i -e 's:^. ./runqmake.sh$:echo:' configure \
+ || die "sed configure failed"
+ # prevent install script from automatically stripping binaries - let portage do that
+ sed -i -e 's/s) stripcmd="$stripprog"$/s)/' install.sh \
+ || die "sed install.sh failed"
+ # documentation will be installed manually using dodoc & doman
+ rm -f doc/doc.pro
+ sed -i -e '/^SUBDIRS = po src doc/s/ doc//' fwbuilder2.pro \
+ || die "sed fwbuilder2.pro failed"
+
+ econf $(use_enable nls) || die "configure failed"
+
+ # use eqmake to generate Makefiles
+ eqmake3 fwbuilder2.pro
+ for subdir in po src src/res src/tools src/gui \
+ src/fwblookup src/fwbedit src/ipt src/pflib \
+ src/pf src/ipf src/ipfw src/parsers; do
+ eqmake3 "${subdir}/${subdir##*/}.pro" -o ${subdir}/Makefile
+ done
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake install DDIR="${D}" || die "install failed"
+
+ cd doc
+ dodoc AUTHORS ChangeLog Credits README* \
+ FWBuilder-Routing-LICENSE.txt PatchAcceptancePolicy.txt
+ newdoc ReleaseNotes_${PV}.txt ReleaseNotes
+ doman fwb*.1
+ cd ..
+
+ newicon src/gui/icons/firewall_64.png ${PN}.png
+ make_desktop_entry fwbuilder "Firewall Builder" ${PN} "System;Security;Qt"
+}
+
+pkg_postinst() {
+ echo
+ elog "You need to emerge sys-apps/iproute2 on the machine"
+ elog "that will run the firewall script."
+ echo
+}