Commit graph

25 commits

Author SHA1 Message Date
pho
eda754ca5a Bump all Haskell packages after enabling "split sections" in mk/haskell.mk 2022-02-26 03:57:43 +00:00
pho
dc3a63e008 revbump after changing the default Haskell compiler 2022-02-12 08:50:25 +00:00
pho
1ac221df55 Import network-3.1.2.7
Version 3.1.2.7
* No change from 3.1.2.6 but to take a right procedure to upload "network"
  to Hackage for Windows.

Version 3.1.2.6
* Making IPv4PktInfo on Win the same as that on Posix #522
* Add support for nix/ghcjs #517

Version 3.1.2.5
* Regenerate configure script with autoconf-2.69 to temporarily fix broken
  cabal-3.4.0.0 on Windows. Note that the old one was generated with
  autoconf-2.71. #513

Version 3.1.2.3
* Supporting M1 Mac #510
* Workaround for autoconf on Windows #508
* Fixing building failure on SmartOS #507
* HsNet.h: remove unused fn hsnet_inet_ntoa definition #504
* Use a working define for OpenBSD detection #503

Version 3.1.2.2
* Allow bytestring 0.11 #490
* Export StructLinger #491
* Fix a couple of broken tests on OpenBSD #498
2022-02-11 11:55:33 +00:00
pho
75588a9d5d Bump packages that depends on GHC 2022-01-18 02:48:01 +00:00
nia
ab845b2028 net: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts...):

net/radsecproxy/distinfo

The following distfiles could not be fetched (fetched conditionally?):

./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz
./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch
./net/djbdns/distinfo djbdns-1.05-test28.diff.xz
./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch
./net/djbdns/distinfo djbdns-1.05-multiip.diff
./net/djbdns/distinfo djbdns-cachestats.patch
2021-10-26 11:05:20 +00:00
nia
5c85662953 net: Remove SHA1 hashes for distfiles 2021-10-07 14:41:10 +00:00
pho
4d74cf7192 *: Bump PKGREVISION for ghc-9.0.1 2021-05-03 19:00:52 +00:00
pho
a286f3e36a Update to network-3.1.2.1
Version 3.1.2.1
* Increasing base lower bound to 4.9. #473
* Suppressing errors from removeFile in UNIX bind. #478
* Restoring UNIX stub functions on Windows. #489

Version 3.1.2.0
* Added -f devel for test cases that are known to fail. #471
* Improved precedence-compliant Read/Show instances. Verified via
  QuickCheck. #465 #466
* Removed the racing graceful close implementation to avoid issues
  with CLOSE_WAIT. #460
* Gracefully handle binding of UNIX domain sockets. #460
* Replace Socket type and family with extensible CInt pattern and
  synonyms. #459
* Fixed race conditions in tests. #458
* Removed many legacy uses of undefined. #456
* Defined extensible CustomSockOpt via ViewPatterns. #455
* Defined openSocket in terms of
  AddrInfo. 5b0987197fe2ed7beddd7b2096522d624e71151e
* Improved FreeBSD portability for Control Messages and tests #452
* Support sendMsg and recvMsg #433 #445 #451
  - Added sendMsg and recvMsg APIs
  - Redefined SocketOption as pattern synonym
* Implement total Show functions for SockAddr #441
* Improve portability changing u_int32_t to uint32_t. #442
* Removed obsolete CPP
  statements. d1f4ee60ce6a4a85abb79532f64d4a4e71e2b1ce
* Loads of improved test
  coverage. cbd67cc50a37770432eb978ac8b8eb6da3664817
  fcc2d86d53a6bec793f6a979a9e8fdf7fe3f4c22
  6db96969b3e8974abbfd50a7f073baa57376fd5e
2021-04-23 10:03:01 +00:00
jperkin
deb117a6bb hs-network: Spell uint32_t correctly. 2020-09-15 15:34:05 +00:00
rillig
15fe9894e6 hs-*: add PLIST files
These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build.  They will help to track changes
to the packages.  The Haskell packages didn't have PLIST files because
their paths contained package hashes.  These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.
2020-05-11 17:51:58 +00:00
pho
80d3fffbca Update to network-3.1.1.1
Version 3.1.1.1
* Fix for GHCJS. #431

Version 3.1.1.0
* A new API: gracefulClose. #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
* socketToFd: Duplicates a socket as a file desriptor and closes the
  source socket. #424

Version 3.1.0.1
* getAddrInfo: raise exception if no AddrInfo returned. #410
* Avoid catching SomeException. #411

Version 3.1.0.0
* Making GC of socket safer. #399
* Deprecating fdSocket. Use withFdSocket instead to ensure that
  sockets are GCed in proper time. #399

Version 3.0.1.1
* Fix blocking if_nametoindex errors on Windows #391

Version 3.0.1.0
* Added getSocketType :: Socket -> IO SocketType. #372
* Correcting manual and brushing up test cases #375
* Fixed longstanded bug in getContents on mac #375
* Fixing regression: set correct sockaddr length for abstract
  addresses for Linux. #374

Version 3.0.0.1
* Fixed a bug in connect where exceptions were not thrown #368

Version 3.0.0.0
* Breaking change: the Network and Network.BSD are
  removed. Network.BSD is provided a new package: network-bsd.
* Breaking change: the signatures are changed:

    old fdSocket :: Socket -> CInt
    new fdSocket :: Socket -> IO CInt

    old mkSocket :: CInt -> Family -> SocketType -> ProtocolNumber -> SocketStatus -> IO Socket
    new mkSocket :: CInt -> IO Socket

* Breaking change: the deprecated APIs are removed: send, sendTo,
  recv, recvFrom, recvLen, htonl, ntohl, inet_addr, int_ntoa,
  bindSocket, sClose, SocketStatus, isConnected, isBound, isListening,
  isReadable, isWritable, sIsConnected, sIsBound, sIsListening,
  sIsReadable, sIsWritable, aNY_PORT, iNADDR_ANY, iN6ADDR_ANY,
  sOMAXCONN, sOL_SOCKET, sCM_RIGHTS, packSocketType, getPeerCred.
* Breaking change: SockAddrCan is removed from SockAddr.
* Socket addresses are extendable with Network.Socket.Address.
* "socket" is now asynchronous-exception-safe. #336
* "recvFrom" returns (0, addr) instead of throwing an error on EOF. #360
* All APIs are available on any platforms.
* Build system is simplified.
* Bug fixes.

Version 2.8.0.1
* Eensuring that accept returns a correct sockaddr for unix
  domain. #400
* Avoid out of bounds writes in pokeSockAddr. #400

Version 2.8.0.0
* 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 Word16 in host byte
  order. #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"
  #330
* "close" does not throw exceptions. A new API: "close'" throws
  exceptions when necessary. #337
* Fixing the hang of lazy sendAll. #340
* Installing NetDef.h (#334) #334

Version 2.7.0.1
* A new API: socketPortSafe. #319
* Fixing a drain bug of sendAll. #320
* Porting the new CALLCONV convention from master. #313
* Withdrawing the deprecations of packFamily and unpackFamily. #324

Version 2.7.0.0
* 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
* Breaking change: do not closeFd within sendFd. #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.

Version 2.6.3.5
* Reverting "Do not closeFd within sendFd" #271

Version 2.6.3.4
* Don't touch IPv6Only when running on OpenBSD #227
* Do not closeFd within sendFd #271
* Updating examples and docs.

Version 2.6.3.3
* Adds a function to show the defaultHints without reading their
  undefined fields #291
* Improve exception error messages for getAddrInfo and getNameInfo
  #289

Version 2.6.3.2
* Zero memory of sockaddr_un if abstract socket #220
* Improving error messages #232
* Allow non-blocking file descriptors via setNonBlockIfNeeded #242
* Update config.{guess,sub} to latest version #244
* Rename my_inet_ntoa to avoid symbol conflicts #228
* Test infrastructure improvements #219 #217 #218
* House keeping and cleanup #238 #237

Version 2.6.3.1
* Reverse breaking exception change in Network.Socket.ByteString.recv
  #215

Version 2.6.3.0
* New maintainers: Evan Borden (@eborden) and Kazu Yamamoto
  (@kazu-yamamoto). The maintainer for a long period, Johan Tibell
  (@tibbe) stepped down. Thank you, Johan, for your hard work for a
  long time.
* New APIs: ntohl, htonl,hostAddressToTuple{,6} and
  tupleToHostAddress{,6}. #210
* Added a Read instance for PortNumber. #145
* We only set the IPV6_V6ONLY flag to 0 for stream and datagram socket
  types, as opposed to all of them. This makes it possible to use
  ICMPv6. #180 #181
* Work around GHC bug #12020. Socket errors no longer cause segfaults
  or hangs on Windows. #192
* Various documentation improvements and the deprecated pragmas. #186
  #201 #205 #206 #211
* Various internal improvements. #193 #200

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.
2020-01-01 03:10:36 +00:00
szptvlfn
c6604daa03 Bump PKGREVISION for hs-text-1.2.2.0 || hs-hashable-1.2.3.3 2016-01-10 11:49:09 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
szptvlfn
4b41cd6f8b Bump PKGREVISION for hs-text-1.2.1.3 2015-08-02 11:27:04 +00:00
szptvlfn
cd56acd4fc Bump PKGREVISION for hs-parsec-3.1.9 2015-06-09 22:09:41 +00:00
szptvlfn
b1f3667397 Bump PKGREVISION for hs-text-1.2.1.1 2015-06-04 20:08:59 +00:00
szptvlfn
90df55f96c Bump PKGREVISION for hs-text-1.2.0.3 2014-12-12 22:55:24 +00:00
szptvlfn
f5a756a2ee Bump PKGREVISION for hs-text-1.2.0.2 || hs-hashable-1.2.3.0 2014-12-12 22:04:21 +00:00
szptvlfn
01e6374124 Bump PKGREVISION for hs-transformers-0.4.2.0 2014-11-23 12:52:31 +00:00
szptvlfn
cedc0dff67 Bump PKGREVISION for hs-parsec-3.1.7 2014-10-19 21:27:08 +00:00
szptvlfn
75be48599d Bump PKGREVISION for hs-text-1.2.0.0 2014-09-13 22:23:27 +00:00
szptvlfn
57b7951159 Bump PKGREVISION for hs-text-1.1.1.3 2014-09-05 21:27:09 +00:00
szptvlfn
9da944d0cd make it clear what package depend on
discussed with wiz@.
2014-08-29 14:08:38 +00:00
szptvlfn
1eee43ddb4 Bump PKGREVISION for hs-mtl-2.2.1 2014-07-15 21:06:41 +00:00
szptvlfn
e4638bee88 Import network-2.5.0.0 as net/hs-network,
packaged for wip by pho.

network: Networking-related facilities
2014-05-21 20:58:17 +00:00