mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
www/libhsts: add port: Library to check a domain against the Chromium HSTS Preload list
The HSTS preload list is a list of domains that support HTTPS. The list is compiled by Google and is utilised by Chrome, Firefox and others. With this information, a HTTP client may contact a website without trying a plain-text HTTP connection first. It prevents interception with redirects that take place over HTTP. None of the sent data will ever be unencrypted. WWW: https://gitlab.com/rockdaboot/libhsts
This commit is contained in:
parent
3919830536
commit
fa046e6f5b
5 changed files with 40 additions and 0 deletions
|
@ -292,6 +292,7 @@
|
||||||
SUBDIR += libecap
|
SUBDIR += libecap
|
||||||
SUBDIR += libepc
|
SUBDIR += libepc
|
||||||
SUBDIR += libevhtp
|
SUBDIR += libevhtp
|
||||||
|
SUBDIR += libhsts
|
||||||
SUBDIR += libhubbub
|
SUBDIR += libhubbub
|
||||||
SUBDIR += libjwt
|
SUBDIR += libjwt
|
||||||
SUBDIR += libmicrohttpd
|
SUBDIR += libmicrohttpd
|
||||||
|
|
19
www/libhsts/Makefile
Normal file
19
www/libhsts/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
PORTNAME= libhsts
|
||||||
|
PORTVERSION= 0.1.0
|
||||||
|
CATEGORIES= www security
|
||||||
|
MASTER_SITES= https://gitlab.com/rockdaboot/libhsts/uploads/4753f61b5a3c6253acf4934217816e3f/
|
||||||
|
|
||||||
|
MAINTAINER= amdmi3@FreeBSD.org
|
||||||
|
COMMENT= Library to check a domain against the Chromium HSTS Preload list
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
|
USES= libtool python:build
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
INSTALL_TARGET= install-strip
|
||||||
|
CONFIGURE_ARGS= --disable-doc
|
||||||
|
TEST_TARGET= check
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
www/libhsts/distinfo
Normal file
3
www/libhsts/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1637163857
|
||||||
|
SHA256 (libhsts-0.1.0.tar.gz) = e1125e0395b4777361eafafd61fff2b516d3f2fb57d56e40cb554a6cd8c024e0
|
||||||
|
SIZE (libhsts-0.1.0.tar.gz) = 1579851
|
10
www/libhsts/pkg-descr
Normal file
10
www/libhsts/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
The HSTS preload list is a list of domains that support HTTPS. The
|
||||||
|
list is compiled by Google and is utilised by Chrome, Firefox and
|
||||||
|
others.
|
||||||
|
|
||||||
|
With this information, a HTTP client may contact a website without
|
||||||
|
trying a plain-text HTTP connection first. It prevents interception
|
||||||
|
with redirects that take place over HTTP. None of the sent data
|
||||||
|
will ever be unencrypted.
|
||||||
|
|
||||||
|
WWW: https://gitlab.com/rockdaboot/libhsts
|
7
www/libhsts/pkg-plist
Normal file
7
www/libhsts/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
bin/hsts
|
||||||
|
include/libhsts.h
|
||||||
|
lib/libhsts.a
|
||||||
|
lib/libhsts.so
|
||||||
|
lib/libhsts.so.0
|
||||||
|
lib/libhsts.so.0.0.0
|
||||||
|
libdata/pkgconfig/libhsts.pc
|
Loading…
Add table
Reference in a new issue