Commit graph

338 commits

Author SHA1 Message Date
Gabor Pali
94dc53a878 A set of extra definitions, default values and helpers for the tls
package.

WWW:	http://github.com/vincenthz/hs-tls-extra

Obtained from:	FreeBSD Haskell
2012-02-18 16:24:24 +00:00
Gabor Pali
98c816c3be Native Haskell TLS and SSL protocol implementation for server and
client.

This provides a high-level implementation of a sensitive security
protocol, eliminating a common set of security issues through the use of
the advanced type system, high level constructions and common Haskell
features.

Currently implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, with
only RSA supported for Key Exchange.

WWW:	http://github.com/vincenthz/hs-tls

Obtained from:	FreeBSD Haskell
2012-02-18 16:23:00 +00:00
Gabor Pali
b00b470fac Certificates and Key reader/writer. At the moment only X509 certificate
and unencrypted private key are supported, but will include PGP
certificate and pkcs8 private keys.

WWW:	http://github.com/vincenthz/hs-certificate

Obtained from:	FreeBSD Haskell
2012-02-18 16:19:56 +00:00
Gabor Pali
50dfbf8bd4 Defines a data type, Attempt, which has a Success and Failure
constructor.  Failure contains an extensible exception.

WWW:	http://github.com/snoyberg/attempt/tree/master

Obtained from:	FreeBSD Haskell
2012-02-18 16:17:25 +00:00
Gabor Pali
b41081fd35 A simple type class for success/failure computations.
WWW:	http://www.haskell.org/haskellwiki/Failure

Obtained from:	FreeBSD Haskell
2012-02-18 16:14:50 +00:00
Gabor Pali
538cb4bedf ASN1 data reader and writer in raw form with supports for high level
forms of ASN1 (BER, CER and DER).

WWW:	http://github.com/vincenthz/hs-asn1-data

Obtained from:	FreeBSD Haskell
2012-02-18 16:12:23 +00:00
Gabor Pali
45819fa559 This library implements the RSA encryption and signature algorithms for
arbitrarily-sized ByteStrings.  While the implementations work, they are
not necessarily the fastest ones on the planet.  Particularly key
generation.  The algorithms included are based of RFC 3447, or the
Public-Key Cryptography Standard for RSA, version 2.1 (a.k.a, PKCS#1
v2.1).

WWW:	http://hackage.haskell.org/package/RSA

Obtained from:	FreeBSD Haskell
2012-02-18 16:09:15 +00:00
Gabor Pali
b57a83d9a7 An unrolled implementation of MD5 purely in Haskell.
WWW:	http://hackage.haskell.org/package/pureMD5

Obtained from:	FreeBSD Haskell
2012-02-18 16:06:05 +00:00
Gabor Pali
bd8178b27a Gitit is a wiki backed by a git, darcs, or mercurial filestore. Pages
and uploaded files can be modified either directly via the VCS's
command-line tools or through the wiki's web interface.  Pandoc is used
for markup processing, so pages may be written in (extended) markdown,
reStructuredText, LaTeX, HTML, or literate Haskell, and exported in ten
different formats, including LaTeX, ConTeXt, DocBook, RTF, OpenOffice
ODT, and MediaWiki markup.

Notable features include:

 * plugins: dynamically loaded page transformations written in Haskell.
 * conversion of TeX math to MathML for display in web browsers.
 * syntax highlighting of source code files and code snippets.
 * Atom feeds (site-wide and per-page).
 * a library, Network.Gitit, that makes it simple to include a gitit
   wiki in any happstack application.

WWW:	http://gitit.net/

Obtained from:	FreeBSD Haskell
2012-02-18 03:25:18 +00:00
Gabor Pali
81c73710a6 Run untrusted HTML through Text.HTML.SanitizeXSS.sanitizeXSS to prevent
XSS attacks.

WWW:	http://github.com/gregwebs/haskell-xss-sanitize

Obtained from:	FreeBSD Haskell
2012-02-18 03:21:47 +00:00
Gabor Pali
91ff17f09d CSS parser and renderer.
WWW:	http://www.yesodweb.com/

Obtained from:	FreeBSD Haskell
2012-02-18 03:18:12 +00:00
Gabor Pali
ca9e235905 The reCAPTCHA [1] is a service that provides captchas for preventing
automated spam in web applications.  The recaptcha-hs provides functions
for using reCAPTCHA in Haskell web applications.

[1] http://recaptcha.net/

WWW:	http://github.com/jgm/recaptcha/tree/master

Obtained from:	FreeBSD Haskell
2012-02-18 03:14:59 +00:00
Gabor Pali
57c3fca0c5 The filestore library provides an abstract interface for a versioning
file store, and modules that instatiate this interface.  Currently Git,
Darcs, and Mercurial modules are provided, and other VCSs or databases
could be added.

WWW:	http://johnmacfarlane.net/repos/filestore

Obtained from:	FreeBSD Haskell
2012-02-18 03:11:31 +00:00
Gabor Pali
f2526f6fb0 A port of the Java library by Terrence Parr.
WWW:	http://hackage.haskell.org/package/HStringTemplate

Obtained from:	FreeBSD Haskell
2012-02-18 03:08:15 +00:00
Gabor Pali
2c28d03314 Parser and writer for handling sectioned config files in Haskell. The
ConfigFile module works with configuration files in a standard format
that is easy for the user to edit, easy for the programmer to work with,
yet remains powerful and flexible.  It is inspired by, and compatible
with, Python's ConfigParser module.  It uses files that resemble Windows
.INI-style files, but with numerous improvements.

ConfigFile provides simple calls to both read and write config files.
It is possible to make a config file parsable by this module, the Unix
shell, and make.

WWW:	http://software.complete.org/configfile

Obtained from:	FreeBSD Haskell
2012-02-18 03:05:26 +00:00
Gabor Pali
eb6bae26d7 The Haskell application server stack.
WWW:	http://happstack.com/

Obtained from:	FreeBSD Haskell
2012-02-17 17:13:45 +00:00
Gabor Pali
658662474f Unplug your machine and restart and have your app recover to exactly
where it left off.  Happstack-State spares you the need to deal with all
the marshalling, consistency, and configuration headache that you would
have if you used an external DBMS for this purpose.  Its component model
makes it easy to compose big applications from smaller reliable parts.
Use event subscription to trigger IO actions and support comet-style or
irc-bot applications.

WWW:	http://happstack.com/

Obtained from:	FreeBSD Haskell
2012-02-17 17:11:56 +00:00
Gabor Pali
2a25d98ac1 Happstack Server provides an HTTP server and a rich set of functions for
routing requests, handling query parameters, generating responses,
working with cookies, serving files, and more.

WWW:	http://happstack.com/

Obtained from:	FreeBSD Haskell
2012-02-17 17:09:53 +00:00
Gabor Pali
4549292c88 Just pick which parts of your data structures you want indexed using an
easy to use template-haskell function.  Spare yourself the need to
write, run, and maintain code that marshalls your data to/from an
external relational database just for efficient queries.  The
happstack-ixset relies on generics and TH to spare you the boilerplate
normally required for such tasks.

WWW:	http://happstack.com/

Obtained from:	FreeBSD Haskell
2012-02-17 17:07:37 +00:00
Gabor Pali
93d4869e36 Miscellaneous utilities for Happstack packages.
WWW:	http://happstack.com/

Obtained from:	FreeBSD Haskell
2012-02-17 17:05:20 +00:00
Gabor Pali
c5e6a39b93 This package provides libraries for:
* Deriving instances for your datatypes.
 * Producing default values of Haskell datatypes.
 * Normalizing values of Haskell datatypes.
 * Marshalling Haskell values to and from XML.
 * Marshalling Haskell values to and from HTML forms.

WWW:	http://happstack.com/

Obtained from:	FreeBSD Haskell
2012-02-17 17:03:33 +00:00
Gabor Pali
eeabd319e7 Provides SYB-with-class instances for Text from the text package.
WWW:	http://hackage.haskell.org/package/syb-with-class-instances-text

Obtained from:	FreeBSD Haskell
2012-02-17 17:01:01 +00:00
Gabor Pali
a34aa78210 Classes, and Template Haskell code to generate instances, for the Scrap
Your Boilerplate With Class system.

WWW:	http://hackage.haskell.org/package/syb-with-class

Obtained from:	FreeBSD Haskell
2012-02-17 16:58:33 +00:00
Gabor Pali
17dfb9bdd1 Support for computations with failures.
WWW:	http://hackage.haskell.org/package/MaybeT

Obtained from:	FreeBSD Haskell
2012-02-17 16:56:03 +00:00
Gabor Pali
ec7dba516a lifted-base exports IO operations from the base library lifted to any
instance of MonadBase or MonadBaseControl.

WWW:	https://github.com/basvandijk/lifted-base

Obtained from:	FreeBSD Haskell
2012-02-17 15:51:18 +00:00
Gabor Pali
3387004968 This package defines the type class MonadBaseControl, a subset of
MonadBase into which generic control operations such as catch can be
lifted from IO or any other base monad.  Instances are based on monad
transformers in MonadTransControl, which includes all standard monad
transformers in the transformers library except ContT.

WWW:	https://github.com/basvandijk/monad-control/

Obtained from:	FreeBSD Haskell
2012-02-17 15:48:59 +00:00
Gabor Pali
2aa49ec454 This package provides a straightforward port of monadLib's BaseM type
class to transformers.

WWW:	https://github.com/mvv/transformers-base

Obtained from:	FreeBSD Haskell
2012-02-17 15:46:38 +00:00
Gabor Pali
70cb05d9f7 This package defines new symbols for a number of functions, operators
and types in the base package.  All symbols are documented with their
actual definition and information regarding their Unicode code point.
They should be completely interchangeable with their definitions.

For further Unicode goodness you can enable the UnicodeSyntax language
extension.  This extension enables Unicode characters to be used to
stand for certain ASCII character sequences.

WWW:	http://haskell.org/haskellwiki/Unicode-symbols

Obtained from:	FreeBSD Haskell
2012-02-17 15:44:09 +00:00
Ashish SHUKLA
bf04f19baa - Fix MASTER_SITES
Obtained from:	FreeBSD Haskell
2012-02-13 14:49:11 +00:00
Gabor Pali
61691c8918 - Remove textproc/hs-attoparsec-text: The package has been deprecated. Now
the attoparsec includes all functionality from this library.

Obtained from:	FreeBSD Haskell
2012-02-13 06:13:00 +00:00
Gabor Pali
c4aebd467c - Please welcome GHC 7.0.4
GHC in the ports tree has been updated to version 7.0.4 and the port revision
for all the Haskell ports without version changes are bumped.  Other per-port
updates are coming soon.

This update also incorporates some improvements for bsd.cabal.mk that makes
working with Haskell ports even easier.

Thanks ashish@ for the help!

Obtained from:	FreeBSD Haskell
2012-02-13 03:49:32 +00:00
Gabor Pali
847e9c51b9 Skein [1] is a family of fast secure cryptographic hash functions. This
package uses bindings to the optimized C implementation of Skein.  There
is a high-level interface provided to some of the Skein use cases, and a
low-level interface when Skein has to be used in a different way.

Currently Skein is supported as cryptographic hash function as Skein as
a message authentication code (Skein-MAC).

[1] http://www.skein-hash.info/

WWW:	http://patch-tag.com/r/felipe/skein

Obtained from:	FreeBSD Haskell
2012-02-13 02:52:47 +00:00
Gabor Pali
447fda15e5 To store passwords securely, they should be salted, then hashed with a
slow hash function. This library uses PBKDF1-SHA256, and handles all the
details. It uses the cryptohash package for speed; if you need a pure
Haskell library, pwstore-purehaskell has the exact same API, but uses
only pure Haskell. It is about 25 times slower than this package, but
still quite usable.

WWW:	https://github.com/PeterScott/pwstore

Obtained from:	FreeBSD Haskell
2012-02-13 02:50:54 +00:00
Gabor Pali
d1e4cb2f82 A platform independent method to obtain cryptographically strong entropy
(urandom on Linux, CryptAPI on Windows, patches welcome). Users looking
for cryptographically strong (number-theoretically sound) PRNGs should
see the DRBG package too!

WWW:	http://trac.haskell.org/crypto-api/wiki

Obtained from:	FreeBSD Haskell
2012-02-13 02:49:00 +00:00
Gabor Pali
b7fae4b365 A collection of crypto hashes, with a practical incremental and one-pass,
pure APIs, with performance close to the fastest implementations available
in others languages.

The implementations are made in C with a haskell FFI wrapper that hide the
C implementation.

WWW:	http://github.com/vincenthz/hs-cryptohash

Obtained from:	FreeBSD Haskell
2012-02-13 02:47:14 +00:00
Gabor Pali
4ec9eee6db Symmetrical Block, Stream, and PubKey Ciphers.
WWW:	http://github.com/vincenthz/hs-cryptocipher

Obtained from:	FreeBSD Haskell
2012-02-13 02:44:48 +00:00
Gabor Pali
cc36c74ac3 Generic cryptography public keys algorithm types.
WWW:	http://github.com/vincenthz/hs-crypto-pubkey-types

Obtained from:	FreeBSD Haskell
2012-02-13 02:42:56 +00:00
Gabor Pali
3183595c0e A generic interface for cryptographic operations, platform independent quality
RNG, property tests and known-answer tests (KATs) for common algorithms, and a
basic benchmark infrastructure. Maintainers of hash and cipher implementations
are encouraged to add instances for the classes defined in Crypto.Classes.
Crypto users are similarly encouraged to use the interfaces defined in the
Classes module.  Any concepts or functions of general use to more than one
cryptographic algorithm (ex: padding) is within scope of this package.

WWW:	http://trac.haskell.org/crypto-api/wiki

Obtained from:	FreeBSD Haskell
2012-02-13 02:41:08 +00:00
Gabor Pali
b342c113c2 Simple crypto pseudo-random-number-generator with really good randomness
property.

WWW:	http://github.com/vincenthz/hs-cprng-aes

Obtained from:	FreeBSD Haskell
2012-02-13 02:39:04 +00:00
Gabor Pali
8bd3d20de2 Achieves security through AES-CTR encryption and Skein-MAC-512-256
authentication. Uses Base64 encoding to avoid any issues with
characters.

WWW:	http://github.com/snoyberg/clientsession/tree/master

Obtained from:	FreeBSD Haskell
2012-02-13 02:37:09 +00:00
Gabor Pali
cc70528199 Automatically derive Lenses for your data type for use with Data.Lens.
WWW:	http://github.com/ekmett/data-lens-template/

Obtained from:	FreeBSD Haskell
2012-02-13 02:34:41 +00:00
Gabor Pali
feab9b5cad Haskell 98 lenses.
WWW:	http://github.com/ekmett/data-lens/

Obtained from:	FreeBSD Haskell
2012-02-13 02:33:04 +00:00
Gabor Pali
7a938b802c Instances of numeric classes for functions and tuples.
WWW:	http://hackage.haskell.org/package/NumInstances

Obtained from:	FreeBSD Haskell
2012-02-13 02:31:13 +00:00
Gabor Pali
111c9a36b5 Cabal plugin for UUAGC.
WWW:	http://www.cs.uu.nl/wiki/HUT/WebHome

Obtained from:	FreeBSD Haskell
2012-02-13 02:28:52 +00:00
Gabor Pali
d34e6b1c3a UUAG is the Utrecht University Attribute Grammar system. It generates Haskell
files from an attribute grammar specification.

It is a preprocessor for Haskell which makes it easy to write catamorphisms
(that is, functions that do to any datatype what foldr does to lists).
You can define tree walks using the intuitive concepts of inherited and
synthesized attributes, while keeping the full expressive power of Haskell.

WWW:	http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem

Obtained from:	FreeBSD Haskell
2012-02-13 02:27:03 +00:00
Gabor Pali
05eb37c0da Provides newtype wrappers for phantom types to avoid unsafely passing dummy
arguments.

WWW:	http://github.com/ekmett/tagged

Obtained from:	FreeBSD Haskell
2012-02-13 02:24:19 +00:00
Gabor Pali
a3a15f8b91 A continuation-based, backtracking, logic programming monad. An
adaptation of the two-continuation implementation found in the paper
"Backtracking, Interleaving, and Terminating Monad Transformers" [1].

[1] http://okmij.org/ftp/papers/LogicT.pdf

WWW:	http://code.haskell.org/~dolio/logict

Obtained from:	FreeBSD Haskell
2012-02-13 02:21:34 +00:00
Gabor Pali
89065a38ed Provides Word128, Word192 and Word256 and a way of producing other large
words if required.

WWW:	http://trac.haskell.org/largeword/wiki

Obtained from:	FreeBSD Haskell
2012-02-13 02:19:28 +00:00
Gabor Pali
58b3eb230b Haskell implementation of Mustache templates [1].
[1] http://mustache.github.com/

WWW:	http://github.com/lymar/hastache

Obtained from:	FreeBSD Haskell
2012-02-13 02:17:35 +00:00
Gabor Pali
3cc2d2496a This package provides a couple of different implementations of mutable hash tables
in the ST monad, as well as a type class abstracting their common operations, and
a set of wrappers to use the hash tables in the IO monad.

WWW:	http://github.com/gregorycollins/hashtables

Obtained from:	FreeBSD Haskell
2012-02-13 02:15:56 +00:00
Gabor Pali
c6b765c9c9 A configuration management library for programs and daemons.
Features include:

 * Automatic, dynamic reloading in response to modifications to configuration
   files.

 * A simple, but flexible, configuration language, supporting several of
   the most commonly needed types of data, along with interpolation of
   strings from the configuration or the system environment (e.g.
   $(HOME)).

 * Subscription-based notification of changes to configuration properties.

 * An import directive allows the configuration of a complex application
   to be split across several smaller files, or common configuration data
   to be shared across several applications.

WWW:	http://github.com/mailrank/configurator

Obtained from:	FreeBSD Haskell
2012-02-13 02:13:47 +00:00
Gabor Pali
3da3ed194d This package provides a Haskell library for working with base16-encoded
data quickly and efficiently, using the ByteString type.

WWW:	https://github.com/mailrank/base16-bytestring

Obtained from:	FreeBSD Haskell
2012-02-13 02:11:23 +00:00
Gabor Pali
5c0f73a2f0 Epic is a simple functional language which compiles to reasonably efficient C code,
using the Boehm-Demers-Weiser garbage collector [1].  It is intended as a compiler
back-end, and is currently used as a back end for Epigram [2] and Idris [3].  It
can be invoked either as a library or an application.

[1] http://www.hpl.hp.com/personal/Hans_Boehm/gc/
[2] http://www.e-pig.org/
[3] http://idris-lang.org/

WWW:	http://www.dcs.st-and.ac.uk/~eb/epic.php

Obtained from:	FreeBSD Haskell
2012-02-13 02:08:15 +00:00
Gabor Pali
d59ac3e84e The zlib-enum package is a stop-gap to provide enumeratees for zlib
compression and decompression.

WWW:	http://github.com/maltem/zlib-enum

Obtained from:	FreeBSD Haskell
2012-02-13 02:05:00 +00:00
Gabor Pali
835a4103a4 This package contains low-level bindigs to the zlib package.
WWW:	http://github.com/snoyberg/zlib-bindings

Obtained from:	FreeBSD Haskell
2012-02-13 02:02:34 +00:00
Gabor Pali
eb38e678d2 - Add math-functions to chase the addition of math/hs-math-functions
Submitted by:	wen
2012-02-05 14:21:27 +00:00
Gabor Pali
32843232af - Update to 3.20110707
- Cabalize port

PR:		ports/159348
Submitted by:	pgj
Approved by:	maintainer (timeout)
Obtained from:	FreeBSD Haskell
2011-09-26 20:49:55 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Ashish SHUKLA
1f79b231d2 This library parses and dumps documents that are formatted according to
RFC 4180, "The common Format and MIME Type for Comma-Separated Values
(CSV) Files". This format is used, among many other things, as a lingua
franca for spreadsheets, and for certain web services.

WWW: http://hackage.haskell.org/package/csv

PR:		ports/159689
Submitted by:	Kaspars Bankovskis <kaspars@bankovskis.lv>
2011-09-06 03:13:38 +00:00
Gabor Pali
cc64bc9f08 - Unbreak on 9.x. Random core dumps experienced during the build are
probably caused by an rtld(1) bug in the base system that may not
  affect everybody, though.

  For affected systems: watch out for the upcoming rtld(1) fix (by
  Kostik Belousov) to be committed soon.
2011-08-24 13:17:35 +00:00
Gabor Pali
bd9cc18a52 This library offers an alternative parallel programming API to that
provided by the parallel package. The Par monad allows the simple
description of parallel computations, and can be used to add parallelism
to pure Haskell code. The basic API is straightforward: the monad
supports forking and simple communication in terms of IVars. The library
comes with an efficient work-stealing implementation, but the internals
are also exposed so that you can build your own scheduler if necessary.

WWW:	http://github.com/simonmar/monad-par

Obtained from:	FreeBSD Haskell
2011-08-14 18:01:20 +00:00
Gabor Pali
8481577102 A JSON parsing and encoding library optimized for ease of use and high
performance.  (A note on naming: in Greek mythology, Aeson was the
father of Jason.)

WWW:	http://github.com/mailrank/aeson

Obtained from:	FreeBSD Haskell
2011-08-14 17:55:09 +00:00
Gabor Pali
0fc9284caf Efficient hashing-based container types. The containers have been
optimized for performance critical use, both in terms of large data
quantities and high speed.

The declared cost of each operation is either worst-case or amortized,
but remains valid even if structures are shared.

WWW:	http://github.com/tibbe/unordered-containers/

Obtained from:	FreeBSD Haskell
2011-08-14 17:52:20 +00:00
Gabor Pali
08158a859e blaze-textual is a fast Haskell library for rendering common
Haskell datatypes in text form using the blaze-builder library.

WWW:	http://github.com/mailrank/blaze-textual

Obtained from:	FreeBSD Haskell
2011-08-14 17:49:44 +00:00
Gabor Pali
5e2cffad94 A library that performs fast, accurate conversion between double
precision floating point and text.  This library is implemented as
bindings to the C++ double-conversion library written by Florian Loitsch
at Google: http://code.google.com/p/double-conversion/.

The Text versions of these functions are about 30 times faster than the
default show implementation for the Double type. The ByteString versions
are slower than the Text versions; roughly half the speed. (This seems
to be due to the cost of allocating ByteString values via malloc.)

As a final note, be aware that the bytestring-show package is about 50%
slower than simply using show.

WWW:	http://github.com/mailrank/double-conversion

Obtained from:	FreeBSD Haskell
2011-08-14 17:46:17 +00:00
Gabor Pali
2f0c788422 Fast base64 encoding and decoding for ByteStrings.
WWW:	http://github.com/bos/base64-bytestring

Obtained from:	FreeBSD Haskell
2011-08-14 14:29:14 +00:00
Gabor Pali
c10758508f - Remove port for the obsolete (and broken) category-extras Cabal package
Obtained from:	FreeBSD Haskell
2011-08-14 12:04:34 +00:00
Gabor Pali
942706ea2b - Unbreak build for devel/hs-reactive
Obtained from:	FreeBSD Haskell
2011-08-14 11:49:42 +00:00
Gabor Pali
55c7cc395e Haskell 98 pointed and copointed data.
WWW:	http://github.com/ekmett/copointed/

Obtained from:	FreeBSD Haskell
2011-08-14 11:45:37 +00:00
Gabor Pali
e5971d78ee Comonad transformers.
WWW:	http://github.com/ekmett/comonad-transformers/

Obtained from:	FreeBSD Haskell
2011-08-14 11:38:54 +00:00
Gabor Pali
5e90d88175 Provides a wide array of semigroupoids and operations for working with
semigroupoids.  A Semigroupoid is a Category without the requirement of
identity arrows for every object in the category.

WWW:	http://github.com/ekmett/semigroupoids/

Obtained from:	FreeBSD Haskell
2011-08-14 11:36:29 +00:00
Gabor Pali
7f0fcc2219 Haskell 98 distributive functors -- dual to Traversable.
WWW:	http://github.com/ekmett/distributive/

Obtained from:	FreeBSD Haskell
2011-08-14 11:32:23 +00:00
Gabor Pali
c273e615b8 Haskell 98 contravariant functors.
WWW:	http://github.com/ekmett/contravariant/

Obtained from:	FreeBSD Haskell
2011-08-14 11:30:05 +00:00
Gabor Pali
c80fdabe37 Haskell 98 comonads.
WWW:	http://github.com/ekmett/comonad/

Obtained from:	FreeBSD Haskell
2011-08-14 11:27:44 +00:00
Gabor Pali
3b14fbb77c - Update to 0.2.8
- Un-break build

Obtained from:	FreeBSD Haskell
2011-08-14 11:25:29 +00:00
Gabor Pali
c096badde5 Categories from category-extras.
WWW:	http://comonad.com/reader/

Obtained from:	FreeBSD Haskell
2011-08-14 11:22:22 +00:00
Gabor Pali
0f2ca91627 A Haskell 98 logically uninhabited data type. Used to indicate that a
given term should not exist.

WWW:	http://github.com/ekmett/void

Obtained from:	FreeBSD Haskell
2011-08-14 11:19:17 +00:00
Gabor Pali
8fe8aff5f7 Haskell 98 semigroups.
WWW:	http://github.com/ekmett/semigroups/

Obtained from:	FreeBSD Haskell
2011-08-14 11:16:31 +00:00
Gabor Pali
31015b2fea Cross-platform library for the sendfile() system call. This library tries
to call minimum system calls which are the bottleneck of web servers.

WWW:	https://github.com/kazu-yamamoto/simple-sendfile/

Obtained from:	FreeBSD Haskell
2011-08-14 01:27:45 +00:00
Gabor Pali
5262591e11 Snap Framework project starter executable and glue code library.
WWW:	http://snapframework.com/

Obtained from:	FreeBSD Haskell
2011-08-13 23:28:56 +00:00
Gabor Pali
bba2b6ca97 Snap is a simple and fast web development framework and server written in
Haskell. For more information or to download the latest version, you can visit
the Snap project website.

The Snap HTTP server is a high performance, epoll-enabled, iteratee-based web
server library written in Haskell. Together with the "snap-core" library upon
which it depends, it provides a clean and efficient Haskell programming
interface to the HTTP protocol.

Higher-level facilities for building web applications (like user/session
management, component interfaces, data modeling, etc.) are planned but not
yet implemented, so this release will mostly be of interest for those who:

* need a fast and minimal HTTP API at roughly the same level of abstraction
  as Java servlets, or

* are interested in contributing to the Snap Framework project.

WWW:	http://snapframework.com/

Obtained from:	FreeBSD Haskell
2011-08-13 23:26:14 +00:00
Gabor Pali
d1ec57291f FFI interface to libev.
WWW: http://github.com/aycanirican/hlibev

Obtained from:	FreeBSD Haskell
2011-08-13 23:18:49 +00:00
Gabor Pali
00d415717d Snap is a simple and fast web development framework and server written in
Haskell.

WWW: http://snapframework.com/

Obtained from:	FreeBSD Haskell
2011-08-13 21:50:10 +00:00
Gabor Pali
c1a5228441 Implements MurmurHash2, a good, fast, general-purpose, non-cryptographic
hashing function.  See <http://murmurhash.googlepages.com/> for details.

This implementation is pure Haskell, so it might be a bit slower than a C
FFI binding.

WWW:	http://github.com/nominolo/murmur-hash

Obtained from:	FreeBSD Haskell
2011-08-13 21:07:39 +00:00
Gabor Pali
5742fc75c5 An xhtml templating system.
WWW: http://snapframework.com/

Obtained from:	FreeBSD Haskell
2011-08-13 21:01:57 +00:00
Gabor Pali
81135b07c6 A simple directory-like tree datatype, with useful IO functions and Foldable
and Traversable instance.

Provides a simple data structure mirroring a directory tree on the
filesystem, as well as useful functions for reading and writing
file and directory structures in the IO monad.

WWW: http://coder.bsimmons.name/blog/2009/05/directory-tree-module-released/

Obtained from:	FreeBSD Haskell
2011-08-13 20:47:35 +00:00
Gabor Pali
f7cecff29d A binary serialization library, similar to binary, that introduces an
isolate primitive for parser isolation, and replaces the asynchronous
errors with a user-handleable Either type. Similar to binary in
performance, but uses a strict ByteString instead of a lazy
ByteString, thus restricting it to operating on finite inputs.

WWW:	http://hackage.haskell.org/package/cereal

Obtained from:	FreeBSD Haskell
2011-08-13 20:44:40 +00:00
Gabor Pali
3b4bf11e3a This package defines a class, Hashable, for types that can be converted
to a hash value. This class exists for the benefit of hashing-based data
structures. The package provides instances for basic types and a way to
combine hash values.

WWW:	http://github.com/tibbe/hashable

Obtained from:	FreeBSD Haskell
2011-08-13 20:36:01 +00:00
Gabor Pali
52f3ff5d86 Parse numeric literals from ByteStrings.
WWW: http://github.com/solidsnack/bytestring-nums

Obtained from:	FreeBSD Haskell
2011-08-13 20:33:23 +00:00
Gabor Pali
1eba923158 A blazingly fast HTML combinator library for the Haskell programming language.
The Text.Blaze module is a good starting point, as well as this tutorial:
<http://jaspervdj.be/blaze/tutorial.html>.

WWW: http://jaspervdj.be/blaze

Obtained from:	FreeBSD Haskell
2011-08-13 19:41:48 +00:00
Gabor Pali
f2e1b36450 A fast parser combinator library, aimed particularly at dealing efficiently
with network protocols and complicated text/binary file formats.

This library is basically a translation of the original attoparsec library
to use text instead of bytestrings.

WWW: http://patch-tag.com/r/felipe/attoparsec-text/home

Obtained from:	FreeBSD Haskell
2011-08-13 19:37:58 +00:00
Gabor Pali
6f1c542521 The attoparsec-enumerator package.
WWW: http://john-millikin.com/software/attoparsec-enumerator/

Obtained from:	FreeBSD Haskell
2011-08-13 19:35:15 +00:00
Gabor Pali
690407d24c A fast parser combinator library, aimed particularly at dealing
efficiently with network protocols and complicated text/binary file
formats.

WWW: http://hackage.haskell.org/package/attoparsec

Obtained from:	FreeBSD Haskell
2011-08-13 18:42:01 +00:00
Gabor Pali
161cdfdab6 A priority search queue efficiently supports the opperations of both a
search tree and a priority queue. A 'Binding' is a product of a key and
a priority.  Bindings can be inserted, deleted, modified and queried in
logarithmic time, and the binding with the least priority can be
retrieved in constant time.  A queue can be built from a list of
bindings, sorted by keys, in linear time.

WWW: http://hackage.haskell.org/package/PSQueue

Obtained from:	FreeBSD Haskell
2011-08-13 18:36:10 +00:00
Gabor Pali
a1faf30452 Provides functions to throw and catch exceptions. Unlike the functions from
Control.Exception, which work in IO, these work in any stack of monad
transformers (from the 'transformers' package) with IO as the base monad.
You can extend this functionality to other monads, by creating an instance
of the MonadCatchIO class.

WWW: http://hackage.haskell.org/package/MonadCatchIO-transformers

Obtained from:	FreeBSD Haskell
2011-08-13 18:08:39 +00:00
Gabor Pali
76308443ce This is the Haskell S3 library. It provides an interface to Amazon's Simple
Storage Service (S3), allowing Haskell developers to reliably store and
retrieve arbitrary amounts of data from anywhere on the Internet.

WWW:	http://gregheartsfield.com/hS3/

Obtained from:	FreeBSD Haskell
2011-08-01 13:43:49 +00:00
Gabor Pali
193cf6aad7 DES, Blowfish, AES, TEA, SHA1, MD5, RSA, BubbleBabble, Hexdump, Support for
Word128, Word192 and Word256 and Beyond, PKCS5 Padding, Various Encryption
Modes e.g. Cipher Block Chaining all in one package, with HUnit and
QuickCheck tests, and examples.

WWW:	http://hackage.haskell.org/package/Crypto

Obtained from:	FreeBSD Haskell
2011-08-01 13:38:44 +00:00
Ashish SHUKLA
2bd0c272b0 Generic HTTP types for Haskell (for both client and server code).
WWW: https://github.com/aristidb/http-types

Obtained from:	FreeBSD Haskell
2011-07-10 21:33:00 +00:00
Ashish SHUKLA
a4a5fe9869 The module Data.CaseInsensitive provides the 'CI' type constructor which can
be parameterised by a string-like type like: 'String', 'ByteString', 'Text',
etc.  Comparisons of values of the resulting type will be insensitive to
cases.

WWW: http://hackage.haskell.org/package/case-insensitive

Obtained from:	FreeBSD Haskell
2011-07-10 21:26:42 +00:00
Ashish SHUKLA
04e10aa1aa - Update print/hs-hscolour to 1.19
- Update print/hs-hscolour-docs to 1.19
- Update value of HSCOLOUR_VERSION in lang/ghc/bsd.cabal.mk

Obtained from:	FreeBSD Haskell
2011-07-10 02:48:21 +00:00
Ashish SHUKLA
8c36f7a8aa This library is a Haskell binding to the MySQL mysqlclient client library.
It is a fairly faithful, low level library that implements
most of the MySQL client API.

WWW: https://github.com/mailrank/mysql

PR:		ports/157264
Submitted by:	Jyun-Yan You <jyyou@cs.nctu.edu.tw>
2011-07-03 22:00:49 +00:00
Ashish SHUKLA
5bbc9dea68 - Fix bug in installing Haskell ports when GHC is installed with NOPORTDOCS
Obtained from:	FreeBSD Haskell
2011-06-03 17:05:33 +00:00
Ashish SHUKLA
11ce310795 - Fix lang/ghc to not install unusable haddock when NOPORTDOCS is set
- Fix lang/ghc/bsd.cabal.mk to depend on devel/hs-haddock for documentation
- Split textproc/hs-xhtml into a separate -docs port (required by haddock)
- Bump PORTREVISION of devel/hs-haskell-platform, depends on textproc/hs-xhtml

Obtained from:	FreeBSD Haskell
2011-05-25 18:57:25 +00:00
Ashish SHUKLA
6d7229f9c1 - Add missing entry for devel/hs-BNFC.
Obtained from:	FreeBSD Haskell
2011-05-23 00:29:15 +00:00
Ashish SHUKLA
b5895108f6 - Mark BROKEN on 9.x: does not compile
Reported by:   pointyhat
2011-05-21 02:08:40 +00:00
Gabor Pali
daa312f573 The 'cabal' command-line program simplifies the process of managing Haskell
software by automating the fetching, configuration, compilation and
installation of Haskell libraries and programs.

WWW:	http://www.haskell.org/cabal/

Obtained from:	FreeBSD Haskell
2011-05-14 16:34:09 +00:00
Gabor Pali
3a0ea31db9 - Stop processing if one of the dependencies is missing from bsd.hackage.mk
Obtained from:	FreeBSD Haskell
2011-05-13 18:09:15 +00:00
Gabor Pali
65b9a1fd75 - Connect devel/hs-blaze-builder-enumerator to the build and to the Haskell
Cabal package database and therefore un-break INDEX

Reported by:	erwin
2011-05-10 02:09:04 +00:00
Ashish SHUKLA
0c76a8384f - Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports
are also updated to their corresponding Haskell Platform versions, or latest
versions.

We would like to acknowledge the support of the FreeBSD Donations Team and
Eotvos Lorand University, Faculty of Informatics who contributed to the server
that we used for testing.

We would also like to thank all the testers who tested FreeBSD Haskell ports
and provided their feedback.

PR:		ports/156642
Approved by:	tabthorpe (mentor)
Obtained from:	FreeBSD Haskell
2011-05-09 05:28:57 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Gabor Pali
5b71931b86 - Bring in synch with the ports in the tree 2010-08-08 09:08:00 +00:00
Gabor Pali
cad06c6077 - Add DIST_SUBDIR for Haskell Cabal ports (with default of "cabal")
Suggested by:	admi3
2010-08-08 08:49:38 +00:00
Gabor Pali
bf64068a5b - Make standalone ports run-independent of GHC
- Make install directories explicit on configuration
- Add support for redefinition of make(1) targets
2010-07-30 08:48:26 +00:00
Gabor Pali
d16962d8a8 Efficient algorithms for vector arrays.
WWW: http://code.haskell.org/~dolio/
2010-06-07 03:58:17 +00:00
Gabor Pali
8df3e55910 An efficient implementation of Int-indexed arrays (both mutable and
immutable), with a powerful loop fusion optimization framework.

WWW: http://code.haskell.org/vector
2010-06-07 03:55:25 +00:00
Gabor Pali
6c6c4907a8 Fast, memory-efficient, low-level socket functions that use
'Data.ByteString's instead of 'String's.

WWW: http://github.com/tibbe/network-bytestring
2010-06-07 03:51:31 +00:00
Gabor Pali
bf5448655c Some classes for generalized boolean operations.
WWW: http://hackage.haskell.org/package/Boolean
2010-06-07 03:47:52 +00:00
Gabor Pali
ed7f3a167c This package provides wrappers for primitive array operations from
GHC.Prim.

WWW: http://code.haskell.org/primitive
2010-06-07 03:44:28 +00:00
Gabor Pali
52a16208ea Rename the following Haskell ports to bring them in sync with the
HackageDB:

  archivers/hs-zip-archive-ghc -> archivers/hs-zip-archive
  devel/hs-binary-ghc -> devel/hs-binary
  devel/darcs -> devel/hs-darcs
  devel/hs-language-c-ghc -> devel/hs-language-c
  devel/hs-lazysmallcheck-ghc -> devel/hs-lazysmallcheck
  devel/hs-pcre-light-ghc -> devel/hs-pcre-light
  devel/hs-utf8-string-ghc -> devel/hs-utf8-string
  graphics/hs-HGL-ghc -> graphics/hs-HGL
  ports-mgmt/porte -> ports-mgmt/hs-porte
  security/hs-digest-ghc -> security/hs-digest
  textproc/hs-haxml -> textproc/hs-HaXml
  textproc/hs-highlighting-kate-ghc -> textproc/hs-highlighting-kate
  textproc/hs-polyparse-ghc -> textproc/hs-polyparse
  textproc/pandoc -> textproc/hs-pandoc
  x11/hs-x11-ghc -> x11/hs-X11
  x11/hs-x11-xft-ghc -> x11/hs-X11-xft
  x11/xmobar -> x11/hs-xmobar
  x11-toolkits/hs-opengl-ghc -> x11-toolkits/hs-OpenGL
  x11-toolkits/hs-OpenGLRaw-ghc -> x11-toolkits/hs-OpenGLRaw
  x11-toolkits/hs-GLURaw-ghc -> x11-toolkits/hs-GLURaw
  x11-toolkits/hs-glut-ghc -> x11-toolkits/hs-GLUT
  x11-wm/xmonad -> x11-wm/hs-xmonad
  x11-wm/xmonad-contrib -> x11-wm/hs-xmonad-contrib
2010-05-24 21:52:43 +00:00
Gabor Pali
69fc8209ee - Fix ordering 2010-05-22 22:59:05 +00:00
Gabor Pali
f1905422ee - Fix OPTIONS support for Cabal ports by introducing
bsd.cabal.options.mk
- Fix ports broken with non-default options

Triggered by:	Yuri Pankov <yuri.pankov@gmail.com>
2010-05-22 22:41:50 +00:00
Gabor Pali
84cc657d1d Minimal binding to libxml2. Additional functions will be added when
needed.

WWW: http://hackage.haskell.org/package/libxml
2010-05-22 21:41:52 +00:00
Gabor Pali
16afe2f83e QuickCheck2 support for the test-framework package.
WWW: http://batterseapower.github.com/test-framework/
2010-05-21 22:03:36 +00:00
Gabor Pali
be16f68463 HUnit support for the test-framework package.
WWW: http://batterseapower.github.com/test-framework/
2010-05-21 22:00:21 +00:00
Gabor Pali
0d1359b0c1 Allows tests such as QuickCheck properties and HUnit test cases to be
assembled into test groups, run in parallel (but reported in
deterministic order, to aid diff interpretation) and filtered and
controlled by command line options. All of this comes with colored test
output, progress reporting and test statistics output.

WWW: http://batterseapower.github.com/test-framework/
2010-05-21 21:57:42 +00:00
Gabor Pali
a541b24598 This is a pretty printing library based on Wadler's paper "A Prettier
Printer". It has been enhanced with support for ANSI terminal colored
output using the ansi-terminal package.

WWW: http://github.com/batterseapower/ansi-wl-pprint
2010-05-21 21:53:38 +00:00
Gabor Pali
fd3b774de3 ANSI terminal support for Haskell: allows cursor movement, screen
clearing, color output showing or hiding the cursor, and changing the
title. Compatible with Windows and those Unixes with ANSI terminals, but
only GHC is supported as a compiler.

WWW: http://batterseapower.github.com/ansi-terminal
2010-05-21 21:49:50 +00:00
Gabor Pali
261cb67402 A very simple package providing a cross-platform means of determining
the hostname.

WWW: http://hackage.haskell.org/package/hostname
2010-05-21 21:44:44 +00:00
Gabor Pali
ede0dbbfac - Fix entry for c2hs 2010-05-20 15:22:30 +00:00
Gabor Pali
dffa1085b9 A system-independent interface for user-level packet capture.
WWW: http://hackage.haskell.org/package/pcap

PR:		ports/146655
Submitted by:	Ju Pengfei <jupengfei@gmail.com>
2010-05-19 12:10:17 +00:00
Gabor Pali
e8f2a0b1f0 A Haskell client library for MPD, the Music Player Daemon.
WWW: http://github.com/joachifm/libmpd-haskell
2010-05-16 18:05:28 +00:00
Gabor Pali
56bfbfc66e citeproc-hs is a library for automatically formatting bibliographic
reference citations into a variety of styles using a macro language
called Citation Style Language (CSL).

WWW: http://code.haskell.org/citeproc-hs
2010-05-15 22:14:30 +00:00
Gabor Pali
624e888c56 The Haskell XML Toolbox bases on the ideas of HaXml and HXML, but
introduces a more general approach for processing XML with Haskell. The
Haskell XML Toolbox uses a generic data model for representing XML
documents, including the DTD subset and the document subset, in Haskell.
It contains a validating XML parser, a HTML parser, namespace support,
an XPath expression evaluator, an XSLT library, a RelaxNG schema
validator and funtions for serialization and deserialization of user
defined data. The library make extensive use of the arrow approach for
processing XML.

WWW: http://www.fh-wedel.de/~si/HXmlToolbox/index.html
2010-05-15 22:10:48 +00:00
Gabor Pali
2e67602f4e - Add devel/darcs as Cabalized package 2010-05-15 19:37:40 +00:00
Gabor Pali
36ac22a6a8 Haskell bindings to Chris Putnam's bibutils, a library that
interconverts between various bibliography formats using a common
MODS-format XML intermediate.

WWW: http://code.haskell.org/hs-bibutils
2010-05-15 19:23:21 +00:00
Gabor Pali
cb49698f13 libcurl is a client-side URL transfer library, supporting FTP, FTPS,
HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE.
libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading,
HTTP form based upload, proxies, cookies, user+password authentication
(Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http
proxy tunneling and more!

This package provides a Haskell binding to libcurl.

WWW: http://hackage.haskell.org/package/curl
2010-05-15 19:14:33 +00:00
Gabor Pali
46cf366a70 This library provides an interface to the terminfo database (via
bindings to the curses library).  Terminfo allows POSIX systems to
interact with a variety of terminals using a standard set of
capabilities.

WWW: http://code.haskell.org/terminfo
2010-05-15 19:11:40 +00:00
Gabor Pali
a780537845 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
2010-05-15 19:06:57 +00:00
Gabor Pali
568e847da0 Data encoding library currently providing Base16, Base32, Base32Hex,
Base64, Base64Url, Base85, Python string escaping, Quoted-Printable, URL
encoding, uuencode, xxencode, and yEncoding.

WWW: http://www.haskell.org/haskellwiki/Library/Data_encoding
2010-05-15 18:56:33 +00:00
Gabor Pali
1d749827fb - A minor fix in handling PLIST_SUBs 2010-05-15 18:45:32 +00:00
Gabor Pali
ec29a59ec3 Introduce a new (and hopefully better) ports infrastructure for Haskell Cabal
ports which makes possible the direct translation of Cabal package
descriptions to FreeBSD ports.  It promises both easier addition and
maintenance for Cabal-based ports.
2010-05-12 16:33:59 +00:00
Gabor Pali
2ae3f4e9d8 - Unbreak build.
- While I am here: unbreak on 9.X as well, shrink bootstraps.

Supported by:	itetcu, jacula
2010-04-21 19:53:03 +00:00
Ion-Mihai Tetcu
da8fe2be97 Broken by the recent gmp update.
Submitted by:	QAT
Confirmed by:	kib@
2010-04-19 16:22:15 +00:00
Alex Dupre
bf330a57d4 Switch to use newer GMP version.
PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
2010-04-19 10:43:42 +00:00
Gabor Pali
ee8eda08fb - Update HsColour to 1.15
- Bump PORTREVISION for all affected ports

PR:		ports/138567, ports/138568
Submitted by:	Ashish Shukla <wahjava (at) gmail.com>
Approved by:	maintainer
2009-12-06 20:56:55 +00:00
Gabor Pali
fe16d686ed - Fix installation of hs-ghc-paths as slave port when build is launched in
user mode.

PR:		ports/140269
Submitted by:	Makoto Kishimoto <ksmakoto(at)dd(dot)iij4u(dot)or(dot)jp>
2009-11-08 19:40:06 +00:00
Martin Wilke
8ea97db579 - Add missing testsuite
PR:		138901
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
Feature safe:	yes
2009-09-19 20:16:12 +00:00
Gabor Pali
7d5781e5ab - Update GHC and Haskell ports to 6.10.4 (for both i386 and amd64), bump
port revision where appropriate
- Add devel/hs-ghc-paths
- Add devel/hs-QuickCheck
- Add devel/hs-readline
- Add devel/hs-haskeline
- Add devel/hs-mmap
- Remove lang/ghc-doc
- Mark devel/lhs2TeX broken as it does not compile with GHC 6.10.4
- Set NHC98 as default compiler for devel/hs-hat as it does not compile
  with GHC 6.10.4

PR:		ports/137055, ports/137058, ports/137059, ports/137060, ports/137061,
   		ports/137062, ports/137063, ports/137063, ports/137064, ports/137065,
   		ports/137066, ports/137067, ports/137068, ports/137069, ports/137070,
   		ports/137071, ports/137072, ports/137074, ports/137075, ports/137076,
   		ports/137077, ports/137078, ports/137079, ports/137080, ports/137081,
   		ports/137082, ports/137083, ports/137084, ports/137085, ports/137086,
   		ports/137087, ports/137088, ports/137090, ports/137091, ports/137092,
   		ports/137093, ports/137094, ports/137095, ports/137096, ports/137097,
   		ports/137098, ports/137099, ports/137102, ports/137103, ports/137104,
   		ports/137107, ports/137108, ports/137109, ports/137110, ports/137111

Submitted by:	Jacula Modyun (jacula (at) gmail (dot) com),
             	Ashish Shukla (wahjava (at) gmail (dot) com) (amd64 support)
Supported by:	wxs (review, amd64 testing), tabthorpe (8.x testing)
Approved by:	tabthorpe (mentor), respective maintainers
2009-09-02 15:38:45 +00:00