1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/archivers/gzip/Makefile
Simon L. B. Nielsen df948e0eb1 Fix directory traversal and permission race security vulnerabilities in
gzip, and zgrep improper argument sanitation.

Security:	CAN-2005-0758, CAN-2005-0988, CAN-2005-1228
Security:	FreeBSD-SA-05:11.gzip
Obtained from:	RedHat, Steve Grubb via RedHat, Debian
Approved by:	maintainer timeout (4 days; security)
2005-06-22 22:44:41 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: gzip
# Date created: 27 July 2002
# Whom: cyrille.lefevre@laposte.net
#
# $FreeBSD$
#
PORTNAME= gzip
PORTVERSION= 1.3.5
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= ftp://sunfreeware.risq.qc.ca/SOURCES/ \
ftp://sunsite.cnlab-switch.ch/mirror/solaris-freeware/SOURCES/ \
ftp://ftp.ibiblio.org/pub/packages/solaris/freeware/SOURCES/ \
ftp://sunsite.belnet.be/mirror/ftp.sunfreeware.com/pub/freeware/SOURCES/ \
ftp://planetmirror.com/pub/sunfreeware/SOURCES/
EXTRACT_SUFX= .tar.Z
MAINTAINER= cyrille.lefevre@laposte.net
COMMENT= A compression utility designed to be a replacement for compress
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= gunzip.1 gzexe.1 gzip.1 zcat.1 zcmp.1 zdiff.1 zforce.1 \
zgrep.1 zless.1 zmore.1 znew.1
INFO= gzip
DOC_FILES= AUTHORS COPYING INSTALL NEWS README README-alpha \
THANKS TODO
post-configure:
@${REINPLACE_CMD} -e 's|^SHELL =.*|SHELL=/bin/sh|' ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>