Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xtables-addons for openSUSE:Factory checked in at 2023-01-14 00:02:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xtables-addons (Old) and /work/SRC/openSUSE:Factory/.xtables-addons.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xtables-addons" Sat Jan 14 00:02:37 2023 rev:79 rq:1058083 version:3.23 Changes: -------- --- /work/SRC/openSUSE:Factory/xtables-addons/xtables-addons.changes 2022-10-25 11:51:20.461298831 +0200 +++ /work/SRC/openSUSE:Factory/.xtables-addons.new.32243/xtables-addons.changes 2023-01-14 00:03:02.509649421 +0100 @@ -1,0 +2,6 @@ +Thu Jan 12 22:33:11 UTC 2023 - Jan Engelhardt <jeng...@inai.de> + +- Update to release 3.23 + * Support for Linux 6.2 + +------------------------------------------------------------------- Old: ---- xtables-addons-3.22.tar.asc xtables-addons-3.22.tar.xz New: ---- xtables-addons-3.23.tar.asc xtables-addons-3.23.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xtables-addons.spec ++++++ --- /var/tmp/diff_new_pack.8HYdbb/_old 2023-01-14 00:03:03.337654244 +0100 +++ /var/tmp/diff_new_pack.8HYdbb/_new 2023-01-14 00:03:03.341654267 +0100 @@ -1,7 +1,7 @@ # # spec file for package xtables-addons # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: xtables-addons -Version: 3.22 +Version: 3.23 Release: 0 Summary: IP Packet Filter Administration Extensions License: GPL-2.0-only AND GPL-2.0-or-later ++++++ xtables-addons-3.22.tar.xz -> xtables-addons-3.23.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.22/configure new/xtables-addons-3.23/configure --- old/xtables-addons-3.22/configure 2022-10-25 10:44:15.470403890 +0200 +++ new/xtables-addons-3.23/configure 2023-01-12 23:32:39.646821457 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for xtables-addons 3.22. +# Generated by GNU Autoconf 2.71 for xtables-addons 3.23. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, @@ -618,8 +618,8 @@ # Identity of this package. PACKAGE_NAME='xtables-addons' PACKAGE_TARNAME='xtables-addons' -PACKAGE_VERSION='3.22' -PACKAGE_STRING='xtables-addons 3.22' +PACKAGE_VERSION='3.23' +PACKAGE_STRING='xtables-addons 3.23' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1363,7 +1363,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.22 to adapt to many kinds of systems. +\`configure' configures xtables-addons 3.23 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1434,7 +1434,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of xtables-addons 3.22:";; + short | recursive ) echo "Configuration of xtables-addons 3.23:";; esac cat <<\_ACEOF @@ -1558,7 +1558,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -xtables-addons configure 3.22 +xtables-addons configure 3.23 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1776,7 +1776,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.22, which was +It was created by xtables-addons $as_me 3.23, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3049,7 +3049,7 @@ # Define the identity of the package. PACKAGE='xtables-addons' - VERSION='3.22' + VERSION='3.23' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -4628,38 +4628,6 @@ ;; esac -# Check whether --enable-static was given. -if test ${enable_static+y} -then : - enableval=$enable_static; p=${PACKAGE-default} - case $enableval in - yes) enable_static=yes ;; - no) enable_static=no ;; - *) - enable_static=no - # Look at the argument we got. We use all the common list separators. - lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, - for pkg in $enableval; do - IFS=$lt_save_ifs - if test "X$pkg" = "X$p"; then - enable_static=yes - fi - done - IFS=$lt_save_ifs - ;; - esac -else $as_nop - enable_static=no -fi - - - - - - - - - case `pwd` in *\ * | *\ *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 @@ -8488,6 +8456,36 @@ # Set options +# Check whether --enable-static was given. +if test ${enable_static+y} +then : + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, + for pkg in $enableval; do + IFS=$lt_save_ifs + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS=$lt_save_ifs + ;; + esac +else $as_nop + enable_static=no +fi + + + + + + + @@ -13096,7 +13094,7 @@ else $as_nop echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir"; - if test "$kmajor" -gt 6 -o "$kmajor" -eq 6 -a "$kminor" -gt 1; then + if test "$kmajor" -gt 6 -o "$kmajor" -eq 6 -a "$kminor" -gt 2; then if test -t 1 then : echo -en "\033\0133\063\063m" @@ -13657,7 +13655,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.22, which was +This file was extended by xtables-addons $as_me 3.23, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13725,7 +13723,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -xtables-addons config.status 3.22 +xtables-addons config.status 3.23 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" @@ -13854,9 +13852,9 @@ sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' -enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' +enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' @@ -14890,13 +14888,13 @@ # ### BEGIN LIBTOOL CONFIG -# Whether or not to build static libraries. -build_old_libs=$enable_static - # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision +# Whether or not to build static libraries. +build_old_libs=$enable_static + # Whether or not to build shared libraries. build_libtool_libs=$enable_shared diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.22/configure.ac new/xtables-addons-3.23/configure.ac --- old/xtables-addons-3.22/configure.ac 2022-10-25 10:43:50.000000000 +0200 +++ new/xtables-addons-3.23/configure.ac 2023-01-12 23:32:08.000000000 +0100 @@ -1,4 +1,4 @@ -AC_INIT([xtables-addons], [3.22]) +AC_INIT([xtables-addons], [3.23]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -7,8 +7,7 @@ AC_PROG_CC AM_PROG_CC_C_O m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) -AC_DISABLE_STATIC -AC_PROG_LIBTOOL +LT_INIT([disable-static]) AC_ARG_WITH([kbuild], AS_HELP_STRING([--with-kbuild=PATH], @@ -59,7 +58,7 @@ yoff ], [ echo "$kmajor.$kminor.$kmicro.$kstable in $kbuilddir"; - if test "$kmajor" -gt 6 -o "$kmajor" -eq 6 -a "$kminor" -gt 1; then + if test "$kmajor" -gt 6 -o "$kmajor" -eq 6 -a "$kminor" -gt 2; then yon echo "WARNING: That kernel version is not officially supported yet. Continue at own luck."; yoff diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.22/doc/changelog.rst new/xtables-addons-3.23/doc/changelog.rst --- old/xtables-addons-3.22/doc/changelog.rst 2022-10-25 10:43:50.000000000 +0200 +++ new/xtables-addons-3.23/doc/changelog.rst 2023-01-12 23:32:08.000000000 +0100 @@ -1,3 +1,9 @@ +v3.23 (2023-01-12) +================== + +* Support for Linux 6.2 + + v3.22 (2022-10-25) ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.22/extensions/compat_xtables.h new/xtables-addons-3.23/extensions/compat_xtables.h --- old/xtables-addons-3.22/extensions/compat_xtables.h 2022-10-25 10:43:50.000000000 +0200 +++ new/xtables-addons-3.23/extensions/compat_xtables.h 2023-01-12 23:32:08.000000000 +0100 @@ -48,4 +48,8 @@ # define proc_release release #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 2, 0) +# define get_random_u32_below prandom_u32_max +#endif + extern void *HX_memmem(const void *, size_t, const void *, size_t); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xtables-addons-3.22/extensions/xt_TARPIT.c new/xtables-addons-3.23/extensions/xt_TARPIT.c --- old/xtables-addons-3.22/extensions/xt_TARPIT.c 2022-10-25 10:43:50.000000000 +0200 +++ new/xtables-addons-3.23/extensions/xt_TARPIT.c 2023-01-12 23:32:08.000000000 +0100 @@ -107,8 +107,8 @@ tcph->syn = true; tcph->ack = true; tcph->window = oth->window & - (prandom_u32_max(0x20) - 0xf); - tcph->seq = htonl(prandom_u32_max(~oth->seq + 1)); + (get_random_u32_below(0x20) - 0xf); + tcph->seq = htonl(get_random_u32_below(~oth->seq + 1)); tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn); } @@ -117,7 +117,7 @@ tcph->syn = false; tcph->ack = true; tcph->window = oth->window & - (prandom_u32_max(0x20) - 0xf); + (get_random_u32_below(0x20) - 0xf); tcph->ack_seq = payload > 100 ? htonl(ntohl(oth->seq) + payload) : oth->seq;