pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/hs-http-client-restricted



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Oct 31 06:14:09 UTC 2023

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

Log Message:
www/hs-http-client-restricted: import hs-http-client-restricted-0.1.0

Addition to the http-client and http-client-tls libraries, that restricts
the HTTP servers that can be used.

This is useful when a security policy needs to eg, prevent connections to
HTTP servers on localhost or a local network, or only allow connections to
a specific HTTP server.

It handles restricting redirects as well as the initial HTTP connection,
and it also guards against DNS poisoning attacks.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/hs-http-client-restricted/DESCR \
    pkgsrc/www/hs-http-client-restricted/Makefile \
    pkgsrc/www/hs-http-client-restricted/PLIST \
    pkgsrc/www/hs-http-client-restricted/buildlink3.mk \
    pkgsrc/www/hs-http-client-restricted/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-client-restricted/DESCR
diff -u /dev/null pkgsrc/www/hs-http-client-restricted/DESCR:1.1
--- /dev/null   Tue Oct 31 06:14:09 2023
+++ pkgsrc/www/hs-http-client-restricted/DESCR  Tue Oct 31 06:14:09 2023
@@ -0,0 +1,9 @@
+Addition to the http-client and http-client-tls libraries, that restricts
+the HTTP servers that can be used.
+
+This is useful when a security policy needs to eg, prevent connections to
+HTTP servers on localhost or a local network, or only allow connections to
+a specific HTTP server.
+
+It handles restricting redirects as well as the initial HTTP connection,
+and it also guards against DNS poisoning attacks.
Index: pkgsrc/www/hs-http-client-restricted/Makefile
diff -u /dev/null pkgsrc/www/hs-http-client-restricted/Makefile:1.1
--- /dev/null   Tue Oct 31 06:14:09 2023
+++ pkgsrc/www/hs-http-client-restricted/Makefile       Tue Oct 31 06:14:09 2023
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2023/10/31 06:14:09 pho Exp $
+
+DISTNAME=      http-client-restricted-0.1.0
+CATEGORIES=    www
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Restricting the servers that http-client will use
+LICENSE=       mit
+
+.include "../../net/hs-crypton-connection/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../www/hs-http-client/buildlink3.mk"
+.include "../../www/hs-http-client-tls/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-bsd/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/hs-http-client-restricted/PLIST
diff -u /dev/null pkgsrc/www/hs-http-client-restricted/PLIST:1.1
--- /dev/null   Tue Oct 31 06:14:09 2023
+++ pkgsrc/www/hs-http-client-restricted/PLIST  Tue Oct 31 06:14:09 2023
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2023/10/31 06:14:09 pho Exp $
+lib/http-client-restricted-${PKGVERSION}/${HS_VERSION}/package-description
+lib/http-client-restricted-${PKGVERSION}/${HS_VERSION}/package-id
+${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Client/Restricted.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Client/Restricted.hi
+${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Network/HTTP/Client/Restricted.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
+share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/Network-HTTP-Client-Restricted.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/doc-index.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/haddock-bundle.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/http-client-restricted.haddock
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/linuwial.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/meta.json
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/quick-jump.css
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/quick-jump.min.js
+${PLIST.doc}share/doc/${HS_PLATFORM}/http-client-restricted-${PKGVERSION}/html/synopsis.png
Index: pkgsrc/www/hs-http-client-restricted/buildlink3.mk
diff -u /dev/null pkgsrc/www/hs-http-client-restricted/buildlink3.mk:1.1
--- /dev/null   Tue Oct 31 06:14:09 2023
+++ pkgsrc/www/hs-http-client-restricted/buildlink3.mk  Tue Oct 31 06:14:09 2023
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/10/31 06:14:09 pho Exp $
+
+BUILDLINK_TREE+=       hs-http-client-restricted
+
+.if !defined(HS_HTTP_CLIENT_RESTRICTED_BUILDLINK3_MK)
+HS_HTTP_CLIENT_RESTRICTED_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-http-client-restricted+=      hs-http-client-restricted>=0.1.0
+BUILDLINK_ABI_DEPENDS.hs-http-client-restricted+=      hs-http-client-restricted>=0.1.0
+BUILDLINK_PKGSRCDIR.hs-http-client-restricted?=                ../../www/hs-http-client-restricted
+
+.include "../../net/hs-crypton-connection/buildlink3.mk"
+.include "../../devel/hs-data-default/buildlink3.mk"
+.include "../../www/hs-http-client/buildlink3.mk"
+.include "../../www/hs-http-client-tls/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../net/hs-network-bsd/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.endif # HS_HTTP_CLIENT_RESTRICTED_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-http-client-restricted
Index: pkgsrc/www/hs-http-client-restricted/distinfo
diff -u /dev/null pkgsrc/www/hs-http-client-restricted/distinfo:1.1
--- /dev/null   Tue Oct 31 06:14:09 2023
+++ pkgsrc/www/hs-http-client-restricted/distinfo       Tue Oct 31 06:14:09 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/10/31 06:14:09 pho Exp $
+
+BLAKE2s (http-client-restricted-0.1.0.tar.gz) = 03335bf95c4090dddaa2aa288d9c26073fe05160b0df2bf20a233fed276e6e49
+SHA512 (http-client-restricted-0.1.0.tar.gz) = c2f1f3476b01bc0c16512a1db037948d6a1365d9367d7058dee9862e328c59fb9cfbde679904ef66c8353a8422256e64fde443b7fcae2a389495f496fcc3a5ac
+Size (http-client-restricted-0.1.0.tar.gz) = 5462 bytes



Home | Main Index | Thread Index | Old Index