diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2018-07-28 12:29:20 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2018-07-28 12:29:20 +0000 |
commit | 4f838e165cc1e2196fe2954184da69197483d0cc (patch) | |
tree | 76de3441f6365d7208f294ae2753f06e40271d86 /net | |
parent | 2b1c55a34781856ea8f1e7bfa2171b96224b9d9f (diff) | |
download | pkgsrc-4f838e165cc1e2196fe2954184da69197483d0cc.tar.gz |
Add a "psl" option (off by default) to build wget with PSL.
This improves privacy by restricting cookies to a well-known list of
public suffixes.
We can consider turning that option on by default in the future.
Fixes PR pkg/53459.
Diffstat (limited to 'net')
-rw-r--r-- | net/wget/options.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/net/wget/options.mk b/net/wget/options.mk index e5c60b247fe..cfa24d8e4a2 100644 --- a/net/wget/options.mk +++ b/net/wget/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.10 2017/11/14 09:51:13 leot Exp $ +# $NetBSD: options.mk,v 1.11 2018/07/28 12:29:20 bsiegert Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.wget -PKG_SUPPORTED_OPTIONS= idn inet6 +PKG_SUPPORTED_OPTIONS= idn inet6 psl PKG_OPTIONS_REQUIRED_GROUPS= ssl PKG_OPTIONS_GROUP.ssl= gnutls openssl PKG_SUGGESTED_OPTIONS= idn inet6 openssl @@ -38,3 +38,13 @@ CONFIGURE_ARGS+=--with-ssl=gnutls . include "../../security/openssl/buildlink3.mk" CONFIGURE_ARGS+=--with-ssl=openssl .endif + +### +### Support Public Suffix List +### +.if !empty(PKG_OPTIONS:Mpsl) +. include "../../www/libpsl/buildlink3.mk" +CONFIGURE_ARGS+=--with-libpsl +.else +CONFIGURE_ARGS+=--without-libpsl +.endif |