Hello community, here is the log from the commit of package ghc-network for openSUSE:Factory checked in at 2015-07-14 17:44:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-network (Old) and /work/SRC/openSUSE:Factory/.ghc-network.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-network" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes 2015-06-02 10:05:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 2015-07-14 17:45:50.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Jul 13 05:45:23 UTC 2015 - mimi...@gmail.com + +- update to 2.6.2.1 +* Regenerate configure and HsNetworkConfig.h.in. +* Better detection of CAN sockets. +* Add support for TCP_USER_TIMEOUT. +* Don't conditionally export the SockAddr constructors. +* Add isSupportSockAddr to allow checking for supported + address types at runtime. + +------------------------------------------------------------------- Old: ---- network-2.6.2.0.tar.gz New: ---- network-2.6.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-network.spec ++++++ --- /var/tmp/diff_new_pack.7UETKW/_old 2015-07-14 17:45:51.000000000 +0200 +++ /var/tmp/diff_new_pack.7UETKW/_new 2015-07-14 17:45:51.000000000 +0200 @@ -21,7 +21,7 @@ %bcond_with tests Name: ghc-network -Version: 2.6.2.0 +Version: 2.6.2.1 Release: 0 Summary: Low-level networking interface License: BSD-3-Clause ++++++ network-2.6.2.0.tar.gz -> network-2.6.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/network-2.6.2.0/CHANGELOG.md new/network-2.6.2.1/CHANGELOG.md --- old/network-2.6.2.0/CHANGELOG.md 1970-01-01 01:00:00.000000000 +0100 +++ new/network-2.6.2.1/CHANGELOG.md 2015-07-07 20:40:52.000000000 +0200 @@ -0,0 +1,14 @@ +## Version 2.6.2.1 + + * Regenerate configure and HsNetworkConfig.h.in. + + * Better detection of CAN sockets. + +## Version 2.6.2.0 + + * Add support for TCP_USER_TIMEOUT. + + * Don't conditionally export the SockAddr constructors. + + * Add isSupportSockAddr to allow checking for supported address types + at runtime. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/network-2.6.2.0/Network/Socket/Types.hsc new/network-2.6.2.1/Network/Socket/Types.hsc --- old/network-2.6.2.0/Network/Socket/Types.hsc 2015-05-29 13:13:34.000000000 +0200 +++ new/network-2.6.2.1/Network/Socket/Types.hsc 2015-07-07 20:40:52.000000000 +0200 @@ -831,7 +831,7 @@ #if defined(DOMAIN_SOCKET_SUPPORT) SockAddrUnix{} -> True #endif -#if defined(AF_CAN) +#if defined(CAN_SOCKET_SUPPORT) SockAddrCan{} -> True #endif _ -> False @@ -858,7 +858,7 @@ #if defined(IPV6_SOCKET_SUPPORT) sizeOfSockAddr (SockAddrInet6 _ _ _ _) = #const sizeof(struct sockaddr_in6) #endif -#if defined(AF_CAN) +#if defined(CAN_SOCKET_SUPPORT) sizeOfSockAddr (SockAddrCan _) = #const sizeof(struct sockaddr_can) #endif @@ -872,7 +872,7 @@ sizeOfSockAddrByFamily AF_INET6 = #const sizeof(struct sockaddr_in6) #endif sizeOfSockAddrByFamily AF_INET = #const sizeof(struct sockaddr_in) -#if defined(AF_CAN) +#if defined(CAN_SOCKET_SUPPORT) sizeOfSockAddrByFamily AF_CAN = #const sizeof(struct sockaddr_can) #endif @@ -936,7 +936,7 @@ (#poke struct sockaddr_in6, sin6_addr) p addr (#poke struct sockaddr_in6, sin6_scope_id) p scope #endif -#if defined(AF_CAN) +#if defined(CAN_SOCKET_SUPPORT) pokeSockAddr p (SockAddrCan ifIndex) = do #if defined(darwin_HOST_OS) zeroMemory p (#const sizeof(struct sockaddr_can)) @@ -966,7 +966,7 @@ scope <- (#peek struct sockaddr_in6, sin6_scope_id) p return (SockAddrInet6 (PortNum port) flow addr scope) #endif -#if defined(AF_CAN) +#if defined(CAN_SOCKET_SUPPORT) (#const AF_CAN) -> do ifidx <- (#peek struct sockaddr_can, can_ifindex) p return (SockAddrCan ifidx) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/network-2.6.2.0/configure new/network-2.6.2.1/configure --- old/network-2.6.2.0/configure 2015-05-29 13:13:34.000000000 +0200 +++ new/network-2.6.2.1/configure 2015-07-07 20:40:52.000000000 +0200 @@ -3624,7 +3624,7 @@ done -for ac_header in arpa/inet.h netdb.h netinet/in.h netinet/tcp.h sys/socket.h sys/uio.h sys/un.h linux/can.h +for ac_header in arpa/inet.h netdb.h netinet/in.h netinet/tcp.h sys/socket.h sys/uio.h sys/un.h linux/can.h linux/tcp.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/network-2.6.2.0/include/HsNet.h new/network-2.6.2.1/include/HsNet.h --- old/network-2.6.2.0/include/HsNet.h 2015-05-29 13:13:34.000000000 +0200 +++ new/network-2.6.2.1/include/HsNet.h 2015-07-07 20:40:52.000000000 +0200 @@ -94,6 +94,7 @@ #endif #ifdef HAVE_LINUX_CAN_H # include <linux/can.h> +# define CAN_SOCKET_SUPPORT 1 #endif #ifdef HAVE_NET_IF # include <net/if.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/network-2.6.2.0/include/HsNetworkConfig.h.in new/network-2.6.2.1/include/HsNetworkConfig.h.in --- old/network-2.6.2.0/include/HsNetworkConfig.h.in 2015-05-29 13:13:34.000000000 +0200 +++ new/network-2.6.2.1/include/HsNetworkConfig.h.in 2015-07-07 20:40:52.000000000 +0200 @@ -77,6 +77,9 @@ /* Define to 1 if you have a Linux sendfile(2) implementation. */ #undef HAVE_LINUX_SENDFILE +/* Define to 1 if you have the <linux/tcp.h> header file. */ +#undef HAVE_LINUX_TCP_H + /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/network-2.6.2.0/network.cabal new/network-2.6.2.1/network.cabal --- old/network-2.6.2.0/network.cabal 2015-05-29 13:13:34.000000000 +0200 +++ new/network-2.6.2.1/network.cabal 2015-07-07 20:40:52.000000000 +0200 @@ -1,5 +1,5 @@ name: network -version: 2.6.2.0 +version: 2.6.2.1 license: BSD3 license-file: LICENSE maintainer: Johan Tibell <johan.tib...@gmail.com> @@ -32,7 +32,8 @@ config.log config.status autom4te.cache network.buildinfo include/HsNetworkConfig.h extra-source-files: - README.md examples/*.hs tests/*.hs config.guess config.sub install-sh + README.md CHANGELOG.md + examples/*.hs tests/*.hs config.guess config.sub install-sh configure.ac configure network.buildinfo.in include/HsNetworkConfig.h.in include/HsNet.h -- C sources only used on some systems