Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 23:35:36 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464970 - in head/archivers/unalz: . files
Message-ID:  <201803182335.w2INZalE079459@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Mar 18 23:35:36 2018
New Revision: 464970
URL: https://svnweb.freebsd.org/changeset/ports/464970

Log:
  archivers/unalz: Update to 0.66
  
  Port changes:
  * Change MASTER_SITES and WWW to https
  * Remove USES=dos2unix
  
  PR:		226227
  Submitted by:	Chris Hutchinson <portmaster@bsdforge.com> (maintainer)

Modified:
  head/archivers/unalz/Makefile
  head/archivers/unalz/distinfo
  head/archivers/unalz/files/patch-UnAlz.cpp
  head/archivers/unalz/pkg-descr

Modified: head/archivers/unalz/Makefile
==============================================================================
--- head/archivers/unalz/Makefile	Sun Mar 18 23:25:24 2018	(r464969)
+++ head/archivers/unalz/Makefile	Sun Mar 18 23:35:36 2018	(r464970)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	unalz
-PORTVERSION=	0.65
-PORTREVISION=	2
+DISTVERSION=	0.66
 CATEGORIES=	archivers
-MASTER_SITES=	http://BSDforge.com/projects/source/archivers/unalz/
+MASTER_SITES=	https://BSDforge.com/projects/source/archivers/unalz/
 
 MAINTAINER=	portmaster@BSDforge.com
 COMMENT=	Extracts AlZip archives
@@ -15,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/readme.txt
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-USES=		dos2unix iconv tar:tgz
+USES=		iconv tar:xz
 MAKE_ARGS+=	CPP="${CXX}" CC="${CC}" OBJ="${UNALZ_OBJS}" \
 		LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
 ALL_TARGET=	posix-utf8

Modified: head/archivers/unalz/distinfo
==============================================================================
--- head/archivers/unalz/distinfo	Sun Mar 18 23:25:24 2018	(r464969)
+++ head/archivers/unalz/distinfo	Sun Mar 18 23:35:36 2018	(r464970)
@@ -1,2 +1,3 @@
-SHA256 (unalz-0.65.tgz) = 4c26699eb7545072de2ef7de79b4fff1f01c4db09cebff2d8d50ec03d5d74db0
-SIZE (unalz-0.65.tgz) = 137985
+TIMESTAMP = 1521416109
+SHA256 (unalz-0.66.tar.xz) = 90f449be70a9ea4d2421ae43eadaaf12a76f0eaaeb3ba62644837387d91a94b7
+SIZE (unalz-0.66.tar.xz) = 102140

Modified: head/archivers/unalz/files/patch-UnAlz.cpp
==============================================================================
--- head/archivers/unalz/files/patch-UnAlz.cpp	Sun Mar 18 23:25:24 2018	(r464969)
+++ head/archivers/unalz/files/patch-UnAlz.cpp	Sun Mar 18 23:35:36 2018	(r464970)
@@ -1,4 +1,4 @@
---- UnAlz.cpp.orig	2016-07-26 12:39:47 UTC
+--- UnAlz.cpp.orig	2018-02-26 21:09:31 UTC
 +++ UnAlz.cpp
 @@ -37,7 +37,7 @@
  #	include <errno.h>
@@ -7,9 +7,18 @@
 -#if defined(__NetBSD__)
 +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
  #	include <sys/param.h>	// __NetBSD_Version__
- #	include <errno.h>		// iconv.h ¶§¹®¿¡ ÇÊ¿ä 
+ #	include <errno.h>		// iconv.h
  #endif
-@@ -455,7 +455,7 @@ BOOL CUnAlz::ReadLocalFileheader()
+@@ -432,7 +432,7 @@ BOOL CUnAlz::ReadLocalFileheader()
+ 	FRead(zipHeader.fileName, zipHeader.head.fileNameLength);
+ 	if(zipHeader.head.fileNameLength > MAX_PATH - 5)
+ 		zipHeader.head.fileNameLength = MAX_PATH - 5;
+-	zipHeader.fileName[zipHeader.head.fileNameLength] = (CHAR)NULL;
++	zipHeader.fileName[zipHeader.head.fileNameLength] = (CHAR)0;
+ 
+ 
+ #ifdef _UNALZ_ICONV		// codepage convert
+@@ -447,7 +447,7 @@ BOOL CUnAlz::ReadLocalFileheader()
  	size_t size;
  	char inbuf[ICONV_BUF_SIZE];
  	char outbuf[ICONV_BUF_SIZE];
@@ -18,7 +27,16 @@
  	const char *inptr = inbuf;
  #else
  	char *inptr = inbuf;
-@@ -1907,7 +1907,11 @@ void CUnAlz::DecryptingData(int nSize, B
+@@ -937,7 +937,7 @@ BOOL CUnAlz::DigPath(const char* szPathN
+ 	{
+ 		if(*last=='/' || *last=='\\') 
+ 		{
+-			*last = (char)NULL;
++			*last = (char)0;
+ 			break;
+ 		}
+ 		last --;
+@@ -1870,7 +1870,11 @@ void CUnAlz::DecryptingData(int nSize, B
  ////////////////////////////////////////////////////////////////////////////////////////////////////
  UINT32 CUnAlz::CRC32(UINT32 l, BYTE c)
  {

Modified: head/archivers/unalz/pkg-descr
==============================================================================
--- head/archivers/unalz/pkg-descr	Sun Mar 18 23:25:24 2018	(r464969)
+++ head/archivers/unalz/pkg-descr	Sun Mar 18 23:35:36 2018	(r464970)
@@ -1,4 +1,4 @@
 Unalz is a ZLIB-licensed unarchiver for AlZip format which requires
 proprietary and Win32-only software but widely used in Korea.
 
-WWW: http://BSDforge.com/projects/archivers/unalz/
+WWW: https://bsdforge.com/projects/archivers/unalz/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803182335.w2INZalE079459>