commit axel for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package axel for openSUSE:Factory checked in at 2024-07-01 11:20:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/axel (Old) and /work/SRC/openSUSE:Factory/.axel.new.18349 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "axel" Mon Jul 1 11:20:57 2024 rev:14 rq:1184068 version:2.17.14 Changes: -------- --- /work/SRC/openSUSE:Factory/axel/axel.changes 2024-03-18 16:46:57.952285520 +0100 +++ /work/SRC/openSUSE:Factory/.axel.new.18349/axel.changes 2024-07-01 11:21:28.589478306 +0200 @@ -1,0 +2,11 @@ +Sun Jun 30 03:26:06 UTC 2024 - jun wang <jgwang@suse.com> + +- Update to version 2.17.14 + * Remove inclusion of <stdatomic.h> + * configure: Fix handling of --with-ssl=yes + * conn: Fix potential buffer overrun + * http: Fix filename parsing from Content-Disposition + * configure: Force C89-compliant return type of signal handlers + * configure: Update to autoconf 2.72 + +------------------------------------------------------------------- Old: ---- axel-2.17.13.tar.xz New: ---- axel-2.17.14.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ axel.spec ++++++ --- /var/tmp/diff_new_pack.7Bh5gC/_old 2024-07-01 11:21:29.053495210 +0200 +++ /var/tmp/diff_new_pack.7Bh5gC/_new 2024-07-01 11:21:29.057495356 +0200 @@ -19,7 +19,7 @@ %{!?license: %global license %doc} %{!?make_build: %global make_build make %{?_smp_mflags}} Name: axel -Version: 2.17.13 +Version: 2.17.14 Release: 0 Summary: Lightweight Download Accelerator License: GPL-2.0-or-later ++++++ axel-2.17.13.tar.xz -> axel-2.17.14.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/ChangeLog new/axel-2.17.14/ChangeLog --- old/axel-2.17.13/ChangeLog 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/ChangeLog 2024-04-08 00:55:52.000000000 +0200 @@ -1,3 +1,19 @@ +Version: 2.17.14, 2024-04-07 + + [ Ismael Luceno ] + +* Remove inclusion of <stdatomic.h> +* configure: Fix handling of --with-ssl=yes +* configure: Force C89-compliant return type of signal handlers +* configure: Update to autoconf 2.72 +* conn: Fix potential buffer overrun + + [ Peng-Yu Chen ] + +* http: Fix filename parsing from Content-Disposition + + + Version: 2.17.13, 2024-02-06 [ Ismael Luceno ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/VERSION new/axel-2.17.14/VERSION --- old/axel-2.17.13/VERSION 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/VERSION 2024-04-08 00:55:52.000000000 +0200 @@ -1 +1 @@ -2.17.13 2024-02-06T12:30:10Z +2.17.14 2024-04-07T22:55:52Z diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/aclocal.m4 new/axel-2.17.14/aclocal.m4 --- old/axel-2.17.13/aclocal.m4 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/aclocal.m4 2024-04-08 00:55:52.000000000 +0200 @@ -2234,7 +2234,7 @@ dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], []) -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# pkg.m4 - Macros to locate and use pkg-config. -*- Autoconf -*- # serial 12 (pkg-config-0.29.2) dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>. @@ -2322,7 +2322,7 @@ dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -dnl only at the first occurence in configure.ac, so if the first place +dnl only at the first occurrence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], @@ -2391,14 +2391,14 @@ AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - m4_default([$4], [AC_MSG_ERROR( + m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS @@ -2410,7 +2410,7 @@ ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) - m4_default([$4], [AC_MSG_FAILURE( + m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -2420,10 +2420,10 @@ To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl ]) else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) - $3 + $3 fi[]dnl ])dnl PKG_CHECK_MODULES @@ -2510,6 +2510,74 @@ AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR +dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND], +dnl [DESCRIPTION], [DEFAULT]) +dnl ------------------------------------------ +dnl +dnl Prepare a "--with-" configure option using the lowercase +dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and +dnl PKG_CHECK_MODULES in a single macro. +AC_DEFUN([PKG_WITH_MODULES], +[ +m4_pushdef([with_arg], m4_tolower([$1])) + +m4_pushdef([description], + [m4_default([$5], [build with ]with_arg[ support])]) + +m4_pushdef([def_arg], [m4_default([$6], [auto])]) +m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes]) +m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no]) + +m4_case(def_arg, + [yes],[m4_pushdef([with_without], [--without-]with_arg)], + [m4_pushdef([with_without],[--with-]with_arg)]) + +AC_ARG_WITH(with_arg, + AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),, + [AS_TR_SH([with_]with_arg)=def_arg]) + +AS_CASE([$AS_TR_SH([with_]with_arg)], + [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)], + [auto],[PKG_CHECK_MODULES([$1],[$2], + [m4_n([def_action_if_found]) $3], + [m4_n([def_action_if_not_found]) $4])]) + +m4_popdef([with_arg]) +m4_popdef([description]) +m4_popdef([def_arg]) + +])dnl PKG_WITH_MODULES + +dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [DESCRIPTION], [DEFAULT]) +dnl ----------------------------------------------- +dnl +dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES +dnl check._[VARIABLE-PREFIX] is exported as make variable. +AC_DEFUN([PKG_HAVE_WITH_MODULES], +[ +PKG_WITH_MODULES([$1],[$2],,,[$3],[$4]) + +AM_CONDITIONAL([HAVE_][$1], + [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"]) +])dnl PKG_HAVE_WITH_MODULES + +dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [DESCRIPTION], [DEFAULT]) +dnl ------------------------------------------------------ +dnl +dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after +dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make +dnl and preprocessor variable. +AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES], +[ +PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4]) + +AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"], + [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])]) +])dnl PKG_HAVE_DEFINE_WITH_MODULES + # Copyright (C) 2002-2021 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/build-aux/config.guess new/axel-2.17.14/build-aux/config.guess --- old/axel-2.17.13/build-aux/config.guess 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/build-aux/config.guess 2024-04-08 00:55:52.000000000 +0200 @@ -1,14 +1,14 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2021 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2021-06-03' +timestamp='2023-08-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -47,7 +47,7 @@ usage="\ Usage: $0 [OPTION] -Output the configuration name of the system \`$me' is run on. +Output the configuration name of the system '$me' is run on. Options: -h, --help print this help, then exit @@ -60,13 +60,13 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2021 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" -Try \`$me --help' for more information." +Try '$me --help' for more information." # Parse command line while test $# -gt 0 ; do @@ -102,8 +102,8 @@ # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still -# use `HOST_CC' if defined, but it is deprecated. +# Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still +# use 'HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. @@ -155,6 +155,9 @@ set_cc_for_build cat <<-EOF > "$dummy.c" + #if defined(__ANDROID__) + LIBC=android + #else #include <features.h> #if defined(__UCLIBC__) LIBC=uclibc @@ -169,6 +172,7 @@ LIBC=musl #endif #endif + #endif EOF cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` eval "$cc_set_libc" @@ -437,7 +441,7 @@ # This test works for both compilers. if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 @@ -459,7 +463,7 @@ UNAME_RELEASE=`uname -v` ;; esac - # Japanese Language versions have a version number like `4.1.3-JL'. + # Japanese Language versions have a version number like '4.1.3-JL'. SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'` GUESS=sparc-sun-sunos$SUN_REL ;; @@ -904,7 +908,7 @@ fi ;; *:FreeBSD:*:*) - UNAME_PROCESSOR=`/usr/bin/uname -p` + UNAME_PROCESSOR=`uname -p` case $UNAME_PROCESSOR in amd64) UNAME_PROCESSOR=x86_64 ;; @@ -929,6 +933,9 @@ i*:PW*:*) GUESS=$UNAME_MACHINE-pc-pw32 ;; + *:SerenityOS:*:*) + GUESS=$UNAME_MACHINE-pc-serenity + ;; *:Interix*:*) case $UNAME_MACHINE in x86) @@ -963,11 +970,37 @@ GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC ;; + x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*) + GUESS="$UNAME_MACHINE-pc-managarm-mlibc" + ;; + *:[Mm]anagarm:*:*) + GUESS="$UNAME_MACHINE-unknown-managarm-mlibc" + ;; *:Minix:*:*) GUESS=$UNAME_MACHINE-unknown-minix ;; aarch64:Linux:*:*) - GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + set_cc_for_build + CPU=$UNAME_MACHINE + LIBCABI=$LIBC + if test "$CC_FOR_BUILD" != no_compiler_found; then + ABI=64 + sed 's/^ //' << EOF > "$dummy.c" + #ifdef __ARM_EABI__ + #ifdef __ARM_PCS_VFP + ABI=eabihf + #else + ABI=eabi + #endif + #endif +EOF + cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'` + eval "$cc_set_abi" + case $ABI in + eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;; + esac + fi + GUESS=$CPU-unknown-linux-$LIBCABI ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be @@ -1033,7 +1066,16 @@ k1om:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; - loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) + kvx:Linux:*:*) + GUESS=$UNAME_MACHINE-unknown-linux-$LIBC + ;; + kvx:cos:*:*) + GUESS=$UNAME_MACHINE-unknown-cos + ;; + kvx:mbr:*:*) + GUESS=$UNAME_MACHINE-unknown-mbr + ;; + loongarch32:Linux:*:* | loongarch64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; m32r*:Linux:*:*) @@ -1148,16 +1190,27 @@ ;; x86_64:Linux:*:*) set_cc_for_build + CPU=$UNAME_MACHINE LIBCABI=$LIBC if test "$CC_FOR_BUILD" != no_compiler_found; then - if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_X32 >/dev/null - then - LIBCABI=${LIBC}x32 - fi + ABI=64 + sed 's/^ //' << EOF > "$dummy.c" + #ifdef __i386__ + ABI=x86 + #else + #ifdef __ILP32__ + ABI=x32 + #endif + #endif +EOF + cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'` + eval "$cc_set_abi" + case $ABI in + x86) CPU=i686 ;; + x32) LIBCABI=${LIBC}x32 ;; + esac fi - GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI + GUESS=$CPU-pc-linux-$LIBCABI ;; xtensa*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC @@ -1177,7 +1230,7 @@ GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION ;; i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility + # If we were able to find 'uname', then EMX Unix compatibility # is probably installed. GUESS=$UNAME_MACHINE-pc-os2-emx ;; @@ -1318,7 +1371,7 @@ GUESS=ns32k-sni-sysv fi ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + PENTIUM:*:4.0*:*) # Unisys 'ClearPath HMP IX 4000' SVR4/MP effort # says <Richard.M.Bartel@ccMail.Census.GOV> GUESS=i586-unisys-sysv4 ;; @@ -1364,8 +1417,11 @@ BePC:Haiku:*:*) # Haiku running on Intel PC compatible. GUESS=i586-pc-haiku ;; - x86_64:Haiku:*:*) - GUESS=x86_64-unknown-haiku + ppc:Haiku:*:*) # Haiku running on Apple PowerPC + GUESS=powerpc-apple-haiku + ;; + *:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat) + GUESS=$UNAME_MACHINE-unknown-haiku ;; SX-4:SUPER-UX:*:*) GUESS=sx4-nec-superux$UNAME_RELEASE @@ -1522,6 +1578,9 @@ i*86:rdos:*:*) GUESS=$UNAME_MACHINE-pc-rdos ;; + i*86:Fiwix:*:*) + GUESS=$UNAME_MACHINE-pc-fiwix + ;; *:AROS:*:*) GUESS=$UNAME_MACHINE-unknown-aros ;; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/build-aux/config.sub new/axel-2.17.14/build-aux/config.sub --- old/axel-2.17.13/build-aux/config.sub 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/build-aux/config.sub 2024-04-08 00:55:52.000000000 +0200 @@ -1,14 +1,14 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2021 Free Software Foundation, Inc. +# Copyright 1992-2023 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2021-07-03' +timestamp='2023-09-19' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -76,13 +76,13 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2021 Free Software Foundation, Inc. +Copyright 1992-2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" -Try \`$me --help' for more information." +Try '$me --help' for more information." # Parse command line while test $# -gt 0 ; do @@ -121,14 +121,16 @@ # Split fields of configuration type # shellcheck disable=SC2162 +saved_IFS=$IFS IFS="-" read field1 field2 field3 field4 <<EOF $1 EOF +IFS=$saved_IFS # Separate into logical components for further validation case $1 in *-*-*-*-*) - echo Invalid configuration \`"$1"\': more than four components >&2 + echo "Invalid configuration '$1': more than four components" >&2 exit 1 ;; *-*-*-*) @@ -139,11 +141,12 @@ # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two # parts maybe_os=$field2-$field3 - case $maybe_os in + case $maybe_os in linux-musl*|\ nto-qnx* | linux-* | uclinux-uclibc* \ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ - | storm-chaos* | os2-emx* | rtmk-nova*) + | storm-chaos* | os2-emx* | rtmk-nova* | managarm-* \ + | windows-* ) basic_machine=$field1 basic_os=$maybe_os ;; @@ -172,6 +175,10 @@ basic_machine=$field1 basic_os=$field2 ;; + zephyr*) + basic_machine=$field1-unknown + basic_os=$field2 + ;; # Manufacturers dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \ @@ -931,11 +938,13 @@ *-*) # shellcheck disable=SC2162 + saved_IFS=$IFS IFS="-" read cpu vendor <<EOF $basic_machine EOF + IFS=$saved_IFS ;; - # We use `pc' rather than `unknown' + # We use 'pc' rather than 'unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) @@ -1012,6 +1021,11 @@ ;; # Here we normalize CPU types with a missing or matching vendor + armh-unknown | armh-alt) + cpu=armv7l + vendor=alt + basic_os=${basic_os:-linux-gnueabihf} + ;; dpx20-unknown | dpx20-bull) cpu=rs6000 vendor=bull @@ -1062,7 +1076,7 @@ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) cpu=i586 ;; - pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*) + pentiumpro-* | p6-* | 6x86-* | athlon-* | athlon_*-*) cpu=i686 ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) @@ -1113,7 +1127,7 @@ xscale-* | xscalee[bl]-*) cpu=`echo "$cpu" | sed 's/^xscale/arm/'` ;; - arm64-*) + arm64-* | aarch64le-*) cpu=aarch64 ;; @@ -1167,7 +1181,7 @@ case $cpu in 1750a | 580 \ | a29k \ - | aarch64 | aarch64_be \ + | aarch64 | aarch64_be | aarch64c | arm64ec \ | abacus \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \ @@ -1186,45 +1200,23 @@ | d10v | d30v | dlx | dsp16xx \ | e2k | elxsi | epiphany \ | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \ + | javascript \ | h8300 | h8500 \ | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i*86 | i860 | i960 | ia16 | ia64 \ | ip2k | iq2000 \ | k1om \ + | kvx \ | le32 | le64 \ | lm32 \ - | loongarch32 | loongarch64 | loongarchx32 \ + | loongarch32 | loongarch64 \ | m32c | m32r | m32rle \ | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k \ | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x \ | m88110 | m88k | maxq | mb | mcore | mep | metag \ | microblaze | microblazeel \ - | mips | mipsbe | mipseb | mipsel | mipsle \ - | mips16 \ - | mips64 | mips64eb | mips64el \ - | mips64octeon | mips64octeonel \ - | mips64orion | mips64orionel \ - | mips64r5900 | mips64r5900el \ - | mips64vr | mips64vrel \ - | mips64vr4100 | mips64vr4100el \ - | mips64vr4300 | mips64vr4300el \ - | mips64vr5000 | mips64vr5000el \ - | mips64vr5900 | mips64vr5900el \ - | mipsisa32 | mipsisa32el \ - | mipsisa32r2 | mipsisa32r2el \ - | mipsisa32r3 | mipsisa32r3el \ - | mipsisa32r5 | mipsisa32r5el \ - | mipsisa32r6 | mipsisa32r6el \ - | mipsisa64 | mipsisa64el \ - | mipsisa64r2 | mipsisa64r2el \ - | mipsisa64r3 | mipsisa64r3el \ - | mipsisa64r5 | mipsisa64r5el \ - | mipsisa64r6 | mipsisa64r6el \ - | mipsisa64sb1 | mipsisa64sb1el \ - | mipsisa64sr71k | mipsisa64sr71kel \ - | mipsr5900 | mipsr5900el \ - | mipstx39 | mipstx39el \ + | mips* \ | mmix \ | mn10200 | mn10300 \ | moxie \ @@ -1272,7 +1264,7 @@ ;; *) - echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2 + echo "Invalid configuration '$1': machine '$cpu-$vendor' not recognized" 1>&2 exit 1 ;; esac @@ -1293,11 +1285,12 @@ # Decode manufacturer-specific aliases for certain operating systems. -if test x$basic_os != x +if test x"$basic_os" != x then -# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just +# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just # set os. +obj= case $basic_os in gnu/linux*) kernel=linux @@ -1313,9 +1306,11 @@ ;; *-*) # shellcheck disable=SC2162 + saved_IFS=$IFS IFS="-" read kernel os <<EOF $basic_os EOF + IFS=$saved_IFS ;; # Default OS when just kernel was specified nto*) @@ -1326,6 +1321,10 @@ kernel=linux os=`echo "$basic_os" | sed -e 's|linux|gnu|'` ;; + managarm*) + kernel=managarm + os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'` + ;; *) kernel= os=$basic_os @@ -1491,10 +1490,16 @@ os=eabi ;; *) - os=elf + os= + obj=elf ;; esac ;; + aout* | coff* | elf* | pe*) + # These are machine code file formats, not OSes + obj=$os + os= + ;; *) # No normalization, but not necessarily accepted, that comes below. ;; @@ -1513,12 +1518,15 @@ # system, and we'll never get to this point. kernel= +obj= case $cpu-$vendor in score-*) - os=elf + os= + obj=elf ;; spu-*) - os=elf + os= + obj=elf ;; *-acorn) os=riscix1.2 @@ -1528,28 +1536,35 @@ os=gnu ;; arm*-semi) - os=aout + os= + obj=aout ;; c4x-* | tic4x-*) - os=coff + os= + obj=coff ;; c8051-*) - os=elf + os= + obj=elf ;; clipper-intergraph) os=clix ;; hexagon-*) - os=elf + os= + obj=elf ;; tic54x-*) - os=coff + os= + obj=coff ;; tic55x-*) - os=coff + os= + obj=coff ;; tic6x-*) - os=coff + os= + obj=coff ;; # This must come before the *-dec entry. pdp10-*) @@ -1571,19 +1586,24 @@ os=sunos3 ;; m68*-cisco) - os=aout + os= + obj=aout ;; mep-*) - os=elf + os= + obj=elf ;; mips*-cisco) - os=elf + os= + obj=elf ;; mips*-*) - os=elf + os= + obj=elf ;; or32-*) - os=coff + os= + obj=coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=sysv3 @@ -1592,7 +1612,8 @@ os=sunos4.1.1 ;; pru-*) - os=elf + os= + obj=elf ;; *-be) os=beos @@ -1673,10 +1694,12 @@ os=uxpv ;; *-rom68k) - os=coff + os= + obj=coff ;; *-*bug) - os=coff + os= + obj=coff ;; *-apple) os=macos @@ -1694,10 +1717,11 @@ fi -# Now, validate our (potentially fixed-up) OS. +# Now, validate our (potentially fixed-up) individual pieces (OS, OBJ). + case $os in # Sometimes we do "kernel-libc", so those need to count as OSes. - musl* | newlib* | uclibc*) + musl* | newlib* | relibc* | uclibc*) ;; # Likewise for "kernel-abi" eabi* | gnueabi*) @@ -1705,6 +1729,9 @@ # VxWorks passes extra cpu info in the 4th filed. simlinux | simwindows | spe) ;; + # See `case $cpu-$os` validation below + ghcjs) + ;; # Now accept the basic system types. # The portable systems comes first. # Each alternative MUST end in a * to match a version number. @@ -1713,7 +1740,7 @@ | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \ | hiux* | abug | nacl* | netware* | windows* \ - | os9* | macos* | osx* | ios* \ + | os9* | macos* | osx* | ios* | tvos* | watchos* \ | mpw* | magic* | mmixware* | mon960* | lnews* \ | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \ | aos* | aros* | cloudabi* | sortix* | twizzler* \ @@ -1722,11 +1749,11 @@ | mirbsd* | netbsd* | dicos* | openedition* | ose* \ | bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \ | ekkobsd* | freebsd* | riscix* | lynxos* | os400* \ - | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ - | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ + | bosx* | nextstep* | cxux* | oabi* \ + | ptx* | ecoff* | winnt* | domain* | vsta* \ | udi* | lites* | ieee* | go32* | aux* | hcos* \ | chorusrdb* | cegcc* | glidix* | serenity* \ - | cygwin* | msys* | pe* | moss* | proelf* | rtems* \ + | cygwin* | msys* | moss* | proelf* | rtems* \ | midipix* | mingw32* | mingw64* | mint* \ | uxpv* | beos* | mpeix* | udk* | moxiebox* \ | interix* | uwin* | mks* | rhapsody* | darwin* \ @@ -1738,7 +1765,8 @@ | skyos* | haiku* | rdos* | toppers* | drops* | es* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ - | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx*) + | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \ + | fiwix* | mlibc* | cos* | mbr* ) ;; # This one is extra strict with allowed versions sco3.2v2 | sco3.2v[4-9]* | sco5v6*) @@ -1746,40 +1774,99 @@ ;; none) ;; + kernel* | msvc* ) + # Restricted further below + ;; + '') + if test x"$obj" = x + then + echo "Invalid configuration '$1': Blank OS only allowed with explicit machine code file format" 1>&2 + fi + ;; *) - echo Invalid configuration \`"$1"\': OS \`"$os"\' not recognized 1>&2 + echo "Invalid configuration '$1': OS '$os' not recognized" 1>&2 + exit 1 + ;; +esac + +case $obj in + aout* | coff* | elf* | pe*) + ;; + '') + # empty is fine + ;; + *) + echo "Invalid configuration '$1': Machine code format '$obj' not recognized" 1>&2 + exit 1 + ;; +esac + +# Here we handle the constraint that a (synthetic) cpu and os are +# valid only in combination with each other and nowhere else. +case $cpu-$os in + # The "javascript-unknown-ghcjs" triple is used by GHC; we + # accept it here in order to tolerate that, but reject any + # variations. + javascript-ghcjs) + ;; + javascript-* | *-ghcjs) + echo "Invalid configuration '$1': cpu '$cpu' is not valid with os '$os$obj'" 1>&2 exit 1 ;; esac # As a final step for OS-related things, validate the OS-kernel combination # (given a valid OS), if there is a kernel. -case $kernel-$os in - linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | linux-musl* | linux-uclibc* ) +case $kernel-$os-$obj in + linux-gnu*- | linux-dietlibc*- | linux-android*- | linux-newlib*- \ + | linux-musl*- | linux-relibc*- | linux-uclibc*- | linux-mlibc*- ) + ;; + uclinux-uclibc*- ) + ;; + managarm-mlibc*- | managarm-kernel*- ) ;; - uclinux-uclibc* ) + windows*-msvc*-) ;; - -dietlibc* | -newlib* | -musl* | -uclibc* ) + -dietlibc*- | -newlib*- | -musl*- | -relibc*- | -uclibc*- | -mlibc*- ) # These are just libc implementations, not actual OSes, and thus # require a kernel. - echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2 + echo "Invalid configuration '$1': libc '$os' needs explicit kernel." 1>&2 exit 1 ;; - kfreebsd*-gnu* | kopensolaris*-gnu*) + -kernel*- ) + echo "Invalid configuration '$1': '$os' needs explicit kernel." 1>&2 + exit 1 ;; - vxworks-simlinux | vxworks-simwindows | vxworks-spe) + *-kernel*- ) + echo "Invalid configuration '$1': '$kernel' does not support '$os'." 1>&2 + exit 1 ;; - nto-qnx*) + *-msvc*- ) + echo "Invalid configuration '$1': '$os' needs 'windows'." 1>&2 + exit 1 ;; - os2-emx) + kfreebsd*-gnu*- | kopensolaris*-gnu*-) + ;; + vxworks-simlinux- | vxworks-simwindows- | vxworks-spe-) + ;; + nto-qnx*-) + ;; + os2-emx-) ;; - *-eabi* | *-gnueabi*) + *-eabi*- | *-gnueabi*-) ;; - -*) + none--*) + # None (no kernel, i.e. freestanding / bare metal), + # can be paired with an machine code file format + ;; + -*-) # Blank kernel with real OS is always fine. ;; - *-*) - echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2 + --*) + # Blank kernel and OS with real machine code file format is always fine. + ;; + *-*-*) + echo "Invalid configuration '$1': Kernel '$kernel' not known to work with OS '$os'." 1>&2 exit 1 ;; esac @@ -1862,7 +1949,7 @@ ;; esac -echo "$cpu-$vendor-${kernel:+$kernel-}$os" +echo "$cpu-$vendor${kernel:+-$kernel}${os:+-$os}${obj:+-$obj}" exit # Local variables: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/build-aux/install-sh new/axel-2.17.14/build-aux/install-sh --- old/axel-2.17.13/build-aux/install-sh 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/build-aux/install-sh 2024-04-08 00:55:52.000000000 +0200 @@ -1,7 +1,7 @@ #!/bin/sh # install - install a program, script, or datafile -scriptversion=2020-11-14.01; # UTC +scriptversion=2023-11-23.18; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the @@ -124,9 +124,9 @@ If -S is not specified, no backups are attempted. -Email bug reports to bug-automake@gnu.org. -Automake home page: https://www.gnu.org/software/automake/ -" +Report bugs to <bug-automake@gnu.org>. +GNU Automake home page: <https://www.gnu.org/software/automake/>. +General help using GNU software: <https://www.gnu.org/gethelp/>." while test $# -ne 0; do case $1 in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/config.h.in new/axel-2.17.14/config.h.in --- old/axel-2.17.13/config.h.in 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/config.h.in 2024-04-08 00:55:52.000000000 +0200 @@ -214,9 +214,6 @@ your system. */ #undef PTHREAD_CREATE_JOINABLE -/* Define as the return type of signal handlers ('int' or 'void'). */ -#undef RETSIGTYPE - /* Define to 1 if all of the C89 standard headers exist (not just the ones required in a freestanding environment). This macro is provided for backward compatibility; new code need not use it. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/configure new/axel-2.17.14/configure --- old/axel-2.17.13/configure 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/configure 2024-04-08 00:55:52.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for axel 2.17.13. +# Generated by GNU Autoconf 2.72 for axel 2.17.14. # # Report bugs to <https://github.com/axel-download-accelerator/axel/issues>. # @@ -615,8 +615,8 @@ # Identity of this package. PACKAGE_NAME='axel' PACKAGE_TARNAME='axel' -PACKAGE_VERSION='2.17.13' -PACKAGE_STRING='axel 2.17.13' +PACKAGE_VERSION='2.17.14' +PACKAGE_STRING='axel 2.17.14' PACKAGE_BUGREPORT='https://github.com/axel-download-accelerator/axel/issues' PACKAGE_URL='' @@ -1362,7 +1362,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 axel 2.17.13 to adapt to many kinds of systems. +'configure' configures axel 2.17.14 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1433,7 +1433,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of axel 2.17.13:";; + short | recursive ) echo "Configuration of axel 2.17.14:";; esac cat <<\_ACEOF @@ -1554,7 +1554,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -axel configure 2.17.13 +axel configure 2.17.14 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -2082,7 +2082,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by axel $as_me 2.17.13, which was +It was created by axel $as_me 2.17.14, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -3400,7 +3400,7 @@ # Define the identity of the package. PACKAGE='axel' - VERSION='2.17.13' + VERSION='2.17.14' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -6209,13 +6209,14 @@ fi - -if test "x$ac_cv_prog_cc_c99" = "xno" -then : +case $ac_prog_cc_stdc in #( + no|c89) : as_fn_error $? "C99 compiler required" "$LINENO" 5 - -fi + ;; #( + *) : + ;; +esac # Large file support # Check whether --enable-largefile was given. @@ -8613,6 +8614,7 @@ esac fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 printf %s "checking return type of signal handlers... " >&6; } if test ${ac_cv_type_signal+y} @@ -8644,10 +8646,12 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 printf "%s\n" "$ac_cv_type_signal" >&6; } +if test "x$ac_cv_type_signal" = xint +then : -printf "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h - + as_fn_error $? "return type of signal handlers is not compliant with C89" "$LINENO" 5 +fi # Custom type checks and replacements @@ -8858,6 +8862,10 @@ # Optional (but included-by-default) ssl support +if test "x$with_ssl" = xyes +then : + with_ssl=openssl +fi if test "x$with_ssl" != xno; then WITH_SSL_TRUE= WITH_SSL_FALSE='#' @@ -9012,14 +9020,14 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$with_ssl" 2>&1` + SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$with_ssl" 2>&1` else - SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$with_ssl" 2>&1` + SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$with_ssl" 2>&1` fi - # Put the nasty error message in config.log where it belongs - echo "$SSL_PKG_ERRORS" >&5 + # Put the nasty error message in config.log where it belongs + echo "$SSL_PKG_ERRORS" >&5 - as_fn_error $? "Package requirements ($with_ssl) were not met: + as_fn_error $? "Package requirements ($with_ssl) were not met: $SSL_PKG_ERRORS @@ -9032,7 +9040,7 @@ elif test $pkg_failed = untried; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full @@ -9045,8 +9053,8 @@ To get pkg-config, see <http://pkg-config.freedesktop.org/>. See 'config.log' for more details" "$LINENO" 5; } else - SSL_CFLAGS=$pkg_cv_SSL_CFLAGS - SSL_LIBS=$pkg_cv_SSL_LIBS + SSL_CFLAGS=$pkg_cv_SSL_CFLAGS + SSL_LIBS=$pkg_cv_SSL_LIBS { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } @@ -9055,7 +9063,7 @@ printf "%s\n" "#define HAVE_SSL 1" >>confdefs.h case "$with_ssl" in #( - openssl|yes) : + openssl) : save_LIBS="$LIBS" LIBS="$LIBS $SSL_LIBS" @@ -11627,7 +11635,7 @@ ;; esac fi -RELDATE_PRETTY=$(pdate '2024-02-06T12:30:10Z' '+%B %e, %Y') +RELDATE_PRETTY=$(pdate '2024-04-07T22:55:52Z' '+%B %e, %Y') # etc path @@ -12179,7 +12187,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by axel $as_me 2.17.13, which was +This file was extended by axel $as_me 2.17.14, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -12247,7 +12255,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -axel config.status 2.17.13 +axel config.status 2.17.14 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/configure.ac new/axel-2.17.14/configure.ac --- old/axel-2.17.13/configure.ac 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/configure.ac 2024-04-08 00:55:52.000000000 +0200 @@ -10,7 +10,7 @@ This file is under the same license as Axel. ]) -AC_PREREQ([2.69]) +AC_PREREQ([2.72]) PKG_PREREQ([0.29]) m4_ifdef([AX_IS_RELEASE],, [ m4_fatal([autoconf-archive is required]) @@ -76,8 +76,7 @@ # Compiler checks AC_PROG_CC -AC_PROG_CC_C99 -AS_IF([test "x$ac_cv_prog_cc_c99" = "xno"], [ +AS_CASE([$ac_prog_cc_stdc], [no|c89], [ AC_MSG_ERROR([C99 compiler required]) ]) @@ -145,7 +144,16 @@ AC_TYPE_SIZE_T AC_TYPE_SSIZE_T AC_TYPE_MODE_T -AC_TYPE_SIGNAL + +AC_CACHE_CHECK([return type of signal handlers],[ac_cv_type_signal],[AC_COMPILE_IFELSE( +[AC_LANG_PROGRAM([#include <sys/types.h> +#include <signal.h> +], [return *(signal (0, 0)) (0) == 1;])], + [ac_cv_type_signal=int], + [ac_cv_type_signal=void])]) +AS_IF([test "x$ac_cv_type_signal" = xint], [ + AC_MSG_ERROR([return type of signal handlers is not compliant with C89]) +]) # Custom type checks and replacements AXEL_CHECK_TYPE([off_t], [sizeof(off_t) >= sizeof(int64_t)]) @@ -191,6 +199,7 @@ AXEL_CHECK_MACRO([O_NONBLOCK], [fcntl.h]) # Optional (but included-by-default) ssl support +AS_IF([test "x$with_ssl" = xyes], [with_ssl=openssl]) AM_CONDITIONAL([WITH_SSL], [test "x$with_ssl" != xno]) AC_ARG_VAR([SSL_PREFIX], [installation prefix of the TLS/SSL library]) AS_IF([test "x$with_ssl" != xno], [ @@ -201,7 +210,7 @@ PKG_CHECK_MODULES([SSL], [$with_ssl]) AC_DEFINE([HAVE_SSL], [1], [SSL]) AS_CASE(["$with_ssl"], - [openssl|yes], [ + [openssl], [ save_LIBS="$LIBS" LIBS="$LIBS $SSL_LIBS" AC_REPLACE_FUNCS([ \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/doc/axel.1 new/axel-2.17.14/doc/axel.1 --- old/axel-2.17.13/doc/axel.1 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/doc/axel.1 2024-04-08 00:55:52.000000000 +0200 @@ -1,5 +1,5 @@ .\" Text automatically generated by txt2man -.TH doc/axel 1 "December 20, 2021" "axel-2.17.11+g28169d" "lightweight command line download accelerator" +.TH doc/axel 1 "April 8, 2024" "axel-2.17.14" "lightweight command line download accelerator" .SH NAME \fBaxel \fP- light command line download accelerator \fB diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/axel.pot new/axel-2.17.14/po/axel.pot --- old/axel-2.17.13/po/axel.pot 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/axel.pot 2024-04-08 00:55:52.000000000 +0200 @@ -185,7 +185,7 @@ msgid "Redirect loop detected.\n" msgstr "" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/de.po new/axel-2.17.14/po/de.po --- old/axel-2.17.13/po/de.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/de.po 2024-04-08 00:55:52.000000000 +0200 @@ -212,7 +212,7 @@ msgid "Redirect loop detected.\n" msgstr "Umleitungsschleife erkannt.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "Unbekannter Fehler" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/es.po new/axel-2.17.14/po/es.po --- old/axel-2.17.13/po/es.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/es.po 2024-04-08 00:55:52.000000000 +0200 @@ -209,7 +209,7 @@ msgid "Redirect loop detected.\n" msgstr "Bucle de redirección detectado.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "Error desconocido" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/id_ID.po new/axel-2.17.14/po/id_ID.po --- old/axel-2.17.13/po/id_ID.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/id_ID.po 2024-04-08 00:55:52.000000000 +0200 @@ -208,7 +208,7 @@ msgid "Redirect loop detected.\n" msgstr "Loop pengalihan terdeteksi.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/it.po new/axel-2.17.14/po/it.po --- old/axel-2.17.13/po/it.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/it.po 2024-04-08 00:55:52.000000000 +0200 @@ -211,7 +211,7 @@ msgid "Redirect loop detected.\n" msgstr "Rilevato ciclo di reindirizzamento.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "Errore sconosciuto" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/ja.po new/axel-2.17.14/po/ja.po --- old/axel-2.17.13/po/ja.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/ja.po 2024-04-08 00:55:52.000000000 +0200 @@ -207,7 +207,7 @@ msgid "Redirect loop detected.\n" msgstr "リダイレクションループが検出されました。\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/ka.po new/axel-2.17.14/po/ka.po --- old/axel-2.17.13/po/ka.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/ka.po 2024-04-08 00:55:52.000000000 +0200 @@ -202,7 +202,7 @@ msgid "Redirect loop detected.\n" msgstr "აღმოჩენილია გადამისამართების ციკლი.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "უცნობი შეცდომა" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/nl.po new/axel-2.17.14/po/nl.po --- old/axel-2.17.13/po/nl.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/nl.po 2024-04-08 00:55:52.000000000 +0200 @@ -206,7 +206,7 @@ msgid "Redirect loop detected.\n" msgstr "Omleidingslus gedetecteerd.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/pt_BR.po new/axel-2.17.14/po/pt_BR.po --- old/axel-2.17.13/po/pt_BR.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/pt_BR.po 2024-04-08 00:55:52.000000000 +0200 @@ -211,7 +211,7 @@ msgid "Redirect loop detected.\n" msgstr "Ciclo de redirecionamento detectado.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "Erro desconhecido" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/ru.po new/axel-2.17.14/po/ru.po --- old/axel-2.17.13/po/ru.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/ru.po 2024-04-08 00:55:52.000000000 +0200 @@ -203,7 +203,7 @@ msgid "Redirect loop detected.\n" msgstr "Обнаружена петля перенаправления.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/tr.po new/axel-2.17.14/po/tr.po --- old/axel-2.17.13/po/tr.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/tr.po 2024-04-08 00:55:52.000000000 +0200 @@ -206,7 +206,7 @@ msgid "Redirect loop detected.\n" msgstr "Yönlendirme döngüsü algılandı.\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/po/zh_CN.po new/axel-2.17.14/po/zh_CN.po --- old/axel-2.17.13/po/zh_CN.po 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/po/zh_CN.po 2024-04-08 00:55:52.000000000 +0200 @@ -205,7 +205,7 @@ msgid "Redirect loop detected.\n" msgstr "检测到重定向循环。\n" -#: src/conn.c:538 +#: src/conn.c:539 msgid "Unknown Error" msgstr "未知错误" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/src/conn.c new/axel-2.17.14/src/conn.c --- old/axel-2.17.13/src/conn.c 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/src/conn.c 2024-04-08 00:55:52.000000000 +0200 @@ -521,17 +521,18 @@ return 1; } +/** + * Parse HTTP response status code, e.g. "HTTP/1.1 200 OK". + */ int conn_info_status_get(char *msg, size_t size, conn_t *conn) { if (is_proto_http(conn->proto)) { char *p = conn->http->headers->p; - /* Skip protocol and code */ - while (*p++ != ' '); - while (*p++ != ' '); size_t len = strcspn(p, "\r\n"); - if (len) { - strlcpy(msg, p, min(len + 1, size)); + if (len > 13) { + /* Copy human-readable status only */ + strlcpy(msg, p + 13, min(len - 12, size)); return conn->http->status; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/src/http.c new/axel-2.17.14/src/http.c --- old/axel-2.17.13/src/http.c 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/src/http.c 2024-04-08 00:55:52.000000000 +0200 @@ -359,7 +359,7 @@ { const char *h; if ((h = http_header(conn, "Content-Disposition:")) != NULL) { - sscanf(h, "%*s%*[ \t]filename%*[ \t=\"\'-]%254[^\n\"\']", + sscanf(h, "%*s%*[ \t]filename%*[ \t=\"\'-]%254[^;\n\"\']", filename); /* Trim spaces at the end of string */ const char space[] = "\t "; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/src/random.c new/axel-2.17.14/src/random.c --- old/axel-2.17.13/src/random.c 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/src/random.c 2024-04-08 00:55:52.000000000 +0200 @@ -1,4 +1,3 @@ -#include <stdatomic.h> #include <unistd.h> #include "config.h" #include "axel.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/axel-2.17.13/src/text.c new/axel-2.17.14/src/text.c --- old/axel-2.17.13/src/text.c 2024-02-06 13:30:10.000000000 +0100 +++ new/axel-2.17.14/src/text.c 2024-04-08 00:55:52.000000000 +0200 @@ -472,7 +472,7 @@ } /* SIGINT/SIGTERM handler */ -RETSIGTYPE +void stop(int signal) { (void)signal;
participants (1)
-
Source-Sync