diff --git a/ipset-7.0.tar.bz2 b/ipset-7.0.tar.bz2 deleted file mode 100644 index 096ca56..0000000 --- a/ipset-7.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6fa0f3b7d514e3edd0113ea02f82ab299e5467a4b7733dc31e127cdccc741af -size 552144 diff --git a/ipset-7.1.tar.bz2 b/ipset-7.1.tar.bz2 new file mode 100644 index 0000000..659f4da --- /dev/null +++ b/ipset-7.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b5eb3b93205c20cdc39e3fc8b6e5f7bb214bf79a7c0c00729dd4a31ce16adc4 +size 669520 diff --git a/ipset-file.diff b/ipset-file.diff deleted file mode 100644 index fc2b82b..0000000 --- a/ipset-file.diff +++ /dev/null @@ -1,39 +0,0 @@ -From a680d3fdbb637fae53c60e4a30f028bd5ed1fe4b Mon Sep 17 00:00:00 2001 -From: Jozsef Kadlecsik -Date: Sat, 10 Nov 2018 17:34:57 +0100 -Subject: Fix to list/save into file specified by option - -list/save into file given by "-f filename" did not work in 7.0, -reported by Isaac Good. ---- - lib/ipset.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/lib/ipset.c b/lib/ipset.c -index 8d05b39..4366e60 100644 ---- a/lib/ipset.c -+++ b/lib/ipset.c -@@ -633,7 +633,7 @@ restore(struct ipset *ipset) - if (ipset->filename) { - ret = ipset_session_io_normal(session, ipset->filename, - IPSET_IO_INPUT); -- if (ret) -+ if (ret < 0) - return ret; - f = ipset_session_io_stream(session, IPSET_IO_INPUT); - } -@@ -1204,9 +1204,10 @@ ipset_parse_argv(struct ipset *ipset, int oargc, char *oargv[]) - if (ipset->filename != NULL) { - ret = ipset_session_io_normal(session, - ipset->filename, IPSET_IO_OUTPUT); -- if (!ret) -+ if (ret < 0) - return ret; - } -+ /* Fall through to parse optional setname */ - case IPSET_CMD_DESTROY: - case IPSET_CMD_FLUSH: - /* Args: [setname] */ --- -cgit v1.2.1 - diff --git a/ipset.changes b/ipset.changes index 183fe17..677dec5 100644 --- a/ipset.changes +++ b/ipset.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Dec 11 13:02:03 UTC 2018 - Jan Engelhardt + +- Update to new upstream release 7.1 + * Correct the manpage about the sort option + * Implement sorting for hash types in the ipset tool + * Fix to list/save into file specified by option +- Remove ipset-file.diff (merged) + ------------------------------------------------------------------- Tue Nov 20 17:58:53 UTC 2018 - Arjen de Korte diff --git a/ipset.spec b/ipset.spec index 9dc6c8b..f6f7a82 100644 --- a/ipset.spec +++ b/ipset.spec @@ -25,7 +25,7 @@ %define ipset_build_kmp 0 %endif Name: ipset -Version: 7.0 +Version: 7.1 Release: 0 Summary: Netfilter ipset administration utility License: GPL-2.0-only @@ -36,7 +36,6 @@ Url: http://ipset.netfilter.org/ Source: http://ipset.netfilter.org/%name-%version.tar.bz2 Source3: %name-preamble Patch1: ipset-destdir.diff -Patch2: ipset-file.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -104,8 +103,9 @@ addresses with MAC addresses in a way, which ensures lightning speed when matching an entry against a set. %prep -%setup -q -%patch -P 1 -P 2 -p1 +%autosetup -p1 +#%%setup -q +#%%patch -P 1 -p1 %build # build wants to call modinfo at some point