UPDATE: archivers/p7zip

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: archivers/p7zip

Josh Grosse
The sourceforge team has integrated
patch-CPP_myWindows_myGetNumberOfProcessors_cpp into this bugfix update.

Stuart Henderson developed the original patch for sparc64, and tested 4.45 on
that arch.  I tested on i386.

Index: Makefile
===================================================================
RCS file: /cvs/ports/archivers/p7zip/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile 20 Apr 2007 17:50:05 -0000 1.1.1.1
+++ Makefile 1 May 2007 06:57:39 -0000
@@ -5,7 +5,7 @@
 COMMENT-main= "file archiver with high compression ratio"
 COMMENT-rar= "rar modules for p7zip"
 
-V= 4.44
+V= 4.45
 DISTNAME= p7zip_${V}_src_all
 PKGNAME= p7zip-${V}
 PKGNAME-main= p7zip-${V}
Index: distinfo
===================================================================
RCS file: /cvs/ports/archivers/p7zip/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo 20 Apr 2007 17:50:05 -0000 1.1.1.1
+++ distinfo 1 May 2007 06:57:39 -0000
@@ -1,5 +1,5 @@
-MD5 (p7zip_4.44_src_all.tar.bz2) = eLBL7Rah5+kbW/Lx+Eq4EQ==
-RMD160 (p7zip_4.44_src_all.tar.bz2) = oE8TxVziF4HEY968V4/UgZ8XGt8=
-SHA1 (p7zip_4.44_src_all.tar.bz2) = R04keafOsZ/PdeYXhOLE7PLS9+c=
-SHA256 (p7zip_4.44_src_all.tar.bz2) = y4cwT2gucXarlc5z084re2U4TgUScvw075NOJCe7068=
-SIZE (p7zip_4.44_src_all.tar.bz2) = 1518820
+MD5 (p7zip_4.45_src_all.tar.bz2) = t+t6krG/DnOi/q6VzTGE9w==
+RMD160 (p7zip_4.45_src_all.tar.bz2) = I2d/QeGiwdjCVAc7wX6kDqkIUfE=
+SHA1 (p7zip_4.45_src_all.tar.bz2) = Br2vdV4ohTnaTvo5n8FDZI21es0=
+SHA256 (p7zip_4.45_src_all.tar.bz2) = OikC1TKnZzETYJIytGyGjmxV284Ofvc9jvlE+ylceYQ=
+SIZE (p7zip_4.45_src_all.tar.bz2) = 1458299
Index: patches/patch-CPP_myWindows_myGetNumberOfProcessors_cpp
===================================================================
RCS file: patches/patch-CPP_myWindows_myGetNumberOfProcessors_cpp
diff -N patches/patch-CPP_myWindows_myGetNumberOfProcessors_cpp
--- patches/patch-CPP_myWindows_myGetNumberOfProcessors_cpp 20 Apr 2007 17:50:05 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,26 +0,0 @@
-$OpenBSD: patch-CPP_myWindows_myGetNumberOfProcessors_cpp,v 1.1.1.1 2007/04/20 17:50:05 steven Exp $
---- CPP/myWindows/myGetNumberOfProcessors.cpp.orig Sat Jan 20 18:06:41 2007
-+++ CPP/myWindows/myGetNumberOfProcessors.cpp Sat Apr 14 07:28:38 2007
-@@ -14,16 +14,16 @@ namespace NWindows
- {
- #if defined (__NetBSD__) || defined(__OpenBSD__)
- int GetNumberOfProcessors() {
-- int mib[2];
-- size_t value[2];
-+ int mib[2], value;
-+ size_t len;
-         int nbcpu = 1;
-
-         mib[0] = CTL_HW;
-         mib[1] = HW_NCPU;
--         value[1] = sizeof(size_t);
--         if (sysctl(mib, 2, value, value+1, NULL, 0) >= 0)
--           if (value[0] > nbcpu)
--                     nbcpu = value[0];
-+ len = sizeof(value);
-+         if (sysctl(mib, 2, &value, &len, NULL, 0) >= 0)
-+           if (value > nbcpu)
-+                     nbcpu = value;
- return nbcpu;
- }
- #elif defined (__FreeBSD__)
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/archivers/p7zip/pkg/PLIST-main,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST-main
--- pkg/PLIST-main 20 Apr 2007 17:50:05 -0000 1.1.1.1
+++ pkg/PLIST-main 1 May 2007 06:57:39 -0000
@@ -8,32 +8,6 @@
 lib/p7zip/7za
 lib/p7zip/7zr
 lib/p7zip/Codecs/
-lib/p7zip/Codecs/7zAES.so
-lib/p7zip/Codecs/AES.so
-lib/p7zip/Codecs/BZip2.so
-lib/p7zip/Codecs/Branch.so
-lib/p7zip/Codecs/Copy.so
-lib/p7zip/Codecs/Deflate.so
-lib/p7zip/Codecs/LZMA.so
-lib/p7zip/Codecs/PPMD.so
-lib/p7zip/Codecs/Swap.so
-lib/p7zip/Formats/
-lib/p7zip/Formats/7z.so
-lib/p7zip/Formats/Tar.so
-lib/p7zip/Formats/Zip.so
-lib/p7zip/Formats/arj.so
-lib/p7zip/Formats/bz2.so
-lib/p7zip/Formats/cab.so
-lib/p7zip/Formats/chm.so
-lib/p7zip/Formats/cpio.so
-lib/p7zip/Formats/deb.so
-lib/p7zip/Formats/gz.so
-lib/p7zip/Formats/iso.so
-lib/p7zip/Formats/lzh.so
-lib/p7zip/Formats/nsis.so
-lib/p7zip/Formats/rpm.so
-lib/p7zip/Formats/split.so
-lib/p7zip/Formats/z.so
 @man man/man1/7z.1
 @man man/man1/7za.1
 @man man/man1/7zr.1
@@ -41,9 +15,11 @@
 share/doc/p7zip/7zC.txt
 share/doc/p7zip/7zFormat.txt
 share/doc/p7zip/ChangeLog
+share/doc/p7zip/License.txt
 share/doc/p7zip/MANUAL/
 share/doc/p7zip/MANUAL/commands/
 share/doc/p7zip/MANUAL/commands/add.htm
+share/doc/p7zip/MANUAL/commands/bench.htm
 share/doc/p7zip/MANUAL/commands/delete.htm
 share/doc/p7zip/MANUAL/commands/extract.htm
 share/doc/p7zip/MANUAL/commands/extract_full.htm
Index: pkg/PLIST-rar
===================================================================
RCS file: /cvs/ports/archivers/p7zip/pkg/PLIST-rar,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST-rar
--- pkg/PLIST-rar 20 Apr 2007 17:50:05 -0000 1.1.1.1
+++ pkg/PLIST-rar 1 May 2007 06:57:39 -0000
@@ -1,4 +1,3 @@
 @comment $OpenBSD: PLIST-rar,v 1.1.1.1 2007/04/20 17:50:05 steven Exp $
 lib/p7zip/Codecs/Rar29.so
-lib/p7zip/Formats/Rar.so
 share/doc/p7zip/unRarLicense.txt

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: archivers/p7zip

Christian Weisgerber
Josh Grosse <[hidden email]> wrote:

> -lib/p7zip/Codecs/7zAES.so
> -lib/p7zip/Codecs/AES.so
> -lib/p7zip/Codecs/BZip2.so
> -lib/p7zip/Codecs/Branch.so
> -lib/p7zip/Codecs/Copy.so
>[...]

What happened to all the modules?

--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: UPDATE: archivers/p7zip

Josh Grosse
On Tue, May 01, 2007 at 05:38:17PM +0000, Christian Weisgerber wrote:

> Josh Grosse <[hidden email]> wrote:
>
> > -lib/p7zip/Codecs/7zAES.so
> > -lib/p7zip/Codecs/AES.so
> > -lib/p7zip/Codecs/BZip2.so
> > -lib/p7zip/Codecs/Branch.so
> > -lib/p7zip/Codecs/Copy.so
> >[...]
>
> What happened to all the modules?

The changelog is Windows focused, but note my highlight:

----------------

Version 4.45
============

  - From Windows version of 7-zip 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 (because the MacOSX filesystem supports only utf8 filenames)

  - makefile.qnx_static and makefile.qnx_shared added (Thank to termterm)