ipset-7.11-4.el9

- Improve deprecation notice a bit

Related: rhbz#1945190
This commit is contained in:
Phil Sutter 2021-07-02 18:10:17 +02:00
parent 2d3ca2a6c9
commit c24fda81bb
2 changed files with 38 additions and 15 deletions

View File

@ -1,28 +1,48 @@
From f40f76687f6000c9d12f296ce2f2c2a89125b7e3 Mon Sep 17 00:00:00 2001 From e9398b721855f8fbfb30a21d475d0aeb7f85bbe5 Mon Sep 17 00:00:00 2001
From: Phil Sutter <psutter@redhat.com> From: Phil Sutter <psutter@redhat.com>
Date: Fri, 25 Jun 2021 13:47:57 +0200 Date: Fri, 25 Jun 2021 13:47:57 +0200
Subject: [PATCH] Add deprecation notice to ipset.8 Subject: [PATCH] Add deprecation notice to ipset.8
This is RHEL9 trying to friendly kick people towards nftables. This is RHEL9 trying to friendly kick people towards nftables.
--- ---
src/ipset.8 | 4 ++++ src/ipset.8 | 17 +++++++++++++++--
1 file changed, 4 insertions(+) 1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/ipset.8 b/src/ipset.8 diff --git a/src/ipset.8 b/src/ipset.8
index 97cece9fb04b5..ff20be93564a7 100644 index 97cece9fb04b5..d68e9bbc22891 100644
--- a/src/ipset.8 --- a/src/ipset.8
+++ b/src/ipset.8 +++ b/src/ipset.8
@@ -1094,6 +1094,10 @@ they are automatically replaced by \fBhash:ip\fR type of sets. @@ -51,6 +51,18 @@ COMMANDS := { \fBcreate\fR | \fBadd\fR | \fBdel\fR | \fBtest\fR | \fBdestroy\fR
.SH "DIAGNOSTICS" .PP
Various error messages are printed to standard error. The exit code \fBipset\fR \fB\-\fR
is 0 for correct functioning. .SH "DESCRIPTION"
+.SH "NOTES" +This tool is
+This tool is deprecated in Red Hat Enterprise Linux. It is maintenance only and +.B deprecated
+will not receive new features. New setups should use \fBnft\fP(8). Existing +in Red Hat Enterprise Linux. It is maintenance only and will not receive new
+setups should migrate to \fBnft\fP(8) when possible. +features. New setups should use
.SH "BUGS" +.BR nft (8).
Bugs? No, just funny features. :\-) +Existing setups should migrate to
+.BR nft (8)
+when possible. See
+.UR https://red.ht/nft_your_tables
+.UE
+for details.
+.PP
\fBipset\fR
is used to set up, maintain and inspect so called IP sets in the Linux
kernel. Depending on the type of the set, an IP set may store IP(v4/v6)
@@ -1099,8 +1111,9 @@ Bugs? No, just funny features. :\-)
OK, just kidding... OK, just kidding...
.SH "SEE ALSO"
\fBiptables\fR(8),
-\fBip6tables\fR(8)
-\fBiptables-extensions\fR(8)
+\fBip6tables\fR(8),
+\fBiptables-extensions\fR(8),
+\fBnft\fR(8)
.SH "AUTHORS"
Jozsef Kadlecsik wrote ipset, which is based on ippool by
Joakim Axelsson, Patrick Schaaf and Martin Josefsson.
-- --
2.31.1 2.31.1

View File

@ -1,6 +1,6 @@
Name: ipset Name: ipset
Version: 7.11 Version: 7.11
Release: 3%{?dist} Release: 4%{?dist}
Summary: Manage Linux IP sets Summary: Manage Linux IP sets
License: GPLv2 License: GPLv2
@ -154,6 +154,9 @@ fi
%changelog %changelog
* Fri Jul 02 2021 Phil Sutter <psutter@redhat.com> - 7.11-4
- Improve deprecation notice a bit
* Fri Jun 25 2021 Phil Sutter <psutter@redhat.com> - 7.11-3 * Fri Jun 25 2021 Phil Sutter <psutter@redhat.com> - 7.11-3
- Add deprecation notice to ipset.8 - Add deprecation notice to ipset.8