Hello community, here is the log from the commit of package xtables-addons for openSUSE:Factory checked in at 2019-03-10 09:33:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xtables-addons (Old) and /work/SRC/openSUSE:Factory/.xtables-addons.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xtables-addons" Sun Mar 10 09:33:07 2019 rev:61 rq:682376 version:3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/xtables-addons/xtables-addons.changes 2018-09-15 15:34:59.601034610 +0200 +++ /work/SRC/openSUSE:Factory/.xtables-addons.new.28833/xtables-addons.changes 2019-03-10 09:33:10.972208022 +0100 @@ -1,0 +2,6 @@ +Thu Mar 7 09:22:45 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 3.3 + * Support for Linux 5.0 [boo#1127790] + +------------------------------------------------------------------- Old: ---- xtables-addons-3.2.tar.asc xtables-addons-3.2.tar.xz New: ---- xtables-addons-3.3.tar.asc xtables-addons-3.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xtables-addons.spec ++++++ --- /var/tmp/diff_new_pack.MY1uQA/_old 2019-03-10 09:33:11.780207819 +0100 +++ /var/tmp/diff_new_pack.MY1uQA/_new 2019-03-10 09:33:11.784207818 +0100 @@ -1,7 +1,7 @@ # # spec file for package xtables-addons # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: xtables-addons -Version: 3.2 +Version: 3.3 Release: 0 Summary: IP Packet Filter Administration Extensions License: GPL-2.0-only AND GPL-2.0-or-later ++++++ xtables-addons-3.2.tar.xz -> xtables-addons-3.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/README new/xtables-addons-3.3/README --- old/xtables-addons-3.2/README 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/README 2019-03-07 10:24:08.000000000 +0100 @@ -1,57 +1,15 @@ Xtables-addons ============== -Xtables-addons is the proclaimed successor to patch-o-matic(-ng). It -contains extensions that were not accepted in the main Xtables -package. +Xtables-addons is a set of extensions that were not accepted in the +Linux kernel and/or main Xtables/iptables package. -Xtables-addons is different from patch-o-matic in that you do not -have to patch or recompile either kernel or Xtables(iptables). But -please see the INSTALL file for the minimum requirements of this -package. - -All code imported from patch-o-matic has been reviewed and all -apparent bugs like binary stability across multiarches, missing -sanity checks and incorrect endianess handling have been fixed, -simplified, and sped up. +It superseded the earlier patch-o-matic(-ng) package in that no +patching and/or recompilation of either the kernel or +Xtables/iptables is required. However, do see the INSTALL file for +the minimum requirements of Xtables-addons. Included in this package ======================== - xt_ACCOUNT 1.16, libxt_ACCOUNT 1.3 - - -Inclusion into a kernel tree -============================ - - - - -External extensions -=================== - -The program "xa-download-more" can be used to download more -extensions from 3rd parties into the source tree. The URLs are listed -in the "sources" file. If the "sources" file contains an entry like - - http://foobar.org/xa/ - -xa-download-more will inspect http://foobar.org/xa/xa-index.txt for -files to download. That file may contain - - foobar.tar.bz2 - -and xa-download-more will then retrieve and unpack -http://foobar.org/xa/foobar.tar.bz2. - -Files that should be contained in the tarball are an mconfig and -Kbuild files to control building the extension, libxt_foobar.c for -the userspace extension and xt_foobar.c for the kernel extension. - - mconfig.foobar - extensions/Kbuild.foobar - extensions/Mbuild.foobar - extensions/libxt_foobar.c - extensions/libxt_foobar.man - extensions/xt_foobar.c - extensions/xt_foobar.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/configure new/xtables-addons-3.3/configure --- old/xtables-addons-3.2/configure 2018-09-07 15:04:40.771986367 +0200 +++ new/xtables-addons-3.3/configure 2019-03-07 10:24:20.884928103 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for xtables-addons 3.2. +# Generated by GNU Autoconf 2.69 for xtables-addons 3.3. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='xtables-addons' PACKAGE_TARNAME='xtables-addons' -PACKAGE_VERSION='3.2' -PACKAGE_STRING='xtables-addons 3.2' +PACKAGE_VERSION='3.3' +PACKAGE_STRING='xtables-addons 3.3' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1325,7 +1325,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures xtables-addons 3.2 to adapt to many kinds of systems. +\`configure' configures xtables-addons 3.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1395,7 +1395,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of xtables-addons 3.2:";; + short | recursive ) echo "Configuration of xtables-addons 3.3:";; esac cat <<\_ACEOF @@ -1519,7 +1519,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -xtables-addons configure 3.2 +xtables-addons configure 3.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1884,7 +1884,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by xtables-addons $as_me 3.2, which was +It was created by xtables-addons $as_me 3.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2750,7 +2750,7 @@ # Define the identity of the package. PACKAGE='xtables-addons' - VERSION='3.2' + VERSION='3.3' cat >>confdefs.h <<_ACEOF @@ -12439,7 +12439,7 @@ echo "WARNING: Version detection did not succeed. Continue at own luck."; else echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir"; - if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 18; then + if test "$kmajor" -gt 5 -o "$kmajor" -eq 5 -a "$kminor" -gt 0; then echo "WARNING: That kernel version is not officially supported yet. Continue at own luck."; elif test "$kmajor" -eq 4 -a "$kminor" -ge 18; then : @@ -12985,7 +12985,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by xtables-addons $as_me 3.2, which was +This file was extended by xtables-addons $as_me 3.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13051,7 +13051,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -xtables-addons config.status 3.2 +xtables-addons config.status 3.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/configure.ac new/xtables-addons-3.3/configure.ac --- old/xtables-addons-3.2/configure.ac 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/configure.ac 2019-03-07 10:24:08.000000000 +0100 @@ -1,4 +1,4 @@ -AC_INIT([xtables-addons], [3.2]) +AC_INIT([xtables-addons], [3.3]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -57,7 +57,7 @@ echo "WARNING: Version detection did not succeed. Continue at own luck."; else echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir"; - if test "$kmajor" -gt 4 -o "$kmajor" -eq 4 -a "$kminor" -gt 18; then + if test "$kmajor" -gt 5 -o "$kmajor" -eq 5 -a "$kminor" -gt 0; then echo "WARNING: That kernel version is not officially supported yet. Continue at own luck."; elif test "$kmajor" -eq 4 -a "$kminor" -ge 18; then : diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/doc/changelog.txt new/xtables-addons-3.3/doc/changelog.txt --- old/xtables-addons-3.2/doc/changelog.txt 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/doc/changelog.txt 2019-03-07 10:24:08.000000000 +0100 @@ -3,6 +3,12 @@ ==== +v3.3 (2019-03-07) +================= +Enhancements: +- support for Linux 5.0 + + v3.2 (2018-09-07) ================= Changes: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/extensions/ACCOUNT/xt_ACCOUNT.c new/xtables-addons-3.3/extensions/ACCOUNT/xt_ACCOUNT.c --- old/xtables-addons-3.2/extensions/ACCOUNT/xt_ACCOUNT.c 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/extensions/ACCOUNT/xt_ACCOUNT.c 2019-03-07 10:24:08.000000000 +0100 @@ -40,6 +40,9 @@ #error "ipt_ACCOUNT needs at least a PAGE_SIZE of 4096" #endif +static unsigned int max_tables_limit = 128; +module_param(max_tables_limit, uint, 0); + /** * Internal table structure, generated by check_entry() * @name: name of the table @@ -185,7 +188,7 @@ name, NIPQUAD(ip), NIPQUAD(netmask)); /* Look for existing table */ - for (i = 0; i < ACCOUNT_MAX_TABLES; i++) { + for (i = 0; i < max_tables_limit; i++) { if (strncmp(ipt_acc_tables[i].name, name, ACCOUNT_TABLE_NAME_LEN) == 0) { pr_debug("ACCOUNT: Found existing slot: %d - " @@ -209,7 +212,7 @@ } /* Insert new table */ - for (i = 0; i < ACCOUNT_MAX_TABLES; i++) { + for (i = 0; i < max_tables_limit; i++) { /* Found free slot */ if (ipt_acc_tables[i].name[0] == 0) { unsigned int netsize = 0; @@ -258,7 +261,7 @@ /* No free slot found */ printk("ACCOUNT: No free table slot found (max: %d). " - "Please increase ACCOUNT_MAX_TABLES.\n", ACCOUNT_MAX_TABLES); + "Please increase the \"max_tables_limit\" module parameter.\n", max_tables_limit); return -1; } @@ -299,7 +302,7 @@ info->table_nr = -1; /* Set back to original state */ /* Look for table */ - for (i = 0; i < ACCOUNT_MAX_TABLES; i++) { + for (i = 0; i < max_tables_limit; i++) { if (strncmp(ian->ipt_acc_tables[i].name, info->table_name, ACCOUNT_TABLE_NAME_LEN) == 0) { pr_debug("ACCOUNT: Found table at slot: %d\n", i); @@ -604,12 +607,12 @@ int table_nr = -1; uint8_t depth; - for (table_nr = 0; table_nr < ACCOUNT_MAX_TABLES; table_nr++) + for (table_nr = 0; table_nr < max_tables_limit; table_nr++) if (strncmp(ipt_acc_tables[table_nr].name, tablename, ACCOUNT_TABLE_NAME_LEN) == 0) break; - if (table_nr == ACCOUNT_MAX_TABLES) { + if (table_nr == max_tables_limit) { printk("ACCOUNT: ipt_acc_handle_prepare_read(): " "Table %s not found\n", tablename); return -1; @@ -707,12 +710,12 @@ int table_nr; void *new_data_page; - for (table_nr = 0; table_nr < ACCOUNT_MAX_TABLES; table_nr++) + for (table_nr = 0; table_nr < max_tables_limit; table_nr++) if (strncmp(ipt_acc_tables[table_nr].name, tablename, ACCOUNT_TABLE_NAME_LEN) == 0) break; - if (table_nr == ACCOUNT_MAX_TABLES) { + if (table_nr == max_tables_limit) { printk("ACCOUNT: ipt_acc_handle_prepare_read_flush(): " "Table %s not found\n", tablename); return -1; @@ -1052,7 +1055,7 @@ spin_lock_bh(&ian->ipt_acc_lock); /* Determine size of table names */ - for (i = 0; i < ACCOUNT_MAX_TABLES; i++) { + for (i = 0; i < max_tables_limit; i++) { if (ian->ipt_acc_tables[i].name[0] != 0) size += strlen(ian->ipt_acc_tables[i].name) + 1; } @@ -1067,7 +1070,7 @@ } /* Copy table names to userspace */ tnames = ian->ipt_acc_tmpbuf; - for (i = 0; i < ACCOUNT_MAX_TABLES; i++) { + for (i = 0; i < max_tables_limit; i++) { if (ian->ipt_acc_tables[i].name[0] != 0) { name_len = strlen(ian->ipt_acc_tables[i].name) + 1; memcpy(tnames, ian->ipt_acc_tables[i].name, name_len); @@ -1100,7 +1103,7 @@ memset(ian, 0, sizeof(*ian)); sema_init(&ian->ipt_acc_userspace_mutex, 1); - ian->ipt_acc_tables = kcalloc(ACCOUNT_MAX_TABLES, + ian->ipt_acc_tables = kcalloc(max_tables_limit, sizeof(struct ipt_acc_table), GFP_KERNEL); if (ian->ipt_acc_tables == NULL) { printk("ACCOUNT: Out of memory allocating account_tables structure"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/extensions/ACCOUNT/xt_ACCOUNT.h new/xtables-addons-3.3/extensions/ACCOUNT/xt_ACCOUNT.h --- old/xtables-addons-3.2/extensions/ACCOUNT/xt_ACCOUNT.h 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/extensions/ACCOUNT/xt_ACCOUNT.h 2019-03-07 10:24:08.000000000 +0100 @@ -34,7 +34,6 @@ #define IPT_SO_GET_ACCOUNT_GET_TABLE_NAMES (SO_ACCOUNT_BASE_CTL + 8) #define IPT_SO_GET_ACCOUNT_MAX IPT_SO_GET_ACCOUNT_GET_TABLE_NAMES -#define ACCOUNT_MAX_TABLES 128 #define ACCOUNT_TABLE_NAME_LEN 32 #define ACCOUNT_MAX_HANDLES 10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/extensions/libxt_geoip.c new/xtables-addons-3.3/extensions/libxt_geoip.c --- old/xtables-addons-3.2/extensions/libxt_geoip.c 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/extensions/libxt_geoip.c 2019-03-07 10:24:08.000000000 +0100 @@ -180,7 +180,7 @@ cc[i] = toupper(cc[i]); else xtables_error(PARAMETER_PROBLEM, - "geoip: invalid country code '%s'", cc); + "geoip: invalid country code '%s'", cc); /* Convert chars into a single 16 bit integer. * FIXME: This assumes that a country code is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/extensions/xt_SYSRQ.c new/xtables-addons-3.3/extensions/xt_SYSRQ.c --- old/xtables-addons-3.2/extensions/xt_SYSRQ.c 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/extensions/xt_SYSRQ.c 2019-03-07 10:24:08.000000000 +0100 @@ -314,7 +314,7 @@ static int __init sysrq_crypto_init(void) { #if defined(WITH_CRYPTO) - struct timeval now; + struct timespec64 now; int ret; sysrq_tfm = crypto_alloc_shash(sysrq_hash, 0, 0); @@ -339,7 +339,7 @@ sizeof(sysrq_password), GFP_KERNEL); if (sysrq_digest_password == NULL) goto fail; - do_gettimeofday(&now); + ktime_get_real_ts64(&now); sysrq_seqno = now.tv_sec; return 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/sources new/xtables-addons-3.3/sources --- old/xtables-addons-3.2/sources 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/sources 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -# -# Source URLs for external patchlets -# diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/xa-download-more new/xtables-addons-3.3/xa-download-more --- old/xtables-addons-3.2/xa-download-more 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/xa-download-more 1970-01-01 01:00:00.000000000 +0100 @@ -1,83 +0,0 @@ -#!/usr/bin/perl -w - -use HTTP::Request; -use LWP::UserAgent; -use strict; - -&main(\@ARGV); - -sub main -{ - local *FH; - - if (!-d "downloads") { - if (!mkdir("downloads")) { - die "Could not create downloads/ directory"; - } - } - - open(FH, "<sources"); - while (defined($_ = <FH>)) { - chomp $_; - $_ =~ s/#.*//gs; - $_ =~ s/^\s+|\s+$//gs; - if (length($_) == 0) { - next; - } - &process_index($_); - } - - close FH; -} - -sub process_index -{ - my $top = shift @_; - my($agent, $res, $url); - local *FH; - - $agent = LWP::UserAgent->new(); - $agent->env_proxy(); - - $url = &slash_remove("$top/xa-index.txt"); - print " GET $url\n"; - $res = $agent->get($url); - if (!$res->is_success()) { - print STDERR " `-> ", $res->status_line(), "\n"; - return; - } - - foreach my $ext (split(/\s+/, $res->content())) { - my($ex_url, $ex_res); - - $ex_url = &slash_remove("$top/$ext"); - print " GET $ex_url\n"; - - $ex_res = $agent->mirror($ex_url, "downloads/$ext"); - if ($ex_res->code() == 304) { - # "Not modified" = up to date - next; - } - if (!$ex_res->is_success()) { - print STDERR " `-> ", $ex_res->status_line(), "\n"; - next; - } - - print " UNPACK downloads/$ext\n"; - system "tar", "-xjf", "downloads/$ext"; - } -} - -sub slash_remove -{ - my $s = shift @_; - $s =~ s{(\w+://)(.*)}{$1.&slash_remove2($2)}eg; - return $s; -} - -sub slash_remove2 -{ - my $s = shift @_; - $s =~ s{/+}{/}g; - return $s; -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.2/xtables-addons.8.in new/xtables-addons-3.3/xtables-addons.8.in --- old/xtables-addons-3.2/xtables-addons.8.in 2018-09-07 15:04:28.000000000 +0200 +++ new/xtables-addons-3.3/xtables-addons.8.in 2019-03-07 10:24:08.000000000 +0100 @@ -1,4 +1,4 @@ -.TH xtables-addons 8 "Retro" "" "v3.2 (2018-09-07)" +.TH xtables-addons 8 "" "" "v3.3 (2019-03-07)" .SH Name Xtables-addons \(em additional extensions for iptables, ip6tables, etc. .SH Targets
