Oops! I missed this one!
Update to HTTP-4000.0.9.
This commit is contained in:
parent
f53bbab61e
commit
8751a0f41f
@ -1,17 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/08/27 18:55:05 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/04/25 11:18:36 kili Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
COMMENT= client-side HTTP library for GHC
|
||||
|
||||
V= 3001.0.4
|
||||
DISTNAME= HTTP-$V
|
||||
PKGNAME= hs-${DISTNAME}
|
||||
COMMENT = library for client-side HTTP
|
||||
|
||||
DISTNAME = HTTP-4000.0.9
|
||||
CATEGORIES = net devel
|
||||
|
||||
HOMEPAGE= http://www.haskell.org/http/
|
||||
|
||||
MAINTAINER = Matthias Kilian <kili@openbsd.org>
|
||||
|
||||
# BSD3
|
||||
@ -20,46 +13,8 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES= http://hackage.haskell.org/packages/archive/HTTP/$V/
|
||||
|
||||
MODULES = lang/ghc
|
||||
|
||||
BUILD_DEPENDS= ::devel/haddock
|
||||
|
||||
SETUP_CONF_ARGS= configure -g --prefix=${PREFIX}
|
||||
SETUP_CONF_ENV= HOME=${PORTHOME} ${CONFIGURE_ENV}
|
||||
SETUP_PROG= ${WRKSRC}/Setup
|
||||
SUBST_VARS= V
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ghc --make -o ${SETUP_PROG} Setup.lhs
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${SETUP_CONF_ENV} \
|
||||
${SETUP_PROG} ${SETUP_CONF_ARGS}
|
||||
|
||||
do-build:
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
${SETUP_PROG} build
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
${SETUP_PROG} haddock
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
${SETUP_PROG} register --gen-script
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
${SETUP_PROG} unregister --gen-script
|
||||
perl -pi -e 's!/share/${DISTNAME}/doc/html!/share/doc/${DISTNAME}!' \
|
||||
${WRKBUILD}/register.sh
|
||||
|
||||
do-install:
|
||||
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
||||
${SETUP_PROG} copy -v 5 --destdir=${DESTDIR}
|
||||
|
||||
post-install:
|
||||
find ${PREFIX} -type f
|
||||
mv ${PREFIX}/share/${DISTNAME}/doc/html ${PREFIX}/share/doc/${DISTNAME}
|
||||
rm -rf ${PREFIX}/share/${DISTNAME}
|
||||
.for f in register.sh unregister.sh
|
||||
${INSTALL_SCRIPT} ${WRKBUILD}/$f ${PREFIX}/lib/${DISTNAME}
|
||||
.endfor
|
||||
|
||||
NO_REGRESS= Yes
|
||||
MODGHC_BUILD = cabal hackage haddock register
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (HTTP-3001.0.4.tar.gz) = LKsYDjGaTX2yWDLPpXz7xQ==
|
||||
RMD160 (HTTP-3001.0.4.tar.gz) = MivT1+d9eHN4EmUqHc1E1of4UwY=
|
||||
SHA1 (HTTP-3001.0.4.tar.gz) = sIokQLMeift1GRWT2Y/kwSxswLA=
|
||||
SHA256 (HTTP-3001.0.4.tar.gz) = s10abzRadyXZJ8Q2qBmeAPvuMAjHQhWy+VNqh2cK6TM=
|
||||
SIZE (HTTP-3001.0.4.tar.gz) = 35696
|
||||
MD5 (HTTP-4000.0.9.tar.gz) = u9AFk1U37YiDv++2JOi/PA==
|
||||
RMD160 (HTTP-4000.0.9.tar.gz) = P2hqHES2wI92sRyU4dCLUFtJt5Q=
|
||||
SHA1 (HTTP-4000.0.9.tar.gz) = uyDdptUEkYvjM2x9eJ5N+ED+nUo=
|
||||
SHA256 (HTTP-4000.0.9.tar.gz) = HitKi3gq0UF8h1W7DSSIUbwUKzUTZu1GDgfylFpelbo=
|
||||
SIZE (HTTP-4000.0.9.tar.gz) = 59528
|
||||
|
@ -1,44 +0,0 @@
|
||||
$OpenBSD: patch-HTTP_cabal,v 1.1.1.1 2008/08/27 18:55:05 kili Exp $
|
||||
--- HTTP.cabal.orig Thu Dec 13 13:51:16 2007
|
||||
+++ HTTP.cabal Tue Aug 26 21:11:00 2008
|
||||
@@ -1,7 +1,5 @@
|
||||
Name: HTTP
|
||||
Version: 3001.0.4
|
||||
-Cabal-Version: >= 1.2
|
||||
-Build-type: Simple
|
||||
License: BSD3
|
||||
License-file: LICENSE
|
||||
Copyright:
|
||||
@@ -16,13 +14,8 @@ Author: Warrick Gray <warrick.gray@hotmail.com>
|
||||
Maintainer: Bjorn Bringert <bjorn@bringert.net>
|
||||
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:
|
||||
+Build-depends: network, parsec, base < 3
|
||||
+Exposed-modules:
|
||||
Network.Stream,
|
||||
Network.StreamDebugger,
|
||||
Network.StreamSocket,
|
||||
@@ -30,14 +23,8 @@ Library
|
||||
Network.HTTP,
|
||||
Network.HTTP.Headers,
|
||||
Network.Browser
|
||||
- Other-modules:
|
||||
+Other-modules:
|
||||
Network.HTTP.Base64,
|
||||
Network.HTTP.MD5,
|
||||
Network.HTTP.MD5Aux
|
||||
- GHC-options: -fwarn-missing-signatures
|
||||
- Build-depends: network, parsec
|
||||
-
|
||||
- if flag(old-base)
|
||||
- Build-depends: base < 3
|
||||
- else
|
||||
- Build-depends: base >= 3, array
|
||||
+GHC-options: -fwarn-missing-signatures
|
@ -1,2 +1,5 @@
|
||||
This package contains updated versions of Warrick Gray's excellent
|
||||
Haskell HTTP and Browser modules.
|
||||
The HTTP package supports client-side web programming in Haskell.
|
||||
It lets you set up HTTP connections, transmitting requests and
|
||||
processing the responses coming back, all from within the comforts
|
||||
of Haskell. It's dependent on the network package to operate, but
|
||||
other than that, the implementation is all written in Haskell.
|
||||
|
@ -1,57 +1,90 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/08/27 18:55:05 kili Exp $
|
||||
lib/HTTP-${V}/
|
||||
lib/HTTP-${V}/ghc-6.6.1/
|
||||
lib/HTTP-${V}/ghc-6.6.1/HSHTTP-${V}.o
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/Browser.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/HTTP/
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/HTTP.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/HTTP/Base64.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/HTTP/Headers.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/HTTP/MD5.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/HTTP/MD5Aux.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/Stream.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/StreamDebugger.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/StreamSocket.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/Network/TCP.hi
|
||||
lib/HTTP-${V}/ghc-6.6.1/include/
|
||||
lib/HTTP-${V}/ghc-6.6.1/libHSHTTP-${V}.a
|
||||
lib/HTTP-${V}/register.sh
|
||||
@exec /usr/bin/env HOME=/nonexistent %D/lib/HTTP-${V}/register.sh
|
||||
@unexec /usr/bin/env HOME=/nonexistent %D/lib/HTTP-${V}/unregister.sh
|
||||
lib/HTTP-${V}/unregister.sh
|
||||
share/doc/HTTP-${V}/
|
||||
share/doc/HTTP-${V}/HTTP.haddock
|
||||
share/doc/HTTP-${V}/Network-Browser.html
|
||||
share/doc/HTTP-${V}/Network-HTTP-Headers.html
|
||||
share/doc/HTTP-${V}/Network-HTTP.html
|
||||
share/doc/HTTP-${V}/Network-Stream.html
|
||||
share/doc/HTTP-${V}/Network-StreamDebugger.html
|
||||
share/doc/HTTP-${V}/Network-StreamSocket.html
|
||||
share/doc/HTTP-${V}/Network-TCP.html
|
||||
share/doc/HTTP-${V}/doc-index-A.html
|
||||
share/doc/HTTP-${V}/doc-index-B.html
|
||||
share/doc/HTTP-${V}/doc-index-C.html
|
||||
share/doc/HTTP-${V}/doc-index-D.html
|
||||
share/doc/HTTP-${V}/doc-index-E.html
|
||||
share/doc/HTTP-${V}/doc-index-F.html
|
||||
share/doc/HTTP-${V}/doc-index-G.html
|
||||
share/doc/HTTP-${V}/doc-index-H.html
|
||||
share/doc/HTTP-${V}/doc-index-I.html
|
||||
share/doc/HTTP-${V}/doc-index-L.html
|
||||
share/doc/HTTP-${V}/doc-index-M.html
|
||||
share/doc/HTTP-${V}/doc-index-N.html
|
||||
share/doc/HTTP-${V}/doc-index-O.html
|
||||
share/doc/HTTP-${V}/doc-index-P.html
|
||||
share/doc/HTTP-${V}/doc-index-R.html
|
||||
share/doc/HTTP-${V}/doc-index-S.html
|
||||
share/doc/HTTP-${V}/doc-index-T.html
|
||||
share/doc/HTTP-${V}/doc-index-U.html
|
||||
share/doc/HTTP-${V}/doc-index-W.html
|
||||
share/doc/HTTP-${V}/doc-index.html
|
||||
share/doc/HTTP-${V}/haddock.css
|
||||
share/doc/HTTP-${V}/haddock.js
|
||||
share/doc/HTTP-${V}/haskell_icon.gif
|
||||
share/doc/HTTP-${V}/index.html
|
||||
share/doc/HTTP-${V}/minus.gif
|
||||
share/doc/HTTP-${V}/plus.gif
|
||||
@comment $OpenBSD: PLIST,v 1.2 2010/04/25 11:18:36 kili Exp $
|
||||
lib/${DISTNAME}/
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/HS${DISTNAME}.o
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/Browser.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/BufferType.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/Auth.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/Base.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/Base64.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/Cookie.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/HandleStream.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/Headers.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/MD5.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/MD5Aux.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/Proxy.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/Stream.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/HTTP/Utils.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/Stream.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/StreamDebugger.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/StreamSocket.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/Network/TCP.hi
|
||||
lib/${DISTNAME}/ghc-${MODGHC_VER}/libHS${DISTNAME}.a
|
||||
lib/${DISTNAME}/register.sh
|
||||
@exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh
|
||||
@unexec-delete /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh
|
||||
lib/${DISTNAME}/unregister.sh
|
||||
share/doc/${DISTNAME}/
|
||||
share/doc/${DISTNAME}/LICENSE
|
||||
share/doc/${DISTNAME}/html/
|
||||
share/doc/${DISTNAME}/html/HTTP.haddock
|
||||
share/doc/${DISTNAME}/html/Network-Browser.html
|
||||
share/doc/${DISTNAME}/html/Network-BufferType.html
|
||||
share/doc/${DISTNAME}/html/Network-HTTP-Auth.html
|
||||
share/doc/${DISTNAME}/html/Network-HTTP-Base.html
|
||||
share/doc/${DISTNAME}/html/Network-HTTP-Cookie.html
|
||||
share/doc/${DISTNAME}/html/Network-HTTP-HandleStream.html
|
||||
share/doc/${DISTNAME}/html/Network-HTTP-Headers.html
|
||||
share/doc/${DISTNAME}/html/Network-HTTP-Proxy.html
|
||||
share/doc/${DISTNAME}/html/Network-HTTP-Stream.html
|
||||
share/doc/${DISTNAME}/html/Network-HTTP.html
|
||||
share/doc/${DISTNAME}/html/Network-Stream.html
|
||||
share/doc/${DISTNAME}/html/Network-StreamDebugger.html
|
||||
share/doc/${DISTNAME}/html/Network-StreamSocket.html
|
||||
share/doc/${DISTNAME}/html/Network-TCP.html
|
||||
share/doc/${DISTNAME}/html/doc-index-A.html
|
||||
share/doc/${DISTNAME}/html/doc-index-B.html
|
||||
share/doc/${DISTNAME}/html/doc-index-C.html
|
||||
share/doc/${DISTNAME}/html/doc-index-D.html
|
||||
share/doc/${DISTNAME}/html/doc-index-E.html
|
||||
share/doc/${DISTNAME}/html/doc-index-F.html
|
||||
share/doc/${DISTNAME}/html/doc-index-G.html
|
||||
share/doc/${DISTNAME}/html/doc-index-H.html
|
||||
share/doc/${DISTNAME}/html/doc-index-I.html
|
||||
share/doc/${DISTNAME}/html/doc-index-L.html
|
||||
share/doc/${DISTNAME}/html/doc-index-M.html
|
||||
share/doc/${DISTNAME}/html/doc-index-N.html
|
||||
share/doc/${DISTNAME}/html/doc-index-O.html
|
||||
share/doc/${DISTNAME}/html/doc-index-P.html
|
||||
share/doc/${DISTNAME}/html/doc-index-Q.html
|
||||
share/doc/${DISTNAME}/html/doc-index-R.html
|
||||
share/doc/${DISTNAME}/html/doc-index-S.html
|
||||
share/doc/${DISTNAME}/html/doc-index-T.html
|
||||
share/doc/${DISTNAME}/html/doc-index-U.html
|
||||
share/doc/${DISTNAME}/html/doc-index-W.html
|
||||
share/doc/${DISTNAME}/html/doc-index.html
|
||||
share/doc/${DISTNAME}/html/frames.html
|
||||
share/doc/${DISTNAME}/html/haddock-util.js
|
||||
share/doc/${DISTNAME}/html/haddock.css
|
||||
share/doc/${DISTNAME}/html/haskell_icon.gif
|
||||
share/doc/${DISTNAME}/html/index-frames.html
|
||||
share/doc/${DISTNAME}/html/index.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-Browser.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-BufferType.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-HTTP-Auth.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-HTTP-Base.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-HTTP-Cookie.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-HTTP-HandleStream.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-HTTP-Headers.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-HTTP-Proxy.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-HTTP-Stream.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-HTTP.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-Stream.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-StreamDebugger.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-StreamSocket.html
|
||||
share/doc/${DISTNAME}/html/mini_Network-TCP.html
|
||||
share/doc/${DISTNAME}/html/minus.gif
|
||||
share/doc/${DISTNAME}/html/plus.gif
|
||||
|
Loading…
Reference in New Issue
Block a user