pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/wget Add a "psl" option (off by default) to build ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f2f6303b6c92
branches: trunk
changeset: 383336:f2f6303b6c92
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat Jul 28 12:29:20 2018 +0000
description:
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:
net/wget/options.mk | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r fdccec854659 -r f2f6303b6c92 net/wget/options.mk
--- a/net/wget/options.mk Sat Jul 28 12:25:36 2018 +0000
+++ b/net/wget/options.mk Sat Jul 28 12:29:20 2018 +0000
@@ -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 @@
. 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
Home |
Main Index |
Thread Index |
Old Index