commit ghc-network for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2020-09-07 22:03:04

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new.3399 (New)


Package is "ghc-network"

Mon Sep  7 22:03:04 2020 rev:25 rq:832295 version:3.1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2020-08-28 
21:35:20.792722906 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.3399/ghc-network.changes
2020-09-07 22:03:04.814093291 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:30 UTC 2020 - psim...@suse.com
+
+- Update network to version 3.1.2.0 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-network for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2020-08-28 21:35:19

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new.3399 (New)


Package is "ghc-network"

Fri Aug 28 21:35:19 2020 rev:24 rq:829359 version:3.1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2020-08-18 
12:24:48.103816342 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.3399/ghc-network.changes
2020-08-28 21:35:20.792722906 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:32 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---

New:

  network.cabal



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.dnTvkh/_old  2020-08-28 21:35:21.444723215 +0200
+++ /var/tmp/diff_new_pack.dnTvkh/_new  2020-08-28 21:35:21.448723217 +0200
@@ -25,6 +25,7 @@
 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
@@ -69,7 +70,8 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ network.cabal ++
cabal-version:  1.18
name:   network
version:3.1.2.0
x-revision: 1
license:BSD3
license-file:   LICENSE
maintainer: Kazu Yamamoto, Evan Borden
synopsis:   Low-level networking interface
description:
  This package provides a low-level networking interface.
  .
  === High-Level Packages
  Other packages provide higher level interfaces:
  .
  * connection
  * hookup
  * network-simple
  .
  === Extended Packages
  @network@ seeks to provide a cross-platform core for networking. As such some
  APIs live in extended libraries. Packages in the @network@ ecosystem are
  often prefixed with @network-@.
  .
   @network-bsd@
  In @network-3.0.0.0@ the @Network.BSD@ module was split off into its own
  package, @network-bsd-3.0.0.0@.
  .
   @network-uri@
  In @network-2.6@ the @Network.URI@ module was split off into its own package,
  @network-uri-2.6@. If you're using the @Network.URI@ module you can
  automatically get it from the right package by adding this to your @.cabal@
  file:
  .
  > library
  >   build-depends: network-uri-flag
category:   Network
build-type: Configure
extra-tmp-files:
  config.log config.status autom4te.cache network.buildinfo
  include/HsNetworkConfig.h
extra-source-files:
  README.md CHANGELOG.md
  examples/*.hs tests/*.hs config.guess config.sub install-sh
  configure.ac configure
  include/HsNetworkConfig.h.in include/HsNet.h include/HsNetDef.h
  -- C sources only used on some systems
  cbits/asyncAccept.c cbits/initWinSock.c
  cbits/winSockErr.c cbits/cmsg.c
homepage:   https://github.com/haskell/network
bug-reports:https://github.com/haskell/network/issues
tested-with:   GHC == 8.0.2
 , GHC == 8.2.2
 , GHC == 8.4.4
 , GHC == 8.6.5
 , GHC == 8.8.3
 , GHC == 8.10.1

flag devel
  description:  using tests for developers
  default:  False

library
  default-language: Haskell2010
  exposed-modules:
Network.Socket
Network.Socket.Address
Network.Socket.ByteString
Network.Socket.ByteString.Lazy
Network.Socket.Internal
  other-modules:
Network.Socket.Buffer
Network.Socket.ByteString.IO
Network.Socket.ByteString.Internal
Network.Socket.Cbits
Network.Socket.Fcntl
Network.Socket.Flag
Network.Socket.Handle
Network.Socket.If
Network.Socket.Imports
Network.Socket.Info
Network.Socket.Name
Network.Socket.Options
Network.Socket.ReadShow
Network.Socket.Shutdown
Network.Socket.SockAddr
Network.Socket.Syscall
Network.Socket.Types

  build-depends:
base >= 4.9 && < 5,
bytestring == 0.10.*,
deepseq,
directory

  include-dirs: include
  includes: HsNet.h HsNetDef.h alignment.h win32defs.h
  install-includes: HsNet.h HsNetDef.h  alignment.h win32defs.h
  c-sources: cbits/HsNet.c cbits/cmsg.c
  ghc-options: -Wall -fwarn-tabs
  build-tools: hsc2hs


  -- Add some platform specific stuff
  if !os(windows)
other-modules:
  Network.Socket.ByteString.Lazy.Posix
 

commit ghc-network for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2020-08-18 12:24:45

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new.3399 (New)


Package is "ghc-network"

Tue Aug 18 12:24:45 2020 rev:23 rq:825800 version:3.1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2020-06-19 
17:15:51.682613390 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.3399/ghc-network.changes
2020-08-18 12:24:48.103816342 +0200
@@ -1,0 +2,46 @@
+Mon Aug 10 08:46:46 UTC 2020 - psim...@suse.com
+
+- Update network to version 3.1.2.0.
+  ## Unreleased
+
+  ## Version 3.1.2.0
+
+  * Added `-f devel` for test cases that are known to fail.
+[#471](https://github.com/haskell/network/pull/471)
+  * Improved precedence-compliant Read/Show instances. Verified via QuickCheck.
+[#465](https://github.com/haskell/network/pull/465)
+[#466](https://github.com/haskell/network/pull/466)
+  * Removed the racing graceful close implementation to avoid issues with 
`CLOSE_WAIT`.
+[#460](https://github.com/haskell/network/pull/438)
+  * Gracefully handle binding of UNIX domain sockets.
+[#460](https://github.com/haskell/network/pull/460)
+  * Replace Socket type and family with extensible `CInt` pattern and synonyms.
+[#459](https://github.com/haskell/network/pull/459)
+  * Fixed race conditions in tests.
+[#458](https://github.com/haskell/network/pull/458)
+  * Removed many legacy uses of `undefined`.
+[#456](https://github.com/haskell/network/pull/456)
+  * Defined extensible `CustomSockOpt` via `ViewPatterns`.
+[#455](https://github.com/haskell/network/pull/455)
+  * Defined `openSocket` in terms of `AddrInfo`.
+
[5b0987197fe2ed7beddd7b2096522d624e71151e](https://github.com/haskell/network/commit/5b0987197fe2ed7beddd7b2096522d624e71151e)
+  * Improved FreeBSD portability for Control Messages and tests
+[#452](https://github.com/haskell/network/pull/452)
+  * Support `sendMsg` and `recvMsg`
+[#433](https://github.com/haskell/network/pull/433)
+[#445](https://github.com/haskell/network/pull/445)
+[#451](https://github.com/haskell/network/pull/451)
+  * Added `sendMsg` and `recvMsg` APIs
+  * Redefined `SocketOption` as pattern synonym
+  * Implement total Show functions for SockAddr
+[#441](https://github.com/haskell/network/pull/441)
+  * Improve portability changing `u_int32_t` to `uint32_t`.
+[#442](https://github.com/haskell/network/pull/442)
+  * Removed obsolete CPP statements.
+
[d1f4ee60ce6a4a85abb79532f64d4a4e71e2b1ce](https://github.com/haskell/network/commit/d1f4ee60ce6a4a85abb79532f64d4a4e71e2b1ce)
+  * Loads of improved test coverage.
+
[cbd67cc50a37770432eb978ac8b8eb6da3664817](https://github.com/haskell/network/commit/cbd67cc50a37770432eb978ac8b8eb6da3664817)
+
[fcc2d86d53a6bec793f6a979a9e8fdf7fe3f4c22](https://github.com/haskell/network/commit/fcc2d86d53a6bec793f6a979a9e8fdf7fe3f4c22)
+
[6db96969b3e8974abbfd50a7f073baa57376fd5e](https://github.com/haskell/network/commit/6db96969b3e8974abbfd50a7f073baa57376fd5e)
+
+---

Old:

  network-3.1.1.1.tar.gz

New:

  network-3.1.2.0.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.Aa5Tfd/_old  2020-08-18 12:24:49.387816878 +0200
+++ /var/tmp/diff_new_pack.Aa5Tfd/_new  2020-08-18 12:24:49.391816879 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:3.1.1.1
+Version:3.1.2.0
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
@@ -28,11 +28,13 @@
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-rpm-macros
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
-BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-hspec-devel
+BuildRequires:  ghc-temporary-devel
 %endif
 
 %description

++ network-3.1.1.1.tar.gz -> network-3.1.2.0.tar.gz ++
 5988 lines of diff (skipped)




commit ghc-network for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2020-06-19 17:15:46

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new.3606 (New)


Package is "ghc-network"

Fri Jun 19 17:15:46 2020 rev:22 rq:815138 version:3.1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2020-01-03 
17:35:44.983257638 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.3606/ghc-network.changes
2020-06-19 17:15:51.682613390 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:23 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.higytf/_old  2020-06-19 17:15:53.186618077 +0200
+++ /var/tmp/diff_new_pack.higytf/_new  2020-06-19 17:15:53.186618077 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-network for openSUSE:Factory

2020-01-03 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2020-01-03 17:35:33

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new.6675 (New)


Package is "ghc-network"

Fri Jan  3 17:35:33 2020 rev:21 rq:760290 version:3.1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2019-12-27 
13:55:42.468726125 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.6675/ghc-network.changes
2020-01-03 17:35:44.983257638 +0100
@@ -1,0 +2,9 @@
+Sun Dec 29 10:27:14 UTC 2019 - psim...@suse.com
+
+- Update network to version 3.1.1.1.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/network-3.1.1.1/src/CHANGELOG.md
+
+---

Old:

  network-2.8.0.1.tar.gz

New:

  network-3.1.1.1.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.pvnWn8/_old  2020-01-03 17:35:46.463258397 +0100
+++ /var/tmp/diff_new_pack.pvnWn8/_new  2020-01-03 17:35:46.491258411 +0100
@@ -19,7 +19,7 @@
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.8.0.1
+Version:3.1.1.1
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
@@ -27,21 +27,32 @@
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-deepseq-devel
 BuildRequires:  ghc-rpm-macros
-BuildRequires:  ghc-unix-devel
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-directory-devel
-BuildRequires:  ghc-doctest-devel
 BuildRequires:  ghc-hspec-devel
 %endif
 
 %description
 This package provides a low-level networking interface.
 
-In network-2.6 the 'Network.URI' module was split off into its own package,
-network-uri-2.6. If you're using the 'Network.URI' module you can automatically
-get it from the right package by adding this to your .cabal file:
+=== High-Level Packages Other packages provide higher level interfaces:
+
+* connection * hookup * network-simple
+
+=== Extended Packages 'network' seeks to provide a cross-platform core for
+networking. As such some APIs live in extended libraries. Packages in the
+'network' ecosystem are often prefixed with 'network-'.
+
+ 'network-bsd' In 'network-3.0.0.0' the 'Network.BSD' module was split off
+into its own package, 'network-bsd-3.0.0.0'.
+
+ 'network-uri' In 'network-2.6' the 'Network.URI' module was split off into
+its own package, 'network-uri-2.6'. If you're using the 'Network.URI' module
+you can automatically get it from the right package by adding this to your
+'.cabal' file:
 
 > library > build-depends: network-uri-flag.
 

++ network-2.8.0.1.tar.gz -> network-3.1.1.1.tar.gz ++
 10577 lines of diff (skipped)




commit ghc-network for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2019-12-27 13:55:32

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new.6675 (New)


Package is "ghc-network"

Fri Dec 27 13:55:32 2019 rev:20 rq:759457 version:2.8.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2019-05-09 
10:10:20.993189498 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.6675/ghc-network.changes
2019-12-27 13:55:42.468726125 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:14:17 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.Y4XrHs/_old  2019-12-27 13:55:43.752726745 +0100
+++ /var/tmp/diff_new_pack.Y4XrHs/_new  2019-12-27 13:55:43.760726749 +0100
@@ -23,7 +23,6 @@
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
@@ -48,7 +47,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}




commit ghc-network for openSUSE:Factory

2019-05-09 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2019-05-09 10:10:15

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new.5148 (New)


Package is "ghc-network"

Thu May  9 10:10:15 2019 rev:19 rq:700203 version:2.8.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2018-12-06 
12:16:34.301567817 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.5148/ghc-network.changes
2019-05-09 10:10:20.993189498 +0200
@@ -1,0 +2,9 @@
+Tue Apr 30 09:23:15 UTC 2019 - psim...@suse.com
+
+- Update network to version 2.8.0.1.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/network-2.8.0.1/src/CHANGELOG.md
+
+---

Old:

  network-2.8.0.0.tar.gz

New:

  network-2.8.0.1.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.KcCDqI/_old  2019-05-09 10:10:24.801200402 +0200
+++ /var/tmp/diff_new_pack.KcCDqI/_new  2019-05-09 10:10:24.805200413 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -19,7 +19,7 @@
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.8.0.0
+Version:2.8.0.1
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause

++ network-2.8.0.0.tar.gz -> network-2.8.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.8.0.0/CHANGELOG.md 
new/network-2.8.0.1/CHANGELOG.md
--- old/network-2.8.0.0/CHANGELOG.md2018-09-05 00:14:52.0 +0200
+++ new/network-2.8.0.1/CHANGELOG.md2001-09-09 03:46:40.0 +0200
@@ -1,8 +1,15 @@
+## Version 2.8.0.1
+
+* Eensuring that accept returns a correct sockaddr for unix domain.
+  [#400](https://github.com/haskell/network/pull/400)
+* Avoid out of bounds writes in pokeSockAddr.
+  [#400](https://github.com/haskell/network/pull/400)
+
 ## Version 2.8.0.0
 
-* Breaking change: PortNumber originally contained Word32 in network
+* Breaking change: PortNumber originally contained Word16 in network
   byte order and used "deriving Ord". This results in strange behavior
-  on the Ord instance. Now PortNumber holds Word32 in host byte order.
+  on the Ord instance. Now PortNumber holds Word16 in host byte order.
   [#347](https://github.com/haskell/network/pull/347)
 * Breaking change: stopping the export of the PortNum constructor in
   PortNumber.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.8.0.0/Network/Socket/ByteString/Lazy.hs 
new/network-2.8.0.1/Network/Socket/ByteString/Lazy.hs
--- old/network-2.8.0.0/Network/Socket/ByteString/Lazy.hs   2018-09-05 
00:14:52.0 +0200
+++ new/network-2.8.0.1/Network/Socket/ByteString/Lazy.hs   2001-09-09 
03:46:40.0 +0200
@@ -39,6 +39,7 @@
 import Network.Socket (Socket(..), ShutdownCmd(..), shutdown)
 import Prelude hiding (getContents)
 import System.IO.Unsafe (unsafeInterleaveIO)
+import System.IO.Error (catchIOError)
 
 import qualified Data.ByteString as S
 import qualified Network.Socket.ByteString as N
@@ -67,7 +68,9 @@
   loop = unsafeInterleaveIO $ do
 s <- N.recv sock defaultChunkSize
 if S.null s
-  then shutdown sock ShutdownReceive >> return Empty
+  then do
+shutdown sock ShutdownReceive `catchIOError` const (return ())
+return Empty
   else Chunk s `liftM` loop
 
 -- | Receive data from the socket.  The socket must be in a connected
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.8.0.0/Network/Socket/Types.hsc 
new/network-2.8.0.1/Network/Socket/Types.hsc
--- old/network-2.8.0.0/Network/Socket/Types.hsc2018-09-05 
00:14:52.0 +0200
+++ new/network-2.8.0.1/Network/Socket/Types.hsc2001-09-09 
03:46:40.0 +0200
@@ -801,10 +801,8 @@
 -- families. Currently only UNIX-domain sockets and the Internet
 -- families are supported.
 
-#if defined(IPV6_SOCKET_SUPPORT)
 type FlowInfo = Word32
 type ScopeID = Word32
-#endif
 
 -- | The existence of a constructor does not necessarily imply that
 -- that socket address type is suppor

commit ghc-network for openSUSE:Factory

2018-12-06 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2018-12-06 12:16:29

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new.19453 (New)


Package is "ghc-network"

Thu Dec  6 12:16:29 2018 rev:18 rq:650507 version:2.8.0.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2018-10-25 
08:17:59.972027237 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new.19453/ghc-network.changes   
2018-12-06 12:16:34.301567817 +0100
@@ -1,0 +2,15 @@
+Mon Nov 19 16:02:57 UTC 2018 - psim...@suse.com
+
+- Update network to version 2.8.0.0.
+  ## Version 2.8.0.0
+
+  * Breaking change: PortNumber originally contained Word32 in network
+byte order and used "deriving Ord". This results in strange behavior
+on the Ord instance. Now PortNumber holds Word32 in host byte order.
+[#347](https://github.com/haskell/network/pull/347)
+  * Breaking change: stopping the export of the PortNum constructor in
+PortNumber.
+  * Use bytestring == 0.10.* only.
+  * Use base >= 4.7 && < 5.
+
+---

Old:

  network-2.7.0.2.tar.gz
  network.cabal

New:

  network-2.8.0.0.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.pU5dFg/_old  2018-12-06 12:16:35.433566601 +0100
+++ /var/tmp/diff_new_pack.pU5dFg/_new  2018-12-06 12:16:35.433566601 +0100
@@ -19,14 +19,13 @@
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.7.0.2
+Version:2.8.0.0
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
@@ -60,7 +59,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ network-2.7.0.2.tar.gz -> network-2.8.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.7.0.2/CHANGELOG.md 
new/network-2.8.0.0/CHANGELOG.md
--- old/network-2.7.0.2/CHANGELOG.md2018-07-07 16:47:29.0 +0200
+++ new/network-2.8.0.0/CHANGELOG.md2018-09-05 00:14:52.0 +0200
@@ -1,3 +1,14 @@
+## Version 2.8.0.0
+
+* Breaking change: PortNumber originally contained Word32 in network
+  byte order and used "deriving Ord". This results in strange behavior
+  on the Ord instance. Now PortNumber holds Word32 in host byte order.
+  [#347](https://github.com/haskell/network/pull/347)
+* Breaking change: stopping the export of the PortNum constructor in
+  PortNumber.
+* Use bytestring == 0.10.* only.
+* Use base >= 4.7 && < 5.
+
 ## Version 2.7.0.2
 
 * Removing withMVar to avoid the deadlock between "accept" and "close"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.7.0.2/Network/Socket/Types.hsc 
new/network-2.8.0.0/Network/Socket/Types.hsc
--- old/network-2.7.0.2/Network/Socket/Types.hsc2018-07-07 
16:47:29.0 +0200
+++ new/network-2.8.0.0/Network/Socket/Types.hsc2018-09-05 
00:14:52.0 +0200
@@ -1,6 +1,7 @@
 {-# LANGUAGE DeriveDataTypeable #-}
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
 
 #include "HsNet.h"
 ##include "HsNetDef.h"
@@ -63,7 +64,6 @@
 import Control.Monad
 import Data.Bits
 import Data.Maybe
-import Data.Ratio
 import Data.Typeable
 import Data.Word
 import Data.Int
@@ -746,65 +746,40 @@
 -- Port Numbers
 
 -- | Use the @Num@ instance (i.e. use a literal) to create a
--- @PortNumber@ value with the correct network-byte-ordering. You
--- should not use the PortNum constructor. It will be removed in the
--- next release.
+-- @PortNumber@ value.
 --
 -- >>> 1 :: PortNumber
 -- 1
 -- >>> read "1" :: PortNumber
 -- 1
-newtype PortNumber = PortNum Word16 deriving (Eq, Ord, Typeable)
--- newtyped to prevent accidental use of sane-looking
--- port numbers that haven't actually been converted to
--- network-byte-order first.
-
-{-# DEPRECATED PortNum "Do not use the PortNum constructor. Use the Num 
instance. PortNum will be removed in the next release." #-}
+-- >>> show (12345 :: PortNumber)
+-- "12345"
+-- >>> 5 < (51000 :: PortNumber)
+-- True
+-

commit ghc-network for openSUSE:Factory

2018-10-24 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2018-10-25 08:17:41

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new (New)


Package is "ghc-network"

Thu Oct 25 08:17:41 2018 rev:17 rq:642883 version:2.7.0.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2018-07-24 
17:20:28.051152534 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2018-10-25 08:17:59.972027237 +0200
@@ -1,0 +2,38 @@
+Thu Oct  4 09:42:52 UTC 2018 - psim...@suse.com
+
+- Update network to version 2.7.0.2.
+  * Removing withMVar to avoid the deadlock between "accept" and "close"
+ [#330](https://github.com/haskell/network/pull/330)
+  * "close" does not throw exceptions. A new API: "close'" throws
+ exceptions when necessary.
+ [#337](https://github.com/haskell/network/pull/337)
+  * Fixing the hang of lazy sendAll.
+ [#340](https://github.com/haskell/network/pull/340)
+  * Installing NetDef.h (#334)
+ [#334](https://github.com/haskell/network/pull/334)
+   * A new API: socketPortSafe.
+ [#319](https://github.com/haskell/network/pull/319)
+   * Fixing a drain bug of sendAll.
+ [#320](https://github.com/haskell/network/pull/320)
+   * Porting the new CALLCONV convention from master.
+ [#313](https://github.com/haskell/network/pull/313)
+   * Withdrawing the deprecations of packFamily and unpackFamily.
+ [#324](https://github.com/haskell/network/pull/324)
+   * Obsoleting the Network module.
+   * Obsoleting the Network.BSD module.
+   * Obsoleting APIs: MkSocket, htonl, ntohl,
+   getPeerCred, getPeerEid,
+   send, sendTo, recv, recvFrom, recvLen,
+   inet_addr, inet_ntoa,
+   isConnected, isBound, isListening, isReadable, isWritable,
+   aNY_PORT, iNADDR_ANY, iN6ADDR_ANY, sOMAXCONN,
+   sOL_SOCKET, sCM_RIGHTS,
+   packFamily, unpackFamily, packSocketType
+   * Do not closeFd within sendFd.
+ [#271](https://github.com/haskell/network/pull/271)
+   * Exporting ifNameToIndex and ifIndexToName from Network.Socket.
+   * New APIs: setCloseOnExecIfNeeded, getCloseOnExec and getNonBlock
+   * New APIs: isUnixDomainSocketAvailable and getPeerCredential
+   * socketPair, sendFd and recvFd are exported even on Windows.
+
+---

Old:

  network-2.6.3.6.tar.gz

New:

  network-2.7.0.2.tar.gz
  network.cabal



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.Y6yh3W/_old  2018-10-25 08:18:01.056026762 +0200
+++ /var/tmp/diff_new_pack.Y6yh3W/_new  2018-10-25 08:18:01.056026762 +0200
@@ -12,26 +12,28 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.6.3.6
+Version:2.7.0.2
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-unix-devel
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-doctest-devel
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -58,6 +60,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ network-2.6.3.6.tar.gz -> network-2.7.0.2.tar.gz ++
 1667 lines of diff (skipped)

++ network.cabal ++
name:   network
version:2.7.0.2
x-revision: 2
license:BSD3
license-file:   LICENSE
maintainer: Kazu Yamamoto, Evan Borden
synopsis:   Low-level networking interface
description:
  This package provides a low-level networking interface.
  .
  In network-2.6 the @Network.URI@ module was split off into its own
  package, network-uri-2.6. If you're using the @Network.URI@ module
  you can automatically get it from the right package by adding this
  to your .cabal file:
  .
  > library
  >   build-depends: network-uri-flag
category:   Network
build-

commit ghc-network for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2018-07-24 17:20:22

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new (New)


Package is "ghc-network"

Tue Jul 24 17:20:22 2018 rev:16 rq:623817 version:2.6.3.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2018-05-30 
12:26:32.099868290 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2018-07-24 17:20:28.051152534 +0200
@@ -1,0 +2,14 @@
+Wed Jul 18 14:26:33 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Fri Jul 13 14:31:28 UTC 2018 - psim...@suse.com
+
+- Update network to version 2.6.3.6.
+  ## Version 2.6.3.6
+   * Removed unnecessary withMVar, which caused locking on close.
+ [#330](https://github.com/haskell/network/pull/330)
+
+---
@@ -143 +156,0 @@
-

Old:

  network-2.6.3.5.tar.gz

New:

  network-2.6.3.6.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.8JjAkE/_old  2018-07-24 17:20:29.651154587 +0200
+++ /var/tmp/diff_new_pack.8JjAkE/_new  2018-07-24 17:20:29.655154592 +0200
@@ -19,7 +19,7 @@
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.6.3.5
+Version:2.6.3.6
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause

++ network-2.6.3.5.tar.gz -> network-2.6.3.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.6.3.5/CHANGELOG.md 
new/network-2.6.3.6/CHANGELOG.md
--- old/network-2.6.3.5/CHANGELOG.md2018-03-28 01:42:13.0 +0200
+++ new/network-2.6.3.6/CHANGELOG.md2018-07-07 16:30:56.0 +0200
@@ -1,3 +1,7 @@
+## Version 2.6.3.6
+ * Removed unnecessary withMVar, which caused locking on close.
+   [#330](https://github.com/haskell/network/pull/330)
+
 ## Version 2.6.3.5
  * Reverting "Do not closeFd within sendFd"
[#271](https://github.com/haskell/network/pull/271)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.6.3.5/Network/Socket.hsc 
new/network-2.6.3.6/Network/Socket.hsc
--- old/network-2.6.3.5/Network/Socket.hsc  2018-03-28 01:42:13.0 
+0200
+++ new/network-2.6.3.6/Network/Socket.hsc  2018-07-07 16:30:56.0 
+0200
@@ -578,7 +578,8 @@
-> IO (Socket,   -- Readable Socket
   SockAddr) -- Peer details
 
-accept sock@(MkSocket s family stype protocol status) = withMVar status $ 
\currentStatus -> do
+accept sock@(MkSocket s family stype protocol status) = do
+ currentStatus <- readMVar status
  if not $ isAcceptable family stype currentStatus
then
  ioError $ userError $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.6.3.5/configure.ac 
new/network-2.6.3.6/configure.ac
--- old/network-2.6.3.5/configure.ac2018-03-28 01:42:13.0 +0200
+++ new/network-2.6.3.6/configure.ac2018-07-07 16:30:56.0 +0200
@@ -1,4 +1,4 @@
-AC_INIT([Haskell network package], [2.6.3.5], [librar...@haskell.org], 
[network])
+AC_INIT([Haskell network package], [2.6.3.6], [librar...@haskell.org], 
[network])
 
 ac_includes_default="$ac_includes_default
 #ifdef HAVE_SYS_SOCKET_H
@@ -101,7 +101,7 @@
 fi
 
 dnl --
-dnl * test for GETPEEREID(3) 
+dnl * test for GETPEEREID(3)
 dnl --
 AC_MSG_CHECKING(for getpeereid in unistd.h)
 AC_CHECK_FUNC( getpeereid, AC_DEFINE([HAVE_GETPEEREID], [1], [Define to 1 if 
you have getpeereid.] ))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.6.3.5/network.cabal 
new/network-2.6.3.6/network.cabal
--- old/network-2.6.3.5/network.cabal   2018-03-28 01:42:13.0 +0200
+++ new/network-2.6.3.6/network.cabal   2018-07-07 16:30:56.0 +0200
@@ -1,5 +1,5 @@
 name:   network
-version:2.6.3.5
+version:2.6.3.6
 license:BSD3
 license-file:   LICENSE
 maintainer: Kazu Yamamoto, Evan Borden




commit ghc-network for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2018-05-30 12:11:05

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new (New)


Package is "ghc-network"

Wed May 30 12:11:05 2018 rev:15 rq:607844 version:2.6.3.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2017-09-15 
22:00:32.627537066 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2018-05-30 12:26:32.099868290 +0200
@@ -1,0 +2,17 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update network to version 2.6.3.5.
+ * Reverting "Do not closeFd within sendFd"
+   [#271](https://github.com/haskell/network/pull/271)
+ * Don't touch IPv6Only when running on OpenBSD
+   [#227](https://github.com/haskell/network/pull/227)
+ * Do not closeFd within sendFd
+   [#271](https://github.com/haskell/network/pull/271)
+ * Updating examples and docs.
+ * Adds a function to show the defaultHints without reading their undefined 
fields
+   [#291](https://github.com/haskell/network/pull/291)
+ * Improve exception error messages for getAddrInfo and getNameInfo
+   [#289](https://github.com/haskell/network/pull/289)
+ * Deprecating SockAddrCan.
+
+---

Old:

  network-2.6.3.2.tar.gz
  network.cabal

New:

  network-2.6.3.5.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.Br7CZs/_old  2018-05-30 12:26:33.259828855 +0200
+++ /var/tmp/diff_new_pack.Br7CZs/_new  2018-05-30 12:26:33.263828719 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,13 @@
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.6.3.2
+Version:2.6.3.5
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 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-rpm-macros
@@ -34,8 +33,7 @@
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-doctest-devel
-BuildRequires:  ghc-test-framework-devel
-BuildRequires:  ghc-test-framework-hunit-devel
+BuildRequires:  ghc-hspec-devel
 %endif
 
 %description
@@ -45,12 +43,7 @@
 network-uri-2.6. If you're using the 'Network.URI' module you can automatically
 get it from the right package by adding this to your .cabal file:
 
-> flag network-uri > description: Get Network.URI from the network-uri package
-> default: True > > library > -- ... > if flag(network-uri) > build-depends:
-network-uri >= 2.6, network >= 2.6 > else > build-depends: network-uri < 2.6,
-network < 2.6
-
-That is, get the module from either network < 2.6 or from network-uri >= 2.6.
+> library > build-depends: network-uri-flag.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
@@ -65,7 +58,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -83,7 +75,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc CHANGELOG.md README.md examples

++ network-2.6.3.2.tar.gz -> network-2.6.3.5.tar.gz ++
 1840 lines of diff (skipped)




commit ghc-network for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2017-09-15 22:00:31

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new (New)


Package is "ghc-network"

Fri Sep 15 22:00:31 2017 rev:14 rq:525064 version:2.6.3.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2017-06-22 
10:38:19.695088625 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2017-09-15 22:00:32.627537066 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.LPyjKf/_old  2017-09-15 22:00:33.443422097 +0200
+++ /var/tmp/diff_new_pack.LPyjKf/_new  2017-09-15 22:00:33.443422097 +0200
@@ -23,15 +23,14 @@
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+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-rpm-macros
 BuildRequires:  ghc-unix-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-doctest-devel
@@ -55,7 +54,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -84,11 +83,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md examples
 
 %changelog




commit ghc-network for openSUSE:Factory

2017-06-22 Thread root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2017-06-22 10:38:18

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new (New)


Package is "ghc-network"

Thu Jun 22 10:38:18 2017 rev:13 rq:504087 version:2.6.3.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-network/ghc-network.changes  2016-09-05 
21:20:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2017-06-22 10:38:19.695088625 +0200
@@ -1,0 +2,5 @@
+Thu Jun  8 11:08:22 UTC 2017 - psim...@suse.com
+
+- Update to version 2.6.3.2 revision 1.
+
+---

Old:

  network-2.6.3.1.tar.gz

New:

  network-2.6.3.2.tar.gz
  network.cabal



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.cb1nzV/_old  2017-06-22 10:38:20.554967399 +0200
+++ /var/tmp/diff_new_pack.cb1nzV/_new  2017-06-22 10:38:20.558966834 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -19,13 +19,14 @@
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.6.3.1
+Version:2.6.3.2
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 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-rpm-macros
@@ -65,6 +66,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ network-2.6.3.1.tar.gz -> network-2.6.3.2.tar.gz ++
 1940 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/network-2.6.3.1/CHANGELOG.md new/network-2.6.3.2/CHANGELOG.md
--- old/network-2.6.3.1/CHANGELOG.md2016-07-31 05:47:24.0 +0200
+++ new/network-2.6.3.2/CHANGELOG.md2017-05-30 22:10:33.0 +0200
@@ -1,3 +1,29 @@
+## Version 2.6.3.2
+
+ * Zero memory of `sockaddr_un` if abstract socket
+   [#220](https://github.com/haskell/network/pull/220)
+
+ * Improving error messages
+   [#232](https://github.com/haskell/network/pull/232)
+
+ * Allow non-blocking file descriptors via `setNonBlockIfNeeded`
+   [#242](https://github.com/haskell/network/pull/242)
+
+ * Update config.{guess,sub} to latest version
+   [#244](https://github.com/haskell/network/pull/244)
+
+ * Rename `my_inet_ntoa` to avoid symbol conflicts
+   [#228](https://github.com/haskell/network/pull/228)
+
+ * Test infrastructure improvements
+   [#219](https://github.com/haskell/network/pull/219)
+   [#217](https://github.com/haskell/network/pull/217)
+   [#218](https://github.com/haskell/network/pull/218)
+
+ * House keeping and cleanup
+   [#238](https://github.com/haskell/network/pull/238)
+   [#237](https://github.com/haskell/network/pull/237)
+
 ## Version 2.6.3.1
 
  * Reverse breaking exception change in `Network.Socket.ByteString.recv`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/network-2.6.3.1/Network/BSD.hsc new/network-2.6.3.2/Network/BSD.hsc
--- old/network-2.6.3.1/Network/BSD.hsc 2016-07-31 05:47:24.0 +0200
+++ new/network-2.6.3.2/Network/BSD.hsc 2017-05-30 22:10:33.0 +0200
@@ -168,7 +168,7 @@
 serviceProtocol = s_proto
 })
 
-   poke _p = error "Storable.poke(BSD.ServiceEntry) not implemented"
+   poke = throwUnsupportedOperationPoke "ServiceEntry"
 
 
 -- | Get service by name.
@@ -178,7 +178,7 @@
 getServiceByName name proto = withLock $ do
  withCString name  $ \ cstr_name  -> do
  withCString proto $ \ cstr_prot

commit ghc-network for openSUSE:Factory

2016-09-05 Thread h_root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2016-09-05 21:20:22

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  2016-07-21 
08:14:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2016-09-05 21:20:25.0 +0200
@@ -1,0 +2,5 @@
+Wed Aug 17 18:31:55 UTC 2016 - psim...@suse.com
+
+- Update to version 2.6.3.1 revision 0 with cabal2obs.
+
+---

Old:

  network-2.6.2.1.tar.gz

New:

  network-2.6.3.1.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.q4LmDr/_old  2016-09-05 21:20:26.0 +0200
+++ /var/tmp/diff_new_pack.q4LmDr/_new  2016-09-05 21:20:26.0 +0200
@@ -19,25 +19,24 @@
 %global pkg_name network
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:2.6.2.1
+Version:2.6.3.1
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
-Group:  System/Libraries
+Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-unix-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-doctest-devel
 BuildRequires:  ghc-test-framework-devel
 BuildRequires:  ghc-test-framework-hunit-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This package provides a low-level networking interface.
@@ -67,20 +66,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ network-2.6.2.1.tar.gz -> network-2.6.3.1.tar.gz ++
 1876 lines of diff (skipped)




commit ghc-network for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2016-07-21 08:14:10

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-07-14 
17:45:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2016-07-21 08:14:17.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:30:20 UTC 2016 - psim...@suse.com
+
+- Update to version 2.6.2.1 revision 0 with cabal2obs.
+
+---

Old:

  _service



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.O93qVF/_old  2016-07-21 08:14:18.0 +0200
+++ /var/tmp/diff_new_pack.O93qVF/_new  2016-07-21 08:14:18.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# 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,25 +17,21 @@
 
 
 %global pkg_name network
-
 %bcond_with tests
-
-Name:   ghc-network
+Name:   ghc-%{pkg_name}
 Version:2.6.2.1
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
 Group:  System/Libraries
-
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-unix-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-test-framework-devel
@@ -46,33 +42,46 @@
 %description
 This package provides a low-level networking interface.
 
+In network-2.6 the 'Network.URI' module was split off into its own package,
+network-uri-2.6. If you're using the 'Network.URI' module you can automatically
+get it from the right package by adding this to your .cabal file:
+
+> flag network-uri > description: Get Network.URI from the network-uri package
+> default: True > > library > -- ... > if flag(network-uri) > build-depends:
+network-uri >= 2.6, network >= 2.6 > else > build-depends: network-uri < 2.6,
+network < 2.6
+
+That is, get the module from either network < 2.6 or from network-uri >= 2.6.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
+
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
+
 %post devel
 %ghc_pkg_recache
 
@@ -85,6 +94,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md examples
+%doc CHANGELOG.md README.md examples
 
 %changelog




commit ghc-network for openSUSE:Factory

2015-07-14 Thread h_root
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.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2015-07-14 17:45:50.0 +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.0 +0200
+++ /var/tmp/diff_new_pack.7UETKW/_new  2015-07-14 17:45:51.0 +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.md1970-01-01 01:00:00.0 +0100
+++ new/network-2.6.2.1/CHANGELOG.md2015-07-07 20:40:52.0 +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.hsc2015-05-29 
13:13:34.0 +0200
+++ new/network-2.6.2.1/Network/Socket/Types.hsc2015-07-07 
20:40:52.0 +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.0 +0200
+++ new/network-2.6.2.1/configure   2015-07-07 20:40:52.0 +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/H

commit ghc-network for openSUSE:Factory

2015-06-02 Thread h_root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2015-06-02 10:05:45

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-05-21 
08:14:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2015-06-02 10:05:46.0 +0200
@@ -1,0 +2,6 @@
+Sun May 31 20:06:52 UTC 2015 - mimi...@gmail.com
+
+- update to 2.6.2.0
+* no upstream changelog
+
+---

Old:

  network-2.6.1.0.tar.gz

New:

  network-2.6.2.0.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.bsxmad/_old  2015-06-02 10:05:47.0 +0200
+++ /var/tmp/diff_new_pack.bsxmad/_new  2015-06-02 10:05:47.0 +0200
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:   ghc-network
-Version:2.6.1.0
+Version:2.6.2.0
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause

++ network-2.6.1.0.tar.gz -> network-2.6.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.6.1.0/Network/Socket/Types.hsc 
new/network-2.6.2.0/Network/Socket/Types.hsc
--- old/network-2.6.1.0/Network/Socket/Types.hsc2015-05-07 
09:20:56.0 +0200
+++ new/network-2.6.2.0/Network/Socket/Types.hsc2015-05-29 
13:13:34.0 +0200
@@ -32,6 +32,7 @@
 
 -- * Socket addresses
 , SockAddr(..)
+, isSupportedSockAddr
 , HostAddress
 #if defined(IPV6_SOCKET_SUPPORT)
 , HostAddress6
@@ -801,28 +802,40 @@
 type ScopeID = Word32
 #endif
 
+-- | The existence of a constructor does not necessarily imply that
+-- that socket address type is supported on your system: see
+-- 'isSupportedSockAddr'.
 data SockAddr   -- C Names
   = SockAddrInet
 PortNumber  -- sin_port  (network byte order)
 HostAddress -- sin_addr  (ditto)
-#if defined(IPV6_SOCKET_SUPPORT)
   | SockAddrInet6
 PortNumber  -- sin6_port (network byte order)
 FlowInfo-- sin6_flowinfo (ditto)
 HostAddress6-- sin6_addr (ditto)
 ScopeID -- sin6_scope_id (ditto)
-#endif
-#if defined(DOMAIN_SOCKET_SUPPORT)
   | SockAddrUnix
 String  -- sun_path
-#endif
-#if defined(AF_CAN)
   | SockAddrCan
 Int32   -- can_ifindex (can be get by 
Network.BSD.ifNameToIndex "can0")
 -- TODO: Extend this to include transport protocol information
-#endif
   deriving (Eq, Ord, Typeable)
 
+-- | Is the socket address type supported on this system?
+isSupportedSockAddr :: SockAddr -> Bool
+isSupportedSockAddr addr = case addr of
+  SockAddrInet {} -> True
+#if defined(IPV6_SOCKET_SUPPORT)
+  SockAddrInet6 {} -> True
+#endif
+#if defined(DOMAIN_SOCKET_SUPPORT)
+  SockAddrUnix{} -> True
+#endif
+#if defined(AF_CAN)
+  SockAddrCan{} -> True
+#endif
+  _ -> False
+
 #if defined(WITH_WINSOCK) || defined(cygwin32_HOST_OS)
 type CSaFamily = (#type unsigned short)
 #elif defined(darwin_HOST_OS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.6.1.0/Network/Socket.hsc 
new/network-2.6.2.0/Network/Socket.hsc
--- old/network-2.6.1.0/Network/Socket.hsc  2015-05-07 09:20:56.0 
+0200
+++ new/network-2.6.2.0/Network/Socket.hsc  2015-05-29 13:13:34.0 
+0200
@@ -33,6 +33,7 @@
 , SocketType(..)
 , isSupportedSocketType
 , SockAddr(..)
+, isSupportedSockAddr
 , SocketStatus(..)
 , HostAddress
 #if defined(IPV6_SOCKET_SUPPORT)
@@ -792,6 +793,7 @@
 | RecvTimeOut   -- ^ SO_RCVTIMEO
 | SendTimeOut   -- ^ SO_SNDTIMEO
 | UseLoopBack   -- ^ SO_USELOOPBACK
+| UserTimeout   -- ^ TCP_USER_TIMEOUT
 | IPv6Only  -- ^ IPV6_V6ONLY
 | CustomSockOpt (CInt, CInt)
 deriving (Show, Typeable)
@@ -881,6 +883,9 @@
 #ifdef TCP_NODELAY
 Just NoDelay   -> Just ((#const IPPROTO_TCP), (#const TCP_NODELAY))
 #endif
+#ifdef TCP_USER_TIMEOUT
+Just UserTimeout   -> Just ((#const IPPROTO_TCP), (#const 
TCP_USER_TIMEOUT))
+#endif
 #ifdef TCP_CORK
 Just Cork  -> Just ((#const IPPROTO_TCP), (#const TCP_CORK))
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/network-2.6.1.0/configure.ac 
new/network-2.6.2.0/configure.ac
--- old/network-2.6.1.0/configure.ac2015-05-07 09:20:56.0 +0200
+++ new/network-2.6.2.0/configure.ac2015-05-29 13:13:34.0 +0200
@@ -35,7 +35,7 @@
 
 dnl ** check for specific header (.h) 

commit ghc-network for openSUSE:Factory

2015-05-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2015-05-21 08:14: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  2014-11-26 
20:54:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2015-05-21 08:14:35.0 +0200
@@ -1,0 +2,12 @@
+Sun May 10 18:20:22 UTC 2015 - mimi...@gmail.com
+
+- update to 2.6.1.0
+* no upstream changelog
+
+---
+Fri Apr 10 15:43:13 UTC 2015 - mimi...@gmail.com
+
+- update to 2.6.0.2
+* split to network and network-uri packages
+
+---

Old:

  network-2.4.2.3.tar.gz

New:

  network-2.6.1.0.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.63h7hp/_old  2015-05-21 08:14:36.0 +0200
+++ /var/tmp/diff_new_pack.63h7hp/_new  2015-05-21 08:14:36.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,33 +18,38 @@
 
 %global pkg_name network
 
+%bcond_with tests
+
 Name:   ghc-network
-Version:2.4.2.3
+Version:2.6.1.0
 Release:0
 Summary:Low-level networking interface
 License:BSD-3-Clause
 Group:  System/Libraries
 
-Url:http://hackage.haskell.org/package/%{pkg_name}
-Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+Url:https://hackage.haskell.org/package/%{pkg_name}
+Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-parsec-devel
 BuildRequires:  ghc-unix-devel
+%if %{with tests}
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-test-framework-devel
+BuildRequires:  ghc-test-framework-hunit-devel
+%endif
 # End cabal-rpm deps
 
 %description
-Low-level networking interface for Haskell.
+This package provides a low-level networking interface.
 
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
-Provides:   %{name}-static = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
@@ -63,6 +68,11 @@
 %install
 %ghc_lib_install
 
+%check
+%if %{with tests}
+%cabal test
+%endif
+
 %post devel
 %ghc_pkg_recache
 
@@ -75,6 +85,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc examples README
+%doc README.md examples
 
 %changelog

++ network-2.4.2.3.tar.gz -> network-2.6.1.0.tar.gz ++
 4593 lines of diff (skipped)




commit ghc-network for openSUSE:Factory

2014-11-26 Thread h_root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2014-11-26 20:54:49

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  2014-08-25 
11:05:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2014-11-26 20:54:55.0 +0100
@@ -1,0 +2,12 @@
+Fri Sep 12 06:31:03 UTC 2014 - peter.tromm...@ohm-hochschule.de
+
+- update to 2.4.2.3
+* no changelog
+* Haskell Platform 2014.2.0.0 
+
+---
+Tue Sep  2 09:37:14 UTC 2014 - peter.tromm...@ohm-hochschule.de
+
+- regenerate spec file 
+
+---

Old:

  network-2.4.1.2.tar.gz

New:

  network-2.4.2.3.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.gy7MAj/_old  2014-11-26 20:54:56.0 +0100
+++ /var/tmp/diff_new_pack.gy7MAj/_new  2014-11-26 20:54:56.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-network
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,41 +18,41 @@
 
 %global pkg_name network
 
-%global common_summary Haskell Low-level networking interface library
-
-%global common_description A low-level networking interface library for 
Haskell.
-
 Name:   ghc-network
-Version:2.4.1.2
+Version:2.4.2.3
 Release:0
-Summary:%{common_summary}
+Summary:Low-level networking interface
 License:BSD-3-Clause
 Group:  System/Libraries
 
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# BEGIN cabal2spec
 Url:http://hackage.haskell.org/package/%{pkg_name}
 Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-parsec-devel
-BuildRequires:  ghc-rpm-macros
-# END cabal2spec
+BuildRequires:  ghc-unix-devel
+# End cabal-rpm deps
 
 %description
-%{common_description}
+Low-level networking interface for Haskell.
+
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Languages/Other
-Requires:   ghc-compiler
-Requires(post): ghc-compiler
-Requires(postun): ghc-compiler
+Group:  Development/Libraries/Other
+Provides:   %{name}-static = %{version}-%{release}
+Requires:   ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
 Requires:   %{name} = %{version}-%{release}
 
 %description devel
-%{common_description}
-This package contains the development files.
+This package provides the Haskell %{pkg_name} library development files.
+
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
@@ -75,5 +75,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc examples README
 
 %changelog

++ network-2.4.1.2.tar.gz -> network-2.4.2.3.tar.gz ++
 2885 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/network-2.4.1.2/Network/BSD.hsc new/network-2.4.2.3/Network/BSD.hsc
--- old/network-2.4.1.2/Network/BSD.hsc 2013-02-22 01:03:06.0 +0100
+++ new/network-2.4.2.3/Network/BSD.hsc 2014-04-18 09:16:03.0 +0200
@@ -4,7 +4,7 @@
 -- Module  :  Network.BSD
 -- Copyright   :  (c) The University of Glasgow 2001
 -- License :  BSD-style (see the file libraries/network/LICENSE)
--- 
+--
 -- Maintainer  :  librar...@haskell.org
 -- Stability   :  experimental
 -- Portability :  non-portable
@@ -16,9 +16,6 @@
 
 #include "HsNet.h"
 
--- NOTE: ##, we want this interpreted when compiling the .hs, not by hsc2hs.
-##include "Typeable.h"
-
 module Network.BSD
 (
 -- * Host names
@@ -141,7 +138,7 @@
 -- close the database a call to endServiceEntry is required.  This
 -- database file is usually stored in the file /etc/servic

commit ghc-network for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2014-08-25 11:04:39

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  2013-08-06 
06:52:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2014-08-25 11:05:57.0 +0200
@@ -1,0 +2,5 @@
+Sat Aug 23 00:15:19 UTC 2014 - peter.tromm...@ohm-hochschule.de
+
+- enable PowerPC builds
+
+---



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.wD3k92/_old  2014-08-25 11:05:58.0 +0200
+++ /var/tmp/diff_new_pack.wD3k92/_new  2014-08-25 11:05:58.0 +0200
@@ -33,7 +33,6 @@
 # BEGIN cabal2spec
 Url:http://hackage.haskell.org/package/%{pkg_name}
 Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-ExclusiveArch:  %{ix86} x86_64 %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-parsec-devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ghc-network for openSUSE:Factory

2013-08-05 Thread h_root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2013-08-06 06:52:05

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  2013-01-08 
16:32:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2013-08-06 06:52:06.0 +0200
@@ -1,0 +2,9 @@
+Mon May  6 17:41:10 UTC 2013 - peter.tromm...@ohm-hochschule.de
+
+- update to 2.4.1.2 from upstream
+* no changelog
+* see https://github.com/haskell/network for commit messages
+- update needed for Haskell Platform 2013.2
+- more transparent packaging (fewer macros) 
+
+---

Old:

  network-2.3.1.0.tar.gz

New:

  network-2.4.1.2.tar.gz



Other differences:
--
++ ghc-network.spec ++
--- /var/tmp/diff_new_pack.INMKMo/_old  2013-08-06 06:52:07.0 +0200
+++ /var/tmp/diff_new_pack.INMKMo/_new  2013-08-06 06:52:07.0 +0200
@@ -1,8 +1,7 @@
 #
 # spec file for package ghc-network
 #
-
-# Copyright (c) 2012 Peter Trommler peter.tromm...@ohm-hochschule.de
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global pkg_name network
 
 %global common_summary Haskell Low-level networking interface library
@@ -23,49 +23,58 @@
 %global common_description A low-level networking interface library for 
Haskell.
 
 Name:   ghc-network
-Version:2.3.1.0
-Release:1
+Version:2.4.1.2
+Release:0
 Summary:%{common_summary}
-
-Group:  System/Libraries
 License:BSD-3-Clause
+Group:  System/Libraries
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # BEGIN cabal2spec
-URL:http://hackage.haskell.org/package/%{pkg_name}
+Url:http://hackage.haskell.org/package/%{pkg_name}
 Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 ExclusiveArch:  %{ix86} x86_64 %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-parsec-devel
+BuildRequires:  ghc-rpm-macros
 # END cabal2spec
 
 %description
 %{common_description}
 
+%package devel
+Summary:Haskell %{pkg_name} library development files
+Group:  Development/Languages/Other
+Requires:   ghc-compiler
+Requires(post): ghc-compiler
+Requires(postun): ghc-compiler
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+%{common_description}
+This package contains the development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
+%post devel
+%ghc_pkg_recache
 
-# devel subpackage
-%ghc_devel_package
-
-%ghc_devel_description
-
-
-%ghc_devel_post_postun
-
+%postun devel
+%ghc_pkg_recache
 
-%ghc_files LICENSE
+%files -f %{name}.files
+%defattr(-,root,root,-)
+%doc LICENSE
 
+%files devel -f %{name}-devel.files
+%defattr(-,root,root,-)
 
 %changelog

++ network-2.3.1.0.tar.gz -> network-2.4.1.2.tar.gz ++
 5246 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit ghc-network for openSUSE:Factory

2013-01-08 Thread h_root
Hello community,

here is the log from the commit of package ghc-network for openSUSE:Factory 
checked in at 2013-01-08 16:32:24

Comparing /work/SRC/openSUSE:Factory/ghc-network (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-network.new (New)


Package is "ghc-network", Maintainer is ""

Changes:

New Changes file:

--- /dev/null   2012-12-21 01:49:00.356010756 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-network.new/ghc-network.changes 
2013-01-08 16:32:25.0 +0100
@@ -0,0 +1,51 @@
+---
+Mon Jan  7 15:22:09 UTC 2013 - peter.tromm...@ohm-hochschule.de
+
+- expand macro in name tag to help source validator 
+
+---
+Sat Nov 17 14:30:41 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- make service localonly for Factory submission 
+
+---
+Wed Oct  3 06:47:57 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- downgrade to 2.3.1.0 for Haskell Platform 2012.4.0.0
+* cabal-install requires < 2.4 
+
+---
+Mon Oct  1 19:46:56 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- update to 2.4.0.1 from upstream
+- required by Haskell Platform 2012.4.0.0 
+
+---
+Sun Jun  3 17:13:04 UTC 2012 - peter.tromm...@ohm-hochschule.de
+
+- update to 2.3.0.13 from upstream
+* Add Num constraint to packBits, unpackBits
+* Turn off some build warnings
+* Network.URI: remove dropHead, use 'drop 1'
+- spec file template generated by cabal2spec-0.25.5 
+
+---
+Wed Dec 28 20:13:41 UTC 2011 - peter.tromm...@ohm-hochschule.de
+
+- Adjusted version for platform 2011.4 
+
+---
+Wed Dec 14 09:09:58 UTC 2011 - peter.tromm...@ohm-hochschule.de
+
+- Fix defattr 
+
+---
+Wed Dec 14 08:57:49 UTC 2011 - peter.tromm...@ohm-hochschule.de
+
+- Added rpmlintrc and BR ghc libraries 
+
+---
+Tue Nov  1 14:03:07 UTC 2011 - peter.tromm...@ohm-hochschule.de
+
+- Initial packaging. 
+

New:

  _service
  ghc-network.changes
  ghc-network.spec
  network-2.3.1.0.tar.gz



Other differences:
--
++ ghc-network.spec ++
#
# spec file for package ghc-network
#

# Copyright (c) 2012 Peter Trommler peter.tromm...@ohm-hochschule.de
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%global pkg_name network

%global common_summary Haskell Low-level networking interface library

%global common_description A low-level networking interface library for Haskell.

Name:   ghc-network
Version:2.3.1.0
Release:1
Summary:%{common_summary}

Group:  System/Libraries
License:BSD-3-Clause
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
# BEGIN cabal2spec
URL:http://hackage.haskell.org/package/%{pkg_name}
Source0:
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch:  %{ix86} x86_64 %{ghc_arches}
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
BuildRequires:  ghc-bytestring-devel
BuildRequires:  ghc-parsec-devel
# END cabal2spec

%description
%{common_description}


%prep
%setup -q -n %{pkg_name}-%{version}


%build
%ghc_lib_build


%install
%ghc_lib_install


# devel subpackage
%ghc_devel_package

%ghc_devel_description


%ghc_devel_post_postun


%ghc_files LICENSE


%changelog
++ _service ++

  

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org