NetBSD Problem Report #49996

From www@NetBSD.org  Tue Jun 23 14:40:16 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E0B2FA6567
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Jun 2015 14:40:16 +0000 (UTC)
Message-Id: <20150623144015.C17CEA65D4@mollari.NetBSD.org>
Date: Tue, 23 Jun 2015 14:40:15 +0000 (UTC)
From: pr@i3enedek.neomailbox.net
Reply-To: pr@i3enedek.neomailbox.net
To: gnats-bugs@NetBSD.org
Subject: Update socat from 1.7.2.4 to 1.7.3.0
X-Send-Pr-Version: www-1.0

>Number:         49996
>Category:       pkg
>Synopsis:       Update socat from 1.7.2.4 to 1.7.3.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 23 14:45:01 +0000 2015
>Closed-Date:    Mon Jul 27 08:11:50 +0000 2015
>Last-Modified:  Mon Jul 27 08:11:50 +0000 2015
>Originator:     Ben Gergely
>Release:        current
>Organization:
>Environment:
>Description:
Can someone update socat from 1.7.2.4 to 1.7.3.0

I updated patch-mytypes.h and built/installed/removed the package a few times and am using it currently on 6.1.5 and HEAD. No issues noticed.

cvs diff follows.
>How-To-Repeat:

>Fix:
patches/patch-configure looks like it's not needed anymore.


cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/socat/Makefile,v
retrieving revision 1.34
diff -r1.34 Makefile
3c3
< DISTNAME=     socat-1.7.2.4
---
> DISTNAME=     socat-1.7.3.0
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/socat/distinfo,v
retrieving revision 1.20
diff -r1.20 distinfo
3,7c3,6
< SHA1 (socat-1.7.2.4.tar.gz) = c33904b83295accef2aaff8adf7eedd3310f9777
< RMD160 (socat-1.7.2.4.tar.gz) = 034e7e1197339aa01d657d580fbc60d16ebf13dc
< Size (socat-1.7.2.4.tar.gz) = 583762 bytes
< SHA1 (patch-configure) = 2fb11fb9f5ab7ff911597fa9460226a913151bb1
< SHA1 (patch-mytypes.h) = d93e629e4aedae62ed6de2c30bf459c8af853a84
---
> SHA1 (socat-1.7.3.0.tar.gz) = c09ec6539647cebe8fccdfcf0f1ace1243231ec3
> RMD160 (socat-1.7.3.0.tar.gz) = 574d55611cc8ab1dfa7941e133c882893d72785d
> Size (socat-1.7.3.0.tar.gz) = 601022 bytes
> SHA1 (patch-mytypes.h) = 7f97553901ce6ce862aa5fde6f6567f7d47e5c97
cvs diff: Diffing patches
cvs diff: patches/patch-configure was removed, no comparison available
Index: patches/patch-mytypes.h
===================================================================
RCS file: /cvsroot/pkgsrc/net/socat/patches/patch-mytypes.h,v
retrieving revision 1.2
diff -r1.2 patch-mytypes.h
1c1
< $NetBSD: patch-mytypes.h,v 1.2 2014/09/07 23:24:56 rodent Exp $
---
> $NetBSD$
3,5c3
< Use stdbool.
<
< --- mytypes.h.orig    2010-10-06 07:25:30.000000000 +0000
---
> --- mytypes.h.orig    2015-01-24 10:15:22.000000000 +0000
7,11c5,8
< @@ -7,7 +7,7 @@
<
<  /* some types and macros I miss in C89 */
<
< -typedef enum { false, true } bool;
---
> @@ -10,6 +10,7 @@
>  #ifndef HAVE_TYPE_BOOL
>  #  undef bool
>  typedef enum { false, true } bool;
12a10
>  #endif
14,15c12
<  #define Min(x,y) ((x)<=(y)?(x):(y))
<  #define Max(x,y) ((x)>=(y)?(x):(y))
---
>  #ifndef Min

>Release-Note:

>Audit-Trail:
From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49996 CVS commit: pkgsrc/net/socat
Date: Sat, 25 Jul 2015 14:43:23 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sat Jul 25 14:43:23 UTC 2015

 Modified Files:
 	pkgsrc/net/socat: Makefile distinfo
 	pkgsrc/net/socat/patches: patch-mytypes.h
 Removed Files:
 	pkgsrc/net/socat/patches: patch-configure

 Log Message:
 Update socat to 1.7.3.0. From Ben Gergely in PR pkg/49996.

 ####################### V 1.7.3.0:

 security:
 	(CVE Id pending)
 	Fixed problems with signal handling caused by use of not async signal
 	safe functions in signal handlers that could freeze socat, allowing
 	denial of service attacks.
 	Many changes in signal handling and the diagnostic messages system were
 	applied to make the code async signal safe but still provide detailled
 	logging from signal handlers:
 	Coded function vsnprintf_r() as async signal safe incomplete substitute
 	of libc vsnprintf()
 	Coded function snprinterr() to replace %m in strings with a system error
 	message
 	Instead of gettimeofday() use clock_gettime() when available
 	Pass Diagnostic messages from signal handler per unix socket to the main
 	program flow
 	Use sigaction() instead of signal() for better control
 	Turn off nested signal handler invocations
 	Thanks to Peter Lobsinger for reporting and explaining this issue.

 	Red Hat issue 1019975: add TLS host name checks
 	OpenSSL client checks if the server certificates names in
 	extensions/subjectAltName/DNS or in subject/commonName match the name
 	used to connect or the value of the openssl-commonname option.
 	Test: OPENSSL_CN_CLIENT_SECURITY

 	OpenSSL server checks if the client certificates names in
 	extensions/subjectAltNames/DNS or subject/commonName match the value of
 	the openssl-commonname option when it is used.
 	Test: OPENSSL_CN_SERVER_SECURITY

 	Red Hat issue 1019964: socat now uses the system certificate store with
 	OPENSSL when neither options cafile nor capath are used

 	Red Hat issue 1019972: needs to specify OpenSSL cipher suites
 	Default cipherlist is now "HIGH:-NULL:-PSK:-aNULL" instead of empty to
 	prevent downgrade attacks

 new features:
 	OpenSSL addresses set couple of environment variables from values in
 	peer certificate, e.g.:
 	SOCAT_OPENSSL_X509_SUBJECT, SOCAT_OPENSSL_X509_ISSUER,
 	SOCAT_OPENSSL_X509_COMMONNAME,
 	SOCAT_OPENSSL_X509V3_SUBJECTALTNAME_DNS
 	Tests: ENV_OPENSSL_{CLIENT,SERVER}_X509_*

 	Added support for methods TLSv1, TLSv1.1, TLSv1.2, and DTLS1
 	Tests: OPENSSL_METHOD_*

 	Enabled OpenSSL server side use of ECDHE ciphers. Feature suggested
 	by Andrey Arapov.

 	Added a new option termios-rawer for ptys.
 	Thanks to Christian Vogelgsang for pointing me to this requirement

 corrections:
 	Bind with ABSTRACT commands used non-abstract namespace (Linux).
 	Test: ABSTRACT_BIND
 	Thanks to Denis Shatov for reporting this bug.

 	Fixed return value of nestlex()

 	Option ignoreeof on the right address hung.
 	Test: IGNOREEOF_REV
 	Thanks to Franz Fasching for reporting this bug.

 	Address SYSTEM, when terminating, shut down its parent addresses,
 	e.g. an SSL connection which the parent assumed to still be active.
 	Test: SYSTEM_SHUTDOWN

 	Passive (listening or receiving) addresses with empty port field bound
 	to a random port instead of terminating with error.
 	Test: TCP4_NOPORT

 	configure with some combination of disable options produced config
 	files that failed to compile due to missing IPPROTO_TCP.
 	Thanks to Thierry Fournier for report and patch.

 	fixed a few minor bugs with OpenSSL in configure and with messages

 	Socat did not work in FIPS mode because 1024 instead of 512 bit DH prime
 	is required. Thanks to Zhigang Wang for reporting and sending a patch.

 	Christophe Leroy provided a patch that fixes memory leaks reported by
 	valgrind

 	Help for filan -L was bad, is now corrected to:
 	"follow symbolic links instead of showing their properties"

 	Address options fdin and fdout were silently ignored when not applicable
 	due to -u or -U option. Now these combinations are caught as errors.
 	Test: FDOUT_ERROR
 	Issue reported by Hendrik.

 	Added option termios-cfmakeraw that calls cfmakeraw() and is preferred
 	over option raw which is now obsolote. On SysV systems this call is
 	simulated by appropriate setting.
 	Thanks to Youfu Zhang for reporting issue with option raw.

 porting:
 	Socat included <sys/poll.h> instead of POSIX <poll.h>
 	Thanks to John Spencer for reporting this issue.

 	Version 1.7.2.4 changed the check for gcc in configure.ac; this
 	broke cross compiling. The particular check gets reverted.
 	Thanks to Ross Burton and Danomi Manchego for reporting this issue.

 	Debian Bug#764251: Set the build timestamp to a deterministic time:
 	support external BUILD_DATE env var to allow to build reproducable
 	binaries

 	Joachim Fenkes provided an new adapted spec file.

 	Type bool and macros Min and Max are defined by socat which led to
 	compile errors when they were already provided by build framework.
 	Thanks to Liyu Liu for providing a patch.

 	David Arnstein contributed a patch for NetBSD 5.1 including stdbool.h
 	support and appropriate files in Config/

 	Lauri Tirkkonen contributed a patch regarding netinet/if_ether.h
 	on Illumos

 	Changes for Openindiana: define _XPG4_2, __EXTENSIONS__,
 	_POSIX_PTHREAD_SEMANTICS; and minor changes

 	Red Hat issue 1182005: socat 1.7.2.4 build failure missing
 	linux/errqueue.h
 	Socat failed to compile on on PPC due to new requirements for
 	including <linux/errqueue.h> and a weakness in the conditional code.
 	Thanks to Michel Normand for reporting this issue.

 doc:
 	In the man page the PTY example was badly formatted. Thanks to
 	J.F.Sebastian for sending a patch.

 	Added missing CVE ids to security issues in CHANGES

 testing:
 	Do not distribute testcert.conf with socat source but generate it
 	(and new testcert6.conf) during test.sh run.

 ####################### V 1.7.2.4:

 corrections:
 	LISTEN based addresses applied some address options, e.g. so-keepalive,
 	to the listening file descriptor instead of the connected file
 	descriptor
 	Thanks to Ulises Alonso for reporting this bug

 	make failed after configure with non gcc compiler due to missing
 	include. Thanks to Horacio Mijail for reporting this problem

 	configure checked for --disable-rawsocket but printed
 	--disable-genericsocket in the help text. Thanks to Ben Gardiner for
 	reporting and patching this bug

 	In xioshutdown() a wrong branch was chosen after RECVFROM type addresses.
 	Probably no impact.
 	Thanks to David Binderman for reproting this issue.

 	procan could not cleanly format ulimit values longer than 16 decimal
 	digits. Thanks to Frank Dana for providing a patch that increases field
 	width to 24 digits.

 	OPENSSL-CONNECT with bind option failed on some systems, eg.FreeBSD, with
 	"Invalid argument"
 	Thanks to Emile den Tex for reporting this bug.

 	Changed some variable definitions to make gcc -O2 aliasing checker happy
 	Thanks to Ilya Gordeev for reporting these warnings

 	On big endian platforms with type long >32bit the range option applied a
 	bad base address. Thanks to hejia hejia for reporting and fixing this bug.

 	Red Hat issue 1022070: missing length check in xiolog_ancillary_socket()

 	Red Hat issue 1022063: out-of-range shifts on net mask bits

 	Red Hat issue 1022062: strcpy misuse in xiosetsockaddrenv_ip4()

 	Red Hat issue 1022048: strncpy hardening: corrected suspicious strncpy()
 	uses

 	Red Hat issue 1021958: fixed a bug with faulty buffer/data length
 	calculation in xio-ascii.c:_xiodump()

 	Red Hat issue 1021972: fixed a missing NUL termination in return string
 	of sysutils.c:sockaddr_info() for the AF_UNIX case

 	fixed some typos and minor issues, including:
 	Red Hat issue 1021967: formatting error in manual page

 	UNIX-LISTEN with fork option did not remove the socket file system entry
 	when exiting. Other file system based passive address types had similar
 	issues or failed to apply options umask, user e.a.
 	Thanks to Lorenzo Monti for pointing me to this issue

 porting:
 	Red Hat issue 1020203: configure checks fail with some compilers.
 	Use case: clang

 	Performed changes for Fedora release 19

 	Adapted, improved test.sh script

 	Red Hat issue 1021429: getgroupent fails with large number of groups;
 	use getgrouplist() when available instead of sequence of calls to
 	getgrent()

 	Red Hat issue 1021948: snprintf API change;
 	Implemented xio_snprintf() function as wrapper that tries to emulate C99
 	behaviour on old glibc systems, and adapted all affected calls
 	appropriately

 	Mike Frysinger provided a patch that supports long long for time_t,
 	socklen_t and a few other libc types.

 	Artem Mygaiev extended Cedril Priscals Android build script with pty code

 	The check for fips.h required stddef.h
 	Thanks to Matt Hilt for reporting this issue and sending a patch

 	Check for linux/errqueue.h failed on some systems due to lack of
 	linux/types.h inclusion. Thanks to Michael Vastola for sending a patch.

 	autoconf now prefers configure.ac over configure.in
 	Thanks to Michael Vastola for sending a patch.

 	type of struct cmsghdr.cmsg is system dependend, determine it with
 	configure; some more print format corrections

 docu:
 	libwrap always logs to syslog

 	added actual text version of GPLv2


 To generate a diff of this commit:
 cvs rdiff -u -r1.34 -r1.35 pkgsrc/net/socat/Makefile
 cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/socat/distinfo
 cvs rdiff -u -r1.2 -r0 pkgsrc/net/socat/patches/patch-configure
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/socat/patches/patch-mytypes.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49996 CVS commit: pkgsrc/doc
Date: Sat, 25 Jul 2015 14:44:42 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sat Jul 25 14:44:41 UTC 2015

 Modified Files:
 	pkgsrc/doc: CHANGES-2015 TODO

 Log Message:
 socat update, PR pkg/49996.


 To generate a diff of this commit:
 cvs rdiff -u -r1.3111 -r1.3112 pkgsrc/doc/CHANGES-2015
 cvs rdiff -u -r1.14586 -r1.14587 pkgsrc/doc/TODO

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Matthias Scheler" <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49996 CVS commit: [pkgsrc-2015Q2] pkgsrc/net/socat
Date: Sun, 26 Jul 2015 19:57:43 +0000

 Module Name:	pkgsrc
 Committed By:	tron
 Date:		Sun Jul 26 19:57:43 UTC 2015

 Modified Files:
 	pkgsrc/net/socat [pkgsrc-2015Q2]: Makefile distinfo
 	pkgsrc/net/socat/patches [pkgsrc-2015Q2]: patch-mytypes.h
 Removed Files:
 	pkgsrc/net/socat/patches [pkgsrc-2015Q2]: patch-configure

 Log Message:
 Pullup ticket #4782 - requested by bsiegert
 net/socat: security update

 Revisions pulled up:
 - net/socat/Makefile                                            1.35
 - net/socat/distinfo                                            1.21
 - net/socat/patches/patch-configure                             deleted
 - net/socat/patches/patch-mytypes.h                             1.3

 ---
    Module Name:    pkgsrc
    Committed By:   bsiegert
    Date:           Sat Jul 25 14:43:23 UTC 2015

    Modified Files:
            pkgsrc/net/socat: Makefile distinfo
            pkgsrc/net/socat/patches: patch-mytypes.h
    Removed Files:
            pkgsrc/net/socat/patches: patch-configure

    Log Message:
    Update socat to 1.7.3.0. From Ben Gergely in PR pkg/49996.

    ####################### V 1.7.3.0:

    security:
            (CVE Id pending)
            Fixed problems with signal handling caused by use of not async signal
            safe functions in signal handlers that could freeze socat, allowing
            denial of service attacks.
            Many changes in signal handling and the diagnostic messages system were
            applied to make the code async signal safe but still provide detailled
            logging from signal handlers:
            Coded function vsnprintf_r() as async signal safe incomplete substitute
            of libc vsnprintf()
            Coded function snprinterr() to replace %m in strings with a system error
            message
            Instead of gettimeofday() use clock_gettime() when available
            Pass Diagnostic messages from signal handler per unix socket to the main
            program flow
            Use sigaction() instead of signal() for better control
            Turn off nested signal handler invocations
            Thanks to Peter Lobsinger for reporting and explaining this issue.

            Red Hat issue 1019975: add TLS host name checks
            OpenSSL client checks if the server certificates names in
            extensions/subjectAltName/DNS or in subject/commonName match the name
            used to connect or the value of the openssl-commonname option.
            Test: OPENSSL_CN_CLIENT_SECURITY

            OpenSSL server checks if the client certificates names in
            extensions/subjectAltNames/DNS or subject/commonName match the value of
            the openssl-commonname option when it is used.
            Test: OPENSSL_CN_SERVER_SECURITY

            Red Hat issue 1019964: socat now uses the system certificate store with
            OPENSSL when neither options cafile nor capath are used

            Red Hat issue 1019972: needs to specify OpenSSL cipher suites
            Default cipherlist is now "HIGH:-NULL:-PSK:-aNULL" instead of empty to
            prevent downgrade attacks

    new features:
            OpenSSL addresses set couple of environment variables from values in
            peer certificate, e.g.:
            SOCAT_OPENSSL_X509_SUBJECT, SOCAT_OPENSSL_X509_ISSUER,
            SOCAT_OPENSSL_X509_COMMONNAME,
            SOCAT_OPENSSL_X509V3_SUBJECTALTNAME_DNS
            Tests: ENV_OPENSSL_{CLIENT,SERVER}_X509_*

            Added support for methods TLSv1, TLSv1.1, TLSv1.2, and DTLS1
            Tests: OPENSSL_METHOD_*

            Enabled OpenSSL server side use of ECDHE ciphers. Feature suggested
            by Andrey Arapov.

            Added a new option termios-rawer for ptys.
            Thanks to Christian Vogelgsang for pointing me to this requirement

    corrections:
            Bind with ABSTRACT commands used non-abstract namespace (Linux).
            Test: ABSTRACT_BIND
            Thanks to Denis Shatov for reporting this bug.

            Fixed return value of nestlex()

            Option ignoreeof on the right address hung.
            Test: IGNOREEOF_REV
            Thanks to Franz Fasching for reporting this bug.

            Address SYSTEM, when terminating, shut down its parent addresses,
            e.g. an SSL connection which the parent assumed to still be active.
            Test: SYSTEM_SHUTDOWN

            Passive (listening or receiving) addresses with empty port field bound
            to a random port instead of terminating with error.
            Test: TCP4_NOPORT

            configure with some combination of disable options produced config
            files that failed to compile due to missing IPPROTO_TCP.
            Thanks to Thierry Fournier for report and patch.

            fixed a few minor bugs with OpenSSL in configure and with messages

            Socat did not work in FIPS mode because 1024 instead of 512 bit DH prime
            is required. Thanks to Zhigang Wang for reporting and sending a patch.

            Christophe Leroy provided a patch that fixes memory leaks reported by
            valgrind

            Help for filan -L was bad, is now corrected to:
            "follow symbolic links instead of showing their properties"

            Address options fdin and fdout were silently ignored when not applicable
            due to -u or -U option. Now these combinations are caught as errors.
            Test: FDOUT_ERROR
            Issue reported by Hendrik.

            Added option termios-cfmakeraw that calls cfmakeraw() and is preferred
            over option raw which is now obsolote. On SysV systems this call is
            simulated by appropriate setting.
            Thanks to Youfu Zhang for reporting issue with option raw.

    porting:
            Socat included <sys/poll.h> instead of POSIX <poll.h>
            Thanks to John Spencer for reporting this issue.

            Version 1.7.2.4 changed the check for gcc in configure.ac; this
            broke cross compiling. The particular check gets reverted.
            Thanks to Ross Burton and Danomi Manchego for reporting this issue.

            Debian Bug#764251: Set the build timestamp to a deterministic time:
            support external BUILD_DATE env var to allow to build reproducable
            binaries

            Joachim Fenkes provided an new adapted spec file.

            Type bool and macros Min and Max are defined by socat which led to
            compile errors when they were already provided by build framework.
            Thanks to Liyu Liu for providing a patch.

            David Arnstein contributed a patch for NetBSD 5.1 including stdbool.h
            support and appropriate files in Config/

            Lauri Tirkkonen contributed a patch regarding netinet/if_ether.h
            on Illumos

            Changes for Openindiana: define _XPG4_2, __EXTENSIONS__,
            _POSIX_PTHREAD_SEMANTICS; and minor changes

            Red Hat issue 1182005: socat 1.7.2.4 build failure missing
            linux/errqueue.h
            Socat failed to compile on on PPC due to new requirements for
            including <linux/errqueue.h> and a weakness in the conditional code.
            Thanks to Michel Normand for reporting this issue.

    doc:
            In the man page the PTY example was badly formatted. Thanks to
            J.F.Sebastian for sending a patch.

            Added missing CVE ids to security issues in CHANGES

    testing:
            Do not distribute testcert.conf with socat source but generate it
            (and new testcert6.conf) during test.sh run.

    ####################### V 1.7.2.4:

    corrections:
            LISTEN based addresses applied some address options, e.g. so-keepalive,
            to the listening file descriptor instead of the connected file
            descriptor
            Thanks to Ulises Alonso for reporting this bug

            make failed after configure with non gcc compiler due to missing
            include. Thanks to Horacio Mijail for reporting this problem

            configure checked for --disable-rawsocket but printed
            --disable-genericsocket in the help text. Thanks to Ben Gardiner for
            reporting and patching this bug

            In xioshutdown() a wrong branch was chosen after RECVFROM type
    addresses.
            Probably no impact.
            Thanks to David Binderman for reproting this issue.

            procan could not cleanly format ulimit values longer than 16 decimal
            digits. Thanks to Frank Dana for providing a patch that increases field
            width to 24 digits.

            OPENSSL-CONNECT with bind option failed on some systems,
    eg.FreeBSD, with
            "Invalid argument"
            Thanks to Emile den Tex for reporting this bug.

            Changed some variable definitions to make gcc -O2 aliasing checker happy
            Thanks to Ilya Gordeev for reporting these warnings

            On big endian platforms with type long >32bit the range option applied a
            bad base address. Thanks to hejia hejia for reporting and
    fixing this bug.

            Red Hat issue 1022070: missing length check in xiolog_ancillary_socket()

            Red Hat issue 1022063: out-of-range shifts on net mask bits

            Red Hat issue 1022062: strcpy misuse in xiosetsockaddrenv_ip4()

            Red Hat issue 1022048: strncpy hardening: corrected suspicious strncpy()
            uses

            Red Hat issue 1021958: fixed a bug with faulty buffer/data length
            calculation in xio-ascii.c:_xiodump()

            Red Hat issue 1021972: fixed a missing NUL termination in return string
            of sysutils.c:sockaddr_info() for the AF_UNIX case

            fixed some typos and minor issues, including:
            Red Hat issue 1021967: formatting error in manual page

            UNIX-LISTEN with fork option did not remove the socket file system entry
            when exiting. Other file system based passive address types had similar
            issues or failed to apply options umask, user e.a.
            Thanks to Lorenzo Monti for pointing me to this issue

    porting:
            Red Hat issue 1020203: configure checks fail with some compilers.
            Use case: clang

            Performed changes for Fedora release 19

            Adapted, improved test.sh script

            Red Hat issue 1021429: getgroupent fails with large number of groups;
            use getgrouplist() when available instead of sequence of calls to
            getgrent()

            Red Hat issue 1021948: snprintf API change;
            Implemented xio_snprintf() function as wrapper that tries to emulate C99
            behaviour on old glibc systems, and adapted all affected calls
            appropriately

            Mike Frysinger provided a patch that supports long long for time_t,
            socklen_t and a few other libc types.

            Artem Mygaiev extended Cedril Priscals Android build script
    with pty code

            The check for fips.h required stddef.h
            Thanks to Matt Hilt for reporting this issue and sending a patch

            Check for linux/errqueue.h failed on some systems due to lack of
            linux/types.h inclusion. Thanks to Michael Vastola for sending a patch.

            autoconf now prefers configure.ac over configure.in
            Thanks to Michael Vastola for sending a patch.

            type of struct cmsghdr.cmsg is system dependend, determine it with
            configure; some more print format corrections

    docu:
            libwrap always logs to syslog

            added actual text version of GPLv2


 To generate a diff of this commit:
 cvs rdiff -u -r1.34 -r1.34.2.1 pkgsrc/net/socat/Makefile
 cvs rdiff -u -r1.20 -r1.20.8.1 pkgsrc/net/socat/distinfo
 cvs rdiff -u -r1.2 -r0 pkgsrc/net/socat/patches/patch-configure
 cvs rdiff -u -r1.2 -r1.2.8.1 pkgsrc/net/socat/patches/patch-mytypes.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 27 Jul 2015 08:11:50 +0000
State-Changed-Why:
committed and pulled up, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.