diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-firewall/firehol |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-firewall/firehol')
-rw-r--r-- | net-firewall/firehol/Manifest | 12 | ||||
-rw-r--r-- | net-firewall/firehol/files/firehol.conf.d | 2 | ||||
-rw-r--r-- | net-firewall/firehol/files/firehol.initrd | 66 | ||||
-rw-r--r-- | net-firewall/firehol/files/fireqos.conf.d | 2 | ||||
-rw-r--r-- | net-firewall/firehol/files/fireqos.initrd | 44 | ||||
-rw-r--r-- | net-firewall/firehol/firehol-3.1.3-r1.ebuild | 64 | ||||
-rw-r--r-- | net-firewall/firehol/firehol-3.1.3.ebuild | 61 | ||||
-rw-r--r-- | net-firewall/firehol/firehol-3.1.4.ebuild | 64 | ||||
-rw-r--r-- | net-firewall/firehol/metadata.xml | 16 |
9 files changed, 331 insertions, 0 deletions
diff --git a/net-firewall/firehol/Manifest b/net-firewall/firehol/Manifest new file mode 100644 index 000000000000..94c968ea4600 --- /dev/null +++ b/net-firewall/firehol/Manifest @@ -0,0 +1,12 @@ +AUX firehol.conf.d 70 SHA256 0e6bae0a5329d6b527cf0ae7183acf04f0f08f5a931bf5e82a789053faed4e3c SHA512 e6b21b493526770bf5619d09b63f8e6cf7f94fb8059fc8ff2d1f19776cab1320218e103d73219534817464314430faca4e437644befa5330610d948c2ade1a35 WHIRLPOOL f5a4db182e7f04200686a4ab2c2fd76929fed12ba2c7cf36461a5e01ece9d2eaac3caaf98def21dd0a7be4902220f51a82f0281ef0eef3724efc88af4cea4643 +AUX firehol.initrd 1144 SHA256 416bb94a338be8940a68787173e2ab539337685f767b2cbd24094d4b026f5528 SHA512 c582e5f3ebdaf7a8f68c137936bf52600bef2d5f7dc4443db6fbc6eac16ad367d69cb936ad2c1bc6e0f6aa3fcaeac7efd8c40f056fa6ea9a7d876ca3c07767ac WHIRLPOOL 7559ccecd5dab2b61efeaec761c8943ecae9a949ecc4bf447210f99d7f2bb8d1b947447b0297c6222d41df34bf31ddb6ea9405f4d73e7e517b6939566d87a16e +AUX fireqos.conf.d 65 SHA256 c18e2f224ac8e33971c632d7492ed3142059e8fce370713cf72df35cbd0a3b6a SHA512 4dd394f3d896d8bf782cf1157f5bf420ca0e9b2c6238986f3fb17630ec0e12bfcad4ffc6fe2258a7d257e157fed11e01aef26965f3d97c78643c6467639a822c WHIRLPOOL 05cded3032f1db543e1b35eb84963ebadb59a72d3b4cffcf00c31b18346a85795f21bc836eb461688152c8abcd0a221ec46d47dac5302c692c9bb3d67e835d14 +AUX fireqos.initrd 832 SHA256 862aa8fedbe2f52c9eab0d8c9d99cfa9947c8486b88951d3aa45cb4bb0230904 SHA512 87e5b8cff3a6c76780c5bf370e8f628c8e45aa2347d06e68aef65229b7b5f4a2770156019380e892991259145af55be7a84a2b55164530ec34e966baacd666cc WHIRLPOOL 74cbb50553afa56e1d3f34d01bcbdc2ceadf643aaa400ab5daca2f08dca1b26cc09357a386b46cedcec1e2866d72c76616e4a2ec2fa3fcc67bb1aff2957a3cbf +DIST firehol-3.1.3.tar.xz 1476220 SHA256 4693d7238d411ffcaacd1febf7231a9e69657e8b198f1b0726429bdb258372e7 SHA512 6c75b57650d918cfc485f6eb01d69694acd5c7b487a10a566fc26b8d5e0cd6a6a9a09bd8d3219bf4e78aa4fe47f83e5ac399107a07770b787e1ccba3078c5f3f WHIRLPOOL b14628fe4e9f7d0b45231a0720b4142dfd41edadd5bafd74650c8af2c67b5a535b8c32e03c696a06332455b18b18900c063a7cdbeb7582c15b409a83cfea83b7 +DIST firehol-3.1.4.tar.xz 1481320 SHA256 a73c26bb81dfa4c476b7b02c3e71c34715c044c496feea56551614a195b93d7e SHA512 1a17b6e810274b346f66788c4c4736421583e6a4ed76df7a1d7f46dcb99e434460998c05755c8342941413d23c02e2ca0d0bf2123cb555a6c7513d24983a13ed WHIRLPOOL b551cd98641a3ae74a06d29080c70451ee7bd2174f0658ed91c55d42691c4f07d7c248ed63d208c6ef7084294726482ab1d398a79fddeec88865b7308ee10cff +EBUILD firehol-3.1.3-r1.ebuild 1376 SHA256 473e4f994d6746a9792b496796286cb61ce43998077ac714f8993ed3f2ff2dc2 SHA512 3e928126a612dcb3f4c8d44d3cda9756c51126e98c25d1b3d3f76e6c58360cefb5724e45c4e5f2e76e7e568e5ee561d7fe63d7576297367602ecd1908a86db00 WHIRLPOOL 86cec765a811b729f6194e5388c2d8e285a8415f59c99f5e77da2b12f328bbb0d319faf9907df94c0ab5dd77d33e90f0907d42919a9dc821d80309bc443e30e7 +EBUILD firehol-3.1.3.ebuild 1323 SHA256 73b685c027bd7eeb20595d13fa9927af531033fd60b760a2904f7ae8520ff474 SHA512 866ebfc4863d115a9b15e184b317ecdbc9a4d13fc58264b105cd0c744e3568a7cb09a42522c6f2399e5293f8ec2d2ef80b1cfb5bbf2fefc16d564437c7e47144 WHIRLPOOL db5c95da19751e0d00c66ff90454294fa41370c68dc518c20a1b121fd97c79878328ddfab6fa1d147683bf2e5e1d5214a2c9fc6d2a5a5bec7a3c602b9bf65ffc +EBUILD firehol-3.1.4.ebuild 1376 SHA256 473e4f994d6746a9792b496796286cb61ce43998077ac714f8993ed3f2ff2dc2 SHA512 3e928126a612dcb3f4c8d44d3cda9756c51126e98c25d1b3d3f76e6c58360cefb5724e45c4e5f2e76e7e568e5ee561d7fe63d7576297367602ecd1908a86db00 WHIRLPOOL 86cec765a811b729f6194e5388c2d8e285a8415f59c99f5e77da2b12f328bbb0d319faf9907df94c0ab5dd77d33e90f0907d42919a9dc821d80309bc443e30e7 +MISC ChangeLog 5800 SHA256 791075b6f542798b75d4e42bc83a719f46b561de3faaee47851f0e50beba06b6 SHA512 ac475315fbbb8838f29dcf1894793839382b1df1ce24baf0cc4b9fe59803a7a638071350d83b386ecb6b675b6358eec96f12d502950ddea3c5c062561fa52467 WHIRLPOOL 447717c44fa98a680725b00fffcd4093c53e3f6b7bd39344cc6699e56d669d1971f52b4f0cc20e0135dcd2bd46f8d9b55dd0060635109066c9577891c5073cf1 +MISC ChangeLog-2015 10363 SHA256 41530e59b1061e57eeb5482eef585fd484f02ca92833ebcb65c83d1bb3ec566d SHA512 52b17320e2c886a1bc971d56b4666ccc3f7b6bc1048b971e0d98bf4d5bab58f0b6cb8aae99ad05eeaf37b3b0d06905259fd1b616204e4a159a628db4f5bf3380 WHIRLPOOL 55cc0533caf9924584d2d0b82038c94ec961c68c4871a2295cedfb8bb2e505edd205ed3a45974e26e25b19f84806cd7cbbfdff7ccd1eb060e69d11183c47a526 +MISC metadata.xml 434 SHA256 d0a81e31c09376f8bf9dd8e76642a84a0bf32b907c31d44dd4aba2c4063fb9a8 SHA512 9ab3275ada67cf2da92f07d9a332f098330caa81b0a7f5d17a321a03cf6b441e029efab9a8f3eaaff7d7181eb503721aa954c14e0a7982e4f35e16c8eaa57898 WHIRLPOOL aa8f5537377068edc1fe1c424a8f80fdb3c8f41788eca8515794df75b76402a0981238f309225be7b82e28a66901e0fe0bc836977ad8d19a736dd1f1106986a1 diff --git a/net-firewall/firehol/files/firehol.conf.d b/net-firewall/firehol/files/firehol.conf.d new file mode 100644 index 000000000000..c8b06e0eaf09 --- /dev/null +++ b/net-firewall/firehol/files/firehol.conf.d @@ -0,0 +1,2 @@ +#Locate of FireHOL conf file +FIREHOL_CONF="/etc/firehol/firehol.conf" diff --git a/net-firewall/firehol/files/firehol.initrd b/net-firewall/firehol/files/firehol.initrd new file mode 100644 index 000000000000..05fc3a2f11c0 --- /dev/null +++ b/net-firewall/firehol/files/firehol.initrd @@ -0,0 +1,66 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +extra_commands="save panic try" +extra_started_commands="reload" + +depend() { + need localmount + after bootmisc + before net + provide firewall +} + +checkrules() { + if [ ! -f ${FIREHOL_CONF} ]; then + eerror "Not starting FireHOL. Create ${FIREHOL_CONF}" + eerror "and fill it with some rules." + eerror "man firehol.conf for more info." + return 1 + fi +} + +start() { + checkrules || return 1 + ebegin "Starting FireHOL" + /usr/sbin/firehol ${FIREHOL_CONF} start > /dev/null + eend $? +} + +stop() { + ebegin "Stopping FireHOL" + /usr/sbin/firehol stop > /dev/null + eend $? +} + +restart() { + ebegin "Restarting Firewall" + svc_stop; + svc_start; + eend $? +} + +try() { + ebegin "Trying FireHOL configuration" + /usr/sbin/firehol ${FIREHOL_CONF} try + eend $? +} + +status() { + ebegin "Showing FireHOL status" + /usr/sbin/firehol status + eend $? +} + +panic() { + ebegin "FireHOL PANIC" + /usr/sbin/firehol panic + eend $? +} + +save() { + ebegin "Saving FireHOL configuration" + /usr/sbin/firehol save + eend $? +} diff --git a/net-firewall/firehol/files/fireqos.conf.d b/net-firewall/firehol/files/fireqos.conf.d new file mode 100644 index 000000000000..55fa2e037e01 --- /dev/null +++ b/net-firewall/firehol/files/fireqos.conf.d @@ -0,0 +1,2 @@ +#Locate of FireQOS conf file +FIREQOS="/etc/firehol/fireqos.conf" diff --git a/net-firewall/firehol/files/fireqos.initrd b/net-firewall/firehol/files/fireqos.initrd new file mode 100644 index 000000000000..628cc9d3c4a1 --- /dev/null +++ b/net-firewall/firehol/files/fireqos.initrd @@ -0,0 +1,44 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need localmount + after bootmisc + before net +} + +checkrules() { + if [ ! -f ${FIREQOS_CONF} ]; then + eerror "Not starting FireQOS. Create ${FIREQOS_CONF}" + eerror "and fill it with some rules." + eerror "man fireqos.conf for more info." + return 1 + fi +} + +start() { + checkrules || return 1 + ebegin "Starting FireQOS" + /usr/sbin/fireqos start ${FIREQOS_CONF} -- ${FIREQOS_EXTRA_ARGS} > /dev/null + eend $? +} + +stop() { + ebegin "Stopping FireQOS" + /usr/sbin/fireqos stop > /dev/null + eend $? +} + +restart() { + ebegin "Restarting FireQOS" + svc_stop; + svc_start; + eend $? +} + +status() { + ebegin "Showing FireQOS status" + /usr/sbin/fireqos status + eend $? +} diff --git a/net-firewall/firehol/firehol-3.1.3-r1.ebuild b/net-firewall/firehol/firehol-3.1.3-r1.ebuild new file mode 100644 index 000000000000..f95d2d08acfd --- /dev/null +++ b/net-firewall/firehol/firehol-3.1.3-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-info + +DESCRIPTION="iptables firewall generator" +HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol" +SRC_URI="https://github.com/firehol/firehol/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc ipv6 ipset" +KEYWORDS="~amd64 ~arm ~ppc" + +RDEPEND="net-firewall/iptables + sys-apps/iproute2[-minimal,ipv6?] + net-misc/iputils[ipv6?] + net-misc/iprange + net-analyzer/traceroute + virtual/modutils + app-arch/gzip + ipset? ( + net-firewall/ipset + )" +DEPEND="${RDEPEND}" + +pkg_setup() { + local KCONFIG_OPTS=" \ + ~IP_NF_FILTER \ + ~IP_NF_IPTABLES \ + ~IP_NF_MANGLE \ + ~IP_NF_TARGET_MASQUERADE + ~IP_NF_TARGET_REDIRECT \ + ~IP_NF_TARGET_REJECT \ + ~NETFILTER_XT_MATCH_LIMIT \ + ~NETFILTER_XT_MATCH_OWNER \ + ~NETFILTER_XT_MATCH_STATE \ + ~NF_CONNTRACK \ + ~NF_CONNTRACK_IPV4 \ + ~NF_CONNTRACK_MARK \ + ~NF_NAT \ + ~NF_NAT_FTP \ + ~NF_NAT_IRC \ + " + linux-info_pkg_setup +} + +src_configure() { + econf \ + --disable-vnetbuild \ + $(use_enable ipset update-ipsets) \ + $(use_enable doc) \ + $(use_enable ipv6) +} + +src_install() { + default + + newconfd "${FILESDIR}"/firehol.conf.d firehol + newinitd "${FILESDIR}"/firehol.initrd firehol + newconfd "${FILESDIR}"/fireqos.conf.d fireqos + newinitd "${FILESDIR}"/fireqos.initrd fireqos +} diff --git a/net-firewall/firehol/firehol-3.1.3.ebuild b/net-firewall/firehol/firehol-3.1.3.ebuild new file mode 100644 index 000000000000..dec6cac43afb --- /dev/null +++ b/net-firewall/firehol/firehol-3.1.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-info + +DESCRIPTION="iptables firewall generator" +HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol" +SRC_URI="https://github.com/firehol/firehol/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc ipv6" +KEYWORDS="amd64 arm ppc" + +RDEPEND="net-firewall/iptables + sys-apps/iproute2[-minimal,ipv6?] + net-misc/iputils[ipv6?] + net-misc/iprange + net-analyzer/traceroute + virtual/modutils + app-arch/gzip" +DEPEND="${RDEPEND}" + +pkg_setup() { + local KCONFIG_OPTS=" \ + ~IP_NF_FILTER \ + ~IP_NF_IPTABLES \ + ~IP_NF_MANGLE \ + ~IP_NF_TARGET_MASQUERADE + ~IP_NF_TARGET_REDIRECT \ + ~IP_NF_TARGET_REJECT \ + ~NETFILTER_XT_MATCH_LIMIT \ + ~NETFILTER_XT_MATCH_OWNER \ + ~NETFILTER_XT_MATCH_STATE \ + ~NF_CONNTRACK \ + ~NF_CONNTRACK_IPV4 \ + ~NF_CONNTRACK_MARK \ + ~NF_NAT \ + ~NF_NAT_FTP \ + ~NF_NAT_IRC \ + " + linux-info_pkg_setup +} + +src_configure() { + econf \ + --disable-vnetbuild \ + --disable-update-ipsets \ + $(use_enable doc) \ + $(use_enable ipv6) +} + +src_install() { + default + + newconfd "${FILESDIR}"/firehol.conf.d firehol + newinitd "${FILESDIR}"/firehol.initrd firehol + newconfd "${FILESDIR}"/fireqos.conf.d fireqos + newinitd "${FILESDIR}"/fireqos.initrd fireqos +} diff --git a/net-firewall/firehol/firehol-3.1.4.ebuild b/net-firewall/firehol/firehol-3.1.4.ebuild new file mode 100644 index 000000000000..f95d2d08acfd --- /dev/null +++ b/net-firewall/firehol/firehol-3.1.4.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit linux-info + +DESCRIPTION="iptables firewall generator" +HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol" +SRC_URI="https://github.com/firehol/firehol/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc ipv6 ipset" +KEYWORDS="~amd64 ~arm ~ppc" + +RDEPEND="net-firewall/iptables + sys-apps/iproute2[-minimal,ipv6?] + net-misc/iputils[ipv6?] + net-misc/iprange + net-analyzer/traceroute + virtual/modutils + app-arch/gzip + ipset? ( + net-firewall/ipset + )" +DEPEND="${RDEPEND}" + +pkg_setup() { + local KCONFIG_OPTS=" \ + ~IP_NF_FILTER \ + ~IP_NF_IPTABLES \ + ~IP_NF_MANGLE \ + ~IP_NF_TARGET_MASQUERADE + ~IP_NF_TARGET_REDIRECT \ + ~IP_NF_TARGET_REJECT \ + ~NETFILTER_XT_MATCH_LIMIT \ + ~NETFILTER_XT_MATCH_OWNER \ + ~NETFILTER_XT_MATCH_STATE \ + ~NF_CONNTRACK \ + ~NF_CONNTRACK_IPV4 \ + ~NF_CONNTRACK_MARK \ + ~NF_NAT \ + ~NF_NAT_FTP \ + ~NF_NAT_IRC \ + " + linux-info_pkg_setup +} + +src_configure() { + econf \ + --disable-vnetbuild \ + $(use_enable ipset update-ipsets) \ + $(use_enable doc) \ + $(use_enable ipv6) +} + +src_install() { + default + + newconfd "${FILESDIR}"/firehol.conf.d firehol + newinitd "${FILESDIR}"/firehol.initrd firehol + newconfd "${FILESDIR}"/fireqos.conf.d fireqos + newinitd "${FILESDIR}"/fireqos.initrd fireqos +} diff --git a/net-firewall/firehol/metadata.xml b/net-firewall/firehol/metadata.xml new file mode 100644 index 000000000000..1e8e9bca98d8 --- /dev/null +++ b/net-firewall/firehol/metadata.xml @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alonbl@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">firehol</remote-id> + <remote-id type="github">firehol/firehol</remote-id> + </upstream> + <use> + <flag name="ipset"> + Use <pkg>net-firewall/ipset</pkg>. + </flag> + </use> +</pkgmetadata> |