diff options
Diffstat (limited to 'net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild')
-rw-r--r-- | net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild b/net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild index d21a58276878..dfeafb3af235 100644 --- a/net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild +++ b/net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild @@ -1,27 +1,18 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake - -if [[ ${PV} == *9999 ]] -then - EGIT_REPO_URI="https://github.com/fwbuilder/fwbuilder" - inherit git-r3 -else - inherit vcs-snapshot - commit=a5e14a966447c63bcf7b52a0202149e76bd5ed4a - SRC_URI="https://github.com/fwbuilder/fwbuilder/archive/${commit}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -fi -PATCHES=( "${FILESDIR}/${P}-fix_version.patch" ) +inherit cmake vcs-snapshot +MY_COMMIT=a5e14a966447c63bcf7b52a0202149e76bd5ed4a DESCRIPTION="A firewall management GUI for iptables, PF, Cisco routers and more" HOMEPAGE="https://github.com/fwbuilder/fwbuilder" +SRC_URI="https://github.com/fwbuilder/fwbuilder/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" RDEPEND=" dev-libs/libxml2 @@ -34,6 +25,11 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-fix_version.patch + "${FILESDIR}"/${PN}-6.0.0_p20200502-drop-Werror.patch +) + src_install() { cmake_src_install docompress -x /usr/share/man |