Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2017 07:40:17 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r443488 - in branches/2017Q2/ftp/wget: . files
Message-ID:  <201706130740.v5D7eHNw054358@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vd
Date: Tue Jun 13 07:40:17 2017
New Revision: 443488
URL: https://svnweb.freebsd.org/changeset/ports/443488

Log:
  MFH: r437857
  
  Upgrade ftp/wget from 1.19 to 1.19.1
  
  Changelog: http://git.savannah.gnu.org/cgit/wget.git/plain/NEWS
  
  - add test target and TEST_DEPENDS
  - remove gmake from USES: current version of wget can be build without
    gmake
  - unbreak IDN option: since 1.19 wget uses libidn2 instead of libidn
  - libidn2 uses libunistring from ports, so when the IDN option is enabled
    use libunistring from the ports instead of the bundled one
  - disabling pcre support using ./configure --disable-pcre currently works,
    use it
  - remove Makefile and configure patches which are no longer needed
  - patch /usr/local to $PREFIX in wget.info too
  - delete files/patch-src__main.c - this bug has been fixed
    on Mar 2, 2015 [1]
  
  [1] http://git.savannah.gnu.org/cgit/wget.git/commit/?id=9dde436dd689bd51eef71d64152dde9c8c0b5f65
  
  PR:		218408
  Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru>
  
  Approved by:	ports-secteam

Deleted:
  branches/2017Q2/ftp/wget/files/
Modified:
  branches/2017Q2/ftp/wget/Makefile
  branches/2017Q2/ftp/wget/distinfo
Directory Properties:
  branches/2017Q2/   (props changed)

Modified: branches/2017Q2/ftp/wget/Makefile
==============================================================================
--- branches/2017Q2/ftp/wget/Makefile	Tue Jun 13 06:59:20 2017	(r443487)
+++ branches/2017Q2/ftp/wget/Makefile	Tue Jun 13 07:40:17 2017	(r443488)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	wget
-DISTVERSION=	1.19
+DISTVERSION=	1.19.1
 CATEGORIES=	ftp www ipv6
 MASTER_SITES=	GNU
 
@@ -12,7 +12,10 @@ COMMENT=	Retrieve files from the Net via HTTP(S) and F
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		charsetfix cpe gmake iconv makeinfo perl5 tar:xz
+TEST_DEPENDS=	p5-HTTP-Daemon>=0:www/p5-HTTP-Daemon \
+		p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
+
+USES=		charsetfix cpe iconv makeinfo perl5 tar:xz
 USE_PERL5=	build
 CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
@@ -32,10 +35,13 @@ NLS_CONFIGURE_ENABLE=	nls
 NLS_CPPFLAGS=		-I${LOCALBASE}/include
 NLS_LDFLAGS=		-L${LOCALBASE}/lib
 
-IDN_USES=		iconv
-IDN_LIB_DEPENDS=	libidn.so:dns/libidn
+IDN_LIB_DEPENDS=	libidn2.so:dns/libidn2 \
+			libunistring.so:devel/libunistring
+IDN_CPPFLAGS=		-I${LOCALBASE}/include
+IDN_LDFLAGS=		-L${LOCALBASE}/lib
 IDN_CONFIGURE_ENABLE=	iri
-IDN_CONFIGURE_ON=	--with-libidn=${LOCALBASE}
+IDN_CONFIGURE_ON=	--with-libidn=${LOCALBASE} --with-libunistring-prefix=${LOCALBASE}
+IDN_CONFIGURE_OFF=	--with-included-libunistring
 
 METALINK_CONFIGURE_WITH=metalink
 METALINK_LIB_DEPENDS=	libmetalink.so:misc/libmetalink
@@ -43,15 +49,13 @@ METALINK_LIB_DEPENDS=	libmetalink.so:misc/libmetalink
 PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
 PCRE_CPPFLAGS=		-I${LOCALBASE}/include
 PCRE_LDFLAGS=		-L${LOCALBASE}/lib
-PCRE_CONFIGURE_ENV_OFF=	ac_cv_header_pcre_h=no
+PCRE_CONFIGURE_ENABLE=	pcre
 
 PSL_CONFIGURE_WITH=	libpsl
 PSL_LIB_DEPENDS=	libpsl.so:dns/libpsl
 
 .include <bsd.port.options.mk>
 
-CONFIGURE_ARGS+=--with-included-libunistring
-
 .if ${PORT_OPTIONS:MOPENSSL}
 USES+=		ssl
 CONFIGURE_ARGS+=--with-ssl=openssl --with-libssl-prefix=${OPENSSLBASE}
@@ -69,17 +73,13 @@ CONFIGURE_ARGS+=--without-ssl
 
 INFO=		wget
 
-# eliminate gmakism
+TEST_TARGET=	check
+
 post-patch:
-	${REINPLACE_CMD} -e 's,$$<,$$(srcdir)/wget.texi,' \
-			 -e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \
+	${REINPLACE_CMD} -e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \
 		${WRKSRC}/doc/Makefile.in
 	${REINPLACE_CMD} -e 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \
-			 -e 's,@file{},@file{${PREFIX}},' \
-		${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi
-	${REINPLACE_CMD} -e '/ac_fn_c_check_header_mongrel.*uuid\/uuid.h/ d' \
-			 -e 's|-R$$found_dir|-Wl,-rpath=$$found_dir|g' \
-		${WRKSRC}/configure
+		${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/wget.info
 
 .include <bsd.port.pre.mk>
 

Modified: branches/2017Q2/ftp/wget/distinfo
==============================================================================
--- branches/2017Q2/ftp/wget/distinfo	Tue Jun 13 06:59:20 2017	(r443487)
+++ branches/2017Q2/ftp/wget/distinfo	Tue Jun 13 07:40:17 2017	(r443488)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1486213522
-SHA256 (wget-1.19.tar.xz) = 0f1157bbf4daae19f3e1ddb70c6ccb2067feb834a6aa23c9d9daa7f048606384
-SIZE (wget-1.19.tar.xz) = 2075916
+TIMESTAMP = 1491337367
+SHA256 (wget-1.19.1.tar.xz) = 0c950b9671881222a4d385b013c9604e98a8025d1988529dfca0e93617744cd2
+SIZE (wget-1.19.1.tar.xz) = 2111756



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706130740.v5D7eHNw054358>