From 25a0f92d52f633feaa46838dc49837e457a20bd4b460480644f0698310c00d8d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 29 Dec 2019 02:03:18 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-network revision:16, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network?expand=0&rev=56 --- ghc-network.changes | 239 ++++++++++++++++++++++++++++++++++++----- ghc-network.spec | 23 ++-- network-2.8.0.1.tar.gz | 3 + network-3.1.1.1.tar.gz | 3 - 4 files changed, 219 insertions(+), 49 deletions(-) create mode 100644 network-2.8.0.1.tar.gz delete mode 100644 network-3.1.1.1.tar.gz diff --git a/ghc-network.changes b/ghc-network.changes index 6da7de8..56ff1f5 100644 --- a/ghc-network.changes +++ b/ghc-network.changes @@ -1,42 +1,223 @@ ------------------------------------------------------------------- -Tue Nov 26 11:59:20 UTC 2019 - psimons@suse.com +Fri Nov 8 16:14:17 UTC 2019 - Peter Simons -- Update network to version 3.1.1.1. - ## Version 3.1.1.1 - - * Fix for GHCJS. - [#431](https://github.com/haskell/network/pull/431) +- Drop obsolete group attributes. ------------------------------------------------------------------- -Tue Sep 24 02:01:50 UTC 2019 - psimons@suse.com +Tue Apr 30 09:23:15 UTC 2019 - psimons@suse.com -- Update network to version 3.1.1.0. - ## Version 3.1.1.0 - - * A new API: `gracefulClose`. - [#417](https://github.com/haskell/network/pull/417) - * `touchSocket`, `unsafeFdSocket`: Allow direct access to a socket's file - descriptor while providing tools to prevent it from being garbage collected. - This also deprecated `fdSocket` in favor of `unsafeFdSocket` and - `withFdSocket`. - [#423](https://github.com/haskell/network/pull/423) - * `socketToFd`: Duplicates a socket as a file desriptor and closes the source - socket. - [#424](https://github.com/haskell/network/pull/424) +- 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 ------------------------------------------------------------------- -Fri Jun 21 02:02:53 UTC 2019 - psimons@suse.com +Mon Nov 19 16:02:57 UTC 2018 - psimons@suse.com -- Update network to version 3.1.0.1. - ## Version 3.1.0.1 +- Update network to version 2.8.0.0. + ## Version 2.8.0.0 - * getAddrInfo: raise exception if no AddrInfo returned. - [#410](https://github.com/haskell/network/pull/410) - * Avoid catching SomeException. - [#411](https://github.com/haskell/network/pull/411) + * 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. ------------------------------------------------------------------- -Tue May 21 15:36:05 UTC 2019 - psimons@suse.com +Thu Oct 4 09:42:52 UTC 2018 - psimons@suse.com -- Add network at version 3.1.0.0. +- 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. +------------------------------------------------------------------- +Wed Jul 18 14:26:33 UTC 2018 - psimons@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 - psimons@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) + +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@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. + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Thu Jun 8 11:08:22 UTC 2017 - psimons@suse.com + +- Update to version 2.6.3.2 revision 1. + +------------------------------------------------------------------- +Wed Aug 17 18:31:55 UTC 2016 - psimons@suse.com + +- Update to version 2.6.3.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:30:20 UTC 2016 - psimons@suse.com + +- Update to version 2.6.2.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Mon Jul 13 05:45:23 UTC 2015 - mimi.vx@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. + +------------------------------------------------------------------- +Sun May 31 20:06:52 UTC 2015 - mimi.vx@gmail.com + +- update to 2.6.2.0 +* no upstream changelog + +------------------------------------------------------------------- +Sun May 10 18:20:22 UTC 2015 - mimi.vx@gmail.com + +- update to 2.6.1.0 +* no upstream changelog + +------------------------------------------------------------------- +Fri Apr 10 15:43:13 UTC 2015 - mimi.vx@gmail.com + +- update to 2.6.0.2 +* split to network and network-uri packages + +------------------------------------------------------------------- +Fri Sep 12 06:31:03 UTC 2014 - peter.trommler@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.trommler@ohm-hochschule.de + +- regenerate spec file + +------------------------------------------------------------------- +Sat Aug 23 00:15:19 UTC 2014 - peter.trommler@ohm-hochschule.de + +- enable PowerPC builds + +------------------------------------------------------------------- +Mon May 6 17:41:10 UTC 2013 - peter.trommler@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) + +------------------------------------------------------------------- +Mon Jan 7 15:22:09 UTC 2013 - peter.trommler@ohm-hochschule.de + +- expand macro in name tag to help source validator + +------------------------------------------------------------------- +Sat Nov 17 14:30:41 UTC 2012 - peter.trommler@ohm-hochschule.de + +- make service localonly for Factory submission + +------------------------------------------------------------------- +Wed Oct 3 06:47:57 UTC 2012 - peter.trommler@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.trommler@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.trommler@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.trommler@ohm-hochschule.de + +- Adjusted version for platform 2011.4 + +------------------------------------------------------------------- +Wed Dec 14 09:09:58 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Fix defattr + +------------------------------------------------------------------- +Wed Dec 14 08:57:49 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Added rpmlintrc and BR ghc libraries + +------------------------------------------------------------------- +Tue Nov 1 14:03:07 UTC 2011 - peter.trommler@ohm-hochschule.de + +- Initial packaging. diff --git a/ghc-network.spec b/ghc-network.spec index 5ab496c..a778dcf 100644 --- a/ghc-network.spec +++ b/ghc-network.spec @@ -19,7 +19,7 @@ %global pkg_name network %bcond_with tests Name: ghc-%{pkg_name} -Version: 3.1.1.1 +Version: 2.8.0.1 Release: 0 Summary: Low-level networking interface License: BSD-3-Clause @@ -27,32 +27,21 @@ 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 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. -=== 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: +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. diff --git a/network-2.8.0.1.tar.gz b/network-2.8.0.1.tar.gz new file mode 100644 index 0000000..eaef66b --- /dev/null +++ b/network-2.8.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61f55dbfed0f0af721a8ea36079e9309fcc5a1be20783b44ae500d9e4399a846 +size 125767 diff --git a/network-3.1.1.1.tar.gz b/network-3.1.1.1.tar.gz deleted file mode 100644 index 7627035..0000000 --- a/network-3.1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7ef590173fff2ab522fbc167f3fafb867e4ecfca279eb3ef0d137b51f142c9a -size 118478