openbsd-ports/net/wget/Makefile
jasper b736114294 SECURITY FIX for CVE-2010-2252
By default, on server redirects, use the original URL to get the
local file name.

ok naddy@
additional testing by kevlo@, thanks.
2010-09-13 16:48:11 +00:00

32 lines
677 B
Makefile

# $OpenBSD: Makefile,v 1.51 2010/09/13 16:48:11 jasper Exp $
COMMENT = retrieve files from the web via HTTP, HTTPS and FTP
DISTNAME = wget-1.12
REVISION = 1
CATEGORIES = net
HOMEPAGE = http://www.gnu.org/software/wget/
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c crypto ssl
LIB_DEPENDS = idn::devel/libidn
MASTER_SITES = ${MASTER_SITE_GNU:=wget/}
MODULES = devel/gettext
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-build:
@${SUBST_CMD} ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/sample.wgetrc
.include <bsd.port.mk>