Import XZ Utils 4.999.9beta, which replaces LZMA Utils.
LZMA is a general purporse compression algorithm designed by Igor Pavlov as part of 7-Zip. It provides high compression ratio while keeping the decompression speed fast. XZ Utils are an attempt to make LZMA compression easy to use on free (as in freedom) operating systems. This is achieved by providing tools and libraries which are similar to use than the equivalents of the most popular existing compression algorithms.
This commit is contained in:
parent
2dc0befd53
commit
dfad51d695
32
archivers/xz/Makefile
Normal file
32
archivers/xz/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/09/10 15:27:26 naddy Exp $
|
||||
|
||||
COMMENT= LZMA compression and decompression tools
|
||||
|
||||
DISTNAME= xz-4.999.9beta
|
||||
SHARED_LIBS += lzma 0.0 # .0.0
|
||||
CATEGORIES= archivers
|
||||
|
||||
HOMEPAGE= http://tukaani.org/xz/
|
||||
|
||||
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MODULES= devel/gettext
|
||||
WANTLIB= c
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
SEPARATE_BUILD= simple
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-dynamic=yes \
|
||||
--disable-threads
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
|
||||
|
||||
.include <bsd.port.mk>
|
5
archivers/xz/distinfo
Normal file
5
archivers/xz/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (xz-4.999.9beta.tar.gz) = 8gc1ebbaL+NdRTre4arxsg==
|
||||
RMD160 (xz-4.999.9beta.tar.gz) = ElPOAXRsdIyFSe/6UEEiQESRnE4=
|
||||
SHA1 (xz-4.999.9beta.tar.gz) = lifeOZfdzbAvjTJ+hLLPGUHs0jA=
|
||||
SHA256 (xz-4.999.9beta.tar.gz) = +jkB0cA0hC2kf+waJKm1pb1DX17Pu0RMFoUS4trduG8=
|
||||
SIZE (xz-4.999.9beta.tar.gz) = 1037541
|
12
archivers/xz/patches/patch-src_common_cpucores_h
Normal file
12
archivers/xz/patches/patch-src_common_cpucores_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_common_cpucores_h,v 1.1.1.1 2009/09/10 15:27:26 naddy Exp $
|
||||
--- src/common/cpucores.h.orig Tue Sep 8 17:08:04 2009
|
||||
+++ src/common/cpucores.h Tue Sep 8 17:08:16 2009
|
||||
@@ -40,7 +40,7 @@ cpucores(void)
|
||||
int name[2] = { CTL_HW, HW_NCPU };
|
||||
int cpus;
|
||||
size_t cpus_size = sizeof(cpus);
|
||||
- if (!sysctl(name, &cpus, &cpus_size, NULL, NULL)
|
||||
+ if (!sysctl(name, 2, &cpus, &cpus_size, NULL, NULL)
|
||||
&& cpus_size == sizeof(cpus) && cpus > 0)
|
||||
ret = (uint32_t)(cpus);
|
||||
#endif
|
12
archivers/xz/patches/patch-src_xz_util_c
Normal file
12
archivers/xz/patches/patch-src_xz_util_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_xz_util_c,v 1.1.1.1 2009/09/10 15:27:26 naddy Exp $
|
||||
--- src/xz/util.c.orig Tue Sep 8 18:58:46 2009
|
||||
+++ src/xz/util.c Tue Sep 8 18:59:08 2009
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
// Thousand separator for format strings is not supported outside POSIX.
|
||||
// This is used in uint64_to_str() and double_to_str().
|
||||
-#ifdef DOSLIKE
|
||||
+#if defined(DOSLIKE) || defined(__OpenBSD__)
|
||||
# define THOUSAND ""
|
||||
#else
|
||||
# define THOUSAND "'"
|
8
archivers/xz/pkg/DESCR
Normal file
8
archivers/xz/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
LZMA is a general purporse compression algorithm designed by Igor
|
||||
Pavlov as part of 7-Zip. It provides high compression ratio while
|
||||
keeping the decompression speed fast.
|
||||
|
||||
XZ Utils are an attempt to make LZMA compression easy to use on
|
||||
free (as in freedom) operating systems. This is achieved by providing
|
||||
tools and libraries which are similar to use than the equivalents
|
||||
of the most popular existing compression algorithms.
|
2
archivers/xz/pkg/PFRAG.shared
Normal file
2
archivers/xz/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/09/10 15:27:26 naddy Exp $
|
||||
@lib lib/liblzma.so.${LIBlzma_VERSION}
|
82
archivers/xz/pkg/PLIST
Normal file
82
archivers/xz/pkg/PLIST
Normal file
@ -0,0 +1,82 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/09/10 15:27:26 naddy Exp $
|
||||
@conflict lzma-*
|
||||
@pkgpath archivers/lzma
|
||||
%%SHARED%%
|
||||
bin/lzcat
|
||||
bin/lzcmp
|
||||
bin/lzdiff
|
||||
bin/lzegrep
|
||||
bin/lzfgrep
|
||||
bin/lzgrep
|
||||
bin/lzless
|
||||
bin/lzma
|
||||
@bin bin/lzmadec
|
||||
@bin bin/lzmainfo
|
||||
bin/lzmore
|
||||
bin/unlzma
|
||||
bin/unxz
|
||||
@bin bin/xz
|
||||
bin/xzcat
|
||||
bin/xzcmp
|
||||
@bin bin/xzdec
|
||||
bin/xzdiff
|
||||
bin/xzegrep
|
||||
bin/xzfgrep
|
||||
bin/xzgrep
|
||||
bin/xzless
|
||||
bin/xzmore
|
||||
include/lzma/
|
||||
include/lzma.h
|
||||
include/lzma/base.h
|
||||
include/lzma/bcj.h
|
||||
include/lzma/block.h
|
||||
include/lzma/check.h
|
||||
include/lzma/container.h
|
||||
include/lzma/delta.h
|
||||
include/lzma/filter.h
|
||||
include/lzma/index.h
|
||||
include/lzma/index_hash.h
|
||||
include/lzma/lzma.h
|
||||
include/lzma/stream_flags.h
|
||||
include/lzma/subblock.h
|
||||
include/lzma/version.h
|
||||
include/lzma/vli.h
|
||||
lib/liblzma.a
|
||||
lib/liblzma.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/liblzma.pc
|
||||
@man man/man1/lzcat.1
|
||||
@man man/man1/lzcmp.1
|
||||
@man man/man1/lzdiff.1
|
||||
@man man/man1/lzegrep.1
|
||||
@man man/man1/lzfgrep.1
|
||||
@man man/man1/lzgrep.1
|
||||
@man man/man1/lzless.1
|
||||
@man man/man1/lzma.1
|
||||
@man man/man1/lzmadec.1
|
||||
@man man/man1/lzmainfo.1
|
||||
@man man/man1/lzmore.1
|
||||
@man man/man1/unlzma.1
|
||||
@man man/man1/unxz.1
|
||||
@man man/man1/xz.1
|
||||
@man man/man1/xzcat.1
|
||||
@man man/man1/xzcmp.1
|
||||
@man man/man1/xzdec.1
|
||||
@man man/man1/xzdiff.1
|
||||
@man man/man1/xzegrep.1
|
||||
@man man/man1/xzfgrep.1
|
||||
@man man/man1/xzgrep.1
|
||||
@man man/man1/xzless.1
|
||||
@man man/man1/xzmore.1
|
||||
share/doc/xz/
|
||||
@comment share/doc/xz/AUTHORS
|
||||
share/doc/xz/COPYING
|
||||
@comment share/doc/xz/COPYING.GPLv2
|
||||
@comment share/doc/xz/NEWS
|
||||
@comment share/doc/xz/README
|
||||
@comment share/doc/xz/THANKS
|
||||
@comment share/doc/xz/TODO
|
||||
share/doc/xz/faq.txt
|
||||
share/doc/xz/history.txt
|
||||
share/doc/xz/lzma-file-format.txt
|
||||
share/doc/xz/xz-file-format.txt
|
Loading…
x
Reference in New Issue
Block a user