a69012ebd6
allow files to be written outside the download directory. http://marc.theaimsgroup.com/?l=bugtraq&m=87602746719482 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1344
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.34 2002/12/10 18:37:24 brad Exp $
|
|
|
|
COMMENT= "retrieve files from the 'net via HTTP and FTP"
|
|
|
|
DISTNAME= wget-1.7
|
|
PKGNAME= ${DISTNAME}p1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=wget/}
|
|
MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
|
|
|
|
PATCHFILES= wget-17-v6-20010716a.diff.gz:0
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/wget/
|
|
|
|
MODULES= gettext
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
|
|
patch-*
|
|
|
|
USE_GMAKE= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --enable-ipv6
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib -lintl" \
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC}; touch configure
|
|
|
|
pre-build:
|
|
@mv -f ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/wget.texi.bak
|
|
@sed -e s#/usr/local/etc#${SYSCONFDIR}#g \
|
|
-e s#/usr/local#${PREFIX}#g \
|
|
${WRKSRC}/doc/wget.texi.bak > ${WRKSRC}/doc/wget.texi
|
|
@mv -f ${WRKSRC}/doc/sample.wgetrc ${WRKSRC}/doc/sample.wgetrc.bak
|
|
@sed -e s#/usr/local/etc#${SYSCONFDIR}#g \
|
|
${WRKSRC}/doc/sample.wgetrc.bak > ${WRKSRC}/doc/sample.wgetrc
|
|
|
|
.include <bsd.port.mk>
|