summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-06-25 13:56:12 +0000
committerwiz <wiz@pkgsrc.org>2004-06-25 13:56:12 +0000
commit0e4d11b4d30de81635c3f10407d9db1bc8e6fbbb (patch)
treeb941a20cf29b9d9bd5e8ddb73a711c8f110a2615 /archivers
parentf2b6b7c157d0ecaa6191350267b56548efcaf28d (diff)
downloadpkgsrc-0e4d11b4d30de81635c3f10407d9db1bc8e6fbbb.tar.gz
Initial import of p7zip.
p7zip is a port of the Windows program 7za.exe. 7za.exe is a file archiver with the highest compression ratio.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p7zip/DESCR3
-rw-r--r--archivers/p7zip/Makefile24
-rw-r--r--archivers/p7zip/PLIST4
-rw-r--r--archivers/p7zip/distinfo7
-rw-r--r--archivers/p7zip/patches/patch-aa14
-rw-r--r--archivers/p7zip/patches/patch-ab12
-rw-r--r--archivers/p7zip/patches/patch-ac13
7 files changed, 77 insertions, 0 deletions
diff --git a/archivers/p7zip/DESCR b/archivers/p7zip/DESCR
new file mode 100644
index 00000000000..9f99e7df2de
--- /dev/null
+++ b/archivers/p7zip/DESCR
@@ -0,0 +1,3 @@
+p7zip is a port of the Windows program 7za.exe.
+
+7za.exe is a file archiver with the highest compression ratio.
diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile
new file mode 100644
index 00000000000..280479508db
--- /dev/null
+++ b/archivers/p7zip/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/25 13:56:12 wiz Exp $
+#
+
+DISTNAME= p7zip_0.80
+PKGNAME= p7zip-0.80
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=p7zip/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://p7zip.sourceforge.net/
+COMMENT= File archiver with high compression
+
+USE_BUILDLINK3= yes
+MAKEFILE= makefile
+NO_CONFIGURE= yes
+USE_GNU_TOOLS+= make
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/7z ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/p7zip
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/p7zip
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/p7zip/PLIST b/archivers/p7zip/PLIST
new file mode 100644
index 00000000000..cefe7215a31
--- /dev/null
+++ b/archivers/p7zip/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/25 13:56:12 wiz Exp $
+bin/7z
+share/doc/p7zip/README
+@dirrm share/doc/p7zip
diff --git a/archivers/p7zip/distinfo b/archivers/p7zip/distinfo
new file mode 100644
index 00000000000..6dae2db54a5
--- /dev/null
+++ b/archivers/p7zip/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/25 13:56:12 wiz Exp $
+
+SHA1 (p7zip_0.80.tar.bz2) = c87cda0a8a2cd1300272d71f4cd371db7ebb4b79
+Size (p7zip_0.80.tar.bz2) = 921896 bytes
+SHA1 (patch-aa) = f6a15b99f25a8ba631c45df94cfe4f7aff26bc8b
+SHA1 (patch-ab) = e438472f1eb6886dcaee0147ca5f9a2604a9abb1
+SHA1 (patch-ac) = 61dff04aca7b0c69ba8f12af40a4c27815a0bef2
diff --git a/archivers/p7zip/patches/patch-aa b/archivers/p7zip/patches/patch-aa
new file mode 100644
index 00000000000..a7eb6f81675
--- /dev/null
+++ b/archivers/p7zip/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/06/25 13:56:12 wiz Exp $
+
+--- 7zip/Crypto/AES/aesopt.h.orig 2004-06-13 19:06:36.000000000 +0200
++++ 7zip/Crypto/AES/aesopt.h
+@@ -166,8 +166,7 @@
+ // #if defined(__GNUC__) || defined(__GNU_LIBRARY__)
+ #if (defined(__GNUC__) || defined(__GNU_LIBRARY__)) && !defined(WIN32) && !defined(__CYGWIN__)
+
+-# include <endian.h>
+-# include <byteswap.h>
++# include <sys/endian.h>
+ #elif defined(__CRYPTLIB__)
+ # if defined( INC_ALL )
+ # include "crypt.h"
diff --git a/archivers/p7zip/patches/patch-ab b/archivers/p7zip/patches/patch-ab
new file mode 100644
index 00000000000..12d05199d2d
--- /dev/null
+++ b/archivers/p7zip/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/06/25 13:56:12 wiz Exp $
+
+--- include_windows/winnt.h.orig 2004-06-10 21:44:46.000000000 +0200
++++ include_windows/winnt.h
+@@ -32,6 +32,7 @@ extern "C" {
+ #include <winerror.h>
+
+ #include <string.h>
++#include <wchar.h>
+
+ #ifndef VOID
+ #define VOID void
diff --git a/archivers/p7zip/patches/patch-ac b/archivers/p7zip/patches/patch-ac
new file mode 100644
index 00000000000..d9f9c9bc035
--- /dev/null
+++ b/archivers/p7zip/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/06/25 13:56:12 wiz Exp $
+
+--- myWindows/myEvents.cpp.orig 2004-06-13 18:47:40.000000000 +0200
++++ myWindows/myEvents.cpp
+@@ -12,7 +12,7 @@ static NWindows::NSynchronization::CCrit
+
+ static void myYield() {
+ myLeave();
+-#ifdef __CYGWIN__
++#if 1
+ usleep(10);
+ #else
+ int ret = pthread_yield();