Hello community, here is the log from the commit of package libbsd for openSUSE:Factory checked in at 2018-01-26 13:57:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbsd (Old) and /work/SRC/openSUSE:Factory/.libbsd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbsd" Fri Jan 26 13:57:49 2018 rev:4 rq:568912 version:0.8.7 Changes: -------- --- /work/SRC/openSUSE:Factory/libbsd/libbsd.changes 2017-10-28 14:17:54.195846979 +0200 +++ /work/SRC/openSUSE:Factory/.libbsd.new/libbsd.changes 2018-01-26 13:57:50.681895644 +0100 @@ -1,0 +2,12 @@ +Wed Jan 24 02:06:58 UTC 2018 - avin...@opensuse.org + +- Update to version 0.8.7: + * Fix <sys/cdefs.h> for gcc with no __has_include or + __has_include_next support + * man: Document on what other BSDs arc4random(3) is present + * Handle several functions now being provided by glibc + * test: Fix nlist(3) unit test on IA64 +- switch to mirror temporarily, per announce: + https://lists.freedesktop.org/archives/libbsd/2018-January/000166.html + +------------------------------------------------------------------- Old: ---- libbsd-0.8.6.tar.xz libbsd-0.8.6.tar.xz.asc New: ---- libbsd-0.8.7.tar.xz libbsd-0.8.7.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbsd.spec ++++++ --- /var/tmp/diff_new_pack.z4z35W/_old 2018-01-26 13:57:51.337865018 +0100 +++ /var/tmp/diff_new_pack.z4z35W/_new 2018-01-26 13:57:51.337865018 +0100 @@ -1,7 +1,7 @@ # # spec file for package libbsd # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -18,7 +18,7 @@ %define lname libbsd0 Name: libbsd -Version: 0.8.6 +Version: 0.8.7 Release: 0 Summary: Provides useful functions commonly found on BSD systems License: BSD-3-Clause @@ -26,8 +26,8 @@ Url: http://libbsd.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/git/libbsd #Git-Web: http://cgit.freedesktop.org/libbsd/ -Source0: http://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz -Source1: http://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz.asc +Source0: https://archive.hadrons.org/software/%{name}/%{name}-%{version}.tar.xz +Source1: https://archive.hadrons.org/software/%{name}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring BuildRequires: fdupes BuildRequires: openssl-devel ++++++ libbsd-0.8.6.tar.xz -> libbsd-0.8.7.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/.dist-version new/libbsd-0.8.7/.dist-version --- old/libbsd-0.8.6/.dist-version 2017-07-17 01:02:53.000000000 +0200 +++ new/libbsd-0.8.7/.dist-version 2018-01-13 16:29:57.000000000 +0100 @@ -1 +1 @@ -0.8.6 +0.8.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/ChangeLog new/libbsd-0.8.7/ChangeLog --- old/libbsd-0.8.6/ChangeLog 2017-07-17 01:03:00.000000000 +0200 +++ new/libbsd-0.8.7/ChangeLog 2018-01-13 16:30:04.000000000 +0100 @@ -1,3 +1,65 @@ +commit 0b61c5ffeda8fc094e6aabc70d4d99058e46d769 +Author: Guillem Jover <guil...@hadrons.org> +Date: Sat Jan 13 16:20:35 2018 +0100 + + Release libbsd 0.8.7 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 9ceac74e91411d3f7dbbc42d772f3500c47c7cec +Author: Jason Duerstock <jason.duerst...@gmail.com> +Date: Sun Dec 3 16:50:07 2017 +0100 + + test: Fix nlist(3) unit test on IA64 + + On IA64 this is only the case in the ELF binary, but it gets normalized + when loaded at run-time. + + Fixes: https://bugs.debian.org/881611 + Signed-off-by: Guillem Jover <guil...@hadrons.org> + + test/nlist.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 9afc7100a1078e177ff68349446526efe6872618 +Author: Adam Lackorzynski <a...@os.inf.tu-dresden.de> +Date: Sun Dec 3 16:46:19 2017 +0100 + + Fix <sys/cdefs.h> for gcc with no __has_include or __has_include_next support + + Fixes: https://bugs.freedesktop.org/103396 + Signed-off-by: Guillem Jover <guil...@hadrons.org> + + include/bsd/sys/cdefs.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +commit 22fbd62368c39de8ac5e249d1502d5ac0ffdef30 +Author: Guillem Jover <guil...@hadrons.org> +Date: Sat Sep 2 19:55:50 2017 +0200 + + Handle several functions now being provided by glibc + + We mention that these are now superseded by the glibc implementations, + make the headers cope with already declared functions on glibc-based + systems, and document this in the man pages. + + include/bsd/stdlib.h | 2 ++ + include/bsd/string.h | 2 ++ + man/explicit_bzero.3bsd | 3 ++- + man/libbsd.7 | 33 ++++++++++++++++++++++++++++----- + man/reallocarray.3bsd | 3 ++- + 5 files changed, 36 insertions(+), 7 deletions(-) + +commit b4f7c065ba6d6649c33f8876445ed30b971fe09e +Author: Guillem Jover <guil...@hadrons.org> +Date: Sat Aug 5 13:42:56 2017 +0200 + + man: Document on what other BSDs arc4random(3) is present + + man/arc4random.3bsd | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + commit bbf90ac3cd55ee5b19b18bc445a066114d6ddfa4 Author: Guillem Jover <guil...@hadrons.org> Date: Mon Jul 17 01:01:13 2017 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/build-aux/config.guess new/libbsd-0.8.7/build-aux/config.guess --- old/libbsd-0.8.6/build-aux/config.guess 2017-07-17 01:02:44.000000000 +0200 +++ new/libbsd-0.8.7/build-aux/config.guess 2018-01-13 16:21:30.000000000 +0100 @@ -1,8 +1,8 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2016 Free Software Foundation, Inc. +# Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2016-10-02' +timestamp='2017-11-07' # 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 @@ -15,7 +15,7 @@ # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. +# along with this program; if not, see <https://www.gnu.org/licenses/>. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -27,7 +27,7 @@ # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # Please send patches to <config-patc...@gnu.org>. @@ -39,7 +39,7 @@ Output the configuration name of the system \`$me' is run on. -Operation modes: +Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit @@ -50,7 +50,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2016 Free Software Foundation, Inc. +Copyright 1992-2017 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." @@ -244,6 +244,9 @@ UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} exit ;; + *:MidnightBSD:*:*) + echo ${UNAME_MACHINE}-unknown-midnightbsd${UNAME_RELEASE} + exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; @@ -259,6 +262,9 @@ *:Sortix:*:*) echo ${UNAME_MACHINE}-unknown-sortix exit ;; + *:Redox:*:*) + echo ${UNAME_MACHINE}-unknown-redox + exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) @@ -315,15 +321,6 @@ exitcode=$? trap '' 0 exit $exitcode ;; - Alpha\ *:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # Should we change UNAME_MACHINE based on the output of uname instead - # of the specific Alpha model? - echo alpha-pc-interix - exit ;; - 21064:Windows_NT:50:3) - echo alpha-dec-winnt3.5 - exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; @@ -485,13 +482,13 @@ #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); #endif #endif exit (-1); @@ -614,7 +611,7 @@ *:AIX:*:*) echo rs6000-ibm-aix exit ;; - ibmrt:4.4BSD:*|romp-ibm:BSD:*) + ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and @@ -635,8 +632,8 @@ 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in - 9000/31? ) HP_ARCH=m68000 ;; - 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/31?) HP_ARCH=m68000 ;; + 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` @@ -749,7 +746,7 @@ { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) @@ -758,7 +755,7 @@ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) @@ -837,10 +834,11 @@ UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; - *) - echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; esac + echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin @@ -854,10 +852,6 @@ *:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; - i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 - exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; @@ -873,27 +867,12 @@ echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) - echo i${UNAME_MACHINE}-pc-mks - exit ;; - 8664:Windows_NT:*) - echo x86_64-pc-mks - exit ;; - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) - # How do we know it's Interix rather than the generic POSIX subsystem? - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we - # UNAME_MACHINE based on the output of uname instead of i386? - echo i586-pc-interix - exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; - p*:CYGWIN*:*) - echo powerpcle-unknown-cygwin - exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; @@ -1096,7 +1075,7 @@ i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + i*86:*:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} @@ -1303,14 +1282,21 @@ if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_64BIT_ARCH >/dev/null + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc + fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub @@ -1334,15 +1320,18 @@ *:QNX:*:4*) echo i386-pc-qnx exit ;; - NEO-?:NONSTOP_KERNEL:*:*) + NEO-*:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; - NSR-?:NONSTOP_KERNEL:*:*) + NSR-*:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; + NSX-*:NONSTOP_KERNEL:*:*) + echo nsx-tandem-nsk${UNAME_RELEASE} + exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; @@ -1414,16 +1403,28 @@ exit ;; esac +echo "$0: unable to guess system type" >&2 + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}" in + mips:Linux | mips64:Linux) + # If we got here on MIPS GNU/Linux, output extra information. + cat >&2 <<EOF + +NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize +the system type. Please install a C compiler and try again. +EOF + ;; +esac + cat >&2 <<EOF -$0: unable to guess system type This script (version $timestamp), has failed to recognize the -operating system you are using. If your script is old, overwrite -config.guess and config.sub with the latest versions from: +operating system you are using. If your script is old, overwrite *all* +copies of config.guess and config.sub with the latest versions from: - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess + https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub + https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub If $0 has already been updated, send the following data and any information you think might be pertinent to config-patc...@gnu.org to @@ -1455,7 +1456,7 @@ exit 1 # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/build-aux/config.sub new/libbsd-0.8.7/build-aux/config.sub --- old/libbsd-0.8.6/build-aux/config.sub 2017-07-17 01:02:44.000000000 +0200 +++ new/libbsd-0.8.7/build-aux/config.sub 2018-01-13 16:21:30.000000000 +0100 @@ -1,8 +1,8 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2016 Free Software Foundation, Inc. +# Copyright 1992-2017 Free Software Foundation, Inc. -timestamp='2016-11-04' +timestamp='2017-11-23' # 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 @@ -15,7 +15,7 @@ # General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, see <http://www.gnu.org/licenses/>. +# along with this program; if not, see <https://www.gnu.org/licenses/>. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -33,7 +33,7 @@ # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases @@ -57,7 +57,7 @@ Canonicalize a configuration name. -Operation modes: +Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit @@ -67,7 +67,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2016 Free Software Foundation, Inc. +Copyright 1992-2017 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." @@ -229,9 +229,6 @@ -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; - -windowsnt*) - os=`echo $os | sed -e 's/windowsnt/winnt/'` - ;; -psos*) os=-psos ;; @@ -263,7 +260,7 @@ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ - | i370 | i860 | i960 | ia64 \ + | i370 | i860 | i960 | ia16 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ @@ -315,7 +312,7 @@ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ - | we32k \ + | wasm32 \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown @@ -388,7 +385,7 @@ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ - | i*86-* | i860-* | i960-* | ia64-* \ + | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ @@ -446,6 +443,7 @@ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ + | wasm32-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ @@ -641,7 +639,7 @@ basic_machine=rs6000-bull os=-bosx ;; - dpx2* | dpx2*-bull) + dpx2*) basic_machine=m68k-bull os=-sysv3 ;; @@ -903,7 +901,7 @@ basic_machine=v70-nec os=-sysv ;; - next | m*-next ) + next | m*-next) basic_machine=m68k-next case $os in -nextstep* ) @@ -948,6 +946,9 @@ nsr-tandem) basic_machine=nsr-tandem ;; + nsx-tandem) + basic_machine=nsx-tandem + ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf @@ -1243,6 +1244,9 @@ basic_machine=a29k-wrs os=-vxworks ;; + wasm32) + basic_machine=wasm32-unknown + ;; w65*) basic_machine=w65-wdc os=-none @@ -1251,6 +1255,9 @@ basic_machine=hppa1.1-winbond os=-proelf ;; + x64) + basic_machine=x86_64-pc + ;; xbox) basic_machine=i686-pc os=-mingw32 @@ -1358,8 +1365,8 @@ if [ x"$os" != x"" ] then case $os in - # First match some system type aliases - # that might get confused with valid system types. + # First match some system type aliases that might get confused + # with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux @@ -1379,9 +1386,9 @@ -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; - # First accept the basic system types. + # Now accept the basic system types. # The portable systems comes first. - # Each alternative MUST END IN A *, to match a version number. + # Each alternative MUST end in a * to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ @@ -1397,7 +1404,7 @@ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ - | -chorusos* | -chorusrdb* | -cegcc* \ + | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ @@ -1409,7 +1416,7 @@ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ - | -onefs* | -tirtos* | -phoenix* | -fuchsia*) + | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1484,7 +1491,7 @@ -nova*) os=-rtmk-nova ;; - -ns2 ) + -ns2) os=-nextstep2 ;; -nsk*) @@ -1539,6 +1546,19 @@ -dicos*) os=-dicos ;; + -pikeos*) + # Until real need of OS specific support for + # particular features comes up, bare metal + # configurations are quite functional. + case $basic_machine in + arm*) + os=-eabi + ;; + *) + os=-elf + ;; + esac + ;; -nacl*) ;; -ios) @@ -1638,6 +1658,9 @@ sparc-* | *-sun) os=-sunos4.1.1 ;; + pru-*) + os=-elf + ;; *-be) os=-beos ;; @@ -1683,7 +1706,7 @@ m88k-omron*) os=-luna ;; - *-next ) + *-next) os=-nextstep ;; *-sequent) @@ -1818,7 +1841,7 @@ exit # Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) +# eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/configure new/libbsd-0.8.7/configure --- old/libbsd-0.8.6/configure 2017-07-17 01:02:42.000000000 +0200 +++ new/libbsd-0.8.7/configure 2018-01-13 16:21:29.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for libbsd 0.8.6. +# Generated by GNU Autoconf 2.69 for libbsd 0.8.7. # # Report bugs to <lib...@lists.freedesktop.org>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='libbsd' PACKAGE_TARNAME='libbsd' -PACKAGE_VERSION='0.8.6' -PACKAGE_STRING='libbsd 0.8.6' +PACKAGE_VERSION='0.8.7' +PACKAGE_STRING='libbsd 0.8.7' PACKAGE_BUGREPORT='lib...@lists.freedesktop.org' PACKAGE_URL='' @@ -1334,7 +1334,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 libbsd 0.8.6 to adapt to many kinds of systems. +\`configure' configures libbsd 0.8.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1405,7 +1405,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libbsd 0.8.6:";; + short | recursive ) echo "Configuration of libbsd 0.8.7:";; esac cat <<\_ACEOF @@ -1516,7 +1516,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -libbsd configure 0.8.6 +libbsd configure 0.8.7 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2061,7 +2061,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libbsd $as_me 0.8.6, which was +It was created by libbsd $as_me 0.8.7, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2927,7 +2927,7 @@ # Define the identity of the package. PACKAGE='libbsd' - VERSION='0.8.6' + VERSION='0.8.7' cat >>confdefs.h <<_ACEOF @@ -3063,7 +3063,7 @@ LIBBSD_ABI_MAJOR=0 LIBBSD_ABI_MINOR=8 -LIBBSD_ABI_PATCH=6 +LIBBSD_ABI_PATCH=7 LIBBSD_ABI="$LIBBSD_ABI_MAJOR:$LIBBSD_ABI_MINOR:$LIBBSD_ABI_PATCH" @@ -14245,7 +14245,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by libbsd $as_me 0.8.6, which was +This file was extended by libbsd $as_me 0.8.7, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14311,7 +14311,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -libbsd config.status 0.8.6 +libbsd config.status 0.8.7 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/libbsd-0.8.6/configure.ac new/libbsd-0.8.7/configure.ac --- old/libbsd-0.8.6/configure.ac 2017-07-17 01:01:03.000000000 +0200 +++ new/libbsd-0.8.7/configure.ac 2018-01-13 16:20:25.000000000 +0100 @@ -13,7 +13,7 @@ LIBBSD_ABI_MAJOR=0 LIBBSD_ABI_MINOR=8 -LIBBSD_ABI_PATCH=6 +LIBBSD_ABI_PATCH=7 LIBBSD_ABI="$LIBBSD_ABI_MAJOR:$LIBBSD_ABI_MINOR:$LIBBSD_ABI_PATCH" AC_SUBST([LIBBSD_ABI]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/include/bsd/stdlib.h new/libbsd-0.8.7/include/bsd/stdlib.h --- old/libbsd-0.8.6/include/bsd/stdlib.h 2017-06-12 01:25:31.000000000 +0200 +++ new/libbsd-0.8.7/include/bsd/stdlib.h 2017-08-05 13:20:00.000000000 +0200 @@ -67,7 +67,9 @@ const unsigned char *table, unsigned endbyte); void *reallocf(void *ptr, size_t size); +#if defined(_GNU_SOURCE) && defined(__GLIBC__) && !__GLIBC_PREREQ(2, 26) void *reallocarray(void *ptr, size_t nmemb, size_t size); +#endif long long strtonum(const char *nptr, long long minval, long long maxval, const char **errstr); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/include/bsd/string.h new/libbsd-0.8.7/include/bsd/string.h --- old/libbsd-0.8.6/include/bsd/string.h 2017-06-06 04:08:10.000000000 +0200 +++ new/libbsd-0.8.7/include/bsd/string.h 2017-08-05 13:20:54.000000000 +0200 @@ -42,7 +42,9 @@ char *strnstr(const char *str, const char *find, size_t str_len); void strmode(mode_t mode, char *str); +#if defined(_GNU_SOURCE) && defined(__GLIBC__) && !__GLIBC_PREREQ(2, 25) void explicit_bzero(void *buf, size_t len); +#endif __END_DECLS #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/include/bsd/sys/cdefs.h new/libbsd-0.8.7/include/bsd/sys/cdefs.h --- old/libbsd-0.8.6/include/bsd/sys/cdefs.h 2017-06-06 04:21:05.000000000 +0200 +++ new/libbsd-0.8.7/include/bsd/sys/cdefs.h 2018-01-13 16:17:10.000000000 +0100 @@ -25,10 +25,10 @@ */ #ifndef __has_include -#define __has_include 1 +#define __has_include(x) 1 #endif #ifndef __has_include_next -#define __has_include_next 1 +#define __has_include_next(x) 1 #endif #ifdef LIBBSD_OVERLAY diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/man/arc4random.3bsd new/libbsd-0.8.7/man/arc4random.3bsd --- old/libbsd-0.8.6/man/arc4random.3bsd 2017-06-24 16:08:27.000000000 +0200 +++ new/libbsd-0.8.7/man/arc4random.3bsd 2017-08-05 13:42:56.000000000 +0200 @@ -129,7 +129,11 @@ .Xr random 3 .Sh HISTORY These functions first appeared in -.Ox 2.1 . +.Ox 2.1 , +.Fx 3.0 , +.Nx 1.6 , +and +.Dx 1.0 . .Pp The original version of this random number generator used the RC4 (also known as ARC4) algorithm. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/man/explicit_bzero.3bsd new/libbsd-0.8.7/man/explicit_bzero.3bsd --- old/libbsd-0.8.6/man/explicit_bzero.3bsd 2017-06-24 16:08:27.000000000 +0200 +++ new/libbsd-0.8.7/man/explicit_bzero.3bsd 2017-08-05 13:00:04.000000000 +0200 @@ -72,4 +72,5 @@ The .Fn explicit_bzero function first appeared in -.Ox 5.5 . +.Ox 5.5 , +glibc 2.25. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/man/libbsd.7 new/libbsd-0.8.7/man/libbsd.7 --- old/libbsd-0.8.6/man/libbsd.7 2017-06-19 03:17:21.000000000 +0200 +++ new/libbsd-0.8.7/man/libbsd.7 2017-09-02 19:55:50.000000000 +0200 @@ -150,13 +150,36 @@ Otherwise the code needs to be prepared for neither of these functions being available. .El +.Sh SUPERSEDED +Some functions have been superseded by implementations in other system +libraries, and might disappear on the next SONAME bump, assuming those +other implementation have widespread deployment, or the implementations +are present in all major +.Nm libc +for example. .Pp -In addition, the MD5 set of digest funtions are now provided by the +.Bl -tag -width 4m -compact +.It Fn MD5Init +.It Fn MD5Update +.It Fn MD5Pad +.It Fn MD5Final +.It Fn MD5Transform +.It Fn MD5End +.It Fn MD5File +.It Fn MD5FileChunk +.It Fn MD5Data +The set of MD5 digest functions are now provided by the .Nm libmd -companion library, so it is advised to use that instead, as the ones -provided in -.Nm libbsd -might disappear on the next SONAME bump. +companion library, so it is advised to use that instead. +.It Fn explicit_bzero +This function is provided by +.Nm glibc +2.25. +.It Fn reallocarray +This function is provided by +.Nm glibc +2.26. +.El .Sh SEE ALSO .Xr arc4random 3bsd , .Xr bitstring 3bsd , diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/man/reallocarray.3bsd new/libbsd-0.8.7/man/reallocarray.3bsd --- old/libbsd-0.8.6/man/reallocarray.3bsd 2017-06-24 16:08:27.000000000 +0200 +++ new/libbsd-0.8.7/man/reallocarray.3bsd 2017-08-05 12:58:19.000000000 +0200 @@ -102,4 +102,5 @@ .Sh HISTORY .Fn reallocarray appeared in -.Ox 5.6 . +.Ox 5.6 , +glibc 2.26. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libbsd-0.8.6/test/nlist.c new/libbsd-0.8.7/test/nlist.c --- old/libbsd-0.8.6/test/nlist.c 2017-06-25 02:10:23.000000000 +0200 +++ new/libbsd-0.8.7/test/nlist.c 2018-01-13 16:17:28.000000000 +0100 @@ -69,8 +69,8 @@ rc = nlist(argv[0], nl); assert(rc == 0); -#if defined(__ia64__) || (defined(__powerpc64__) && _CALL_ELF == 1) - /* On IA64 and PowerPC 64-bit ELFv1, the functions are stored in +#if defined(__powerpc64__) && _CALL_ELF == 1 + /* On PowerPC 64-bit ELFv1, the functions are stored in * the .text sections but they are accessed through a function * descriptor stored in a data section, for example for PowerPC * 64-bit that section is called .opd. */