diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-02 17:45:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-02 17:45:32 +0000 |
commit | 5939313f229e6fcf374fb7e9ee4f8675b05ab293 (patch) | |
tree | 0a8181cbc5d052ab4d26a8e1d2dc52f126063fc6 /net-firewall/sanewall | |
parent | 7e3d6dcede5749fe6a1adef4e673a9dde7703b7b (diff) |
gentoo auto-resync : 02:02:2024 - 17:45:32
Diffstat (limited to 'net-firewall/sanewall')
-rw-r--r-- | net-firewall/sanewall/Manifest | 5 | ||||
-rw-r--r-- | net-firewall/sanewall/files/sanewall.confd | 5 | ||||
-rw-r--r-- | net-firewall/sanewall/files/sanewall.initd | 56 | ||||
-rw-r--r-- | net-firewall/sanewall/metadata.xml | 5 | ||||
-rw-r--r-- | net-firewall/sanewall/sanewall-1.1.6-r4.ebuild | 55 |
5 files changed, 0 insertions, 126 deletions
diff --git a/net-firewall/sanewall/Manifest b/net-firewall/sanewall/Manifest deleted file mode 100644 index a4a00faa9e9b..000000000000 --- a/net-firewall/sanewall/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -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-r4.ebuild 1446 BLAKE2B 222a29899c98a16b1190e1ecfc16d1bc11df69c041df941d0c99fbc4126f1626db87898a6707fac83e98622bdb4c26a7beebbb058065b9bddb8a63c06bedd189 SHA512 39773032845206c36786df2dd65a996a506cf752baf6717777334f55a35c9028962e9737aa958e941fd612d7620b2a2af210dd82959a3ba99d3f0411a561b733 -MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/net-firewall/sanewall/files/sanewall.confd b/net-firewall/sanewall/files/sanewall.confd deleted file mode 100644 index 2193b04d49bf..000000000000 --- a/net-firewall/sanewall/files/sanewall.confd +++ /dev/null @@ -1,5 +0,0 @@ -# location of sanewall config -SANEWALL_CONFIG="/etc/sanewall/sanewall.conf" - -# arguments for sanewall -#SANEWALL_OPTS="" diff --git a/net-firewall/sanewall/files/sanewall.initd b/net-firewall/sanewall/files/sanewall.initd deleted file mode 100644 index c13d2df106ad..000000000000 --- a/net-firewall/sanewall/files/sanewall.initd +++ /dev/null @@ -1,56 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 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 -} - -start_pre() { - if [ ! -f ${SANEWALL_CONFIG} ]; then - eerror "Not starting sanewall, missing config file ${SANEWALL_CONFIG}." - return 1 - fi -} - -start() { - ebegin "Starting sanewall" - /usr/sbin/sanewall ${SANEWALL_OPTS} ${SANEWALL_CONFIG} start >/dev/null - eend $? -} - -stop() { - ebegin "Stopping sanewall" - /usr/sbin/sanewall ${SANEWALL_OPTS} stop >/dev/null - eend $? -} - -try() { - ebegin "Trying sanewall configuration" - /usr/sbin/sanewall ${SANEWALL_OPTS} ${SANEWALL_CONFIG} try - eend $? -} - -status() { - ebegin "Showing sanewall status" - /usr/sbin/sanewall ${SANEWALL_OPTS} status - eend $? -} - -panic() { - ebegin "sanewall panic" - /usr/sbin/sanewall ${SANEWALL_OPTS} panic - eend $? -} - -save() { - ebegin "Saving sanewall configuration" - /usr/sbin/sanewall ${SANEWALL_OPTS} save - eend $? -} diff --git a/net-firewall/sanewall/metadata.xml b/net-firewall/sanewall/metadata.xml deleted file mode 100644 index 85e4ed814fa2..000000000000 --- a/net-firewall/sanewall/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -</pkgmetadata> diff --git a/net-firewall/sanewall/sanewall-1.1.6-r4.ebuild b/net-firewall/sanewall/sanewall-1.1.6-r4.ebuild deleted file mode 100644 index 3381cbed5e8b..000000000000 --- a/net-firewall/sanewall/sanewall-1.1.6-r4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 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 -} |