Commit graph

79 commits

Author SHA1 Message Date
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
kamil
5d79887451 p7zip: Enforce C++03
Clang 7svn defaults to C++11 and this code is not building with it.
This switch fixes the build.
2018-03-21 18:47:02 +00:00
sevan
99cf8dba3b Add patch for CVE-2016-9296 https://sourceforge.net/p/p7zip/bugs/185/
Bump rev
2016-11-30 14:29:09 +00:00
mef
1384beb6fd Updated archivers/p7zip from 15.4.1 to 16.02
--------------------------------------------
Version 16.02
=============
  - From Windows version of 7-Zip 16.02:
    - The BUG in 16.00 - 16.01 was fixed: 7-Zip mistakenly reported the warning
      "There are some data after the end of the payload data" for split archives.

Version 16.01 (never published)
=============
  - From Windows version of 7-Zip 16.01:
    - The bugs in SWM (WIM), EXE (PE) and CHM code were fixed.
    - there are some internal changes in source code for better compatibility with VS2015 C++ compiler.

Version 16.00 (never published)
=============
  - better support for OpenBsd (CPP/Windows/System.cpp), thanks Josh (https://sourceforge.net/p/p7zip/discussion/383043/thread/ee32dcd8/?limit=25#c322)

  - From Windows version of 7-Zip 16.00:
    - 7-Zip now can extract multivolume ZIP archives (z01, z02, ... , zip).
    - Some fixed bugs:
      - bzip2 decoder -mmt2 reported E_FAIL (for k_My_HRESULT_WritingWasCut case), if we extract partial file.
      - 7z solid update (hang in break)
      - sha1 worked incorrectly for call after call with ((size & 3) != 0)
      - 7z update bcj bugs were fixed.
      - split (aaa.001) fixed
      - iso loop fix
      - rar4 multivol -stdin kpidSize
      - drag and drop 1<2.txt
      - memory access violation fix
2016-07-19 08:26:10 +00:00
ryoon
5a05a27e00 Update to 15.14.1
Fix PR pkg/51059

Changelog:
Version 15.14.1
===============
  - patch #32 Compiling in OS X fails with p7zip_15.14
2016-04-11 14:19:59 +00:00
ryoon
fed700a944 Update to 15.14
* Convert to use option framework

Changelog:
Version 15.14
=============

  - patch #26 : Patch to correctly set permissions for docs that permits non-sudo deletion of docs

  - patch #27 : Update Mac OS X LLVM 64bits Makefile

  - patch #28 : p7zip version 15.09 fails to build on s390

  - patch #29 : please fix incorrect fsf address

  - patch #31 : p7zip 15.09 fails to build on mips

  - bug :  "7za a -p ..." was fixed

  - bug #172 : Impossible to create archive with some unicode symbols in filename

  - From Windows version of 7-Zip 15.13:
    - The BUG in 15.13 in CAB code was fixed.

  - From Windows version of 7-Zip 15.12:
    - Some bugs were fixed.
    - New localization: Yoruba.

  - test_emul becomes test_lib  (tests libraries)

  - cross building added :
		makefile.linux_cross_mipsel

  - support for android 5+ (-fPIE -pie)

Version 15.12 (never published)
=============
  - From Windows version of 7-Zip 15.12 :
    - "There are no errors" string after "Test" operation inside archive.
    - The bugs in LZMA SDK were fixed (but these bugs are not related directly to 7-Zip's code).


  - From Windows version of 7-Zip 15.11 :
        - Some bugs were fixed.
        - 7-Zip 15.10 showed incorrect error message about missing volume for multivolume RAR archives.

   - ..../LZHAM added



Version 15.10 beta
==================

  - bug #147 Directory traversal through symlinks
    Bug-Debian: https://bugs.debian.org/774660
    Delay creation of symlinks to prevent arbitrary file writes (CVE-2015-1038)
    Fix given by Ben Hutchings

  - From Windows version of 7-zip 15.10 beta:
    - The BUG in 9.21 - 15.09 was fixed:
      7-Zip could ignore some parameters, specified for archive creation operation
	  for gzip and bzip2 formats in "Add to Archive" window and in command line
	  version (-m switch).
    - Some bugs were fixed.
      - extracting from solid wim archives worked incorrectly in some cases,
    - Also there are some minor changes.
      - 7-Zip can show the name of missing volume for multivolume RAR and VMDK archives.
      - Some internal changes with 7-Zip Benchmark.
2016-04-07 14:41:34 +00:00
wiz
71abc19707 Fix build on OS X.
From Jonathan Buschmann in PR 50839.
2016-02-24 13:03:04 +00:00
ryoon
e757fe9ceb Fix CVE-2015-1038, bump PKGREVISION 2016-02-14 08:39:47 +00:00
adam
aa70af3412 What's new after p7zip 9.38.1 :
- 7-Zip now can extract ext2 and multivolume VMDK images.
  - 7-Zip now can extract ext3 and ext4 (Linux file system) images.
  - support of cygwin 64 bits
  - support of cygwin 64 bits with asm
  - cygwin : fix in GetRamSize()
  - cross building added :
		makefile.linux_cross_aarch64
		makefile.linux_cross_arm
		makefile.linux_cross_ppc
		makefile.linux_cross_ppc64
		makefile.linux_cross_ppc64le
		makefile.linux_cross_s390x  (7za and 7zr pass tests, 7z does not pass tests)

  - 7-Zip now can extract GPT images and single file QCOW2, VMDK, VDI images.
  - 7-Zip now can extract solid WIM archives with LZMS compression.
  - 7-Zip now can extract RAR5 archives.
  - 7-Zip now doesn't sort files by type while adding to solid 7z archive.
      new -mqs switch to sort files by type while adding to solid 7z archive.
  - 7-Zip now can create 7z, xz and zip archives with 1536 MB dictionary for LZMA/LZMA2.
  - 7-Zip now can extract .zipx (WinZip) archives that use xz compression.
2015-12-29 19:39:21 +00:00
agc
7ef3a4270a Add SHA512 digests for distfiles for archivers category
Problems found with existing distfile for eagle:
	distfiles/bicom101.zip
	distfiles/szip-2.1nb3/szip-2.1.tar.gz
	distfiles/xmill-0.9.1.tar.gz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 00:56:19 +00:00
adam
76eb6ae3ac Version 9.38.1
- bug 145 "p7zip crashes while moving memory in MoveItems

Version 9.38
- patch 23 fixes "7z with unicode file name with surrogate pair is not handled well in Linux"

- bug 139 "password from commanline is visible in processes list"
    Now the characters of the password are replaced with *.

- From Windows version of 7-zip
   - bug138 If you extract the password with # program crashes
     7z now supports long password in RAR 3 and 4.
2015-06-02 14:53:10 +00:00
wiz
660952daee Drop maintainership. 2014-12-01 12:43:43 +00:00
wiz
48d17b619c Fix build on OS X using a patch from Jonathan Buschmann in PR 49360 2014-12-01 12:43:07 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
dsainty
db1aed876e Use BUILDLINK_TRANSFORM to edit -ldl as required, fixing the build for Linux. 2014-04-26 01:16:54 +00:00
adam
140e55d9ea Use INSTALL_LIB with 7z.so; fixes 'symbols referenced by indirect symbol table entries that can't be stripped' on Darwin 2013-10-05 07:40:59 +00:00
wiz
b729c83779 Fix previous: add missing trailing slash.
From Nat Sloss in PR 48261.
Bump PKGREVISION.
2013-10-05 06:16:39 +00:00
wiz
bdf428257b Add support for WIM archives.
Based on PR 48261 by Nat Sloss.
Bump PKGREVISION.
2013-10-04 21:51:57 +00:00
asau
3ccd61af4d "user-destdir" is default these days 2012-09-11 19:46:58 +00:00
martin
64ffe2c732 Rewrite the description, mention 7zip and lzma, drop references to windows
exe names (which probably nobody knows anyway).
2012-04-20 15:24:29 +00:00
adam
55497d819a Changes 9.20.1:
- "p7zip 9.20 - "unsupported method" with RAR files - " fixed
  "install.sh" installs again "bin/Codecs/Rar29.so"
2011-03-21 13:45:51 +00:00
abs
d269ecec70 Appears to need gmake, at least on netbsd-5.1 2011-03-14 18:18:33 +00:00
adam
6deab7f45e Changes 9.20:
* 7-Zip now supports LZMA2 compression method.
* 7-Zip now can update solid .7z archives.
* 7-Zip now supports XZ archives.
* 7-Zip now supports PPMd compression in ZIP archives.
* 7-Zip now can unpack NTFS, FAT, VHD, MBR, APM, SquashFS, CramFS, MSLZ
  archives.
* 7-Zip now can unpack GZip, BZip2, LZMA, XZ and TAR archives from stdin.
* 7-Zip now can unpack some TAR and ISO archives with incorrect headers.
* 7-Zip now supports files that are larger than 8 GB in TAR archives.
* NSIS and WIM support was improved.
* Partial parsing for EXE resources, SWF and FLV.
* The support for archives in installers was improved.
* 7-Zip now can stores NTFS file timestamps to ZIP archives.
* Speed optimizations in PPMd codec.
* Speed optimizations in CRC calculation code for Intel's Atom CPUs.
* New -scrc switch to calculate total CRC-32 during extracting / testing.
* 7-Zip File Manager now doesn't use temp files to open nested archives stored
  without compression.
* Disk fragmentation problem for ZIP archives created by 7-Zip was fixed.
* Some bugs were fixed.
* New localizations: Hindi, Gujarati, Sanskrit, Tatar, Uyghur, Kazakh.
* Not in p7zip : Speed optimizations in AES code for Intel's 32nm CPUs.
2011-03-14 12:36:42 +00:00
wiz
c5314f776a Fix path in patch. 2011-02-04 22:46:33 +00:00
adam
5a128bef35 Fix building with Clang 2011-02-04 21:08:17 +00:00
adam
550ef29509 Changes 9.13:
- From Windows version of 7-zip 9.12
  - Some bugs were fixed.
- "Crash in Rar decoder on a corrupted file" fixed
- "Dereferencing a zero pointer in cab handler" fixed
- "Division by zero in cab decoder" fixed

Changes 9.12:
- From Windows version of 7-zip 9.12
  - ZIP / PPMd compression ratio was improved in Maximum and Ultra modes.
  - The BUG in 7-Zip 9.* beta was fixed: LZMA2 codec didn't work,
    if more than 10 threads were used (or more than 20 threads in some modes).
- makefile.openbsd is now compatible with OpenBSD ports tree.
- cmake projects added.
- 7zFM and 7zG can be built on MacOSX but these ports are in very alpha stage.
  make app to build p7zip.app (p7zip for MacOSX)

Changes 9.11:
- From Windows version of 7-zip 9.11
  - 7-Zip now supports PPMd compression in .ZIP archives.
  - Speed optimizations in PPMd codec.
  - The support for archives in installers was improved.
  - Some bugs were fixed.
2010-06-16 08:30:09 +00:00
heinz
26b04f8bd6 Added LICENSE according to WRKSRC/DOCS/License.txt 2009-11-18 19:32:05 +00:00
joerg
e209761d06 Remove @dirrm entries from PLISTs 2009-06-14 17:28:16 +00:00
adam
fbbc6ac2f4 Changes 9.04:
* 7-Zip now can update solid .7z archives.
* 7-Zip now supports LZMA2 compression method.
* 7-Zip now supports XZ archives.
* 7-Zip now can unpack NTFS, FAT, VHD and MBR archives.
* 7-Zip now can unpack GZip, BZip2, LZMA, XZ and TAR archives from stdin.
* New -scrc switch to calculate total CRC-32 during extracting / testing.
* Some bugs were fixed.
2009-06-08 05:54:51 +00:00
adam
e4ab1de5b8 Changes 4.65:
* From Windows version of 7-zip 4.62 to 4.65
  * The bug in 7-Zip 4.63 was fixed: 7-Zip could not decrypt .ZIP archives
    encrypted with WinZip-AES method.
  * 7-Zip now can unpack ZIP archives encrypted with PKWARE-AES.
  * Some bugs were fixed.
* Fixed : the RAM size was reported incorrectly on MacOSX 64bits
* Fixed : makefile.linux_amd64_asm_icc
* DJGPP :
   makefile.djgpp becomes makefile.djgpp_old
   makefile.djgpp_watt added (thank to Rugxulo)
* you can now compile 7za with a cmake project (see README)
  the cmake project can build a codeblock project ;)
  Remark : the kdevelop3 or Eclipse/CDT4 project don't work :(
2009-02-18 07:19:06 +00:00
adam
cefbf45907 Changes 4.61:
- From Windows version of 7-zip 4.61 :
  - 7-Zip now supports LZMA compression for .ZIP archives.
  - Some bugs were fixed.
- Fix: Ask for password twice when creating encrypted archive
- 7zG added (read GUI/readme.txt)

Changes 4.60:
- From Windows version of 7-zip 4.60 :
  - Some bugs were fixed
- p7zip didn't use the BCJ /BCJ2 filters for executables (:
- makefile.linux_amd64_asm_icc added

Changes 4.59:
- From Windows version of 7-zip 4.59 :
  - 7-Zip now can unpack UDF, XAR and DMG/HFS archives.
  - It's allowed to use -t switch for "list" and "extract" commands.
  - Some bugs were fixed.
2008-12-01 07:01:35 +00:00
adam
1a4f731357 Changes 4.58:
- Some speed optimizations.
- 7-Zip now can unpack .lzma archives.
- Unicode (UTF-8) support for filenames in .ZIP archives.
- Now it's possible to store file creation time in 7z and ZIP archives.
- 7-Zip now can unpack multivolume RAR archives created with
  "old style volume names" scheme and names *.001, *.002, ...
- Some bugs were fixed.
2008-06-23 16:50:24 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
joerg
3ee6b9ba51 Fix PLIST. 2008-04-07 17:48:14 +00:00
joerg
36f1cbdb64 Fix DESTDIR installation. 2008-04-05 00:34:07 +00:00
jlam
6a0bbfc676 Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-02 03:48:36 +00:00
adam
ec1eaffb0e Changes 4.57:
- From Windows version of 7-zip 4.57:
  - Fixed BUG in command line version: -up3 switch could work incorrectly.
  - Minor improvement in ZIP compression.

Changes 4.56:
- From Windows version of 7-zip 4.56:
  - Some bugs were fixed
- On HPUX : fixed "Can't load '../bin/7z.dll'"
- bug: p7zip used to build a zip file with FAT header instead of Unix header
- On AIX : fixed "HugeFiles=off"
- bug 1800180: LZMAlone compilation error in COutFile
- Patch 1796569: Fix FreeBSD FTBFS
- Patch 1796575: fix man1/7za.1 man1/7zr.1 man1/7z.1
2007-12-16 09:25:22 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00
hira
ebf8ba4a7d ln -> ${LN}. 2007-09-25 08:31:52 +00:00
adam
0f223e741c Changes 4.55:
- From Windows version of 7-zip 4.55 :
  - Some bugs were fixed
- fixed 1789154: 7z use default or -m0=LZMA runtime error under HP-UX IA11.23
- support added for HPUX on Itanium.

Changes 4.54:
- From Windows version of 7-zip 4.54:
  - Decompression speed was increased
2007-09-19 19:13:53 +00:00
adam
2dba3a3935 Changes 4.53:
- From Windows version of 7-zip 4.53 :
  - The bug in 7-Zip 4.48 - 4.52 beta was fixed:
      7-Zip could create .ZIP archives with broken files.
  - Some bugs were fixed.

Changes 4.52:
- From Windows version of 7-zip 4.52 :
  - 7z now can unpack Compound files (msi, doc, ...).
  - Some bugs were fixed (CAB decompressing)
- lzma (CPP/7zip/Compress/LZMA_Alone) is now multi-threaded.
- fixed 632912: Extracting large directories takes quadratic time
  (this bug was not fully fixed ...)
- fixed: "7za x -odirectory archive.7z" now works even if "directory" is a symbolic link.
- makefile.linux_s390x added : support for Linux on IBM z/Series Mainframe with s390x CPU
- fixed crashes on BeOs with the flag "@filename"
- cleanup in the makefile : defining LITTLE_ENDIAN or BIG_ENDIAN is not needed anymore
- ppmd.exe added (CPP/7zip/Compress/PPMD_Alone)
2007-09-05 20:37:08 +00:00
adam
3d6ecdc20f Changes 4.51:
- From Windows version of 7-zip 4.50 :
   - Bug was fixed: 7-Zip 4.50 beta could not open some .7z archives.
- fix built of test_emul

Changes 4.50:
- From Windows version of 7-zip 4.50 :
  - New switch for command line version:
  -ssc[-] enables/disables case-sensitive mode for file names.
  - Speed optimizations for AES encryption.
  - Some bugs were fixed.
- contrib/gzip-like_CLI_wrapper_for_7z/p7zip now supports commands like :
2007-07-27 13:43:44 +00:00
adam
b5d0f29a7f Changes 4.49:
- From Windows version of 7-zip 4.49 :
  - 7-Zip (7z) now can unpack WIM archives
- fixed : On Sparc Solaris, core dump during "7z a -sfx exe.x dir" with p7zip compiled with makefile.solaris_sparc_CC_32
- some code cleanup
- On HPUX, p7zip can get the number of CPU and the size of the memory.
2007-07-21 12:08:45 +00:00
adam
0403706377 Changes 4.48:
- From Windows version of 7-zip 4.48:
  - Encryption strength for .7z format was increased.
    Now it uses random initialization vectors.
  - Some bugs were fixed.
- fixed 1729236: Makefile infrastructure not safe for parallel compilation
  (if your make command understands -C and -j4, copy makefile.parallel_jobs over makefile)
- Now the executables are not built with the PIC (position-independent code) flag.
  7z.so are still built with the PIC flag.
  7za and 7zr are now faster than 7z with 7z.so.
  7za, 7zr and 7r are now smaller.
- contrib/gzip-like_CLI_wrapper_for_7z/p7zip now supports spaces in filename
  and use 7za instead of 7z.
- contrib/qnx630sp3 added to support QNX built
2007-07-02 07:19:03 +00:00
wiz
a6c3dc0ca7 Add MAKE_JOBS_SAFE=no. Noted by veego. 2007-06-01 00:54:47 +00:00
adam
2b22e9f1ca Changes 4.47:
- From Windows version of 7-zip 4.47:
  - Bugs of 7-Zip 4.46 beta were fixed: BZip2 could work incorrectly

Changes 4.46:
- From Windows version of 7-zip 4.46:
  - New fast compression mode for Deflate method in Zip and GZip.
  - Some bugs were fixed.
- LZMA Benchmark:
  - cygwin: RAM size detection
  - computation of the CPU %
- fixed 1721827: install.sh now copies 7z.so
- Client7z now uses 7z.so instead of 7za.so
- new target: cygwin with asm
- LZMA SDK added in the source package (CPP/7zip/Compress/LZMA_Alone)
- fixed 1716987: 7zr removed from 4.45 binary distribution
- fixed 1706002: make and install.sh use the same variables in the same order.
2007-05-29 12:24:51 +00:00
adam
677d5dec91 Changes 4.45:
- Default dictionary size was increased: Normal: 16 MB, Max: 32 MB.
- Speed optimizations.
- Benchmark was improved (new "b" command in command line version).
- The number of DLL files was reduced.
- switch -mhcf=off is not supported now.
- If -t{Type} switch is not specified, 7-Zip now uses extension of archive to
  detect the type of archive.
- Some bugs were fixed (BZip2 in multithread)
- x86 or x86_64 : ASM version of crc32 available
- better detection of executable file (scripts do not need BCJ/BCJ2 filter)
- default permissions are now :
  - for a file      : -rw-------
  - for a directory : drwx------
- on MacOSX, locale is always utf8
- makefile.qnx_static and makefile.qnx_shared added
2007-04-30 09:12:54 +00:00
adam
06e4141cb2 Changes 4.44:
- From Windows version of 7-zip 4.43 :
  - 7za : Cab support
  - Speed optimizations for LZMA, Deflate, BZip2 and unRAR.
  - fix : now, updating a crypted header archive keeps the crypted header
- fixes in the help displayed by 7za/7z/7zr.
- code cleanup
  - remove of mySetModuleFileNameA (and its memory leak), GetModuleFileName ...
- fixed : p7zip for DJGPP can now update an archive (thanks stranix)
- fixed : in the plugins of 7z, the "Utf16" state was always off.
- fixed : support for directory names that are not encoded with the current locale.
  (ex : directory name is in "iso 8859-15" whereas the locale is "utf8")
- patch 1581907 : fix for FreeBSD in contrib/gzip-like_CLI_wrapper_for_7z/p7zip
- fixed : p7zip can now restore a symbolic link from a Zip archive (archive.zip made with "zip -y")
    remark/todo : p7zip stores, in a zip archive, the linked file instead of the symbolic link
- fixed 1630452 : small fix in the output of the script install.sh
- fixed 632912 : Extracting large directories takes quadratic time
- preliminary support of HP-UX : remove of RTLD_GROUP for dlopen in DLL.cpp
    makefile.hpux-acc should be able to build 7za for HP-UX (thanks to furiol)
- Client7z added.
2007-01-27 21:50:11 +00:00
adam
03993a5421 Changes 4.43:
- From Windows version of 7-zip 4.43 :
  - 7-Zip now can use multi-threading mode for compressing to .ZIP archives.
  - ZIP format supporting was improved.
  - 7-Zip now supports WinZip-compatible AES-256 encryption for .ZIP archives.
  - 7-Zip now uses order list (list of extensions) for files sorting for compressing
    to .7z archives. It can slightly increase compression ratio in some cases.
  - 7-Zip now restores modification time of folders during .7z archives extracting.
  - Some bugs were fixed.
- fixed : the user can now see the percentage indicator.
- support added for Tru64 / OSF 5.1  (makefile.tru64)
- small fix in install.sh (7zr install)
- fix "make all" now build 7za and 7zCon.sfx following the README.
2006-10-01 10:39:21 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00