Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-firewall/fwbuilder: ChangeLog fwbuilder-3.0.5.ebuild
Date: Sat, 27 Jun 2009 17:25:10
Message-Id: E1MKbeE-0008NF-Mc@stork.gentoo.org
1 patrick 09/06/27 17:25:06
2
3 Modified: ChangeLog
4 Added: fwbuilder-3.0.5.ebuild
5 Log:
6 Bump to 3.0.5, fixes #275299
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.84 net-firewall/fwbuilder/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/fwbuilder/ChangeLog?rev=1.84&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/fwbuilder/ChangeLog?rev=1.84&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/fwbuilder/ChangeLog?r1=1.83&r2=1.84
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v
19 retrieving revision 1.83
20 retrieving revision 1.84
21 diff -u -r1.83 -r1.84
22 --- ChangeLog 15 Apr 2009 19:43:20 -0000 1.83
23 +++ ChangeLog 27 Jun 2009 17:25:06 -0000 1.84
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-firewall/fwbuilder
26 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v 1.83 2009/04/15 19:43:20 maekke Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/ChangeLog,v 1.84 2009/06/27 17:25:06 patrick Exp $
30 +
31 +*fwbuilder-3.0.5 (27 Jun 2009)
32 +
33 + 27 Jun 2009; Patrick Lauer <patrick@g.o> +fwbuilder-3.0.5.ebuild:
34 + Bump to 3.0.5, fixes #275299
35
36 15 Apr 2009; Markus Meier <maekke@g.o> fwbuilder-3.0.3.ebuild:
37 amd64/x86 stable, bug #235809
38
39
40
41 1.1 net-firewall/fwbuilder/fwbuilder-3.0.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/fwbuilder/fwbuilder-3.0.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/fwbuilder/fwbuilder-3.0.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fwbuilder-3.0.5.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-firewall/fwbuilder/fwbuilder-3.0.5.ebuild,v 1.1 2009/06/27 17:25:06 patrick Exp $
51
52 EAPI="2"
53
54 inherit qt4 multilib
55
56 DESCRIPTION="A firewall GUI"
57 HOMEPAGE="http://www.fwbuilder.org/"
58 SRC_URI="mirror://sourceforge/fwbuilder/${P}.tar.gz"
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
62 IUSE="+pch"
63
64 DEPEND="~net-libs/libfwbuilder-${PV}
65 >=dev-java/antlr-2.7.7:0[cxx]
66 x11-libs/qt-gui:4"
67 RDEPEND="${DEPEND}"
68
69 src_prepare() {
70 qt4_src_prepare
71
72 # Remove bundled antlr
73 rm -rf src/antlr
74
75 sed -i \
76 -e '/COPYING/d' \
77 doc/doc.pro || die "sed doc.pro failed"
78
79 # we'll use our eqmake instead of bundled script to process qmake files
80 sed -i \
81 -e 's:^. ./runqmake.sh$:echo:' \
82 configure || die "sed configure failed"
83
84 # prevent install script from automatically stripping binaries - let portage do that
85 sed -i \
86 -e 's/s) stripcmd="$stripprog"$/s)/' \
87 install.sh || die "sed install.sh failed"
88
89 if ! use pch; then
90 sed -i \
91 -e '/^PRECOMPILED_HEADER =/,/[^\\]$/d' \
92 -e '/^CONFIG += precompile_header/d' \
93 src/gui/gui.pro || die "sed for gui.pro failed"
94 fi
95 }
96
97 src_configure() {
98 econf \
99 --with-docdir=/usr/share/doc/${PF}
100
101 for pro_file in $(find "${S}" -name "*.pro"); do
102 eqmake4 "${pro_file}" -o "$(dirname ${pro_file})/Makefile" "CONFIG+=nostrip" || die "eqmake4 for ${pro_file} failed"
103 done
104 }
105
106 src_install() {
107 emake INSTALL_ROOT="${D}" install || die "emake install failed"
108 cd doc
109 dodoc AUTHORS ChangeLog Credits README* \
110 FWBuilder-Routing-LICENSE.txt PatchAcceptancePolicy.txt
111 doman fwb*.1
112 }
113
114 pkg_postinst() {
115 validate_desktop_entries
116
117 elog "You need to emerge sys-apps/iproute2 on the machine"
118 elog "that will run the firewall script."
119 }