Accepting request 1231458 from devel:languages:haskell

version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-network?expand=0&rev=34
This commit is contained in:
2024-12-20 22:10:45 +00:00
committed by Git OBS Bridge
5 changed files with 87 additions and 210 deletions

View File

@@ -1,3 +1,83 @@
-------------------------------------------------------------------
Wed Nov 27 00:22:03 UTC 2024 - Peter Simons <psimons@suse.com>
- Update network to version 3.2.7.0.
## Version 3.2.7.0
* Using nested `bracket` for `gracefulClose`.
[#591](https://github.com/haskell/network/issues/590)
* Fix memory leak in getaddrinfo and make it async exception safe.
[#591](https://github.com/haskell/network/pull/591)
* Make call to c_free async exception safe.
[#592](https://github.com/haskell/network/pull/592)
-------------------------------------------------------------------
Tue Nov 12 01:48:51 UTC 2024 - Peter Simons <psimons@suse.com>
- Update network to version 3.2.6.0.
## Version 3.2.6.0
* fixing the Show instance of IPv4-mapped IPv6 address on little endian machines
## Version 3.2.5.0
* `gracefulClose` based on STM racing and `timeout`.
[#587](https://github.com/haskell/network/issues/587)
## Version 3.2.4.0
* New API: setSockOptValue.
[#588](https://github.com/haskell/network/issues/588)
## Version 3.2.3.0
* Making getAddrInfo polymorphic
[#587](https://github.com/haskell/network/issues/587)
## Version 3.2.2.0
* New API: waitReadSocketSTM, waitAndCancelReadSocketSTM,
waitWriteSocketSTM, waitAndCancelWriteSocketSTM
[#586](https://github.com/haskell/network/issues/586)
* Checking the length of ASCII string allowing trailing 0.
[#585](https://github.com/haskell/network/issues/585)
## Version 3.2.1.0
* Trying to release with the latest autoreconf.
Packing "network" in the local directory instead of CI.
* Remove includes from .cabal-file
[#583](https://github.com/haskell/network/issues/583)
* making gracefulClose more graceful
[#580](https://github.com/haskell/network/issues/580)
* Update config.guess, config.sub to their latest versions
[#579](https://github.com/haskell/network/issues/579)
## Version 3.2.0.0
* Breaking change: Using Strict and StrictData.
* Breaking change: Allow a control message to contain multiple file descriptors
[#567](https://github.com/haskell/network/issues/567)
* Breaking change: CmsgIdFd -> CmsgIdFds
[#575](https://github.com/haskell/network/issues/575)
* SocketTypes: use UnsupportedSocketType instead of -1.
[#560](https://github.com/haskell/network/issues/560)
* Expose NullSockAddr, add send-with-fds functions.
[#562](https://github.com/haskell/network/issues/562)
* Allow bytestring-0.12 and replace deprecated memcpy by copyBytes.
[#564](https://github.com/haskell/network/issues/564)
* Close file descriptor in accept when exception happens
[#569](https://github.com/haskell/network/issues/569)
* Bump CI to GHC 9.8 and latest versions of actions
[#573](https://github.com/haskell/network/issues/573)
## Version 3.1.5.0
* [#541](https://github.com/haskell/network/issues/541)
* Export `Network.Socket.Internal.NullSockAddr`
* Add `Network.Socket.ByteString.sendManyWithFds`
* Add `Network.Socket.ByteString.Lazy.sendWithFds`
-------------------------------------------------------------------
Tue Jul 18 08:47:13 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-network
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 3.1.4.0
Version: 3.2.7.0
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-base-devel
BuildRequires: ghc-base-prof
@@ -37,6 +36,8 @@ BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-stm-devel
BuildRequires: ghc-stm-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-HUnit-devel
@@ -98,7 +99,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b452a2afac95d9207357eb3820c719c7c7d27871ef4b6ed7bfcd03a036b9158e
size 139988

3
network-3.2.7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68548e660632a3c09b230c33fe08cc880273372b485e65cbe7a717936de9728b
size 145714

View File

@@ -1,203 +0,0 @@
cabal-version: 1.18
name: network
version: 3.1.4.0
x-revision: 1
license: BSD3
license-file: LICENSE
maintainer: Kazu Yamamoto, Evan Borden
tested-with:
GHC == 9.6.1
GHC == 9.4.4
GHC == 9.2.7
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
homepage: https://github.com/haskell/network
bug-reports: https://github.com/haskell/network/issues
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-doc-files:
README.md
CHANGELOG.md
extra-source-files:
examples/*.hs
tests/*.hs
config.guess
config.sub
install-sh
configure.ac
configure
include/HsNetworkConfig.h.in
include/HsNet.h
include/HsNetDef.h
include/afunix_compat.h
cbits/asyncAccept.c
cbits/initWinSock.c
cbits/winSockErr.c
cbits/cmsg.c
extra-tmp-files:
config.log
config.status
autom4te.cache
network.buildinfo
include/HsNetworkConfig.h
source-repository head
type: git
location: https://github.com/haskell/network.git
flag devel
description: using tests for developers
default: False
library
exposed-modules:
Network.Socket
Network.Socket.Address
Network.Socket.ByteString
Network.Socket.ByteString.Lazy
Network.Socket.Internal
build-tools: hsc2hs >=0
c-sources:
cbits/HsNet.c
cbits/cmsg.c
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
Network.Socket.Unix
default-language: Haskell2010
include-dirs: include
includes: HsNet.h HsNetDef.h alignment.h win32defs.h
install-includes: HsNet.h HsNetDef.h alignment.h win32defs.h
if os(windows)
includes: afunix_compat.h
install-includes: afunix_compat.h
ghc-options: -Wall -fwarn-tabs
build-depends:
base >=4.9 && <5,
bytestring >=0.10 && <0.13,
deepseq,
directory
if !os(windows)
other-modules:
Network.Socket.ByteString.Lazy.Posix
Network.Socket.Posix.Cmsg
Network.Socket.Posix.CmsgHdr
Network.Socket.Posix.IOVec
Network.Socket.Posix.MsgHdr
if os(solaris)
cpp-options: -D__EXTENSIONS__ -D_XOPEN_SOURCE=500
cc-options: -D__EXTENSIONS__ -D_XOPEN_SOURCE=500
extra-libraries:
nsl
socket
if os(windows)
c-sources:
cbits/initWinSock.c
cbits/winSockErr.c
cbits/asyncAccept.c
other-modules:
Network.Socket.ByteString.Lazy.Windows
Network.Socket.Win32.Cmsg
Network.Socket.Win32.CmsgHdr
Network.Socket.Win32.WSABuf
Network.Socket.Win32.MsgHdr
extra-libraries:
ws2_32
iphlpapi
mswsock
if impl(ghc >=7.10)
cpp-options: -D_WIN32_WINNT=0x0600
cc-options: -D_WIN32_WINNT=0x0600
build-depends:
temporary
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
build-tools: hspec-discover >=2.6
hs-source-dirs: tests
other-modules:
Network.Test.Common
Network.SocketSpec
Network.Socket.ByteStringSpec
Network.Socket.ByteString.LazySpec
default-language: Haskell2010
ghc-options: -Wall -threaded
build-depends:
base >=4.9 && <5,
bytestring,
directory,
HUnit,
network,
temporary,
hspec >=2.6,
QuickCheck
if flag(devel)
cpp-options: -DDEVELOPMENT