head	1.76;
access;
symbols
	RELEASE_8_3_0:1.72
	RELEASE_9_0_0:1.72
	RELEASE_7_4_0:1.68
	RELEASE_8_2_0:1.68
	RELEASE_6_EOL:1.68
	RELEASE_8_1_0:1.67
	RELEASE_7_3_0:1.67
	RELEASE_8_0_0:1.64
	RELEASE_7_2_0:1.63
	RELEASE_7_1_0:1.61
	RELEASE_6_4_0:1.61
	RELEASE_5_EOL:1.59
	RELEASE_7_0_0:1.56
	RELEASE_6_3_0:1.56
	PRE_XORG_7:1.56
	RELEASE_4_EOL:1.55
	RELEASE_6_2_0:1.55
	RELEASE_6_1_0:1.52
	RELEASE_5_5_0:1.52
	RELEASE_6_0_0:1.52
	RELEASE_5_4_0:1.51
	RELEASE_4_11_0:1.49
	RELEASE_5_3_0:1.48
	RELEASE_4_10_0:1.47
	RELEASE_5_2_1:1.45
	RELEASE_5_2_0:1.45
	RELEASE_4_9_0:1.42
	RELEASE_5_1_0:1.40
	RELEASE_4_8_0:1.40
	RELEASE_5_0_0:1.39
	RELEASE_4_7_0:1.39
	RELEASE_4_6_2:1.38
	RELEASE_4_6_1:1.38
	RELEASE_4_6_0:1.38
	RELEASE_5_0_DP1:1.37
	RELEASE_4_5_0:1.37
	RELEASE_4_4_0:1.37
	RELEASE_4_3_0:1.35
	RELEASE_4_2_0:1.31
	RELEASE_4_1_1:1.31
	RELEASE_4_1_0:1.31
	RELEASE_3_5_0:1.31
	RELEASE_4_0_0:1.27
	RELEASE_3_4_0:1.27
	RELEASE_3_3_0:1.27
	RELEASE_3_2_0:1.24
	RELEASE_3_1_0:1.22
	RELEASE_2_2_8:1.21
	RELEASE_3_0_0:1.21
	RELEASE_2_2_7:1.18
	RELEASE_2_2_6:1.18
	RELEASE_2_2_5:1.15
	RELEASE_2_2_1:1.8
	RELEASE_2_2_2:1.13
	unzip:1.1.1.1;
locks; strict;
comment	@# @;


1.76
date	2013.03.02.13.44.41;	author svnexp;	state Exp;
branches;
next	1.75;

1.75
date	2012.11.17.05.54.24;	author svnexp;	state Exp;
branches;
next	1.74;

1.74
date	2012.07.25.06.32.06;	author cs;	state Exp;
branches;
next	1.73;

1.73
date	2012.05.15.06.37.53;	author ehaupt;	state Exp;
branches;
next	1.72;

1.72
date	2011.08.30.08.11.57;	author ehaupt;	state Exp;
branches;
next	1.71;

1.71
date	2011.08.30.07.14.58;	author ache;	state Exp;
branches;
next	1.70;

1.70
date	2011.05.06.13.33.17;	author tota;	state Exp;
branches;
next	1.69;

1.69
date	2011.03.25.18.47.23;	author ache;	state Exp;
branches;
next	1.68;

1.68
date	2010.09.20.06.14.24;	author ache;	state Exp;
branches;
next	1.67;

1.67
date	2009.11.06.05.18.58;	author ache;	state Exp;
branches;
next	1.66;

1.66
date	2009.10.26.15.40.48;	author ache;	state Exp;
branches;
next	1.65;

1.65
date	2009.10.26.13.27.24;	author ache;	state Exp;
branches;
next	1.64;

1.64
date	2009.08.22.00.12.55;	author amdmi3;	state Exp;
branches;
next	1.63;

1.63
date	2009.02.07.18.39.12;	author ache;	state Exp;
branches;
next	1.62;

1.62
date	2009.01.01.03.52.12;	author obrien;	state Exp;
branches;
next	1.61;

1.61
date	2008.08.03.03.40.31;	author ache;	state Exp;
branches;
next	1.60;

1.60
date	2008.07.25.09.08.38;	author pav;	state Exp;
branches;
next	1.59;

1.59
date	2008.04.03.21.43.38;	author ache;	state Exp;
branches;
next	1.58;

1.58
date	2008.04.02.15.08.01;	author ache;	state Exp;
branches;
next	1.57;

1.57
date	2008.04.02.15.04.45;	author ache;	state Exp;
branches;
next	1.56;

1.56
date	2007.02.08.18.35.00;	author ache;	state Exp;
branches;
next	1.55;

1.55
date	2006.08.23.06.34.05;	author ache;	state Exp;
branches;
next	1.54;

1.54
date	2006.08.12.13.11.23;	author ache;	state Exp;
branches;
next	1.53;

1.53
date	2006.07.28.14.42.52;	author sat;	state Exp;
branches;
next	1.52;

1.52
date	2005.09.09.18.33.17;	author ache;	state Exp;
branches;
next	1.51;

1.51
date	2005.03.01.20.24.13;	author ache;	state Exp;
branches;
next	1.50;

1.50
date	2005.03.01.05.09.30;	author ache;	state Exp;
branches;
next	1.49;

1.49
date	2004.12.06.11.48.18;	author krion;	state Exp;
branches;
next	1.48;

1.48
date	2004.05.26.17.57.29;	author ache;	state Exp;
branches;
next	1.47;

1.47
date	2004.01.21.08.20.45;	author ache;	state Exp;
branches;
next	1.46;

1.46
date	2004.01.16.01.30.59;	author ache;	state Exp;
branches;
next	1.45;

1.45
date	2003.10.26.22.57.28;	author kris;	state Exp;
branches;
next	1.44;

1.44
date	2003.10.26.21.58.50;	author kris;	state Exp;
branches;
next	1.43;

1.43
date	2003.10.25.20.03.39;	author ache;	state Exp;
branches;
next	1.42;

1.42
date	2003.07.29.03.41.53;	author ache;	state Exp;
branches;
next	1.41;

1.41
date	2003.07.28.14.43.08;	author ache;	state Exp;
branches;
next	1.40;

1.40
date	2003.03.07.05.55.13;	author ade;	state Exp;
branches;
next	1.39;

1.39
date	2002.09.14.13.31.59;	author sobomax;	state Exp;
branches;
next	1.38;

1.38
date	2002.05.08.05.21.14;	author ache;	state Exp;
branches;
next	1.37;

1.37
date	2001.08.10.13.53.32;	author ache;	state Exp;
branches;
next	1.36;

1.36
date	2001.08.10.13.39.06;	author ache;	state Exp;
branches;
next	1.35;

1.35
date	2001.02.20.18.52.44;	author ache;	state Exp;
branches;
next	1.34;

1.34
date	2001.02.14.05.41.49;	author lioux;	state Exp;
branches;
next	1.33;

1.33
date	2001.02.07.18.48.58;	author ache;	state Exp;
branches;
next	1.32;

1.32
date	2001.01.01.10.14.57;	author will;	state Exp;
branches;
next	1.31;

1.31
date	2000.05.31.10.14.33;	author sobomax;	state Exp;
branches;
next	1.30;

1.30
date	2000.04.21.14.28.02;	author ache;	state Exp;
branches;
next	1.29;

1.29
date	2000.04.13.19.39.44;	author asami;	state Exp;
branches;
next	1.28;

1.28
date	2000.04.08.23.17.55;	author mharo;	state Exp;
branches;
next	1.27;

1.27
date	99.08.31.06.40.21;	author mharo;	state Exp;
branches;
next	1.26;

1.26
date	99.08.28.01.56.54;	author mharo;	state Exp;
branches;
next	1.25;

1.25
date	99.08.25.04.25.19;	author obrien;	state Exp;
branches;
next	1.24;

1.24
date	99.04.14.00.19.27;	author scrappy;	state Exp;
branches;
next	1.23;

1.23
date	99.03.12.15.28.43;	author scrappy;	state Exp;
branches;
next	1.22;

1.22
date	98.12.28.01.43.34;	author ache;	state Exp;
branches;
next	1.21;

1.21
date	98.10.05.03.41.16;	author jkh;	state Exp;
branches;
next	1.20;

1.20
date	98.10.04.23.18.12;	author jkh;	state Exp;
branches;
next	1.19;

1.19
date	98.10.04.10.31.38;	author jkh;	state Exp;
branches;
next	1.18;

1.18
date	98.01.24.07.11.16;	author jkh;	state Exp;
branches;
next	1.17;

1.17
date	98.01.23.00.43.43;	author jseger;	state Exp;
branches;
next	1.16;

1.16
date	97.11.24.13.09.10;	author ache;	state Exp;
branches;
next	1.15;

1.15
date	97.09.18.22.23.50;	author ache;	state Exp;
branches;
next	1.14;

1.14
date	97.06.19.05.30.04;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	97.04.30.02.00.21;	author ache;	state Exp;
branches;
next	1.12;

1.12
date	97.04.29.13.07.20;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	97.04.27.15.59.09;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	97.04.27.15.58.17;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	97.04.25.23.49.03;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	97.01.06.21.43.22;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	96.11.18.13.55.59;	author asami;	state Exp;
branches;
next	1.6;

1.6
date	96.11.12.02.17.43;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	96.05.04.12.30.40;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	95.04.15.04.45.17;	author asami;	state Exp;
branches;
next	1.3;

1.3
date	95.04.01.12.43.32;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	94.12.23.10.53.21;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	94.10.17.22.57.28;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.10.17.22.57.29;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.76
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313182
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	unzip
# Date created:		17 October 1994
# Whom:			jmz
#
# $FreeBSD: head/archivers/unzip/Makefile 313182 2013-03-02 03:55:25Z eadler $
#

PORTNAME=	unzip
PORTVERSION=	6.0
PORTREVISION=	1
CATEGORIES?=	archivers
MASTER_SITES=	SF/infozip/UnZip%206.x%20%28latest%29/UnZip%20${PORTVERSION}/:main \
		SF/infozip/UnZip%205.x%20and%20earlier/5.51/:unreduce
DISTNAME=	${PORTNAME}60
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:main

MAINTAINER?=	ehaupt@@FreeBSD.org
COMMENT?=	List, test, and extract compressed files in a ZIP archive

LICENSE=	Info-ZIP
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_NAME=	Info-ZIP license
LICENSE_FILE=	${WRKSRC}/LICENSE

CONFLICTS?=	unzip-iconv-[0-9]* zh-unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]*

MAKEFILE=	unix/Makefile
MAKE_ARGS=	LF2="${STRIP}"
.if defined(INSTALL_AS_INFOUNZIP)
UNZIP_NAME=	info-unzip
.else
UNZIP_NAME=	unzip
.endif
PLIST_FILES=	bin/${UNZIP_NAME} bin/funzip bin/unzipsfx bin/zipgrep bin/zipinfo
PORTDOCS=	README WHERE
MAN1=		${UNZIP_NAME}.1 funzip.1 unzipsfx.1 zipgrep.1 zipinfo.1

LOCAL_UNZIP=	${CFLAGS} -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR \
		-DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -D_MBCS \
		-DLARGE_FILE_SUPPORT

.if defined(WITH_UNZIP_UNREDUCE)
DISTFILES+=	unreduce_full.zip:unreduce
EXTRACT_ONLY+=	${DISTNAME}${EXTRACT_SUFX}
LOCAL_UNZIP+=	-DUSE_SMITH_CODE
.endif

.if defined(WITH_ICONV)
PATCH_SITES+=		${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR=	nork
PATCHFILES+=		unzip60-alt-iconv-utf8.patch
PATCH_DIST_STRIP+=	-p1
USE_ICONV=		yes
CFLAGS+=		-I${LOCALBASE}/include -DNATIVE
MAKE_ARGS+=		LFLAGS1="-L${LOCALBASE}/lib -liconv"
.endif

MAKE_ENV=	LOCAL_UNZIP="${LOCAL_UNZIP}" \
		D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2

.ifdef USE_UNZIP
.error You have `USE_UNZIP' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
ALL_TARGET=	freebsd
.else
ALL_TARGET=	bsd
.endif

.if !defined(INSTALL_AS_INFOUNZIP)
pre-fetch:
	@@${ECHO} ""
	@@${ECHO} "Use INSTALL_AS_INFOUNZIP=yes to install Info Unzip as ${PREFIX}/bin/info-unzip"
	@@${ECHO} ""
.endif

.if defined(WITH_UNZIP_UNREDUCE)
pre-build:
	@@(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} CFLAGS="${CFLAGS}" unzip)
	@@(cd ${WRKSRC}; \
		./unzip -o ${_DISTDIR}unreduce_full.zip; \
		${MV} unreduce_full.c unreduce.c)
	@@(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} clean)
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/unzip ${PREFIX}/bin/${UNZIP_NAME}
.for file in funzip unzipsfx
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
	${LN} -sf ${UNZIP_NAME} ${PREFIX}/bin/zipinfo
	${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/man/unzip.1 ${MAN1PREFIX}/man/man1/${UNZIP_NAME}.1
.for f in ${MAN1:Nunzip.1:Ninfo-unzip.1}
	${INSTALL_MAN} ${WRKSRC}/man/${f} ${MAN1PREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>
@


1.75
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/archivers/unzip/Makefile 301510 2012-07-25 06:32:06Z cs $
d21 1
a21 1
LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
@


1.74
log
@SVN rev 301510 on 2012-07-25 06:32:06Z by cs

Fix typos in COMMENT
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.73
log
@Respect STRIP (eg. if WITH_DEBUG is defined)

PR:		167816
Submitted by:	Jan Beich <jbeich@@tormail.org>
@
text
@d18 1
a18 1
COMMENT?=	List, test and extract compressed files in a ZIP archive
@


1.72
log
@Take maintainership
@
text
@d28 1
@


1.71
log
@Remove myself from MAINTAINER
@
text
@d17 1
a17 1
MAINTAINER?=	ports@@FreeBSD.org
@


1.70
log
@- Set CONFLICTS with unzip-iconv [1]
  * Forget to commit on 2011-05-04 23:36:34 UTC
- Bump PORTREVISION

PR:		ports/152006 [1]
Submitted by:	KOMATSU Shinichiro <koma2_AT_lovepeers_DOT_org> [1]
@
text
@d17 1
a17 1
MAINTAINER?=	ache@@FreeBSD.org
@


1.69
log
@- add LICENSE_FILE
- whitespace cleanup
- add CONFLICTS

PR:             155926
Submitted by:   Takefu <takefu@@airport.fm>
@
text
@d10 1
d25 1
a25 1
CONFLICTS?=	zh-unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]*
@


1.68
log
@Add optional (WITH_ICONV) patch to convert between local and OEM charsets.

PR:             150699
Submitted by:   KOMATSU Shinichiro <koma2@@lovepeers.org>
@
text
@d12 1
a12 1
	     	SF/infozip/UnZip%205.x%20and%20earlier/5.51/:unreduce
d19 7
d42 1
a42 1
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
d47 1
a47 1
PATCH_SITES=		${MASTER_SITE_LOCAL}
d49 2
a50 2
PATCHFILES=		unzip60-alt-iconv-utf8.patch
PATCH_DIST_STRIP=	-p1
d80 1
a80 1
	@@(cd ${BUILD_WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} unzip)
@


1.67
log
@For unknown reason bsd.port.mk's eval dislike ( and ) in the path, when
MASTER_SITE_BACKUP with ${MASTER_SITES:S/%SUBDIR%/${MASTER_SITE_SUBDIR}/}
at the end and MASTER_SITE_OVERRIDE ?= ${MASTER_SITE_BACKUP} are used
together in /etc/make.conf.

So, use simple workaround: replace ( and ) by their URL-encoded %-codes.

(There is the bug in that area still remains, but not fatal:
the combination above don't understand properly ending :tags sometimes
and tries mass fetching with ending :tags unstripped.
Someone should look at that whole bsd.ports.mk/bsd.sites.mk mess)

While I am here, slightly rearrange ending :tags.
@
text
@d39 10
@


1.66
log
@Remove -DUNICODE_WCHAR, too early
@
text
@d11 2
a12 2
MASTER_SITES=	SF/infozip/UnZip%206.x%20(latest)/UnZip%20${PORTVERSION} \
		SF/infozip/UnZip%205.x%20and%20earlier/5.51:unreduce
d14 1
d34 2
a35 2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} unreduce_full.zip:unreduce
EXTRACT_ONLY=	${PORTNAME}60.tar.gz
@


1.65
log
@Upgrade to 6.0

PR:             139971
@
text
@d29 1
a29 1
		-DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -D_MBCS \
@


1.64
log
@- Switch SourceForge ports to the new File Release System: categories starting with A
@
text
@d9 1
a9 2
PORTVERSION=	5.52
PORTREVISION=	5
d11 3
a13 2
MASTER_SITES=	SF/infozip/UnZip%205.x%20and%20earlier/${PORTVERSION}
DISTNAME=	${PORTNAME}552
a17 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
d28 3
a30 2
CFLAGS+=	-D_FILE_OFFSET_BITS=64
LOCAL_UNZIP=	${CFLAGS} -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR
d33 2
a34 2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} unreduce_full.zip
EXTRACT_ONLY=	${PORTNAME}552.tar.gz
d38 2
a39 1
MAKE_ENV=	LOCAL_UNZIP="${LOCAL_UNZIP}"
@


1.63
log
@Fix missing quote in prev change

PR:             131283
Submitted by:   Dmitry <dmitry2006@@yandex.ru>
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	infozip
@


1.62
log
@Set INSTALL_AS_INFOUNZIP=yes to install as ${PREFIX}/bin/info-unzip.

Approved by:	ache
@
text
@d57 1
a57 1
	@@${ECHO} "
@


1.61
log
@Switch to SF master
@
text
@d21 6
a26 1
PLIST_FILES=	bin/unzip bin/funzip bin/unzipsfx bin/zipgrep bin/zipinfo
d28 1
a28 1
MAN1=		funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1
d53 7
d70 2
a71 1
.for file in funzip unzip unzipsfx
d74 1
a74 1
	${LN} -sf unzip ${PREFIX}/bin/zipinfo
d76 2
a77 1
.for f in ${MAN1}
@


1.60
log
@- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
@
text
@d12 2
a13 2
MASTER_SITES=	ftp://ftp.info-zip.org/pub/infozip/src/ ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR=	tools/zip/info-zip/src
@


1.59
log
@Honor CC
Reorganize LOCAL_UNZIP

PR:             122389
Submitted by:   Frank Fenor <frank@@fenor.de> (CC part)
@
text
@d34 1
a34 1
MAKE_ENV=	CC="${CC}" LOCAL_UNZIP="${LOCAL_UNZIP}"
@


1.58
log
@USE_UNSHRINK becomes default long time ago, remove it
@
text
@d10 1
a10 1
PORTREVISION=	4
a20 1
MAKE_ENV=	LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK"
d24 1
d26 1
d31 1
a31 2
MAKE_ENV=	LOCAL_UNZIP="${CFLAGS} \
	-DUSE_SMITH_CODE -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR"
d34 2
@


1.57
log
@Security fixes adopted/reimplemented from Debian:
CVE-2008-0888, CVE-2005-4667, CAN-2005-2475
Enable ACORN_FTYPE_NFS and WILD_STOP_AT_DIR options

PR:             122367
Submitted by:   Tsurutani Naoki <turutani@@scphys.kyoto-u.ac.jp>
@
text
@d31 1
a31 1
	-DUSE_UNSHRINK -DUSE_SMITH_CODE -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR"
@


1.56
log
@Make it work with files >2Gb in archives

PR:             108799
Submitted by:   "George L. Yermulnik" <yz@@yz.kiev.ua>
@
text
@d10 1
a10 1
PORTREVISION=	3
d30 2
a31 1
MAKE_ENV=	LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK -DUSE_SMITH_CODE"
@


1.55
log
@TARGETDIR -> PREFIX
@
text
@d10 1
a10 1
PORTREVISION=	2
d25 1
@


1.54
log
@- Respect DESTDIR
- Eliminate plist

PR:             101816
Submitted by:   gabor
@
text
@d55 1
a55 1
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${TARGETDIR}/bin
d57 2
a58 2
	${LN} -sf unzip ${TARGETDIR}/bin/zipinfo
	${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${TARGETDIR}/bin
@


1.53
log
@- Rid the tree of double slashes in URL paths
@
text
@d22 2
d55 1
a55 1
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
d57 2
a58 2
	${LN} -sf unzip ${PREFIX}/bin/zipinfo
	${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${PREFIX}/bin
d60 1
a60 1
	${INSTALL_MAN} ${WRKSRC}/man/${f} ${PREFIX}/man/man1
d63 3
a65 3
	@@${MKDIR} ${PREFIX}/share/doc/unzip
.for f in README WHERE
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/unzip
@


1.52
log
@unzip TOCTOU file-permissions vulnerability
(submitted patch slightly modified)

PR:     85920
Submitted by:   Marcus Alves Grando <marcus@@corp.grupos.com.br>
@
text
@d12 2
a13 2
MASTER_SITES=	ftp://ftp.info-zip.org/pub/infozip/src/ \
		${MASTER_SITE_TEX_CTAN:S,%SUBDIR%,tools/zip/info-zip/src/,}
@


1.51
log
@Upgdrade to Feb 28 version
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.50
log
@Upgrade to 5.52

PR:             78200
@
text
@d10 1
@


1.49
log
@Portlint(1)
@
text
@d9 1
a9 1
PORTVERSION=	5.51
d13 1
a13 1
DISTNAME=	${PORTNAME}551
d25 1
a25 1
EXTRACT_ONLY=	${PORTNAME}551.tar.gz
@


1.48
log
@Upgrade to 5.51
@
text
@d24 1
a24 1
DISTFILES=      ${DISTNAME}${EXTRACT_SUFX} unreduce_full.zip
@


1.47
log
@Fix WITH_UNZIP_UNREDUCE case

Submitted by:   nork
@
text
@d9 1
a9 2
PORTVERSION=	5.50
PORTREVISION=   2
d13 1
a13 1
DISTNAME=	${PORTNAME}550
d25 1
a25 1
EXTRACT_ONLY=	${PORTNAME}550.tar.gz
@


1.46
log
@Fix plist construction and silence portlint

PR:             61366
Submitted by:   Matthias Andree <matthias.andree@@gmx.de>
@
text
@d10 1
a10 1
PORTREVISION=	2
d25 1
a25 1
DISTFILES+=	unreduce_full.zip
@


1.45
log
@portlint (DISTFILES -> DISTNAME,EXTRACT_SUFX; silence possible errors from
@@unexec)
@
text
@d57 2
a58 2
.for file in ${MAN1}
	${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man1
d62 2
a63 2
.for file in README WHERE
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/unzip
@


1.44
log
@portlint (fix whitespace)
@
text
@d14 1
a14 1
DISTFILES=	${PORTNAME}550.tar.gz
@


1.43
log
@Fixes to make slave ports happy

PR:             58268
Submitted by:   Oliver Eikemeier <eikemeier@@fillmore-labs.com>
@
text
@d9 4
a12 4
PORTVERSION=    5.50
PORTREVISION=   2
CATEGORIES?=    archivers
MASTER_SITES=   ftp://ftp.info-zip.org/pub/infozip/src/ \
d14 1
a14 1
DISTFILES=      ${PORTNAME}550.tar.gz
d16 2
a17 2
MAINTAINER?=    ache@@FreeBSD.org
COMMENT?=       List, test and extract compressed files in a ZIP archive
d21 1
a21 1
MAKE_ENV=       LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK"
d25 3
a27 3
DISTFILES+=     unreduce_full.zip
EXTRACT_ONLY=   ${PORTNAME}550.tar.gz
MAKE_ENV=       LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK -DUSE_SMITH_CODE"
d37 1
a37 1
ALL_TARGET=     freebsd
d39 1
a39 1
ALL_TARGET=     bsd
@


1.42
log
@Use better ../ & control vulnerability fix

Submitted by:   ITO Tsuyoshi <tsuyoshi@@is.s.u-tokyo.ac.jp>
@
text
@d11 1
a11 1
CATEGORIES=	archivers
d16 2
a17 2
MAINTAINER=	ache@@FreeBSD.org
COMMENT=	List, test and extract compressed files in a ZIP archive
@


1.41
log
@Close vulnerability with control char between two dots.
Allow 255 char in file names.
@
text
@d10 1
a10 1
PORTREVISION=   1
@


1.40
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d10 1
@


1.39
log
@Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents
infinite fork loop when the user defines corresponding USE_XXX in global
make.conf, command line or environment.

Similar devices should probably be inserted into ports that might be inserted
into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk
and so on.)
@
text
@d16 1
@


1.38
log
@Upgrade to 5.50
@
text
@d28 4
@


1.37
log
@DISTDIR -> _DISTDIR
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.36 2001/08/10 13:39:06 ache Exp $
d9 1
a9 1
PORTVERSION=	5.42
d11 1
a11 1
MASTER_SITES=   ftp://ftp.icce.rug.nl/infozip/src/ \
d13 1
a13 1
DISTFILES=      ${PORTNAME}542.tar.gz
d24 1
a24 1
EXTRACT_ONLY=   ${PORTNAME}542.tar.gz
d31 1
a31 1
ALL_TARGET=	freebsd
d33 1
a33 1
ALL_TARGET=	bsd
@


1.36
log
@Replace dead master sites
Add WITH_UNZIP_UNREDUCE option
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.35 2001/02/20 18:52:44 ache Exp $
d40 1
a40 1
		./unzip -o ${DISTDIR}/unreduce_full.zip; \
@


1.35
log
@Add mirrors

Submitted by:	Jun Kuriyama <kuriyama@@imgsrc.co.jp>
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.34 2001/02/14 05:41:49 lioux Exp $
d11 1
a11 1
MASTER_SITES=	ftp://ftp.freesoftware.com/pub/infozip/src/ \
d13 1
a13 1
DISTNAME=	${PORTNAME}542
d19 1
a19 1
MAKE_FLAGS=	LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK" -f
d22 6
d34 9
@


1.34
log
@typo clean up police: \s -> \t
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.33 2001/02/07 18:48:58 ache Exp $
d11 2
a12 1
MASTER_SITES=	ftp://ftp.freesoftware.com/pub/infozip/src/
@


1.33
log
@Upgrade to 5.42
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.32 2001/01/01 10:14:57 will Exp $
d9 1
a9 1
PORTVERSION=    5.42
d12 1
a12 1
DISTNAME=       ${PORTNAME}542
d18 1
a18 1
MAKE_FLAGS=     LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK" -f
@


1.32
log
@Goodbye, YEAR2000.  Hello, 2001.

Approved by:	asami
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.31 2000/05/31 10:14:33 sobomax Exp $
d9 1
a9 1
PORTVERSION=	5.41
d12 1
a12 1
DISTNAME=	${PORTNAME}541
d18 1
a18 1
MAKE_FLAGS=	LOCAL_UNZIP="${CFLAGS} -DUSE_SMITH_CODE -DUSE_UNSHRINK" -f
d40 1
a40 1
.for file in README COPYING WHERE
@


1.31
log
@From Kato's PR:
- Support CFLAGS/ARCH properly
- Support NOPORTDOCS

Plus my own:
- Remove ftp://... line from the comments section of Makefile
- Adjust WWW line to be http:// instead of ftp://

PR:		18904
Submitted by:	KATO Tsuguru <tkato@@prontomail.ne.jp>
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.30 2000/04/21 14:28:02 ache Exp $
a14 2

Y2K=		ftp://ftp.info-zip.org/pub/infozip/FAQ.html#Y2K
@


1.30
log
@Upgrade to 5.41
@
text
@d1 3
a3 4
# New ports collection makefile for:    unzip
# ftp://ftp.info-zip.org/pub/infozip/Info-ZIP.html
# Date created:         17 October 1994
# Whom:                 jmz
d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.29 2000/04/13 19:39:44 asami Exp $
d9 1
a9 1
PORTVERSION=    5.41
d11 2
a12 2
MASTER_SITES=   ftp://ftp.freesoftware.com/pub/infozip/src/
DISTNAME=       unzip541
d16 1
a16 1
Y2K=            ftp://ftp.info-zip.org/pub/infozip/FAQ.html#Y2K
d18 12
a29 4
WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKEFILE=       unix/Makefile
MAKE_FLAGS=     LOCAL_UNZIP="${CFLAGS} -DUSE_SMITH_CODE -DUSE_UNSHRINK" -f
MAN1=           funzip.1 unzip.1 unzipsfx.1 zipgrep.1 zipinfo.1
d32 3
a34 2
	cd ${WRKSRC} && \
		${INSTALL_PROGRAM} unzip funzip unzipsfx ${PREFIX}/bin
d36 10
a45 9
	cd ${WRKSRC}/unix && \
		${INSTALL_SCRIPT} zipgrep ${PREFIX}/bin
	cd ${WRKSRC}/man && \
		${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
	${INSTALL} -d -m 555 -o ${SHAREOWN} -g ${SHAREGRP} ${PREFIX}/share/doc/unzip
	cd ${WRKSRC} && \
		${INSTALL_DATA} README COPYING WHERE ${PREFIX}/share/doc/unzip

.include <bsd.port.mk>
d47 1
a47 5
.if ${ARCH} == "alpha"
ALL_TARGET=	bsd
.else
ALL_TARGET=     freebsd
.endif
@


1.29
log
@Fix up PORTNAME/PORTVERSION.

PR:		17986
Submitted by:	dirk.meyer@@dinoex.sub.org
@
text
@d2 1
d6 1
a6 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.28 2000/04/08 23:17:55 mharo Exp $
d10 1
a10 1
PORTVERSION=	5.40
d12 2
a13 2
MASTER_SITES=	ftp://ftp.cdrom.com/pub/infozip/src/
DISTNAME=	unzip540
d17 1
a17 1
Y2K=		http://www.cdrom.com/pub/infozip/FAQ.html#Y2K
d19 1
a19 1
WRKSRC=         ${WRKDIR}/unzip-5.40
d21 1
a21 1
MAKE_FLAGS=     LOCAL_UNZIP="${CFLAGS} -DUSE_UNSHRINK" -f
d30 1
a30 1
	cd ${WRKSRC}/unix && \
@


1.28
log
@update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.27 1999/08/31 06:40:21 mharo Exp $
d8 2
a9 2
PORTNAME=	unzip-5.40
PORTVERSION=	unzip-5.40
@


1.27
log
@FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
@
text
@a1 1
# Version required:     5.*
d5 1
a5 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.26 1999/08/28 01:56:54 mharo Exp $
d8 2
a9 2
DISTNAME=       unzip540
PKGNAME=        unzip-5.40
d11 2
a12 1
MASTER_SITES=   ftp://ftp.cdrom.com/pub/infozip/src/
d14 1
a14 1
MAINTAINER=     ache@@FreeBSD.org
@


1.26
log
@ln -> ${LN}
@
text
@d6 1
a6 1
# $FreeBSD: ports/archivers/unzip/Makefile,v 1.25 1999/08/25 04:25:19 obrien Exp $
d14 1
a14 1
MAINTAINER=     ache@@FreeBSD.ORG
@


1.25
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d26 1
a26 1
	ln -sf unzip ${PREFIX}/bin/zipinfo
@


1.24
log
@Moving WWW_SITE to DESCR file ...
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.23 1999/03/12 15:28:43 scrappy Exp $
@


1.23
log
@More Y2K/WWW_SITE links added...
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.22 1998/12/28 01:43:34 ache Exp $
a16 1
WWW_SITE=	http://www.cdrom.com/pub/infozip/UnZip.html
@


1.22
log
@upgrade to 5.40
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.21 1998/10/05 03:41:16 jkh Exp $
d15 3
@


1.21
log
@Urk, do this so it actually works.  Sorry guys.
@
text
@d2 1
a2 1
# Version required:     5.3.2
d6 1
a6 1
# $Id: Makefile,v 1.20 1998/10/04 23:18:12 jkh Exp $
d9 2
a10 2
DISTNAME=	unzip532
PKGNAME=	unzip-5.3.2
d16 1
a16 1
WRKSRC=		${WRKDIR}/unzip-5.32
@


1.20
log
@s/MACHINE_ARCH/ARCH/

Suggested by:	Bill Fenner
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.19 1998/10/04 10:31:38 jkh Exp $
a17 5
.if ${ARCH} == alpha
ALL_TARGET=	bsd
.else
ALL_TARGET=     freebsd
.endif
d34 6
@


1.19
log
@Make this work on the ALPHA
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.18 1998/01/24 07:11:16 jkh Exp $
d18 1
a18 1
.if ${MACHINE_ARCH} == alpha
@


1.18
log
@Unbugger WRKSRC value.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.17 1998/01/23 00:43:43 jseger Exp $
d18 3
d22 1
@


1.17
log
@portlint
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.16 1997/11/24 13:09:10 ache Exp $
d16 1
a16 1
WRKSRC=		${WRKDIR}/${PKGNAME}
@


1.16
log
@Upgrade to 5.3.2
Submitted by: markm
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.15 1997/09/18 22:23:50 ache Exp $
d9 2
a10 1
DISTNAME=       unzip-5.3.2
a12 1
DISTFILES=      unzip532.tar.gz
d16 1
a16 1
WRKSRC=		${WRKDIR}/unzip-5.32
@


1.15
log
@Use freebsd: bulding target, faster i386 crc
@
text
@d2 1
a2 1
# Version required:     5.3.1
d6 1
a6 1
# $Id: Makefile,v 1.14 1997/06/19 05:30:04 ache Exp $
d9 1
a9 1
DISTNAME=       unzip-5.3.1
d12 1
a12 1
DISTFILES=      unzip531.tar.gz
d16 1
a16 1
NO_WRKSUBDIR=   YES
d30 1
a30 1
	install -d -m 555 -o ${SHAREOWN} -g ${SHAREGRP} ${PREFIX}/share/doc/unzip
d32 1
a32 1
		${INSTALL_DATA} README Where COPYING ${PREFIX}/share/doc/unzip
@


1.14
log
@Upgrade to 5.3.1
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.13 1997/04/30 02:00:21 ache Exp $
d18 1
a18 1
ALL_TARGET=     bsd
@


1.13
log
@Include junk files into binary distribution as required
@
text
@d2 1
a2 1
# Version required:     5.3
d6 1
a6 1
# $Id: Makefile,v 1.8 1997/01/06 21:43:22 ache Exp $
d9 1
a9 1
DISTNAME=       unzip-5.3
d12 1
a12 1
DISTFILES=      unzip53.tar.gz
@


1.12
log
@Turn on unshrink method
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.11 1997/04/27 15:59:09 ache Exp $
d30 3
@


1.11
log
@Add zipgrep, misc cleanup
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1997/01/06 21:43:22 ache Exp $
d19 1
a19 1
MAKE_FLAGS=     LOCAL_UNZIP="${CFLAGS}" -f
@


1.10
log
@Add zipgrep, misc cleanup
@
text
@d1 1
a1 3
# New ports collection makefile for:    unzip.with_encryption
# http://infozip.cdrom.com/pub/infozip/
#
d3 2
a4 2
# Date created:         22 Dec 1994
# Whom:                 ache
d6 1
a6 1
# $Id: Makefile,v 1.22 1997/01/06 21:40:46 ache Exp $
d9 1
a9 2
DISTNAME=       unzip53
PKGNAME=        unzip+crypt-5.3
d11 2
a12 2
MASTER_SITES=   ftp://ftp.icce.rug.nl/infozip/OLD/beta/
DISTFILES=      unzip53.zip zcrypt27.zip
d16 1
a16 6
BUILD_DEPENDS=  unzip:${PORTSDIR}/archivers/unzip

RESTRICTED=	"This program can't be imported/re-exported from USA"
EXTRACT_CMD=    unzip
EXTRACT_ARGS=   -oq
NO_WRKSUBDIR=   yes
d19 1
a19 1
MAKE_FLAGS=     LOCAL_UNZIP="${CFLAGS} -DUSE_SMITH_CODE -DUSE_UNSHRINK" -f
@


1.9
log
@Upgrade to 5.3
@
text
@d1 3
a3 1
# New ports collection makefile for:    unzip
d5 2
a6 2
# Date created:         17 October 1994
# Whom:                 jmz
d8 1
a8 1
# $Id: Makefile,v 1.8 1997/01/06 21:43:22 ache Exp $
d11 2
a12 1
DISTNAME=       unzip-5.3
d14 2
a15 2
MASTER_SITES=   ftp://ftp.cdrom.com/pub/infozip/src/
DISTFILES=      unzip53.tar.gz
d19 6
a24 1
NO_WRKSUBDIR=   YES
d27 11
a37 4
MAKE_FLAGS=     LOCAL_UNZIP="${CFLAGS}" \
		INSTALL="install -c -o bin -g bin" \
		prefix=${PREFIX} -f
MAN1=		funzip.1 unzip.1 unzipsfx.1 zipinfo.1
@


1.8
log
@mastersite/distfile changes
@
text
@d2 1
a2 1
# Version required:     5.2
d6 1
a6 1
# $Id: Makefile,v 1.7 1996/11/18 13:55:59 asami Exp $
d9 1
a9 1
DISTNAME=       unzip-5.2
d12 1
a12 1
DISTFILES=      unzip52.tar.gz
d16 1
@


1.7
log
@Compress a bunch of manpages.  Remove unnecessary @@ directives from
PLISTs.

Note: I know that this is going to break some symlinks and/or .so
includes, I will back some of these out as I run into these during
package building.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1996/11/12 02:17:43 obrien Exp $
d11 2
a12 2
MASTER_SITES=   ftp://quest.jpl.nasa.gov/pub/
DISTFILES=      unzip52.tar.Z
@


1.6
log
@CATAGORIES+= -> CATAGORIES=
Reordered vars where needed.  Added MAINTAINERS where needed, many
mkdir --> ${MKDIR}, install -> ${INSTALL_*}, etc.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1996/05/04 12:30:40 ache Exp $
d21 1
@


1.5
log
@Upgrade to 5.2 (official release)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1995/04/15 04:45:17 asami Exp $
d10 1
a10 1
CATEGORIES+=	archivers
@


1.4
log
@The rest of the archiver Makefiles.  (I've already fixed Andrey's
Makefiles before.)
@
text
@d2 1
a2 1
# Version required:     5.12
d6 1
a6 1
# $Id$
d9 1
a9 1
DISTNAME=	unzip-5.12
d11 4
a14 2
MASTER_SITES=	ftp://garbo.uwasa.fi/unix/arcers/
DISTFILES=	unzip512.tar.Z
d18 1
a18 1
MAKE_FLAGS=     LOCAL_UNZIP="-O2 -DCHECK_EOF" \
a20 4

pre-install:
	@@mkdir -p ${PREFIX}/bin
	@@mkdir -p ${PREFIX}/man/man1
@


1.3
log
@Add CATEGORIES lines to a whole bunch of port Makefiles.  Some ports are in
multiple catagories - I'll expect the various MAINTAINERS to make further
adjustments (and add any KEYWORDS lines) themselves.
@
text
@d1 8
a8 1
DISTFILES=	unzip512.tar.Z
d10 1
d12 2
a13 1
CATEGORIES+=	archivers
@


1.2
log
@Cleanup.
@
text
@d4 1
@


1.1
log
@Initial revision
@
text
@d4 5
a8 2

MAKEFILE=	Xmakefile
@


1.1.1.1
log
@Jean-Marc Zucconi's unzip port.
Submitted by:	jmz
@
text
@@
