jca c7a100fc59 Fix an OpenSSL regression in wget-1.16: by default TLSv1.0 *only* is
used, instead of TLSv1+.  Similar fix for the "pfs" setting.
Report and tests by Mikolaj Kucharski, ok sthen@
2014-11-20 10:38:51 +00:00

50 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.65 2014/11/20 10:38:51 jca Exp $
COMMENT = retrieve files from the web via HTTP, HTTPS and FTP
DISTNAME = wget-1.16
REVISION = 0
CATEGORIES = net
HOMEPAGE = https://www.gnu.org/software/wget/
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c crypto idn pcre ssl z
LIB_DEPENDS = devel/libidn \
devel/pcre
MASTER_SITES = ${MASTER_SITE_GNU:=wget/}
EXTRACT_SUFX = .tar.xz
MODULES = devel/gettext
# some regression tests require python3
MODULES += lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_BUILDDEP = No
MODPY_RUNDEP = No
TEST_DEPENDS = www/p5-HTTP-Daemon ${MODPY_RUN_DEPENDS}
# Test-proxied-https-auth.px
TEST_DEPENDS += www/p5-HTTP-Message security/p5-IO-Socket-SSL
FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/wget"
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --without-libpsl --with-ssl=openssl
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# do not pick up libuuid from sysutils/e2fsprogs
CONFIGURE_ENV += ac_cv_header_uuid_uuid_h=no
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/build-aux
pre-build:
@${SUBST_CMD} ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/sample.wgetrc
pre-test:
@ln -s ${MODPY_BIN} ${WRKDIR}/bin/python3
.include <bsd.port.mk>