Permalink
Browse files

initial import of HTTPbis

  • Loading branch information...
0 parents commit c4765e822eb92196fec95560f8f640018d18737f Sigbjorn Finne committed Dec 2, 2008
@@ -0,0 +1,48 @@
+Name: HTTP
+Version: 3010.0.0
+Cabal-Version: >= 1.2
+Build-type: Simple
+License: BSD3
+License-file: LICENSE
+Copyright:
+ Copyright (c) 2002, Warrick Gray
+ Copyright (c) 2002-2005, Ian Lynagh
+ Copyright (c) 2003-2006, Bjorn Bringert
+ Copyright (c) 2004, Andre Furtado
+ Copyright (c) 2004, Ganesh Sittampalam
+ Copyright (c) 2004-2005, Dominic Steinitz
+ Copyright 2007 Robin Bate Boerop
+Author: Warrick Gray <warrick.gray@hotmail.com>
+Maintainer: Sigbjorn Finne <sigbjorn.finne@gmail.com>
+Homepage: http://www.haskell.org/http/
+Description: A library for client-side HTTP
+
+Flag old-base
+ description: Old, monolithic base
+ default: False
+
+Library
+ Exposed-modules:
+ Network.BufferType,
+ Network.Stream,
+ Network.StreamDebugger,
+ Network.StreamSocket,
+ Network.TCP,
+ Network.HTTP,
+ Network.HTTP.Headers,
+ Network.HTTP.Base,
+ Network.HTTP.Stream,
+ Network.HTTP.HandleStream,
+ Network.Browser
+ Other-modules:
+ Network.HTTP.Base64,
+ Network.HTTP.MD5,
+ Network.HTTP.MD5Aux,
+ Network.HTTP.Utils
+ GHC-options: -fwarn-missing-signatures -Wall
+ Build-depends: network, parsec, bytestring
+
+ if flag(old-base)
+ Build-depends: base < 3
+ else
+ Build-depends: base >= 3, array
@@ -0,0 +1,36 @@
+Copyright (c) 2002, Warrick Gray
+Copyright (c) 2002-2005, Ian Lynagh
+Copyright (c) 2003-2006, Bjorn Bringert
+Copyright (c) 2004, Andre Furtado
+Copyright (c) 2004, Ganesh Sittampalam
+Copyright (c) 2004-2005, Dominic Steinitz
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ * The names of contributors may not be used to endorse or promote
+ products derived from this software without specific prior
+ written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,35 @@
+HADDOCK = haddock
+
+TODAY = $(shell date +%Y%m%d)
+DIST_NAME = http-$(TODAY)
+
+HADDOCK_FILES = Network/HTTP.hs Network/Browser.hs
+
+.PHONY: all configure build install dist haddock clean
+
+default all: configure build
+
+configure:
+ ./Setup.lhs configure
+
+build:
+ ./Setup.lhs build
+
+install:
+ ./Setup.lhs install
+
+dist:
+ darcs dist --dist-name=$(DIST_NAME)
+
+haddock: $(HADDOCK_FILES)
+ mkdir -p haddock
+ $(HADDOCK) -o haddock -h $^
+
+clean:
+ -./Setup.lhs clean
+ -rm -rf haddock
+ -rm -rf dist
+ $(MAKE) -C test clean
+
+setup: Setup.lhs
+ ghc --make -package Cabal -o setup Setup.lhs
Oops, something went wrong.

0 comments on commit c4765e8

Please sign in to comment.