pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/hs-http-media



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Jan 28 20:04:34 UTC 2023

Added Files:
        pkgsrc/www/hs-http-media: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
www/hs-http-media: import hs-http-media-0.8.0.0

This library is intended to be a comprehensive solution to parsing and
selecting quality-indexed values in HTTP headers. It is capable of parsing
both media types and language parameters from the Accept and Content header
families, and can be extended to match against other accept headers as
well. Selecting the appropriate header value is achieved by comparing a
list of server options against the quality-indexed values supplied by the
client.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/hs-http-media/DESCR \
    pkgsrc/www/hs-http-media/Makefile pkgsrc/www/hs-http-media/PLIST \
    pkgsrc/www/hs-http-media/buildlink3.mk pkgsrc/www/hs-http-media/distinfo

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-http-media/DESCR
diff -u /dev/null pkgsrc/www/hs-http-media/DESCR:1.1
--- /dev/null   Sat Jan 28 20:04:34 2023
+++ pkgsrc/www/hs-http-media/DESCR      Sat Jan 28 20:04:34 2023
@@ -0,0 +1,7 @@
+This library is intended to be a comprehensive solution to parsing and
+selecting quality-indexed values in HTTP headers. It is capable of parsing
+both media types and language parameters from the Accept and Content header
+families, and can be extended to match against other accept headers as
+well. Selecting the appropriate header value is achieved by comparing a
+list of server options against the quality-indexed values supplied by the
+client.
Index: pkgsrc/www/hs-http-media/Makefile
diff -u /dev/null pkgsrc/www/hs-http-media/Makefile:1.1
--- /dev/null   Sat Jan 28 20:04:34 2023
+++ pkgsrc/www/hs-http-media/Makefile   Sat Jan 28 20:04:34 2023
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2023/01/28 20:04:34 pho Exp $
+
+DISTNAME=      http-media-0.8.0.0
+CATEGORIES=    www
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Processing HTTP Content-Type and Accept headers
+LICENSE=       mit
+
+HASKELL_UNRESTRICT_DEPENDENCIES+=      \
+       base    \
+       bytestring
+
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/hs-http-media/PLIST
diff -u /dev/null pkgsrc/www/hs-http-media/PLIST:1.1
--- /dev/null   Sat Jan 28 20:04:34 2023
+++ pkgsrc/www/hs-http-media/PLIST      Sat Jan 28 20:04:34 2023
@@ -0,0 +1,61 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/28 20:04:34 pho Exp $
+lib/http-media-${PKGVERSION}/${HS_VERSION}/package-description
+lib/http-media-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Accept.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Accept.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Accept.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Charset.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Charset.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Charset.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Charset/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Charset/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Charset/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Encoding.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Encoding.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Encoding.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Encoding/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Encoding/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Encoding/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Language.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Language.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Language.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Language/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Language/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Language/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/MediaType.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/MediaType.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/MediaType.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/MediaType/Internal.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/MediaType/Internal.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/MediaType/Internal.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Quality.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Quality.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Quality.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/RenderHeader.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/RenderHeader.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/RenderHeader.p_hi
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Utils.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Utils.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Media/Utils.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/Network-HTTP-Media-Accept.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/Network-HTTP-Media-Charset.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/Network-HTTP-Media-Encoding.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/Network-HTTP-Media-Language.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/Network-HTTP-Media-MediaType.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/Network-HTTP-Media-RenderHeader.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/Network-HTTP-Media.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/http-media.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-media-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/www/hs-http-media/buildlink3.mk
diff -u /dev/null pkgsrc/www/hs-http-media/buildlink3.mk:1.1
--- /dev/null   Sat Jan 28 20:04:34 2023
+++ pkgsrc/www/hs-http-media/buildlink3.mk      Sat Jan 28 20:04:34 2023
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/01/28 20:04:34 pho Exp $
+
+BUILDLINK_TREE+=       hs-http-media
+
+.if !defined(HS_HTTP_MEDIA_BUILDLINK3_MK)
+HS_HTTP_MEDIA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-http-media+=  hs-http-media>=0.8.0
+BUILDLINK_ABI_DEPENDS.hs-http-media+=  hs-http-media>=0.8.0.0
+BUILDLINK_PKGSRCDIR.hs-http-media?=    ../../www/hs-http-media
+
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.endif # HS_HTTP_MEDIA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-http-media
Index: pkgsrc/www/hs-http-media/distinfo
diff -u /dev/null pkgsrc/www/hs-http-media/distinfo:1.1
--- /dev/null   Sat Jan 28 20:04:34 2023
+++ pkgsrc/www/hs-http-media/distinfo   Sat Jan 28 20:04:34 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/01/28 20:04:34 pho Exp $
+
+BLAKE2s (http-media-0.8.0.0.tar.gz) = 3584ebaae836a70e3090774f15d89135eab24a682d80cb1946a6068b6488ce22
+SHA512 (http-media-0.8.0.0.tar.gz) = 549fa1892c81224e79bad4268993e0cfa324d9d0c9daa0d800ac7cc4eee307405155989672c49adb0e124ca29c2d83cc565ba3c935fd3be4ab4ef0594b012bb5
+Size (http-media-0.8.0.0.tar.gz) = 18895 bytes



Home | Main Index | Thread Index | Old Index