Support code for reading and manipulating hashed file storage (where
each file and directory is associated with a cryptographic hash, for corruption-resistant storage and fast comparisons). The supported storage formats include darcs hashed pristine, a plain filesystem tree and an indexed plain tree (where the index maintains hashes of the plain files and directories). WWW: http://hackage.haskell.org/package/hashed-storage
This commit is contained in:
parent
2611f8c27d
commit
a780537845
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254365
@ -569,6 +569,7 @@
|
||||
SUBDIR += hs-haddock
|
||||
SUBDIR += hs-haddock-docs
|
||||
SUBDIR += hs-happy
|
||||
SUBDIR += hs-hashed-storage
|
||||
SUBDIR += hs-haskeline
|
||||
SUBDIR += hs-haskell-src-exts
|
||||
SUBDIR += hs-hat
|
||||
|
33
devel/hs-hashed-storage/Makefile
Normal file
33
devel/hs-hashed-storage/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# New ports collection makefile for: hs-hashed-storage
|
||||
# Date created: May 14, 2010
|
||||
# Whom: Gabor Pali <pgj@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= hashed-storage
|
||||
PORTVERSION= 0.5
|
||||
CATEGORIES= devel haskell
|
||||
|
||||
MAINTAINER= haskell@FreeBSD.org
|
||||
COMMENT= Hashed file storage support code
|
||||
|
||||
CABAL_SETUP= Setup.hs
|
||||
|
||||
USE_HACKAGE= binary dataenc mmap>=0.5 zlib
|
||||
|
||||
OPTIONS= TEST "Build tests" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_TEST)
|
||||
CONFIGURE_ARGS+= --flags="test"
|
||||
EXECUTABLE+= hashed-storage-test
|
||||
PLIST_SUB+= MAYBE_TEST=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --flags="-test"
|
||||
PLIST_SUB+= MAYBE_TEST="@comment "
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
||||
.include <bsd.port.mk>
|
3
devel/hs-hashed-storage/distinfo
Normal file
3
devel/hs-hashed-storage/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (hashed-storage-0.5.tar.gz) = 84eb0ee6838c909ea25100db91d3232b
|
||||
SHA256 (hashed-storage-0.5.tar.gz) = d73b621b2b2d10060b5f6ca2388a9f51d3874d77bd1740d3bea4858b471ac487
|
||||
SIZE (hashed-storage-0.5.tar.gz) = 55292
|
9
devel/hs-hashed-storage/pkg-descr
Normal file
9
devel/hs-hashed-storage/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Support code for reading and manipulating hashed file storage (where
|
||||
each file and directory is associated with a cryptographic hash, for
|
||||
corruption-resistant storage and fast comparisons).
|
||||
|
||||
The supported storage formats include darcs hashed pristine, a plain
|
||||
filesystem tree and an indexed plain tree (where the index maintains
|
||||
hashes of the plain files and directories).
|
||||
|
||||
WWW: http://hackage.haskell.org/package/hashed-storage
|
28
devel/hs-hashed-storage/pkg-plist
Normal file
28
devel/hs-hashed-storage/pkg-plist
Normal file
@ -0,0 +1,28 @@
|
||||
@comment $FreeBSD$
|
||||
%%MAYBE_TEST%%bin/hashed-storage-test
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Bundled/Posix.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Bundled/SHA256.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/AnchoredPath.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/Darcs.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/Hash.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/Index.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/Monad.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/Packed.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/Plain.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/Tree.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed/Utils.hi
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
|
||||
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
|
||||
%%LIBDIR_REL%%/register.sh
|
||||
%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||
%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
|
||||
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage/Hashed
|
||||
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Storage
|
||||
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Bundled
|
||||
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
|
||||
@dirrm %%LIBDIR_REL%%
|
||||
@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
|
||||
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
||||
@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
|
||||
@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
@ -45,6 +45,7 @@ GLURaw_port= x11-toolkits/hs-GLURaw-ghc
|
||||
GLUT_port= x11-toolkits/hs-glut-ghc
|
||||
haddock_port= devel/hs-haddock # executable
|
||||
happy_port= devel/hs-happy # executable
|
||||
hashed-storage_port= devel/hs-hashed-storage
|
||||
haskeline_port= devel/hs-haskeline
|
||||
haskell-src-exts_port= devel/hs-haskell-src-exts
|
||||
HaXml_port= textproc/hs-haxml # executable
|
||||
|
Loading…
Reference in New Issue
Block a user