From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- net-firewall/sanewall/Manifest | 2 +- net-firewall/sanewall/sanewall-1.1.6-r2.ebuild | 55 -------------------------- net-firewall/sanewall/sanewall-1.1.6-r3.ebuild | 55 ++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 net-firewall/sanewall/sanewall-1.1.6-r2.ebuild create mode 100644 net-firewall/sanewall/sanewall-1.1.6-r3.ebuild (limited to 'net-firewall/sanewall') diff --git a/net-firewall/sanewall/Manifest b/net-firewall/sanewall/Manifest index a29a94215b4c..b8190e854292 100644 --- a/net-firewall/sanewall/Manifest +++ b/net-firewall/sanewall/Manifest @@ -1,5 +1,5 @@ AUX sanewall.confd 120 BLAKE2B e2b3da4e1b3106641d8bab89ee61597e25b4a3f8f87fc6586de77d46eaed8bb108044c0f32c1f079a6068a94ed496c02cf9368433261f6b6755a277fce613f6c SHA512 5b8468d6e167ab00e37481618650f4844cb186465097a3cbca8a462940f324d50447d464d8db58666c77909231c3d664022bd7979501d3496ad627bf726cfa7e AUX sanewall.initd 1051 BLAKE2B 3b5523d5c0b779aa76154ab0ab14f5c43bb742df68ea3bee6649c9fa3a7b089dbf7ffcea60cc27e8f2d80262197107f630ed0dec3862cd084ba75431f11a44d5 SHA512 2272e7ee2a7d2c0bf97d1fdfb0cfd2b271626d8934545fca20c1c3757b4b90f5f715417c0e2d48e900a12a4d72a5fb0005294ef753b3c1b1ed8d5f217da7f571 DIST sanewall-1.1.6.tar.xz 585316 BLAKE2B 027454da387d251af8268e38a97a7a1c7ee82a95429059ecdae23453a7c31676c5afb0b0f9bbdc4ed60f879479070fb8a057b3a5914290d768736abd1f46cadd SHA512 73260197b88816e90b15fc244a5940c290ec99c82eb8e50338b4f0f88710900c8cd18920c6f319205e527859c0696da28798428ab04b03c7f355c1d8ba6f7ca0 -EBUILD sanewall-1.1.6-r2.ebuild 1439 BLAKE2B 0725483e4518c9233e66bc5c840c41c5cb0bdbf565d93d7e6d33ac2c1a88fbdbb4947da25dd70fb4e0c2f1a5ad9bfc0b3496de32d810a3ad8558f6ae4b3675d5 SHA512 ce01eb7dea512976aa0810a7f98817d0c2cd29f88fcc155d059d6248b52d524233cab93dab841d3aaab8fe6151ee904c9c102e426f712aeb314d19d53ba84915 +EBUILD sanewall-1.1.6-r3.ebuild 1443 BLAKE2B c74b59f365f608601ceb187cea157addd9802d923e3a1d33ec0a306a429960cc613b7628ed4f22ed33c9fee578743c1b296c404398da21380b25ecf50a3840ec SHA512 4ceaea699a68fde92510b1e10485aca5e9dea25de2e03e1b293c6e73d8acc7d15e0e5a1a076f34b3dfb782bd2240cd71d941ca3686a34ba88b451c925a3bb7df MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild b/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild deleted file mode 100644 index 61fc3947d9d8..000000000000 --- a/net-firewall/sanewall/sanewall-1.1.6-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit linux-info - -DESCRIPTION="iptables firewall generator (fork of firehol)" -HOMEPAGE="https://www.sanewall.org" -SRC_URI="https://download.sanewall.org/releases/${PV}/${P}.tar.xz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - net-firewall/iptables[ipv6] - sys-apps/iproute2[-minimal] - sys-apps/net-tools - virtual/modutils - || ( - net-misc/wget - net-misc/curl - ) -" -DEPEND="" - -pkg_setup() { - local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT ~NF_NAT_FTP ~NF_NAT_IRC \ - ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT ~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \ - ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \ - ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE ~NETFILTER_XT_MATCH_OWNER" - - get_version - if [[ ${KV_PATCH} -ge 25 ]] ; then - CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}" - else - CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}" - fi - linux-info_pkg_setup -} - -src_install() { - default - newconfd "${FILESDIR}"/${PN}.confd ${PN} - newinitd "${FILESDIR}"/${PN}.initd ${PN} -} - -pkg_postinst() { - # install default configuration if it doesn't exist - if [[ ! -e "${ROOT}"/etc/${PN}/${PN}.conf ]] ; then - einfo "Installing a sample configuration to ${ROOT}/etc/${PN}/${PN}.conf" - cp "${ROOT}"/etc/${PN}/${PN}.conf.example "${ROOT}"/etc/${PN}/${PN}.conf || die - fi -} diff --git a/net-firewall/sanewall/sanewall-1.1.6-r3.ebuild b/net-firewall/sanewall/sanewall-1.1.6-r3.ebuild new file mode 100644 index 000000000000..0fe04aa29826 --- /dev/null +++ b/net-firewall/sanewall/sanewall-1.1.6-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-info + +DESCRIPTION="iptables firewall generator (fork of firehol)" +HOMEPAGE="https://www.sanewall.org" +SRC_URI="https://download.sanewall.org/releases/${PV}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + net-firewall/iptables[ipv6] + sys-apps/iproute2[-minimal] + sys-apps/kmod[tools] + sys-apps/net-tools + || ( + net-misc/wget + net-misc/curl + ) +" +DEPEND="" + +pkg_setup() { + local KCONFIG_OPTS="~NF_CONNTRACK_IPV4 ~NF_CONNTRACK_MARK ~NF_NAT ~NF_NAT_FTP ~NF_NAT_IRC \ + ~IP_NF_IPTABLES ~IP_NF_FILTER ~IP_NF_TARGET_REJECT ~IP_NF_TARGET_LOG ~IP_NF_TARGET_ULOG \ + ~IP_NF_TARGET_MASQUERADE ~IP_NF_TARGET_REDIRECT ~IP_NF_MANGLE \ + ~NETFILTER_XT_MATCH_LIMIT ~NETFILTER_XT_MATCH_STATE ~NETFILTER_XT_MATCH_OWNER" + + get_version + if [[ ${KV_PATCH} -ge 25 ]] ; then + CONFIG_CHECK="~NF_CONNTRACK ${KCONFIG_OPTS}" + else + CONFIG_CHECK="~NF_CONNTRACK_ENABLED ${KCONFIG_OPTS}" + fi + linux-info_pkg_setup +} + +src_install() { + default + newconfd "${FILESDIR}"/${PN}.confd ${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} +} + +pkg_postinst() { + # install default configuration if it doesn't exist + if [[ ! -e "${ROOT}"/etc/${PN}/${PN}.conf ]] ; then + einfo "Installing a sample configuration to ${ROOT}/etc/${PN}/${PN}.conf" + cp "${ROOT}"/etc/${PN}/${PN}.conf.example "${ROOT}"/etc/${PN}/${PN}.conf || die + fi +} -- cgit v1.2.3