summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-02-02 17:35:50 +0100
committerMichał Górny <mgorny@gentoo.org>2024-02-02 17:38:57 +0100
commit24b5e2e7ab8751c06358000ecf04743099669e26 (patch)
tree8653f387a12edaf5e05267f05321074565051e02 /net-firewall
parentdev-python/pychroot: Remove last-rited pkg (diff)
downloadgentoo-24b5e2e7ab8751c06358000ecf04743099669e26.tar.gz
gentoo-24b5e2e7ab8751c06358000ecf04743099669e26.tar.bz2
gentoo-24b5e2e7ab8751c06358000ecf04743099669e26.zip
net-firewall/sanewall: Remove last-rited pkg
Closes: https://bugs.gentoo.org/920659 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/sanewall/Manifest1
-rw-r--r--net-firewall/sanewall/files/sanewall.confd5
-rw-r--r--net-firewall/sanewall/files/sanewall.initd56
-rw-r--r--net-firewall/sanewall/metadata.xml5
-rw-r--r--net-firewall/sanewall/sanewall-1.1.6-r4.ebuild55
5 files changed, 0 insertions, 122 deletions
diff --git a/net-firewall/sanewall/Manifest b/net-firewall/sanewall/Manifest
deleted file mode 100644
index 2232b76cd91c..000000000000
--- a/net-firewall/sanewall/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST sanewall-1.1.6.tar.xz 585316 BLAKE2B 027454da387d251af8268e38a97a7a1c7ee82a95429059ecdae23453a7c31676c5afb0b0f9bbdc4ed60f879479070fb8a057b3a5914290d768736abd1f46cadd SHA512 73260197b88816e90b15fc244a5940c290ec99c82eb8e50338b4f0f88710900c8cd18920c6f319205e527859c0696da28798428ab04b03c7f355c1d8ba6f7ca0
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
-}