Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2021-06-23 17:38:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-network.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-network"

Wed Jun 23 17:38:23 2021 rev:27 rq:901454 version:3.1.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2020-12-22 
11:50:32.686057272 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.2625/ghc-network.changes        
2021-06-23 17:38:31.376495505 +0200
@@ -1,0 +2,13 @@
+Wed Jun 16 08:26:55 UTC 2021 - [email protected]
+
+- Update network to version 3.1.2.2.
+  ## Version 3.1.2.2
+
+  * Allow bytestring 0.11
+    [#490](https://github.com/haskell/network/pull/490)
+  * Export StructLinger
+    [#491](https://github.com/haskell/network/pull/491)
+  * Fix a couple of broken tests on OpenBSD
+    [#498](https://github.com/haskell/network/pull/498)
+
+-------------------------------------------------------------------

Old:
----
  network-3.1.2.1.tar.gz
  network.cabal

New:
----
  network-3.1.2.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-network.spec ++++++
--- /var/tmp/diff_new_pack.j6FGUK/_old  2021-06-23 17:38:31.872496188 +0200
+++ /var/tmp/diff_new_pack.j6FGUK/_new  2021-06-23 17:38:31.876496193 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
 %global pkg_name network
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        3.1.2.1
+Version:        3.1.2.2
 Release:        0
 Summary:        Low-level networking interface
 License:        BSD-3-Clause
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-deepseq-devel
@@ -72,7 +71,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ network-3.1.2.1.tar.gz -> network-3.1.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-3.1.2.1/CHANGELOG.md 
new/network-3.1.2.2/CHANGELOG.md
--- old/network-3.1.2.1/CHANGELOG.md    2020-11-26 02:06:46.000000000 +0100
+++ new/network-3.1.2.2/CHANGELOG.md    2021-06-15 03:14:45.000000000 +0200
@@ -1,3 +1,12 @@
+## Version 3.1.2.2
+
+* Allow bytestring 0.11
+  [#490](https://github.com/haskell/network/pull/490)
+* Export StructLinger
+  [#491](https://github.com/haskell/network/pull/491)
+* Fix a couple of broken tests on OpenBSD
+  [#498](https://github.com/haskell/network/pull/498)
+
 ## Version 3.1.2.1
 
 * Increasing base lower bound to 4.9.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-3.1.2.1/Network/Socket/Options.hsc 
new/network-3.1.2.2/Network/Socket/Options.hsc
--- old/network-3.1.2.1/Network/Socket/Options.hsc      2020-11-26 
02:06:46.000000000 +0100
+++ new/network-3.1.2.2/Network/Socket/Options.hsc      2021-06-15 
03:14:45.000000000 +0200
@@ -25,6 +25,7 @@
   , setSocketOption
   , getSockOpt
   , setSockOpt
+  , StructLinger (..)
   ) where
 
 import qualified Text.Read as P
@@ -313,7 +314,16 @@
 {-# COMPLETE CustomSockOpt #-}
 #endif
 #ifdef SO_LINGER
-data StructLinger = StructLinger CInt CInt
+-- | Low level 'SO_LINBER' option value, which can be used with 'setSockOpt'.
+--
+data StructLinger = StructLinger {
+    -- | Set the linger option on.
+    sl_onoff  :: CInt,
+
+    -- | Linger timeout.
+    sl_linger :: CInt
+  }
+  deriving (Eq, Ord, Show)
 
 instance Storable StructLinger where
     sizeOf    _ = (#const sizeof(struct linger))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-3.1.2.1/Network/Socket/Posix/Cmsg.hsc 
new/network-3.1.2.2/Network/Socket/Posix/Cmsg.hsc
--- old/network-3.1.2.1/Network/Socket/Posix/Cmsg.hsc   2020-11-26 
02:06:46.000000000 +0100
+++ new/network-3.1.2.2/Network/Socket/Posix/Cmsg.hsc   2021-06-15 
03:14:45.000000000 +0200
@@ -44,7 +44,7 @@
 
 -- | The identifier for 'IPv4TTL'.
 pattern CmsgIdIPv4TTL :: CmsgId
-#if defined(darwin_HOST_OS) || defined(freebsd_HOST_OS)
+#if defined(darwin_HOST_OS) || defined(freebsd_HOST_OS) || 
defined(openbsd_HOST_OS)
 pattern CmsgIdIPv4TTL = CmsgId (#const IPPROTO_IP) (#const IP_RECVTTL)
 #else
 pattern CmsgIdIPv4TTL = CmsgId (#const IPPROTO_IP) (#const IP_TTL)
@@ -131,7 +131,7 @@
 ----------------------------------------------------------------
 
 -- | Time to live of IPv4.
-#if defined(darwin_HOST_OS) || defined(freebsd_HOST_OS)
+#if defined(darwin_HOST_OS) || defined(freebsd_HOST_OS) || 
defined(openbsd_HOST_OS)
 newtype IPv4TTL = IPv4TTL CChar deriving (Eq, Show, Storable)
 #else
 newtype IPv4TTL = IPv4TTL CInt deriving (Eq, Show, Storable)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-3.1.2.1/Network/Socket.hs 
new/network-3.1.2.2/Network/Socket.hs
--- old/network-3.1.2.1/Network/Socket.hs       2020-11-26 02:06:46.000000000 
+0100
+++ new/network-3.1.2.2/Network/Socket.hs       2021-06-15 03:14:45.000000000 
+0200
@@ -142,6 +142,7 @@
                   ,UseLoopBack,UserTimeout,IPv6Only
                   ,RecvIPv4TTL,RecvIPv4TOS,RecvIPv4PktInfo
                   ,RecvIPv6HopLimit,RecvIPv6TClass,RecvIPv6PktInfo)
+    , StructLinger (..)
     , isSupportedSocketOption
     , whenSupported
     , getSocketOption
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-3.1.2.1/README.md 
new/network-3.1.2.2/README.md
--- old/network-3.1.2.1/README.md       2020-11-26 02:06:46.000000000 +0100
+++ new/network-3.1.2.2/README.md       2021-06-15 03:14:45.000000000 +0200
@@ -1,4 +1,5 @@
-# [`network`](http://hackage.haskell.org/package/network) [![Build 
Status](https://travis-ci.org/haskell/network.svg?branch=master)](https://travis-ci.org/haskell/network)
 [![Build 
status](https://ci.appveyor.com/api/projects/status/5erq63o4m29bhl57/branch/master?svg=true)](https://ci.appveyor.com/project/eborden/network/branch/master)
+![GitHub Actions 
status](https://github.com/haskell/network/workflows/Haskell%20CI/badge.svg)
+# [`network`](http://hackage.haskell.org/package/network)
 
 To build this package directly from git, you must run `autoreconf -i`.
 And then use `cabal configure; cabal build` or `stack build`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-3.1.2.1/configure 
new/network-3.1.2.2/configure
--- old/network-3.1.2.1/configure       2020-11-26 02:06:46.000000000 +0100
+++ new/network-3.1.2.2/configure       2021-06-15 03:14:45.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for Haskell network package 3.1.1.0.
+# Generated by GNU Autoconf 2.69 for Haskell network package 3.1.2.1.
 #
 # Report bugs to <[email protected]>.
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='Haskell network package'
 PACKAGE_TARNAME='network'
-PACKAGE_VERSION='3.1.1.0'
-PACKAGE_STRING='Haskell network package 3.1.1.0'
+PACKAGE_VERSION='3.1.2.1'
+PACKAGE_STRING='Haskell network package 3.1.2.1'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL=''
 
@@ -1234,7 +1234,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 Haskell network package 3.1.1.0 to adapt to many kinds 
of systems.
+\`configure' configures Haskell network package 3.1.2.1 to adapt to many kinds 
of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1299,7 +1299,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of Haskell network package 
3.1.1.0:";;
+     short | recursive ) echo "Configuration of Haskell network package 
3.1.2.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1384,7 +1384,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-Haskell network package configure 3.1.1.0
+Haskell network package configure 3.1.2.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1910,7 +1910,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by Haskell network package $as_me 3.1.1.0, which was
+It was created by Haskell network package $as_me 3.1.2.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4417,7 +4417,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by Haskell network package $as_me 3.1.1.0, which was
+This file was extended by Haskell network package $as_me 3.1.2.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -4470,7 +4470,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-Haskell network package config.status 3.1.1.0
+Haskell network package config.status 3.1.2.1
 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/network-3.1.2.1/network.cabal 
new/network-3.1.2.2/network.cabal
--- old/network-3.1.2.1/network.cabal   2020-11-26 02:06:46.000000000 +0100
+++ new/network-3.1.2.2/network.cabal   2021-06-15 03:14:45.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:  1.18
 name:           network
-version:        3.1.2.1
+version:        3.1.2.2
 license:        BSD3
 license-file:   LICENSE
 maintainer:     Kazu Yamamoto, Evan Borden
@@ -88,7 +88,7 @@
 
   build-depends:
     base >= 4.9 && < 5,
-    bytestring == 0.10.*,
+    bytestring >= 0.10 && < 0.12,
     deepseq,
     directory
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-3.1.2.1/tests/Network/SocketSpec.hs 
new/network-3.1.2.2/tests/Network/SocketSpec.hs
--- old/network-3.1.2.1/tests/Network/SocketSpec.hs     2020-11-26 
02:06:46.000000000 +0100
+++ new/network-3.1.2.2/tests/Network/SocketSpec.hs     2021-06-15 
03:14:45.000000000 +0200
@@ -131,7 +131,7 @@
 
 #if defined(mingw32_HOST_OS)
     let lpdevname = "loopback_0"
-#elif defined(darwin_HOST_OS) || defined(freebsd_HOST_OS)
+#elif defined(darwin_HOST_OS) || defined(freebsd_HOST_OS) || 
defined(openbsd_HOST_OS)
     let lpdevname = "lo0"
 #else
     let lpdevname = "lo"

Reply via email to