From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- net-firewall/firewalld/Manifest | 4 +- net-firewall/firewalld/firewalld-0.6.3-r1.ebuild | 102 +++++++++++++++++++++++ net-firewall/firewalld/firewalld-0.6.3.ebuild | 100 ---------------------- net-firewall/firewalld/firewalld-0.7.1-r1.ebuild | 101 ++++++++++++++++++++++ net-firewall/firewalld/firewalld-0.7.1.ebuild | 99 ---------------------- 5 files changed, 205 insertions(+), 201 deletions(-) create mode 100644 net-firewall/firewalld/firewalld-0.6.3-r1.ebuild delete mode 100644 net-firewall/firewalld/firewalld-0.6.3.ebuild create mode 100644 net-firewall/firewalld/firewalld-0.7.1-r1.ebuild delete mode 100644 net-firewall/firewalld/firewalld-0.7.1.ebuild (limited to 'net-firewall/firewalld') diff --git a/net-firewall/firewalld/Manifest b/net-firewall/firewalld/Manifest index 1a2f91aefed7..1430feeceaf6 100644 --- a/net-firewall/firewalld/Manifest +++ b/net-firewall/firewalld/Manifest @@ -1,6 +1,6 @@ AUX firewalld.init 250 BLAKE2B 1c0f690e24313037b801902aa772a9d1cb6889a05f142bc3d84602002ef053cd059b5193983f9fe6d89065a070a566a6a9ba8212a092435953ebed80ea7c7b40 SHA512 457cda01449f38563e98e1db937fe1c50745eab91797f52687e3ab9f5d94dd42d129740ae6669e99666a3f096d631dd3a44e66010b638b31b9c6ba798362403e DIST firewalld-0.6.3.tar.gz 2294470 BLAKE2B 09bb971d8142e5d28b6a085527e7f5275090f15e5dc4ccf2b16b6ed837049ed75443b09a54db76e37c6f0c5db6524ba85cf34c5117c1139bba0e3b223f289d57 SHA512 ea9e8bad34d3608257ef2a38851855974eff97b21dbab93ca3d8cfad90339734a8124447ed531a978b41546ab4040135bb61c8fdc9677ba0df9188d7ee4422ee DIST firewalld-0.7.1.tar.gz 2326020 BLAKE2B 1ab435bfd97608ce246657a24daebe6ca83f72560a627c702e940de64bf4fb34f26ebe9abf62468972fd8cd9394c5e885acd6882ec3cad112dfe62bca3905c7a SHA512 6be842d4c2849f56fc0e6c13219aed7d767635a3b190ef41f1516cecf51de71ad9af77ccc96b699d11bed56407abf9837cdbd0cfbf93ab716b5de5e4c2f94c68 -EBUILD firewalld-0.6.3.ebuild 2549 BLAKE2B 568f2cca76e45714bbc137d977ff626725200943c29efaafe45237a700af162c2fda6c58f582d6937b11c6ddd82cea0532f377b7b46943587ff801944735e00f SHA512 26904a7bfc9ce31d972466ad8e25bd8d8cd2cd4b3885c89e8b0fa77e1a6bc208fde6886102698ab3927f8793302b1b3bbf66b2dc0824f9eb179a6e46cd8fc0aa -EBUILD firewalld-0.7.1.ebuild 2540 BLAKE2B 7ad7acc7c1f796603c21f33f5b2da9500d2ba19909f0f9758b51a3bdf3abb9d8eafc61a4e15b504df06a81d67a390969885040243d36b91544803ebc234a9124 SHA512 d5a2d14001a75af6808b53026aa10a4d418d0732df6874505c130550633865191e6c67d2c2ec1e8f0417c82a47397d585376ca9ca244d2d8dbe03a5c2c9ba205 +EBUILD firewalld-0.6.3-r1.ebuild 2616 BLAKE2B 598544370854bed198fbc79d45c2b8160cfc382174bb2554e4f451f2fee8208461b7163be17ec0b5badb65de9644e68bb7e8d07735fa718d5bbecee2d1a96ab1 SHA512 6ee2e5f1433bd6fe021528188eabf5fccc1db7ea14c076c8951f22be85aaad67ba22530386517632297cef2f799bbe7d47c225223cf7d20198c9259c644097f0 +EBUILD firewalld-0.7.1-r1.ebuild 2607 BLAKE2B d1d08d05aca74180e838722fd7470316d13f6d34fddc02c612a1f26efac66851609d5ffb5d10817a262beea99f3e67798e17696bcaab1c7dbd29d1b0d2712af3 SHA512 0daf8e834f117c67f2f900a42c48b037febb53eaa4e17e485843f0340343bd5983c0167b4968a39197e6f8a0321a1365dcce56d6f851311be4ab7bace33ce810 MISC metadata.xml 271 BLAKE2B 0ac34325897226d2062f0b77cc069fcacd6026432b276adcdc2e7c9ef532cc1900855dd821d0b6314ac77488fd0695f916e821fc11148f3b9f2753bc97afbe2f SHA512 0cd444be2e9b4a1530671dc4fc88a2177541dceb453dca10a1778938d8f114caaa55a01551b662c29e0e775aa9e9df9389b4a5d5ab4fba643da447ac2e7aca32 diff --git a/net-firewall/firewalld/firewalld-0.6.3-r1.ebuild b/net-firewall/firewalld/firewalld-0.6.3-r1.ebuild new file mode 100644 index 000000000000..3035cef8c28a --- /dev/null +++ b/net-firewall/firewalld/firewalld-0.6.3-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_6,3_7} ) + +inherit autotools gnome2-utils linux-info python-single-r1 systemd bash-completion-r1 + +DESCRIPTION="A firewall daemon with D-BUS interface providing a dynamic firewall" +HOMEPAGE="http://www.firewalld.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="gui" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + !!net-firewall/gshield + || ( net-firewall/ebtables net-firewall/iptables[nftables] ) + net-firewall/iptables[ipv6] + net-firewall/ipset + net-firewall/nftables + || ( >=sys-apps/openrc-0.11.5 sys-apps/systemd ) + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/decorator[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-slip-0.2.7[dbus,${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + gui? ( + x11-libs/gtk+:3 + dev-python/PyQt5[gui,widgets,${PYTHON_MULTI_USEDEP}] + ) + ')" +DEPEND="${RDEPEND} + dev-libs/glib:2 + >=dev-util/intltool-0.35 + sys-devel/gettext" + +RESTRICT="test" # bug 650760 + +pkg_setup() { + local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_IPV6 ~NETFILTER_XT_MATCH_CONNTRACK" + linux-info_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + python_setup + + econf \ + --enable-systemd \ + --with-iptables="${EPREFIX}/sbin/iptables" \ + --with-ip6tables="${EPREFIX}/sbin/ip6tables" \ + --with-iptables_restore="${EPREFIX}/sbin/iptables-restore" \ + --with-ip6tables_restore="${EPREFIX}/sbin/ip6tables-restore" \ + --with-ebtables="${EPREFIX}/sbin/ebtables" \ + --with-ebtables_restore="${EPREFIX}/sbin/ebtables-restore" \ + --with-nft="${EPREFIX}/sbin/nft" \ + --with-systemd-unitdir="$(systemd_get_systemunitdir)" \ + --with-bashcompletiondir="$(get_bashcompdir)" +} + +src_install() { + default + python_optimize + + # Get rid of junk + rm -rf "${D}/etc/rc.d/" || die + rm -rf "${D}/etc/sysconfig/" || die + + # For non-gui installs we need to remove GUI bits + if ! use gui; then + rm -rf "${D}/etc/xdg/autostart" || die + rm -f "${D}/usr/bin/firewall-applet" || die + rm -f "${D}/usr/bin/firewall-config" || die + rm -rf "${D}/usr/share/applications" || die + rm -rf "${D}/usr/share/icons" || die + fi + + newinitd "${FILESDIR}"/firewalld.init firewalld +} + +pkg_preinst() { + gnome2_icon_savelist + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + gnome2_icon_cache_update + gnome2_schemas_update +} diff --git a/net-firewall/firewalld/firewalld-0.6.3.ebuild b/net-firewall/firewalld/firewalld-0.6.3.ebuild deleted file mode 100644 index 1623b9983834..000000000000 --- a/net-firewall/firewalld/firewalld-0.6.3.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6,3_7} ) - -inherit autotools gnome2-utils linux-info python-single-r1 systemd bash-completion-r1 - -DESCRIPTION="A firewall daemon with D-BUS interface providing a dynamic firewall" -HOMEPAGE="http://www.firewalld.org/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="gui" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - !!net-firewall/gshield - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/python-slip-0.2.7[dbus,${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - || ( net-firewall/ebtables net-firewall/iptables[nftables] ) - net-firewall/iptables[ipv6] - net-firewall/ipset - net-firewall/nftables - || ( >=sys-apps/openrc-0.11.5 sys-apps/systemd ) - gui? ( - x11-libs/gtk+:3 - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND} - dev-libs/glib:2 - >=dev-util/intltool-0.35 - sys-devel/gettext" - -RESTRICT="test" # bug 650760 - -pkg_setup() { - local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_IPV6 ~NETFILTER_XT_MATCH_CONNTRACK" - linux-info_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - python_setup - - econf \ - --enable-systemd \ - --with-iptables="${EPREFIX}/sbin/iptables" \ - --with-ip6tables="${EPREFIX}/sbin/ip6tables" \ - --with-iptables_restore="${EPREFIX}/sbin/iptables-restore" \ - --with-ip6tables_restore="${EPREFIX}/sbin/ip6tables-restore" \ - --with-ebtables="${EPREFIX}/sbin/ebtables" \ - --with-ebtables_restore="${EPREFIX}/sbin/ebtables-restore" \ - --with-nft="${EPREFIX}/sbin/nft" \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \ - --with-bashcompletiondir="$(get_bashcompdir)" -} - -src_install() { - default - python_optimize - - # Get rid of junk - rm -rf "${D}/etc/rc.d/" || die - rm -rf "${D}/etc/sysconfig/" || die - - # For non-gui installs we need to remove GUI bits - if ! use gui; then - rm -rf "${D}/etc/xdg/autostart" || die - rm -f "${D}/usr/bin/firewall-applet" || die - rm -f "${D}/usr/bin/firewall-config" || die - rm -rf "${D}/usr/share/applications" || die - rm -rf "${D}/usr/share/icons" || die - fi - - newinitd "${FILESDIR}"/firewalld.init firewalld -} - -pkg_preinst() { - gnome2_icon_savelist - gnome2_schemas_savelist -} - -pkg_postinst() { - gnome2_icon_cache_update - gnome2_schemas_update -} - -pkg_postrm() { - gnome2_icon_cache_update - gnome2_schemas_update -} diff --git a/net-firewall/firewalld/firewalld-0.7.1-r1.ebuild b/net-firewall/firewalld/firewalld-0.7.1-r1.ebuild new file mode 100644 index 000000000000..af7ce3dfdc23 --- /dev/null +++ b/net-firewall/firewalld/firewalld-0.7.1-r1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_6,3_7} ) + +inherit autotools bash-completion-r1 gnome2-utils linux-info python-single-r1 systemd xdg-utils + +DESCRIPTION="A firewall daemon with D-BUS interface providing a dynamic firewall" +HOMEPAGE="http://www.firewalld.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="gui" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + !!net-firewall/gshield + net-firewall/iptables[ipv6] + || ( net-firewall/iptables[nftables] net-firewall/ebtables ) + net-firewall/ipset + net-firewall/nftables + || ( >=sys-apps/openrc-0.11.5 sys-apps/systemd ) + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/decorator[${PYTHON_MULTI_USEDEP}] + >=dev-python/python-slip-0.2.7[dbus,${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + gui? ( + x11-libs/gtk+:3 + dev-python/PyQt5[gui,widgets,${PYTHON_MULTI_USEDEP}] + ) + ')" +DEPEND="${RDEPEND} + dev-libs/glib:2 + >=dev-util/intltool-0.35 + sys-devel/gettext" + +RESTRICT="test" # bug 650760 + +pkg_setup() { + local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_IPV6 ~NETFILTER_XT_MATCH_CONNTRACK" + linux-info_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + python_setup + + econf \ + --enable-systemd \ + --with-iptables="${EPREFIX}/sbin/iptables" \ + --with-ip6tables="${EPREFIX}/sbin/ip6tables" \ + --with-iptables_restore="${EPREFIX}/sbin/iptables-restore" \ + --with-ip6tables_restore="${EPREFIX}/sbin/ip6tables-restore" \ + --with-ebtables="${EPREFIX}/sbin/ebtables" \ + --with-ebtables_restore="${EPREFIX}/sbin/ebtables-restore" \ + --with-nft="${EPREFIX}/sbin/nft" \ + --with-systemd-unitdir="$(systemd_get_systemunitdir)" \ + --with-bashcompletiondir="$(get_bashcompdir)" +} + +src_install() { + default + python_optimize + + # Get rid of junk + rm -rf "${D}/etc/rc.d/" || die + rm -rf "${D}/etc/sysconfig/" || die + + # For non-gui installs we need to remove GUI bits + if ! use gui; then + rm -rf "${D}/etc/xdg/autostart" || die + rm -f "${D}/usr/bin/firewall-applet" || die + rm -f "${D}/usr/bin/firewall-config" || die + rm -rf "${D}/usr/share/applications" || die + rm -rf "${D}/usr/share/icons" || die + fi + + newinitd "${FILESDIR}"/firewalld.init firewalld +} + +pkg_preinst() { + gnome2_schemas_savelist +} + +pkg_postinst() { + xdg_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_icon_cache_update + gnome2_schemas_update +} diff --git a/net-firewall/firewalld/firewalld-0.7.1.ebuild b/net-firewall/firewalld/firewalld-0.7.1.ebuild deleted file mode 100644 index 2e7f5223fef9..000000000000 --- a/net-firewall/firewalld/firewalld-0.7.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python{2_7,3_6,3_7} ) - -inherit autotools bash-completion-r1 gnome2-utils linux-info python-single-r1 systemd xdg-utils - -DESCRIPTION="A firewall daemon with D-BUS interface providing a dynamic firewall" -HOMEPAGE="http://www.firewalld.org/" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="gui" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - !!net-firewall/gshield - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/decorator[${PYTHON_USEDEP}] - >=dev-python/python-slip-0.2.7[dbus,${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - net-firewall/iptables[ipv6] - || ( net-firewall/iptables[nftables] net-firewall/ebtables ) - net-firewall/ipset - net-firewall/nftables - || ( >=sys-apps/openrc-0.11.5 sys-apps/systemd ) - gui? ( - x11-libs/gtk+:3 - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND} - dev-libs/glib:2 - >=dev-util/intltool-0.35 - sys-devel/gettext" - -RESTRICT="test" # bug 650760 - -pkg_setup() { - local CONFIG_CHECK="~NF_CONNTRACK ~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_IPV6 ~NETFILTER_XT_MATCH_CONNTRACK" - linux-info_pkg_setup -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - python_setup - - econf \ - --enable-systemd \ - --with-iptables="${EPREFIX}/sbin/iptables" \ - --with-ip6tables="${EPREFIX}/sbin/ip6tables" \ - --with-iptables_restore="${EPREFIX}/sbin/iptables-restore" \ - --with-ip6tables_restore="${EPREFIX}/sbin/ip6tables-restore" \ - --with-ebtables="${EPREFIX}/sbin/ebtables" \ - --with-ebtables_restore="${EPREFIX}/sbin/ebtables-restore" \ - --with-nft="${EPREFIX}/sbin/nft" \ - --with-systemd-unitdir="$(systemd_get_systemunitdir)" \ - --with-bashcompletiondir="$(get_bashcompdir)" -} - -src_install() { - default - python_optimize - - # Get rid of junk - rm -rf "${D}/etc/rc.d/" || die - rm -rf "${D}/etc/sysconfig/" || die - - # For non-gui installs we need to remove GUI bits - if ! use gui; then - rm -rf "${D}/etc/xdg/autostart" || die - rm -f "${D}/usr/bin/firewall-applet" || die - rm -f "${D}/usr/bin/firewall-config" || die - rm -rf "${D}/usr/share/applications" || die - rm -rf "${D}/usr/share/icons" || die - fi - - newinitd "${FILESDIR}"/firewalld.init firewalld -} - -pkg_preinst() { - gnome2_schemas_savelist -} - -pkg_postinst() { - xdg_icon_cache_update - gnome2_schemas_update -} - -pkg_postrm() { - xdg_icon_cache_update - gnome2_schemas_update -} -- cgit v1.2.3