wget can use libpsl to decide whether a received cookie is acceptable.
This is advised by upstream.

Obviously you'll need the new www/libpsl port I just sent in another
mail.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/wget/Makefile,v
retrieving revision 1.68
diff -u -p -r1.68 Makefile
--- Makefile    19 Mar 2015 20:53:43 -0000      1.68
+++ Makefile    6 Apr 2015 11:16:49 -0000
@@ -3,6 +3,7 @@
 COMMENT =      retrieve files from the web via HTTP, HTTPS and FTP
 
 DISTNAME =     wget-1.16.3
+REVISION =     0
 CATEGORIES =   net
 
 HOMEPAGE =     https://www.gnu.org/software/wget/
@@ -10,9 +11,10 @@ HOMEPAGE =   https://www.gnu.org/software/
 # GPLv3
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB =              c crypto idn pcre ssl z
+WANTLIB =              c crypto idn pcre psl ssl z
 LIB_DEPENDS =          devel/libidn \
-                       devel/pcre
+                       devel/pcre \
+                       www/libpsl
 
 MASTER_SITES =         ${MASTER_SITE_GNU:=wget/}
 EXTRACT_SUFX =         .tar.xz
@@ -32,8 +34,7 @@ TEST_DEPENDS +=               www/p5-HTTP-Message sec
 FAKE_FLAGS =           sysconfdir="${PREFIX}/share/examples/wget"
 
 CONFIGURE_STYLE =      gnu
-CONFIGURE_ARGS =       --without-libpsl \
-                       --with-ssl=openssl
+CONFIGURE_ARGS =       --with-ssl=openssl
 # hack to avoid depending on python3 at build time
 CONFIGURE_ARGS +=      PYTHON="" \
                        am_cv_pathless_PYTHON="${MODPY_BIN}"


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to