1
0

osc copypac from project:devel:languages:haskell:ghc-9.8.x package:ghc-network-bsd revision:2, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-bsd?expand=0&rev=22
This commit is contained in:
Peter Simons 2024-06-24 21:00:55 +00:00 committed by Git OBS Bridge
parent e62997a13d
commit ba0f819075
3 changed files with 107 additions and 101 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jun 23 14:18:55 UTC 2024 - Peter Simons <psimons@suse.com>
- Update network-bsd to version 2.8.1.0 revision 6.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 6 09:54:49 UTC 2023 - Peter Simons <psimons@suse.com> Sun Aug 6 09:54:49 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-network-bsd # spec file for package ghc-network-bsd
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ Summary: POSIX network database (<netdb.h>) API
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/5.cabal#/%{pkg_name}.cabal Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/6.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof

View File

@ -1,99 +1,99 @@
cabal-version: 1.12 cabal-version: 1.12
name: network-bsd name: network-bsd
version: 2.8.1.0 version: 2.8.1.0
x-revision: 5 x-revision: 6
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
maintainer: Kazu Yamamoto, Herbert Valerio Riedel maintainer: Kazu Yamamoto, Herbert Valerio Riedel
synopsis: POSIX network database (<netdb.h>) API synopsis: POSIX network database (<netdb.h>) API
description: description:
This package provides Haskell bindings to the This package provides Haskell bindings to the
the [POSIX network database (netdb.h) API](http://pubs.opengroup.org/onlinepubs/009696699/basedefs/netdb.h.html). the [POSIX network database (netdb.h) API](http://pubs.opengroup.org/onlinepubs/009696699/basedefs/netdb.h.html).
. .
=== Relationship to the @network@ package === Relationship to the @network@ package
. .
The @network@ package version 2.* series provides "Network.BSD" but The @network@ package version 2.* series provides "Network.BSD" but
it is removed starting with @network@ version 3.0. it is removed starting with @network@ version 3.0.
. .
This package provides the "Network.BSD" module split off from the This package provides the "Network.BSD" module split off from the
<https://hackage.haskell.org/package/network network package>. <https://hackage.haskell.org/package/network network package>.
. .
If in addition to the @network@'s modules also "Network.BSD" is If in addition to the @network@'s modules also "Network.BSD" is
necessary, add @network-bsd@ to your dependencies like so: necessary, add @network-bsd@ to your dependencies like so:
. .
> library > library
> build-depends: network >= 2.7 && < 3.2 > build-depends: network >= 2.7 && < 3.2
> , network-bsd >= 2.7 && < 2.9 > , network-bsd >= 2.7 && < 2.9
. .
I.e. you can control the version of the @network@ package I.e. you can control the version of the @network@ package
independently. independently.
. .
__NOTE__: Starting with @network-bsd-2.8.1.0@ the APIs of @network@ __NOTE__: Starting with @network-bsd-2.8.1.0@ the APIs of @network@
and @network-bsd@ evolve differently, and consequently the and @network-bsd@ evolve differently, and consequently the
versioning doesn't match up anymore! Moreover, also starting with versioning doesn't match up anymore! Moreover, also starting with
version @network-bsd-2.8.1.0@ this package requires @network >= 3@ version @network-bsd-2.8.1.0@ this package requires @network >= 3@
in order to avoid module name clashes with @network < 3@'s in order to avoid module name clashes with @network < 3@'s
"Network.BSD" module. "Network.BSD" module.
. .
However, @network-bsd-2.7.0.0@ and @network-bsd-2.8.0.0@ passes thru However, @network-bsd-2.7.0.0@ and @network-bsd-2.8.0.0@ passes thru
the "Network.BSD" module from @network-2.7.*@ and @network-2.8.*@ the "Network.BSD" module from @network-2.7.*@ and @network-2.8.*@
respectively in a non-clashing way via Cabal's respectively in a non-clashing way via Cabal's
<https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-library-reexported-modules reexported-modules> <https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-library-reexported-modules reexported-modules>
feature while ensuring a well-defined feature while ensuring a well-defined
<https://pvp.haskell.org/ API versioning> of the observable API of <https://pvp.haskell.org/ API versioning> of the observable API of
@network-bsd@. This is why the example above supporting a wide range @network-bsd@. This is why the example above supporting a wide range
of @network@ versions works by including version 2.7.0.0 in the of @network@ versions works by including version 2.7.0.0 in the
required version range of @network-bsd@. required version range of @network-bsd@.
category: Network category: Network
build-type: Simple build-type: Simple
homepage: https://github.com/haskell/network-bsd homepage: https://github.com/haskell/network-bsd
bug-reports: https://github.com/haskell/network-bsd/issues bug-reports: https://github.com/haskell/network-bsd/issues
tested-with: tested-with:
GHC == 9.6.2 GHC == 9.6.2
GHC == 9.4.5 GHC == 9.4.5
GHC == 9.2.8 GHC == 9.2.8
GHC == 9.0.2 GHC == 9.0.2
GHC == 8.10.7 GHC == 8.10.7
GHC == 8.8.4 GHC == 8.8.4
GHC == 8.6.5 GHC == 8.6.5
GHC == 8.4.4 GHC == 8.4.4
GHC == 8.2.2 GHC == 8.2.2
GHC == 8.0.2 GHC == 8.0.2
GHC == 7.10.3 GHC == 7.10.3
GHC == 7.8.4 GHC == 7.8.4
extra-source-files: CHANGELOG.md extra-source-files: CHANGELOG.md
library library
default-language: Haskell2010 default-language: Haskell2010
other-extensions: CPP, NondecreasingIndentation other-extensions: CPP, NondecreasingIndentation
exposed-modules: Network.BSD exposed-modules: Network.BSD
build-depends: base >= 4.7 && < 5 build-depends: base >= 4.7 && < 5
, deepseq >= 1.3.0.0 && < 1.6 , deepseq >= 1.3.0.0 && < 1.6
-- NOTES on `network` depdendency -- NOTES on `network` depdendency
-- --
-- `network-bsd` heavily relies on `network`'s -- `network-bsd` heavily relies on `network`'s
-- exported CPP headers! make sure that `network` -- exported CPP headers! make sure that `network`
-- doesn't inadvertently break/change its CPP -- doesn't inadvertently break/change its CPP
-- headers before advertising support for new -- headers before advertising support for new
-- versions of `network`. -- versions of `network`.
-- --
-- Moreover, `network-bsd` reexports entities from -- Moreover, `network-bsd` reexports entities from
-- `network` so we need to be very conservative -- `network` so we need to be very conservative
-- with the bounds to avoid leaking through API -- with the bounds to avoid leaking through API
-- changes that aren't reflected in `network-bsd`'s -- changes that aren't reflected in `network-bsd`'s
-- API version. -- API version.
, network (>= 3.0.0.0 && < 3.0.2) , network (>= 3.0.0.0 && < 3.0.2)
|| (>= 3.1.0.0 && < 3.2) || (>= 3.1.0.0 && < 3.3)
build-tools: hsc2hs >= 0.67 && < 0.69 build-tools: hsc2hs >= 0.67 && < 0.69
ghc-options: -Wall ghc-options: -Wall
if os(windows) && impl(ghc >= 7.10) if os(windows) && impl(ghc >= 7.10)
-- See https://github.com/haskell/network/pull/362 -- See https://github.com/haskell/network/pull/362
cpp-options: -D_WIN32_WINNT=0x0600 cpp-options: -D_WIN32_WINNT=0x0600
source-repository head source-repository head
type: git type: git
location: https://github.com/haskell/network-bsd.git location: https://github.com/haskell/network-bsd.git