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