diff options
Diffstat (limited to 'net-firewall')
-rw-r--r-- | net-firewall/fwbuilder/Manifest | 1 | ||||
-rw-r--r-- | net-firewall/fwbuilder/files/fwbuilder-6.0.0_p20200502-fix_version.patch | 11 | ||||
-rw-r--r-- | net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild | 40 |
3 files changed, 52 insertions, 0 deletions
diff --git a/net-firewall/fwbuilder/Manifest b/net-firewall/fwbuilder/Manifest index fe13e3b15d1d..688dc22fbc4d 100644 --- a/net-firewall/fwbuilder/Manifest +++ b/net-firewall/fwbuilder/Manifest @@ -1 +1,2 @@ DIST fwbuilder-5.3.7.tar.gz 7332419 BLAKE2B 130c5ab413263b61b7a78dfabe8d0db861ddfd8bfcee62eb11b9ac8c229c9a9e2b6d8a22e296a12e0e9d0fd9b503882eb06e62f7dc0f62487d760191fce8b553 SHA512 d6504ddab17e80cb332f005b6bbb16c15a7b4735361733f0e0437cb94059a5c9039e563be6e0e8d328954db2416b2c0bdbb8afa36cd946f61e7c7edaee47453b +DIST fwbuilder-6.0.0_p20200502.tar.gz 7278610 BLAKE2B 9eabf34445f5dad4af4bf88ec717ad60d6010233d501151ae1e115adcba88c19d883eceb60ae9c9850f200e42eec5eca083be9330dc54b0b681c86e90f3ca581 SHA512 7fcc957ebc6dc3a198fdb857e11b3d29e25018c3107f2edffbfea3794fdd5fad2ba56d7a74209c6d7b30e4287dbb13ab3bf973c8aa3213cfd4a7317e43e713bb diff --git a/net-firewall/fwbuilder/files/fwbuilder-6.0.0_p20200502-fix_version.patch b/net-firewall/fwbuilder/files/fwbuilder-6.0.0_p20200502-fix_version.patch new file mode 100644 index 000000000000..d71de42d26cd --- /dev/null +++ b/net-firewall/fwbuilder/files/fwbuilder-6.0.0_p20200502-fix_version.patch @@ -0,0 +1,11 @@ +--- a/cmake/VERSION.cmake 2020-09-05 14:54:43.767374594 +0200 ++++ b/cmake/VERSION.cmake 2020-09-05 16:13:20.274809080 +0200 +@@ -3,7 +3,7 @@ + set(PROJECT_VERSION_MAJOR "6") + set(PROJECT_VERSION_MINOR "0") + set(PROJECT_VERSION_PATCH "0") +-set(PROJECT_VERSION_EXTRA "-beta") ++set(PROJECT_VERSION_EXTRA "_p20200502") + set(PROJECT_GENERATION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}") + set(PROJECT_GENERATION_SHORT "${PROJECT_VERSION_MAJOR}${PROJECT_VERSION_MINOR}") + set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}${PROJECT_VERSION_EXTRA}") diff --git a/net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild b/net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild new file mode 100644 index 000000000000..d21a58276878 --- /dev/null +++ b/net-firewall/fwbuilder/fwbuilder-6.0.0_p20200502.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 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" ) + +DESCRIPTION="A firewall management GUI for iptables, PF, Cisco routers and more" +HOMEPAGE="https://github.com/fwbuilder/fwbuilder" + +LICENSE="GPL-2+" +SLOT="0" + +RDEPEND=" + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/openssl + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + net-analyzer/net-snmp +" +DEPEND="${RDEPEND}" + +src_install() { + cmake_src_install + docompress -x /usr/share/man +} |