A library which exposes zero-copy sendfile functionality in a portable way.

If a platform does not support sendfile, a fallback implementation in Haskell
is provided.

Currently supported platforms: Windows 2000+ (Native), Linux 2.6+ (Native),
FreeBSD (Native), OS-X 10.5+ (Native), Everything else (Portable Haskell code).

WWW: http://patch-tag.com/r/mae/sendfile

Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2011-05-08 18:38:56 +00:00
parent 586f490419
commit a5e6698620
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273778
3 changed files with 31 additions and 0 deletions

21
net/hs-sendfile/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: hs-sendfile
# Date created: March 13, 2011
# Whom: haskell@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= sendfile
PORTVERSION= 0.7.3
CATEGORIES= net haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= A portable sendfile library
LICENSE= BSD
CABAL_SETUP= Setup.hs
USE_CABAL= network>=2
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>

2
net/hs-sendfile/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (cabal/sendfile-0.7.3.tar.gz) = 801abd469f306d9a6ad9bc79757ee192b61ca1df3a5a89db8fec70fbbdcf4575
SIZE (cabal/sendfile-0.7.3.tar.gz) = 10186

View File

@ -0,0 +1,8 @@
A library which exposes zero-copy sendfile functionality in a portable way.
If a platform does not support sendfile, a fallback implementation in Haskell
is provided.
Currently supported platforms: Windows 2000+ (Native), Linux 2.6+ (Native),
FreeBSD (Native), OS-X 10.5+ (Native), Everything else (Portable Haskell code).
WWW: http://patch-tag.com/r/mae/sendfile