pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/hs-servant-server
Module Name: pkgsrc
Committed By: pho
Date: Sun Jan 29 05:24:22 UTC 2023
Added Files:
pkgsrc/www/hs-servant-server: DESCR Makefile PLIST buildlink3.mk
distinfo
pkgsrc/www/hs-servant-server/patches: patch-servant-server.cabal
Log Message:
www/hs-servant-server: import hs-servant-server-0.19.2
This library lets you implement an HTTP server with handlers for each
endpoint of a servant API, handling most of the boilerplate for you.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/hs-servant-server/DESCR \
pkgsrc/www/hs-servant-server/Makefile pkgsrc/www/hs-servant-server/PLIST \
pkgsrc/www/hs-servant-server/buildlink3.mk \
pkgsrc/www/hs-servant-server/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/hs-servant-server/patches/patch-servant-server.cabal
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/www/hs-servant-server/DESCR
diff -u /dev/null pkgsrc/www/hs-servant-server/DESCR:1.1
--- /dev/null Sun Jan 29 05:24:22 2023
+++ pkgsrc/www/hs-servant-server/DESCR Sun Jan 29 05:24:22 2023
@@ -0,0 +1,2 @@
+This library lets you implement an HTTP server with handlers for each
+endpoint of a servant API, handling most of the boilerplate for you.
Index: pkgsrc/www/hs-servant-server/Makefile
diff -u /dev/null pkgsrc/www/hs-servant-server/Makefile:1.1
--- /dev/null Sun Jan 29 05:24:22 2023
+++ pkgsrc/www/hs-servant-server/Makefile Sun Jan 29 05:24:22 2023
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2023/01/29 05:24:22 pho Exp $
+
+DISTNAME= servant-server-0.19.2
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= Family of combinators for defining webservices APIs and serving them
+LICENSE= modified-bsd
+
+HASKELL_UNRESTRICT_DEPENDENCIES+= \
+ resourcet
+
+.include "../../devel/hs-base-compat/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../devel/hs-constraints/buildlink3.mk"
+.include "../../www/hs-http-api-data/buildlink3.mk"
+.include "../../www/hs-http-media/buildlink3.mk"
+.include "../../www/hs-http-types/buildlink3.mk"
+.include "../../devel/hs-monad-control/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.include "../../devel/hs-resourcet/buildlink3.mk"
+.include "../../www/hs-servant/buildlink3.mk"
+.include "../../devel/hs-sop-core/buildlink3.mk"
+.include "../../converters/hs-string-conversions/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../www/hs-wai/buildlink3.mk"
+.include "../../www/hs-wai-app-static/buildlink3.mk"
+.include "../../devel/hs-word8/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/hs-servant-server/PLIST
diff -u /dev/null pkgsrc/www/hs-servant-server/PLIST:1.1
--- /dev/null Sun Jan 29 05:24:22 2023
+++ pkgsrc/www/hs-servant-server/PLIST Sun Jan 29 05:24:22 2023
@@ -0,0 +1,112 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/29 05:24:22 pho Exp $
+lib/servant-server-${PKGVERSION}/${HS_VERSION}/package-description
+lib/servant-server-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Experimental/Auth.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Experimental/Auth.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Experimental/Auth.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Generic.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Generic.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Generic.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/BasicAuth.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/BasicAuth.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/BasicAuth.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Context.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Context.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Context.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Delayed.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Delayed.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Delayed.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/DelayedIO.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/DelayedIO.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/DelayedIO.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/ErrorFormatter.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/ErrorFormatter.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/ErrorFormatter.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Handler.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Handler.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Handler.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/RouteResult.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/RouteResult.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/RouteResult.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Router.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Router.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/Router.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/RoutingApplication.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/RoutingApplication.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/RoutingApplication.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/ServerError.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/ServerError.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/Internal/ServerError.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/StaticFiles.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/StaticFiles.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/StaticFiles.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/UVerb.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/UVerb.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Server/UVerb.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Utils/StaticFiles.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Utils/StaticFiles.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Servant/Utils/StaticFiles.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Experimental-Auth.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Generic.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-BasicAuth.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-Context.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-Delayed.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-DelayedIO.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-ErrorFormatter.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-Handler.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-RouteResult.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-Router.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-RoutingApplication.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal-ServerError.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-Internal.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-StaticFiles.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server-UVerb.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Server.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant-Utils-StaticFiles.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/Servant.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-46.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-58.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-A.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-All.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-B.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-C.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-D.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-E.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-F.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-G.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-H.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-I.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-J.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-L.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-M.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-N.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-O.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-P.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-Q.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-R.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-S.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-T.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-U.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-V.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index-W.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/servant-server.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/servant-server-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/www/hs-servant-server/buildlink3.mk
diff -u /dev/null pkgsrc/www/hs-servant-server/buildlink3.mk:1.1
--- /dev/null Sun Jan 29 05:24:22 2023
+++ pkgsrc/www/hs-servant-server/buildlink3.mk Sun Jan 29 05:24:22 2023
@@ -0,0 +1,32 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/01/29 05:24:22 pho Exp $
+
+BUILDLINK_TREE+= hs-servant-server
+
+.if !defined(HS_SERVANT_SERVER_BUILDLINK3_MK)
+HS_SERVANT_SERVER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-servant-server+= hs-servant-server>=0.19.2
+BUILDLINK_ABI_DEPENDS.hs-servant-server+= hs-servant-server>=0.19.2
+BUILDLINK_PKGSRCDIR.hs-servant-server?= ../../www/hs-servant-server
+
+.include "../../devel/hs-base-compat/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../devel/hs-constraints/buildlink3.mk"
+.include "../../www/hs-http-api-data/buildlink3.mk"
+.include "../../www/hs-http-media/buildlink3.mk"
+.include "../../www/hs-http-types/buildlink3.mk"
+.include "../../devel/hs-monad-control/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-uri/buildlink3.mk"
+.include "../../devel/hs-resourcet/buildlink3.mk"
+.include "../../www/hs-servant/buildlink3.mk"
+.include "../../devel/hs-sop-core/buildlink3.mk"
+.include "../../converters/hs-string-conversions/buildlink3.mk"
+.include "../../devel/hs-tagged/buildlink3.mk"
+.include "../../devel/hs-transformers-base/buildlink3.mk"
+.include "../../www/hs-wai/buildlink3.mk"
+.include "../../www/hs-wai-app-static/buildlink3.mk"
+.include "../../devel/hs-word8/buildlink3.mk"
+.endif # HS_SERVANT_SERVER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-servant-server
Index: pkgsrc/www/hs-servant-server/distinfo
diff -u /dev/null pkgsrc/www/hs-servant-server/distinfo:1.1
--- /dev/null Sun Jan 29 05:24:22 2023
+++ pkgsrc/www/hs-servant-server/distinfo Sun Jan 29 05:24:22 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/01/29 05:24:22 pho Exp $
+
+BLAKE2s (servant-server-0.19.2.tar.gz) = 355ace5abe1f201524529d06b70a4f113f1c4fd3090990e5fea2475a420731fc
+SHA512 (servant-server-0.19.2.tar.gz) = c0814819ab5c1a4b81204d0a7f9d4f0f4f2ab055066f47ef1c4b803baac45b1c4acf99448055de40f0547caa64a79cc93e80d878c1e61ce792019afb8c6d543b
+Size (servant-server-0.19.2.tar.gz) = 54262 bytes
+SHA1 (patch-servant-server.cabal) = 81082558eb37055ec40f9b7deff1c7791706e642
Index: pkgsrc/www/hs-servant-server/patches/patch-servant-server.cabal
diff -u /dev/null pkgsrc/www/hs-servant-server/patches/patch-servant-server.cabal:1.1
--- /dev/null Sun Jan 29 05:24:22 2023
+++ pkgsrc/www/hs-servant-server/patches/patch-servant-server.cabal Sun Jan 29 05:24:22 2023
@@ -0,0 +1,14 @@
+$NetBSD: patch-servant-server.cabal,v 1.1 2023/01/29 05:24:22 pho Exp $
+
+Don't build the executable "greet". It's only an example of the library.
+
+--- servant-server.cabal.orig 2023-01-29 05:20:26.105924096 +0000
++++ servant-server.cabal
+@@ -101,6 +101,7 @@ library
+ ghc-options: -Wall -Wno-redundant-constraints
+
+ executable greet
++ buildable: False
+ main-is: greet.hs
+ hs-source-dirs: example
+ ghc-options: -Wall
Home |
Main Index |
Thread Index |
Old Index