1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 4.999.9beta.

This is the last beta release before XZ Utils 5.0.0. No big changes
are planned before the first stable release.

XZ Utils is the official successor to LZMA Utils.

Feature safe:	yes
This commit is contained in:
Christian Weisgerber 2009-09-21 14:07:42 +00:00
parent 2bd6b659f4
commit dda93a4d91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241873
7 changed files with 82 additions and 45 deletions

View File

@ -1,38 +1,48 @@
# New ports collection makefile for: lzmautils-devel
# Date created: 09 Dec 2008
# Whom: David Naylor <dragonsa@highveldmail.co.za>
# New ports collection makefile for: xz
# Date created: 2009-09-16
# Whom: naddy
#
# $FreeBSD$
#
PORTNAME= lzmautils
DISTVERSION= 4.999.8
PORTREVISION= 1
PORTNAME= xz
PORTVERSION= 4.999.9
CATEGORIES= archivers
MASTER_SITES= http://tukaani.org/xz/ \
http://freebsd.unixfreunde.de/sources/
PKGNAMESUFFIX= -devel
DISTNAME= xz-${DISTVERSION}beta
MASTER_SITES= http://tukaani.org/xz/
DISTNAME= ${PORTNAME}-${PORTVERSION}beta
MAINTAINER= dragonsa@highveldmail.co.za
MAINTAINER= naddy@FreeBSD.org
COMMENT= LZMA compression and decompression tools
CONFLICTS= lzma-[0-9]* lzmautils-4.[0-3]* lzmautils-[0-3]* lzmalib-[0-9]*
CONFLICTS= lzma-[0-9]* lzmautils-[0-9]* lzmalib-[0-9]*
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
USE_GNOME= gnomehack
CONFIGURE_ARGS+= --disable-static --disable-nls # No translations apparent
CONFIGURE_ARGS= --enable-dynamic=yes
CONFIGURE_ARGS+=--disable-nls # no translations available
.if defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --disable-threads
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install-dist_docDATA
.endif
MAN1= lzdiff.1 lzgrep.1 lzmore.1
MLINKS= lzdiff.1 lzcmp.1 \
lzgrep.1 lzegrep.1 \
lzgrep.1 lzfgrep.1 \
lzmore.1 lzless.1
MAN1= lzmainfo.1 xz.1 xzdec.1 xzdiff.1 xzgrep.1 xzless.1 xzmore.1
MLINKS= xz.1 lzcat.1 xzdiff.1 lzcmp.1 \
xzdiff.1 lzdiff.1 xzgrep.1 lzegrep.1 \
xzgrep.1 lzfgrep.1 xzgrep.1 lzgrep.1 \
xzless.1 lzless.1 xz.1 lzma.1 \
xzdec.1 lzmadec.1 xzmore.1 lzmore.1 \
xz.1 unlzma.1 xz.1 unxz.1 \
xz.1 xzcat.1 xzdiff.1 xzcmp.1 \
xzgrep.1 xzegrep.1 xzgrep.1 xzfgrep.1
PORTDOCS= AUTHORS COPYING COPYING.GPLv2 NEWS README THANKS TODO \
faq.txt history.txt lzma-file-format.txt xz-file-format.txt
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (xz-4.999.8beta.tar.gz) = f00967331a487e88d51207fe17c56f52
SHA256 (xz-4.999.8beta.tar.gz) = 059da5a9fe51c28b38f67e5b8063a451c516f37fbb268177fd1081b70dd97f53
SIZE (xz-4.999.8beta.tar.gz) = 879382
MD5 (xz-4.999.9beta.tar.gz) = f2073579b6da2fe35d453adee1aaf1b2
SHA256 (xz-4.999.9beta.tar.gz) = fa3901d1c034842da47fec1a24a9b5a5bd435f5ecfbb444c168512e2daddb86f
SIZE (xz-4.999.9beta.tar.gz) = 1037541

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig 2009-09-16 19:57:05.000000000 +0200
+++ Makefile.in 2009-09-16 19:59:02.000000000 +0200
@@ -785,7 +785,7 @@ info: info-recursive
info-am:
-install-data-am: install-dist_docDATA
+install-data-am:
install-dvi: install-dvi-recursive

View File

@ -1,17 +0,0 @@
--- src/xz/hardware.c~ 2009-08-18 08:15:18.000000000 +0200
+++ src/xz/hardware.c 2009-08-18 08:17:50.000000000 +0200
@@ -42,12 +42,12 @@
static void
hardware_cores(void)
{
-#if defined(HAVE_NUM_PROCESSORS_SYSCONF)
+#if defined(HAVE_NCPU_SYSCONF)
const long cpus = sysconf(_SC_NPROCESSORS_ONLN);
if (cpus > 0)
opt_threads = (size_t)(cpus);
-#elif defined(HAVE_NUM_PROCESSORS_SYSCTL)
+#elif defined(HAVE_NCPU_SYSCTL)
int name[2] = { CTL_HW, HW_NCPU };
int cpus;
size_t cpus_size = sizeof(cpus);

View File

@ -0,0 +1,11 @@
--- src/liblzma/Makefile.in.orig 2009-09-16 19:57:18.000000000 +0200
+++ src/liblzma/Makefile.in 2009-09-16 19:57:31.000000000 +0200
@@ -1631,7 +1631,7 @@ info: info-recursive
info-am:
-install-data-am: install-docDATA install-pkgconfigDATA
+install-data-am: install-pkgconfigDATA
install-dvi: install-dvi-recursive

View File

@ -1,6 +1,19 @@
LZMA Utils is an attempt to provide LZMA compression to POSIX-like
systems. The idea is to have a gzip-like command line tool and
zlib-like library, which would make it easy to adapt the new
compression technology to existing applications.
XZ Utils is free general-purpose data compression software with a
high compression ratio. XZ Utils is the successor to LZMA Utils.
WWW: http://tukaani.org/lzma/
The core of the XZ Utils compression code is based on the LZMA SDK.
The primary compression algorithm is currently LZMA2, which is used
inside the .xz container format. With typical files, XZ Utils
creates output 30% smaller than gzip and 15% smaller than bzip2.
The XZ Utils package consists of several components:
* liblzma is a compression library with an API similar to that of zlib.
* xz is a command line tool with syntax similar to that of gzip.
* xzdec is a decompression-only tool smaller than the full-featured xz tool.
* A set of shell scripts (xzgrep, xzdiff, etc.) have been adapted
from gzip to ease viewing, grepping, and comparing compressed files.
* Emulation of the command line tools of LZMA Utils eases transition
from LZMA Utils to XZ Utils.
WWW: http://tukaani.org/xz/

View File

@ -7,12 +7,20 @@ bin/lzgrep
bin/lzless
bin/lzma
bin/lzmadec
bin/lzmainfo
bin/lzmore
bin/unlzma
bin/unxz
bin/xz
bin/xzcat
bin/xzcmp
bin/xzdec
bin/xzdiff
bin/xzegrep
bin/xzfgrep
bin/xzgrep
bin/xzless
bin/xzmore
include/lzma.h
include/lzma/base.h
include/lzma/bcj.h
@ -28,6 +36,7 @@ include/lzma/stream_flags.h
include/lzma/subblock.h
include/lzma/version.h
include/lzma/vli.h
lib/liblzma.a
lib/liblzma.la
lib/liblzma.so
lib/liblzma.so.0