diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-09-24 18:25:36 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-09-24 18:33:46 +1000 |
commit | f5f3b0c0a042d6ed032464bf97fd0eb6643d5628 (patch) | |
tree | 995492dcd34411e56d56ecd7b7eee7cf01787c52 /net-firewall/fwbuilder/fwbuilder-5.3.7.ebuild | |
parent | dev-lang/swi-prolog: support versions of OpenSSL built without patent encumbe... (diff) | |
download | gentoo-f5f3b0c0a042d6ed032464bf97fd0eb6643d5628.tar.gz gentoo-f5f3b0c0a042d6ed032464bf97fd0eb6643d5628.tar.bz2 gentoo-f5f3b0c0a042d6ed032464bf97fd0eb6643d5628.zip |
net-firewall/fwbuilder: version bump 5.3.7
Closes: https://bugs.gentoo.org/587158
Closes: https://bugs.gentoo.org/597608
Closes: https://bugs.gentoo.org/599466
Closes: https://bugs.gentoo.org/612306
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-firewall/fwbuilder/fwbuilder-5.3.7.ebuild')
-rw-r--r-- | net-firewall/fwbuilder/fwbuilder-5.3.7.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/net-firewall/fwbuilder/fwbuilder-5.3.7.ebuild b/net-firewall/fwbuilder/fwbuilder-5.3.7.ebuild new file mode 100644 index 000000000000..7895ff36496b --- /dev/null +++ b/net-firewall/fwbuilder/fwbuilder-5.3.7.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools gnome2-utils qmake-utils + +DESCRIPTION="A firewall GUI" +HOMEPAGE="http://www.fwbuilder.org/" +SRC_URI="https://github.com/fwbuilder/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND=" + dev-libs/libxml2 + dev-libs/libxslt + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + sys-libs/zlib +" +RDEPEND="${DEPEND}" + +src_prepare() { + eapply_user + + # bug 398743 + sed -i -e '/dnl.*AM_INIT_AUTOMAKE/d' configure.in || die + + # we need to run qmake ourselves using eqmake5 in src_configure to + # ensure we respect CC, *FLAGS, etc. + sed -i -e "/runqmake.sh/d" configure.in || die + + # bug 426262 + mv configure.in configure.ac || die + + # don't install yet another copy of the GPL + sed -i -e '/COPYING/d' doc/doc.pro || die + + eautoreconf +} + +src_configure() { + econf \ + --without-{ccache,distcc} # portage handles ccache/distcc itself + --with-docdir="/usr/share/doc/${PF}" + --with-qmake="$(qt5_get_bindir)/qmake" # use fully-qualified qmake, bug #599466 + + # yes, we really do need to run both econf and eqmake5... + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + +pkg_postinst() { + gnome2_icon_cache_update + + elog "You need to install sys-apps/iproute2" + elog "in order to run the firewall script." +} + +pkg_postrm() { + gnome2_icon_cache_update +} |