public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/, net-firewall/sanewall/files/, profiles/
@ 2024-02-02 16:39 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2024-02-02 16:39 UTC (permalink / raw
  To: gentoo-commits

commit:     24b5e2e7ab8751c06358000ecf04743099669e26
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  2 16:35:50 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb  2 16:38:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b5e2e7

net-firewall/sanewall: Remove last-rited pkg

Closes: https://bugs.gentoo.org/920659
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-firewall/sanewall/Manifest                 |  1 -
 net-firewall/sanewall/files/sanewall.confd     |  5 ---
 net-firewall/sanewall/files/sanewall.initd     | 56 --------------------------
 net-firewall/sanewall/metadata.xml             |  5 ---
 net-firewall/sanewall/sanewall-1.1.6-r4.ebuild | 55 -------------------------
 profiles/package.mask                          |  6 ---
 6 files changed, 128 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
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 2cf28d20bfbb..4d54a5da29d5 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -209,12 +209,6 @@ dev-python/pylama
 # Removal on 2024-01-30.  Bug #920658.
 net-misc/monmotha
 
-# Michał Górny <mgorny@gentoo.org> (2023-12-31)
-# Discontinued fork of net-firewall/firehol.  Last updated in 2013.
-# Unmaintained in Gentoo since 2015.  Use the original package instead.
-# Removal on 2024-01-30.  Bug #920659.
-net-firewall/sanewall
-
 # Andreas Sturmlechner <asturm@gentoo.org> (2023-12-25)
 # Masked until KF6 is unmasked.
 ~media-libs/mpvqt-1.0.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-02 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-02 16:39 [gentoo-commits] repo/gentoo:master commit in: net-firewall/sanewall/, net-firewall/sanewall/files/, profiles/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox