Hello community,
here is the log from the commit of package libassuan for openSUSE:Factory checked in at 2016-07-27 16:07:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libassuan (Old)
and /work/SRC/openSUSE:Factory/.libassuan.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libassuan"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libassuan/libassuan.changes 2015-12-09 22:21:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libassuan.new/libassuan.changes 2016-07-27 16:07:04.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Jul 18 22:16:32 UTC 2016 - astieger@suse.com
+
+- libassuan 2.4.3:
+ * Allow socket redirection with assuan_socket_connect.
+ * Speedup spawning programs on Linux
+ * Fix minor memory leaks
+
+-------------------------------------------------------------------
Old:
----
libassuan-2.4.2.tar.bz2
libassuan-2.4.2.tar.bz2.sig
New:
----
libassuan-2.4.3.tar.bz2
libassuan-2.4.3.tar.bz2.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libassuan.spec ++++++
--- /var/tmp/diff_new_pack.vlLV6V/_old 2016-07-27 16:07:05.000000000 +0200
+++ /var/tmp/diff_new_pack.vlLV6V/_new 2016-07-27 16:07:05.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libassuan
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,7 +17,7 @@
Name: libassuan
-Version: 2.4.2
+Version: 2.4.3
Release: 0
Summary: IPC library used by GnuPG version 2
License: GPL-3.0+ and LGPL-2.1+
++++++ libassuan-2.4.2.tar.bz2 -> libassuan-2.4.3.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/AUTHORS new/libassuan-2.4.3/AUTHORS
--- old/libassuan-2.4.2/AUTHORS 2015-10-16 15:40:36.000000000 +0200
+++ new/libassuan-2.4.3/AUTHORS 2016-07-14 10:03:48.000000000 +0200
@@ -45,7 +45,7 @@
Copyright
=========
-The Libassuan code distributed under the GNU Lesser General Public
+The Libassuan code is distributed under the GNU Lesser General Public
License, version 2.1 or later. The manual is distributed under the
GNU General Public License, Version 3 or later.
@@ -55,14 +55,14 @@
Copyright (C) 1992-2013 Free Software Foundation, Inc.
Copyright (C) 1994 X Consortium
Copyright (C) 2000 Werner Koch (dd9jn)
- Copyright (C) 2001-2015 g10 Code GmbH
+ Copyright (C) 2001-2016 g10 Code GmbH
Copyright (C) 2004 Simon Josefsson
==========
Copyright 2003-2013 Free Software Foundation, Inc.
- Copyright (C) 2013-2014 g10 Code GmbH
+ Copyright (C) 2013-2016 g10 Code GmbH
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/ChangeLog new/libassuan-2.4.3/ChangeLog
--- old/libassuan-2.4.2/ChangeLog 2015-12-02 14:16:34.000000000 +0100
+++ new/libassuan-2.4.3/ChangeLog 2016-07-14 10:12:02.000000000 +0200
@@ -1,3 +1,52 @@
+2016-07-14 Werner Koch
+
+ Release 2.4.3.
+ * configure.ac: Set LT version to C7/A7/R3.
+ * Makefile.am (distcheck-hook): New.
+
+2016-07-13 Werner Koch
+
+ build: Update config.{guess,sub} to {2016-05-15,2016-06-20}.
+ * build-aux/config.guess: Update.
+ * build-aux/config.sub: Update.
+
+ Improve test for inet_pton on Solaris.
+ * configure.ac (HAVE_INET_PTON): Add a fallback test.
+
+ Allow socket redirection with assuan_socket_connect.
+ * src/assuan-socket-connect.c (assuan_socket_connect): Use
+ set_socketaddr function.
+
+ Speedup closing fds before an exec.
+ * src/system-posix.c [__linux__]: Include dirent.h.
+ (get_max_fds) [__linux__]: Return the actual used highest fd.
+
+2016-07-05 Justus Winter
+
+ Fix distcheck.
+ * tests/Makefile.am (EXTRA_DIST): Drop compiled test.
+
+2016-06-25 Werner Koch
+
+ Fix minor memory leaks.
+ * src/assuan-pipe-connect.c (socketpair_connect): Always free
+ CHILD_FDS.
+ * src/assuan-uds.c (uds_sendfd): Clear CONTROL_U to silence Valgrind.
+ * tests/fdpassing.c (main): Free FNAME.
+
+ * src/assuan-handler.c (dispatch_command): Remove dead assignment.
+
+2016-01-15 Werner Koch
+
+ Improve getting of max. number of open fds.
+ * configure.ac (AC_CHECK_FUNCS): Add getrlimit.
+ * src/assuan-pipe-connect.c (MAX_OPEN_FDS): Remove non-used macro.
+ * src/system.c (MAX_OPEN_FDS): Remove non-used macro.
+ * src/system-posix.c: Include stdint.h, sys/time.h, sys/resource.h.
+ (MAX_OPEN_FDS): Remove non-used macro.
+ (get_max_fds): New. Taken from gnupg/common/exechelp-posix.c.
+ (__assuan_spawn): Use it here.
+
2015-12-02 Werner Koch
Release 2.4.2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/Makefile.am new/libassuan-2.4.3/Makefile.am
--- old/libassuan-2.4.2/Makefile.am 2014-12-11 13:06:30.000000000 +0100
+++ new/libassuan-2.4.3/Makefile.am 2016-07-14 10:09:22.000000000 +0200
@@ -34,6 +34,20 @@
dist-hook: gen-ChangeLog
echo "$(VERSION)" > $(distdir)/VERSION
+distcheck-hook:
+ set -e; ( \
+ pref="#+macro: $$(echo $(PACKAGE_NAME)|tr '-' '_')_" ;\
+ reldate="$$(date -u +%Y-%m-%d)" ;\
+ echo "$${pref}ver $(PACKAGE_VERSION)" ;\
+ echo "$${pref}date $${reldate}" ;\
+ list='$(DIST_ARCHIVES)'; for i in $$list; do \
+ case "$$i" in *.tar.bz2) \
+ echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
+ echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
+ echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
+ esac;\
+ done ) | tee $(distdir).swdb
+
gen_start_date = 2011-12-01T00:00:00
.PHONY: gen-ChangeLog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/Makefile.in new/libassuan-2.4.3/Makefile.in
--- old/libassuan-2.4.2/Makefile.in 2015-12-02 14:15:58.000000000 +0100
+++ new/libassuan-2.4.3/Makefile.in 2016-07-14 10:11:47.000000000 +0200
@@ -671,6 +671,7 @@
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build \
&& ../configure \
@@ -856,6 +857,20 @@
dist-hook: gen-ChangeLog
echo "$(VERSION)" > $(distdir)/VERSION
+
+distcheck-hook:
+ set -e; ( \
+ pref="#+macro: $$(echo $(PACKAGE_NAME)|tr '-' '_')_" ;\
+ reldate="$$(date -u +%Y-%m-%d)" ;\
+ echo "$${pref}ver $(PACKAGE_VERSION)" ;\
+ echo "$${pref}date $${reldate}" ;\
+ list='$(DIST_ARCHIVES)'; for i in $$list; do \
+ case "$$i" in *.tar.bz2) \
+ echo "$${pref}size $$(wc -c <$$i|awk '{print int($$1/1024)}')k" ;\
+ echo "$${pref}sha1 $$(sha1sum <$$i|cut -d' ' -f1)" ;\
+ echo "$${pref}sha2 $$(sha256sum <$$i|cut -d' ' -f1)" ;;\
+ esac;\
+ done ) | tee $(distdir).swdb
.PHONY: gen-ChangeLog
gen-ChangeLog:
set -e; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/NEWS new/libassuan-2.4.3/NEWS
--- old/libassuan-2.4.2/NEWS 2015-12-02 14:14:39.000000000 +0100
+++ new/libassuan-2.4.3/NEWS 2016-07-14 10:04:09.000000000 +0200
@@ -1,3 +1,15 @@
+Noteworthy changes in version 2.4.3 (2016-07-14) [C7/A7/R3]
+------------------------------------------------
+
+ * Allow socket redirection with assuan_socket_connect.
+
+ * Speedup spawning programs on Linux
+
+ * Fix minor memory leaks
+
+ * Portability fixes for Solaris and AIX.
+
+
Noteworthy changes in version 2.4.2 (2015-12-02) [C7/A7/R2]
------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/README new/libassuan-2.4.3/README
--- old/libassuan-2.4.2/README 2015-10-16 15:40:36.000000000 +0200
+++ new/libassuan-2.4.3/README 2016-07-14 10:03:03.000000000 +0200
@@ -2,7 +2,7 @@
===========
Copyright (C) 2001-2013 Free Software Foundation, Inc.
- Copyright (C) 2001-2015 g10 Code GmbH
+ Copyright (C) 2001-2016 g10 Code GmbH
This is a general purpose IPC library which is for example used
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/VERSION new/libassuan-2.4.3/VERSION
--- old/libassuan-2.4.2/VERSION 2015-12-02 14:16:34.000000000 +0100
+++ new/libassuan-2.4.3/VERSION 2016-07-14 10:12:02.000000000 +0200
@@ -1 +1 @@
-2.4.2
+2.4.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/build-aux/config.guess new/libassuan-2.4.3/build-aux/config.guess
--- old/libassuan-2.4.2/build-aux/config.guess 2015-01-28 10:11:23.000000000 +0100
+++ new/libassuan-2.4.3/build-aux/config.guess 2016-07-13 19:01:14.000000000 +0200
@@ -1,8 +1,8 @@
#! /bin/sh
# Attempt to guess a canonical system name.
-# Copyright 1992-2015 Free Software Foundation, Inc.
+# Copyright 1992-2016 Free Software Foundation, Inc.
-timestamp='2015-01-01'
+timestamp='2016-05-15'
# 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
@@ -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...
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
#
# Please send patches to .
@@ -50,7 +50,7 @@
GNU config.guess ($timestamp)
Originally written by Per Bothner.
-Copyright 1992-2015 Free Software Foundation, Inc.
+Copyright 1992-2016 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."
@@ -168,19 +168,29 @@
# Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown".
sysctl="sysctl -n hw.machine_arch"
- UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
- /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+ UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
+ /sbin/$sysctl 2>/dev/null || \
+ /usr/sbin/$sysctl 2>/dev/null || \
+ echo unknown)`
case "${UNAME_MACHINE_ARCH}" in
armeb) machine=armeb-unknown ;;
arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
sh5el) machine=sh5le-unknown ;;
+ earmv*)
+ arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
+ endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
+ machine=${arch}${endian}-unknown
+ ;;
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
esac
# The Operating System including object format, if it has switched
- # to ELF recently, or will in the future.
+ # to ELF recently (or will in the future) and ABI.
case "${UNAME_MACHINE_ARCH}" in
+ earm*)
+ os=netbsdelf
+ ;;
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
eval $set_cc_for_build
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
@@ -197,6 +207,13 @@
os=netbsd
;;
esac
+ # Determine ABI tags.
+ case "${UNAME_MACHINE_ARCH}" in
+ earm*)
+ expr='s/^earmv[0-9]/-eabi/;s/eb$//'
+ abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
+ ;;
+ esac
# The OS release
# Debian GNU/NetBSD machines have a different userland, and
# thus, need a distinct triplet. However, they do not need
@@ -207,13 +224,13 @@
release='-gnu'
;;
*)
- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
;;
esac
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
# contains redundant information, the shorter form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
- echo "${machine}-${os}${release}"
+ echo "${machine}-${os}${release}${abi}"
exit ;;
*:Bitrig:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
@@ -223,6 +240,10 @@
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
exit ;;
+ *:LibertyBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
+ exit ;;
*:ekkoBSD:*:*)
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
exit ;;
@@ -235,6 +256,9 @@
*:MirBSD:*:*)
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
exit ;;
+ *:Sortix:*:*)
+ echo ${UNAME_MACHINE}-unknown-sortix
+ exit ;;
alpha:OSF1:*:*)
case $UNAME_RELEASE in
*4.0)
@@ -251,42 +275,42 @@
ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
case "$ALPHA_CPU_TYPE" in
"EV4 (21064)")
- UNAME_MACHINE="alpha" ;;
+ UNAME_MACHINE=alpha ;;
"EV4.5 (21064)")
- UNAME_MACHINE="alpha" ;;
+ UNAME_MACHINE=alpha ;;
"LCA4 (21066/21068)")
- UNAME_MACHINE="alpha" ;;
+ UNAME_MACHINE=alpha ;;
"EV5 (21164)")
- UNAME_MACHINE="alphaev5" ;;
+ UNAME_MACHINE=alphaev5 ;;
"EV5.6 (21164A)")
- UNAME_MACHINE="alphaev56" ;;
+ UNAME_MACHINE=alphaev56 ;;
"EV5.6 (21164PC)")
- UNAME_MACHINE="alphapca56" ;;
+ UNAME_MACHINE=alphapca56 ;;
"EV5.7 (21164PC)")
- UNAME_MACHINE="alphapca57" ;;
+ UNAME_MACHINE=alphapca57 ;;
"EV6 (21264)")
- UNAME_MACHINE="alphaev6" ;;
+ UNAME_MACHINE=alphaev6 ;;
"EV6.7 (21264A)")
- UNAME_MACHINE="alphaev67" ;;
+ UNAME_MACHINE=alphaev67 ;;
"EV6.8CB (21264C)")
- UNAME_MACHINE="alphaev68" ;;
+ UNAME_MACHINE=alphaev68 ;;
"EV6.8AL (21264B)")
- UNAME_MACHINE="alphaev68" ;;
+ UNAME_MACHINE=alphaev68 ;;
"EV6.8CX (21264D)")
- UNAME_MACHINE="alphaev68" ;;
+ UNAME_MACHINE=alphaev68 ;;
"EV6.9A (21264/EV69A)")
- UNAME_MACHINE="alphaev69" ;;
+ UNAME_MACHINE=alphaev69 ;;
"EV7 (21364)")
- UNAME_MACHINE="alphaev7" ;;
+ UNAME_MACHINE=alphaev7 ;;
"EV7.9 (21364A)")
- UNAME_MACHINE="alphaev79" ;;
+ UNAME_MACHINE=alphaev79 ;;
esac
# A Pn.n version is a patched version.
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
exitcode=$?
trap '' 0
@@ -359,16 +383,16 @@
exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
eval $set_cc_for_build
- SUN_ARCH="i386"
+ SUN_ARCH=i386
# If there is a compiler, see if it is configured for 64-bit objects.
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
# This test works for both compilers.
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+ if [ "$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 -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
- SUN_ARCH="x86_64"
+ SUN_ARCH=x86_64
fi
fi
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
@@ -393,7 +417,7 @@
exit ;;
sun*:*:4.2BSD:*)
UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
- test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+ test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
case "`/bin/arch`" in
sun3)
echo m68k-sun-sunos${UNAME_RELEASE}
@@ -618,13 +642,13 @@
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
case "${sc_cpu_version}" in
- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+ 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
+ 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
532) # CPU_PA_RISC2_0
case "${sc_kernel_bits}" in
- 32) HP_ARCH="hppa2.0n" ;;
- 64) HP_ARCH="hppa2.0w" ;;
- '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
+ 32) HP_ARCH=hppa2.0n ;;
+ 64) HP_ARCH=hppa2.0w ;;
+ '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
esac ;;
esac
fi
@@ -663,11 +687,11 @@
exit (0);
}
EOF
- (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+ (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
test -z "$HP_ARCH" && HP_ARCH=hppa
fi ;;
esac
- if [ ${HP_ARCH} = "hppa2.0w" ]
+ if [ ${HP_ARCH} = hppa2.0w ]
then
eval $set_cc_for_build
@@ -680,12 +704,12 @@
# $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
# => hppa64-hp-hpux11.23
- if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+ if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
grep -q __LP64__
then
- HP_ARCH="hppa2.0w"
+ HP_ARCH=hppa2.0w
else
- HP_ARCH="hppa64"
+ HP_ARCH=hppa64
fi
fi
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
@@ -790,14 +814,14 @@
echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
- FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit ;;
5000:UNIX_System_V:4.*:*)
- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit ;;
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
@@ -879,7 +903,7 @@
exit ;;
*:GNU/*:*:*)
# other systems with GNU libc and userland
- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
exit ;;
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix
@@ -902,7 +926,7 @@
EV68*) UNAME_MACHINE=alphaev68 ;;
esac
objdump --private-headers /bin/sh | grep -q ld.so.1
- if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
+ if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
arc:Linux:*:* | arceb:Linux:*:*)
@@ -933,6 +957,9 @@
crisv32:Linux:*:*)
echo ${UNAME_MACHINE}-axis-linux-${LIBC}
exit ;;
+ e2k:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
frv:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
@@ -945,6 +972,9 @@
ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
+ k1om:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ exit ;;
m32r*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
exit ;;
@@ -1021,7 +1051,7 @@
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
exit ;;
x86_64:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
+ echo ${UNAME_MACHINE}-pc-linux-${LIBC}
exit ;;
xtensa*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
@@ -1100,7 +1130,7 @@
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i586.
# Note: whatever this is, it MUST be the same as what config.sub
- # prints for the "djgpp" host, or else GDB configury will decide that
+ # prints for the "djgpp" host, or else GDB configure will decide that
# this is a cross-build.
echo i586-pc-msdosdjgpp
exit ;;
@@ -1249,6 +1279,9 @@
SX-8R:SUPER-UX:*:*)
echo sx8r-nec-superux${UNAME_RELEASE}
exit ;;
+ SX-ACE:SUPER-UX:*:*)
+ echo sxace-nec-superux${UNAME_RELEASE}
+ exit ;;
Power*:Rhapsody:*:*)
echo powerpc-apple-rhapsody${UNAME_RELEASE}
exit ;;
@@ -1262,9 +1295,9 @@
UNAME_PROCESSOR=powerpc
fi
if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; 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) | \
+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
grep IS_64BIT_ARCH >/dev/null
then
case $UNAME_PROCESSOR in
@@ -1286,7 +1319,7 @@
exit ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*)
UNAME_PROCESSOR=`uname -p`
- if test "$UNAME_PROCESSOR" = "x86"; then
+ if test "$UNAME_PROCESSOR" = x86; then
UNAME_PROCESSOR=i386
UNAME_MACHINE=pc
fi
@@ -1317,7 +1350,7 @@
# "uname -m" is not consistent, so use $cputype instead. 386
# is converted to i386 for consistency with other x86
# operating systems.
- if test "$cputype" = "386"; then
+ if test "$cputype" = 386; then
UNAME_MACHINE=i386
else
UNAME_MACHINE="$cputype"
@@ -1359,7 +1392,7 @@
echo i386-pc-xenix
exit ;;
i*86:skyos:*:*)
- echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
exit ;;
i*86:rdos:*:*)
echo ${UNAME_MACHINE}-pc-rdos
@@ -1370,23 +1403,25 @@
x86_64:VMkernel:*:*)
echo ${UNAME_MACHINE}-unknown-esx
exit ;;
+ amd64:Isilon\ OneFS:*:*)
+ echo x86_64-unknown-onefs
+ exit ;;
esac
cat >&2 <http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess...
+ http://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;h...
+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
-If the version you run ($0) is already up to date, please
-send the following data and any information you think might be
-pertinent to in order to provide the needed
-information to handle your system.
+If $0 has already been updated, send the following data and any
+information you think might be pertinent to config-patches@gnu.org to
+provide the necessary information to handle your system.
config.guess timestamp = $timestamp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/build-aux/config.sub new/libassuan-2.4.3/build-aux/config.sub
--- old/libassuan-2.4.2/build-aux/config.sub 2015-01-28 10:11:23.000000000 +0100
+++ new/libassuan-2.4.3/build-aux/config.sub 2016-07-13 19:01:14.000000000 +0200
@@ -1,8 +1,8 @@
#! /bin/sh
# Configuration validation subroutine script.
-# Copyright 1992-2015 Free Software Foundation, Inc.
+# Copyright 1992-2016 Free Software Foundation, Inc.
-timestamp='2015-01-01'
+timestamp='2016-06-20'
# 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
@@ -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;h...
+# http://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
@@ -53,8 +53,7 @@
me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
-Usage: $0 [OPTION] CPU-MFR-OPSYS
- $0 [OPTION] ALIAS
+Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
Canonicalize a configuration name.
@@ -68,7 +67,7 @@
version="\
GNU config.sub ($timestamp)
-Copyright 1992-2015 Free Software Foundation, Inc.
+Copyright 1992-2016 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."
@@ -117,7 +116,7 @@
case $maybe_os in
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
- knetbsd*-gnu* | netbsd*-gnu* | \
+ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
os=-$maybe_os
@@ -255,11 +254,12 @@
| arc | arceb \
| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
| avr | avr32 \
+ | ba \
| be32 | be64 \
| bfin \
| c4x | c8051 | clipper \
| d10v | d30v | dlx | dsp16xx \
- | epiphany \
+ | e2k | epiphany \
| fido | fr30 | frv | ft32 \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| hexagon \
@@ -305,7 +305,7 @@
| riscv32 | riscv64 \
| rl78 | rx \
| score \
- | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
@@ -376,12 +376,13 @@
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* | avr32-* \
+ | ba-* \
| be32-* | be64-* \
| bfin-* | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c4x-* \
| c8051-* | clipper-* | craynv-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
- | elxsi-* \
+ | e2k-* | elxsi-* \
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
| h8300-* | h8500-* \
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
@@ -428,12 +429,13 @@
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
| pyramid-* \
+ | riscv32-* | riscv64-* \
| rl78-* | romp-* | rs6000-* | rx-* \
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
| sparclite-* \
- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
| tahoe-* \
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
| tile*-* \
@@ -518,6 +520,9 @@
basic_machine=i386-pc
os=-aros
;;
+ asmjs)
+ basic_machine=asmjs-unknown
+ ;;
aux)
basic_machine=m68k-apple
os=-aux
@@ -638,6 +643,14 @@
basic_machine=m68k-bull
os=-sysv3
;;
+ e500v[12])
+ basic_machine=powerpc-unknown
+ os=$os"spe"
+ ;;
+ e500v[12]-*)
+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ os=$os"spe"
+ ;;
ebmon29k)
basic_machine=a29k-amd
os=-ebmon
@@ -1373,18 +1386,18 @@
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* | -plan9* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- | -aos* | -aros* \
+ | -aos* | -aros* | -cloudabi* | -sortix* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
- | -bitrig* | -openbsd* | -solidbsd* \
+ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
+ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
@@ -1393,7 +1406,8 @@
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
+ | -onefs* | -tirtos* | -phoenix*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx*)
@@ -1525,6 +1539,8 @@
;;
-nacl*)
;;
+ -ios)
+ ;;
-none)
;;
*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/config.h.in new/libassuan-2.4.3/config.h.in
--- old/libassuan-2.4.2/config.h.in 2015-12-02 14:16:33.000000000 +0100
+++ new/libassuan-2.4.3/config.h.in 2016-07-14 10:07:22.000000000 +0200
@@ -53,7 +53,10 @@
/* Define to 1 if you have the `getpeerucred' function. */
#undef HAVE_GETPEERUCRED
-/* Define to 1 if you have the `inet_pton' function. */
+/* Define to 1 if you have the `getrlimit' function. */
+#undef HAVE_GETRLIMIT
+
+/* Define to 1 if you have `inet_pton'. */
#undef HAVE_INET_PTON
/* Define to 1 if you have the header file. */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/configure new/libassuan-2.4.3/configure
--- old/libassuan-2.4.2/configure 2015-12-02 14:15:59.000000000 +0100
+++ new/libassuan-2.4.3/configure 2016-07-14 10:11:48.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libassuan 2.4.2.
+# Generated by GNU Autoconf 2.69 for libassuan 2.4.3.
#
# Report bugs to http://bugs.gnupg.org.
#
@@ -590,8 +590,8 @@
# Identity of this package.
PACKAGE_NAME='libassuan'
PACKAGE_TARNAME='libassuan'
-PACKAGE_VERSION='2.4.2'
-PACKAGE_STRING='libassuan 2.4.2'
+PACKAGE_VERSION='2.4.3'
+PACKAGE_STRING='libassuan 2.4.3'
PACKAGE_BUGREPORT='http://bugs.gnupg.org'
PACKAGE_URL=''
@@ -1348,7 +1348,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 libassuan 2.4.2 to adapt to many kinds of systems.
+\`configure' configures libassuan 2.4.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1418,7 +1418,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libassuan 2.4.2:";;
+ short | recursive ) echo "Configuration of libassuan 2.4.3:";;
esac
cat <<\_ACEOF
@@ -1534,7 +1534,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libassuan configure 2.4.2
+libassuan configure 2.4.3
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2114,7 +2114,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libassuan $as_me 2.4.2, which was
+It was created by libassuan $as_me 2.4.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2471,7 +2471,7 @@
#
LIBASSUAN_LT_CURRENT=7
LIBASSUAN_LT_AGE=7
-LIBASSUAN_LT_REVISION=2
+LIBASSUAN_LT_REVISION=3
# If the API is changed in an incompatible way: increment the next counter.
LIBASSUAN_CONFIG_API_VERSION=2
@@ -2999,7 +2999,7 @@
# Define the identity of the package.
PACKAGE='libassuan'
- VERSION='2.4.2'
+ VERSION='2.4.3'
cat >>confdefs.h <<_ACEOF
@@ -4771,7 +4771,7 @@
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF
-VERSION_NUMBER=0x020402
+VERSION_NUMBER=0x020403
@@ -13547,7 +13547,7 @@
#
# Provide information about the build.
#
-BUILD_REVISION="e0516c5"
+BUILD_REVISION="316a040"
cat >>confdefs.h <<_ACEOF
@@ -13556,7 +13556,7 @@
BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'`
-BUILD_FILEVERSION="${BUILD_FILEVERSION}57425"
+BUILD_FILEVERSION="${BUILD_FILEVERSION}12650"
# Check whether --enable-build-timestamp was given.
@@ -14356,7 +14356,8 @@
#
# Checks for library functions.
#
-for ac_func in flockfile funlockfile inet_pton stat getaddrinfo
+for ac_func in flockfile funlockfile inet_pton stat getaddrinfo \
+ getrlimit
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -14369,6 +14370,73 @@
done
+# If we didn't find inet_pton, it might be in -lsocket (which might
+# require -lnsl)
+if test X"$ac_cv_func_inet_pton" != X"yes" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
+$as_echo_n "checking for library containing inet_pton... " >&6; }
+if ${ac_cv_search_inet_pton+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char inet_pton ();
+int
+main ()
+{
+return inet_pton ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' socket; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib -lnsl $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_inet_pton=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if ${ac_cv_search_inet_pton+:} false; then :
+ break
+fi
+done
+if ${ac_cv_search_inet_pton+:} false; then :
+
+else
+ ac_cv_search_inet_pton=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
+$as_echo "$ac_cv_search_inet_pton" >&6; }
+ac_res=$ac_cv_search_inet_pton
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+fi
+
+ if test X"$ac_cv_search_inet_pton" != X"no" ; then
+
+$as_echo "#define HAVE_INET_PTON 1" >>confdefs.h
+
+ fi
+fi
+
+
# On some systems (e.g. Solaris) nanosleep requires linking to librl.
# Given that we use nanosleep only as an optimization over a select
# based wait function we want it only if it is available in libc.
@@ -15257,7 +15325,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libassuan $as_me 2.4.2, which was
+This file was extended by libassuan $as_me 2.4.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15323,7 +15391,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libassuan config.status 2.4.2
+libassuan config.status 2.4.3
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@@ -17318,6 +17386,6 @@
echo "
Libassuan v${VERSION} has been configured as follows:
- Revision: e0516c5 (57425)
+ Revision: 316a040 (12650)
Platform: $host
"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/configure.ac new/libassuan-2.4.3/configure.ac
--- old/libassuan-2.4.2/configure.ac 2015-12-02 14:14:39.000000000 +0100
+++ new/libassuan-2.4.3/configure.ac 2016-07-14 10:04:37.000000000 +0200
@@ -32,7 +32,7 @@
m4_define([mym4_package],[libassuan])
m4_define([mym4_major], [2])
m4_define([mym4_minor], [4])
-m4_define([mym4_micro], [2])
+m4_define([mym4_micro], [3])
# To start a new development series, i.e a new major or minor number
# you need to mark an arbitrary commit before the first beta release
@@ -61,7 +61,7 @@
#
LIBASSUAN_LT_CURRENT=7
LIBASSUAN_LT_AGE=7
-LIBASSUAN_LT_REVISION=2
+LIBASSUAN_LT_REVISION=3
# If the API is changed in an incompatible way: increment the next counter.
LIBASSUAN_CONFIG_API_VERSION=2
@@ -360,7 +360,18 @@
#
# Checks for library functions.
#
-AC_CHECK_FUNCS([flockfile funlockfile inet_pton stat getaddrinfo])
+AC_CHECK_FUNCS([flockfile funlockfile inet_pton stat getaddrinfo \
+ getrlimit ])
+
+# If we didn't find inet_pton, it might be in -lsocket (which might
+# require -lnsl)
+if test X"$ac_cv_func_inet_pton" != X"yes" ; then
+ AC_SEARCH_LIBS([inet_pton],[socket],[],[],[-lnsl])
+ if test X"$ac_cv_search_inet_pton" != X"no" ; then
+ AC_DEFINE([HAVE_INET_PTON],1,[Define to 1 if you have `inet_pton'.])
+ fi
+fi
+
# On some systems (e.g. Solaris) nanosleep requires linking to librl.
# Given that we use nanosleep only as an optimization over a select
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/doc/assuan.info new/libassuan-2.4.3/doc/assuan.info
--- old/libassuan-2.4.2/doc/assuan.info 2015-12-02 13:51:47.000000000 +0100
+++ new/libassuan-2.4.3/doc/assuan.info 2016-07-14 10:07:25.000000000 +0200
@@ -7,8 +7,8 @@
This file documents the use and the internals of Assuan.
- This is Edition 2.4.2, last updated 27 November 2015, of 'The
-'Developing with Assuan' Manual', for Version 2.4.2.
+ This is Edition 2.4.3, last updated 27 November 2015, of 'The
+'Developing with Assuan' Manual', for Version 2.4.3.
Published by the Free Software Foundation
51 Franklin Street, Fifth Floor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/doc/stamp-vti new/libassuan-2.4.3/doc/stamp-vti
--- old/libassuan-2.4.2/doc/stamp-vti 2015-12-02 14:16:33.000000000 +0100
+++ new/libassuan-2.4.3/doc/stamp-vti 2016-07-14 10:12:01.000000000 +0200
@@ -1,4 +1,4 @@
@set UPDATED 27 November 2015
@set UPDATED-MONTH November 2015
-@set EDITION 2.4.2
-@set VERSION 2.4.2
+@set EDITION 2.4.3
+@set VERSION 2.4.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/doc/version.texi new/libassuan-2.4.3/doc/version.texi
--- old/libassuan-2.4.2/doc/version.texi 2015-12-02 13:51:45.000000000 +0100
+++ new/libassuan-2.4.3/doc/version.texi 2016-07-14 10:07:22.000000000 +0200
@@ -1,4 +1,4 @@
@set UPDATED 27 November 2015
@set UPDATED-MONTH November 2015
-@set EDITION 2.4.2
-@set VERSION 2.4.2
+@set EDITION 2.4.3
+@set VERSION 2.4.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/src/Makefile.in new/libassuan-2.4.3/src/Makefile.in
--- old/libassuan-2.4.2/src/Makefile.in 2015-12-02 14:15:58.000000000 +0100
+++ new/libassuan-2.4.3/src/Makefile.in 2016-07-14 10:11:48.000000000 +0200
@@ -108,8 +108,8 @@
subdir = src
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(srcdir)/libassuan-config.in $(srcdir)/versioninfo.rc.in \
- funopen.c isascii.c memrchr.c setenv.c putc_unlocked.c \
- stpcpy.c $(top_srcdir)/build-aux/depcomp
+ isascii.c funopen.c stpcpy.c memrchr.c putc_unlocked.c \
+ setenv.c $(top_srcdir)/build-aux/depcomp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/autobuild.m4 \
$(top_srcdir)/m4/gpg-error.m4 $(top_srcdir)/m4/libtool.m4 \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/src/assuan-handler.c new/libassuan-2.4.3/src/assuan-handler.c
--- old/libassuan-2.4.2/src/assuan-handler.c 2015-12-02 14:14:39.000000000 +0100
+++ new/libassuan-2.4.3/src/assuan-handler.c 2016-06-25 16:27:49.000000000 +0200
@@ -661,7 +661,7 @@
if (!s)
return PROCESS_DONE (ctx, set_error (ctx, GPG_ERR_ASS_UNKNOWN_CMD, NULL));
line += shift;
- linelen -= shift;
+ /* linelen -= shift; -- not needed. */
if (ctx->pre_cmd_notify_fnc) {
err = ctx->pre_cmd_notify_fnc(ctx, ctx->cmdtbl[i].name);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/src/assuan-pipe-connect.c new/libassuan-2.4.3/src/assuan-pipe-connect.c
--- old/libassuan-2.4.2/src/assuan-pipe-connect.c 2013-03-15 20:26:09.000000000 +0100
+++ new/libassuan-2.4.3/src/assuan-pipe-connect.c 2016-06-25 16:56:15.000000000 +0200
@@ -65,13 +65,6 @@
#endif
-#ifdef _POSIX_OPEN_MAX
-#define MAX_OPEN_FDS _POSIX_OPEN_MAX
-#else
-#define MAX_OPEN_FDS 20
-#endif
-
-
/* This should be called to make sure that SIGPIPE gets ignored. */
static void
fix_signals (void)
@@ -354,10 +347,11 @@
fd_child_list[idx] = child_fds[idx + 1];
}
+ _assuan_free (ctx, child_fds);
+
/* If this is the server child process, exit early. */
if (! name && (*argv)[0] == 's')
{
- _assuan_free (ctx, child_fds);
_assuan_close (ctx, fds[0]);
return 0;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/src/assuan-socket-connect.c new/libassuan-2.4.3/src/assuan-socket-connect.c
--- old/libassuan-2.4.2/src/assuan-socket-connect.c 2015-12-02 14:14:39.000000000 +0100
+++ new/libassuan-2.4.3/src/assuan-socket-connect.c 2016-07-13 16:08:38.000000000 +0200
@@ -233,15 +233,13 @@
if (af == AF_LOCAL)
{
- if (strlen (name)+1 >= sizeof srvr_addr_un.sun_path)
- return _assuan_error (ctx, GPG_ERR_ASS_INV_VALUE);
+ int redirected;
- memset (&srvr_addr_un, 0, sizeof srvr_addr_un);
- srvr_addr_un.sun_family = AF_LOCAL;
- strncpy (srvr_addr_un.sun_path, name, sizeof (srvr_addr_un.sun_path) - 1);
- srvr_addr_un.sun_path[sizeof (srvr_addr_un.sun_path) - 1] = 0;
- len = SUN_LEN (&srvr_addr_un);
+ if (_assuan_sock_set_sockaddr_un (name, (struct sockaddr *)&srvr_addr_un,
+ &redirected))
+ return _assuan_error (ctx, gpg_err_code_from_syserror ());
+ len = SUN_LEN (&srvr_addr_un);
srvr_addr = (struct sockaddr *)&srvr_addr_un;
}
else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/src/assuan-uds.c new/libassuan-2.4.3/src/assuan-uds.c
--- old/libassuan-2.4.2/src/assuan-uds.c 2013-03-15 20:26:09.000000000 +0100
+++ new/libassuan-2.4.3/src/assuan-uds.c 2016-06-25 16:46:53.000000000 +0200
@@ -34,7 +34,7 @@
#else
# ifdef HAVE_WINSOCK2_H
# include
-# endif
+# endif
# include
#endif
#if HAVE_SYS_UIO_H
@@ -60,10 +60,10 @@
#define MY_ALIGN(n) ((((n))+ sizeof(size_t)-1) & (size_t)~(sizeof(size_t)-1))
#ifndef CMSG_SPACE
#define CMSG_SPACE(n) (MY_ALIGN(sizeof(struct cmsghdr)) + MY_ALIGN((n)))
-#endif
+#endif
#ifndef CMSG_LEN
#define CMSG_LEN(n) (MY_ALIGN(sizeof(struct cmsghdr)) + (n))
-#endif
+#endif
#ifndef CMSG_FIRSTHDR
#define CMSG_FIRSTHDR(mhdr) \
((size_t)(mhdr)->msg_controllen >= sizeof (struct cmsghdr) \
@@ -200,12 +200,14 @@
char buffer[80];
/* We need to send some real data so that a read won't return 0
- which will be taken as an EOF. It also helps with debugging. */
+ which will be taken as an EOF. It also helps with debugging. */
snprintf (buffer, sizeof(buffer)-1, "# descriptor %d is in flight\n", fd);
buffer[sizeof(buffer)-1] = 0;
memset (&msg, 0, sizeof (msg));
+ memset (&control_u, 0, sizeof (control_u));
+
msg.msg_name = NULL;
msg.msg_namelen = 0;
msg.msg_iovlen = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/src/system-posix.c new/libassuan-2.4.3/src/system-posix.c
--- old/libassuan-2.4.2/src/system-posix.c 2013-03-15 20:26:09.000000000 +0100
+++ new/libassuan-2.4.3/src/system-posix.c 2016-07-13 15:30:01.000000000 +0200
@@ -24,21 +24,26 @@
#include
#include
+#ifdef HAVE_STDINT_H
+# include
+#endif
/* Solaris 8 needs sys/types.h before time.h. */
#include
#include
#include
#include
+#ifdef HAVE_GETRLIMIT
+# include
+# include
+#endif /*HAVE_GETRLIMIT*/
+#if __linux__
+# include
+#endif /*__linux__ */
+
#include "assuan-defs.h"
#include "debug.h"
-#ifdef _POSIX_OPEN_MAX
-#define MAX_OPEN_FDS _POSIX_OPEN_MAX
-#else
-#define MAX_OPEN_FDS 20
-#endif
-
@@ -168,6 +173,98 @@
}
+/* Return the maximum number of currently allowed open file
+ * descriptors. */
+static int
+get_max_fds (void)
+{
+ int max_fds = -1;
+
+#ifdef HAVE_GETRLIMIT
+ struct rlimit rl;
+
+ /* Under Linux we can figure out the highest used file descriptor by
+ * reading /proc/PID/fd. This is in the common cases much faster
+ * than for example doing 4096 close calls where almost all of them
+ * will fail. We use the same code in GnuPG and measured this: On a
+ * system with a limit of 4096 files and only 8 files open with the
+ * highest number being 10, we speedup close_all_fds from 125ms to
+ * 0.4ms including the readdir.
+ *
+ * Another option would be to close the file descriptors as returned
+ * from reading that directory - however then we need to snapshot
+ * that list before starting to close them. */
+#ifdef __linux__
+ {
+ DIR *dir = NULL;
+ struct dirent *dir_entry;
+ const char *s;
+ int x;
+
+ dir = opendir ("/proc/self/fd");
+ if (dir)
+ {
+ while ((dir_entry = readdir (dir)))
+ {
+ s = dir_entry->d_name;
+ if ( *s < '0' || *s > '9')
+ continue;
+ x = atoi (s);
+ if (x > max_fds)
+ max_fds = x;
+ }
+ closedir (dir);
+ }
+ if (max_fds != -1)
+ return max_fds + 1;
+ }
+#endif /* __linux__ */
+
+# ifdef RLIMIT_NOFILE
+ if (!getrlimit (RLIMIT_NOFILE, &rl))
+ max_fds = rl.rlim_max;
+# endif
+
+# ifdef RLIMIT_OFILE
+ if (max_fds == -1 && !getrlimit (RLIMIT_OFILE, &rl))
+ max_fds = rl.rlim_max;
+
+# endif
+#endif /*HAVE_GETRLIMIT*/
+
+#ifdef _SC_OPEN_MAX
+ if (max_fds == -1)
+ {
+ long int scres = sysconf (_SC_OPEN_MAX);
+ if (scres >= 0)
+ max_fds = scres;
+ }
+#endif
+
+#ifdef _POSIX_OPEN_MAX
+ if (max_fds == -1)
+ max_fds = _POSIX_OPEN_MAX;
+#endif
+
+#ifdef OPEN_MAX
+ if (max_fds == -1)
+ max_fds = OPEN_MAX;
+#endif
+
+ if (max_fds == -1)
+ max_fds = 256; /* Arbitrary limit. */
+
+ /* AIX returns INT32_MAX instead of a proper value. We assume that
+ this is always an error and use a more reasonable limit. */
+#ifdef INT32_MAX
+ if (max_fds == INT32_MAX)
+ max_fds = 256;
+#endif
+
+ return max_fds;
+}
+
+
int
__assuan_spawn (assuan_context_t ctx, pid_t *r_pid, const char *name,
const char **argv,
@@ -246,9 +343,7 @@
/* Close all files which will not be duped and are not in the
fd_child_list. */
- n = sysconf (_SC_OPEN_MAX);
- if (n < 0)
- n = MAX_OPEN_FDS;
+ n = get_max_fds ();
for (i = 0; i < n; i++)
{
if (i == STDIN_FILENO || i == STDOUT_FILENO || i == STDERR_FILENO)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/src/system.c new/libassuan-2.4.3/src/system.c
--- old/libassuan-2.4.2/src/system.c 2015-11-26 16:32:33.000000000 +0100
+++ new/libassuan-2.4.3/src/system.c 2016-01-15 15:05:48.000000000 +0100
@@ -36,12 +36,6 @@
#include "assuan-defs.h"
#include "debug.h"
-#ifdef _POSIX_OPEN_MAX
-#define MAX_OPEN_FDS _POSIX_OPEN_MAX
-#else
-#define MAX_OPEN_FDS 20
-#endif
-
#define DEBUG_SYSIO 0
@@ -66,11 +60,11 @@
{
void *ptr;
size_t nbytes;
-
+
nbytes = cnt * elsize;
/* Check for overflow. */
- if (elsize && nbytes / elsize != cnt)
+ if (elsize && nbytes / elsize != cnt)
{
gpg_err_set_errno (ENOMEM);
return NULL;
@@ -111,7 +105,7 @@
/* Reset the defaults. */
if (dst != &_assuan_system_hooks)
memcpy (dst, &_assuan_system_hooks, sizeof (*dst));
-
+
dst->version = ASSUAN_SYSTEM_HOOKS_VERSION;
if (src->version >= 1)
{
@@ -164,7 +158,7 @@
if (err)
return TRACE_SYSRES (err);
- return TRACE_SUC2 ("read=0x%x, write=0x%x", fd[0], fd[1]);
+ return TRACE_SUC2 ("read=0x%x, write=0x%x", fd[0], fd[1]);
}
@@ -257,7 +251,7 @@
cmptr->cmsg_len - (((char *)data) - ((char *)cmptr)),
cmptr->cmsg_level, cmptr->cmsg_type, *(int *)data);
}
- }
+ }
return TRACE_SYSRES (res);
#else
return (ctx->system.recvmsg) (ctx, fd, msg, flags);
@@ -280,7 +274,7 @@
TRACE_LOG2 ("msg->iov[0] = { iov_base=%p, iov_len=%i }",
msg->msg_iov[0].iov_base, msg->msg_iov[0].iov_len);
TRACE_LOGBUF (msg->msg_iov[0].iov_base, msg->msg_iov[0].iov_len);
-
+
cmptr = CMSG_FIRSTHDR (msg);
if (cmptr)
{
@@ -358,7 +352,7 @@
/* FIXME: Add some sort of waitpid function that covers GPGME and
gpg-agent's use of assuan. */
-pid_t
+pid_t
_assuan_waitpid (assuan_context_t ctx, pid_t pid, int action,
int *status, int options)
{
@@ -384,7 +378,7 @@
TRACE_BEG4 (ctx, ASSUAN_LOG_SYSIO, "_assuan_socketpair", ctx,
"namespace=%i,style=%i,protocol=%i,filedes=%p",
namespace, style, protocol, filedes);
-
+
res = (ctx->system.socketpair) (ctx, namespace, style, protocol, filedes);
if (res == 0)
TRACE_LOG2 ("filedes = { 0x%x, 0x%x }", filedes[0], filedes[1]);
@@ -401,7 +395,7 @@
TRACE_BEG3 (ctx, ASSUAN_LOG_SYSIO, "_assuan_socket", ctx,
"namespace=%i,style=%i,protocol=%i",
namespace, style, protocol);
-
+
res = (ctx->system.socket) (ctx, namespace, style, protocol);
return TRACE_SYSRES (res);
}
@@ -413,7 +407,7 @@
int res;
TRACE_BEG3 (ctx, ASSUAN_LOG_SYSIO, "_assuan_connect", ctx,
"socket=%i,addr=%p,length=%i", sock, addr, length);
-
+
res = (ctx->system.connect) (ctx, sock, addr, length);
return TRACE_SYSRES (res);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/tests/Makefile.am new/libassuan-2.4.3/tests/Makefile.am
--- old/libassuan-2.4.2/tests/Makefile.am 2015-10-18 13:19:50.000000000 +0200
+++ new/libassuan-2.4.3/tests/Makefile.am 2016-07-13 15:30:39.000000000 +0200
@@ -20,7 +20,7 @@
TESTS_ENVIRONMENT =
-EXTRA_DIST = motd ce-createpipe.c $(testtools)
+EXTRA_DIST = motd ce-createpipe.c
BUILT_SOURCES =
CLEANFILES =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/tests/Makefile.in new/libassuan-2.4.3/tests/Makefile.in
--- old/libassuan-2.4.2/tests/Makefile.in 2015-12-02 14:15:58.000000000 +0100
+++ new/libassuan-2.4.3/tests/Makefile.in 2016-07-14 10:11:48.000000000 +0200
@@ -379,7 +379,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
TESTS_ENVIRONMENT =
-EXTRA_DIST = motd ce-createpipe.c $(testtools)
+EXTRA_DIST = motd ce-createpipe.c
BUILT_SOURCES =
CLEANFILES =
testtools = socks5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libassuan-2.4.2/tests/fdpassing.c new/libassuan-2.4.3/tests/fdpassing.c
--- old/libassuan-2.4.2/tests/fdpassing.c 2015-12-02 14:14:39.000000000 +0100
+++ new/libassuan-2.4.3/tests/fdpassing.c 2016-06-25 16:50:34.000000000 +0200
@@ -59,10 +59,10 @@
nbytes = 0;
while ( (c=getc (fp)) != -1)
{
- putc (c, stdout);
+ putc (c, stdout);
nbytes++;
}
- fflush (stdout);
+ fflush (stdout);
log_info ("done printing %d bytes to stdout\n", nbytes);
fclose (fp);
@@ -118,7 +118,7 @@
assuan_set_log_stream (ctx, stderr);
- for (;;)
+ for (;;)
{
rc = assuan_accept (ctx);
if (rc)
@@ -127,7 +127,7 @@
log_error ("assuan_accept failed: %s\n", gpg_strerror (rc));
break;
}
-
+
log_info ("client connected. Client's pid is %ld\n",
(long)assuan_get_pid (ctx));
@@ -135,7 +135,7 @@
if (rc)
log_error ("assuan_process failed: %s\n", gpg_strerror (rc));
}
-
+
assuan_release (ctx);
}
@@ -169,7 +169,7 @@
strerror (errno));
return -1;
}
-
+
rc = assuan_sendfd (ctx, fileno (fp));
if (rc)
{
@@ -204,12 +204,12 @@
-/*
-
+/*
+
M A I N
*/
-int
+int
main (int argc, char **argv)
{
int last_argc = -1;
@@ -294,17 +294,18 @@
if (err)
{
log_error ("assuan_pipe_connect failed: %s\n", gpg_strerror (err));
- return 1;
+ assuan_release (ctx);
+ errorcount++;
}
-
- if (!with_exec && loc[0] == 's')
+ else if (!with_exec && loc[0] == 's')
{
server ();
+ assuan_release (ctx);
log_info ("server finished\n");
}
else
{
- if (client (ctx, fname))
+ if (client (ctx, fname))
{
log_info ("waiting for server to terminate...\n");
assuan_release (ctx);
@@ -313,6 +314,7 @@
}
}
+ xfree (fname);
return errorcount ? 1 : 0;
}
Files old/libassuan-2.4.2/tests/socks5 and new/libassuan-2.4.3/tests/socks5 differ