From owner-freebsd-arch@FreeBSD.ORG Thu May 6 20:07:33 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1E59106564A for ; Thu, 6 May 2010 20:07:33 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from mail.vx.sk (core.vx.sk [188.40.32.143]) by mx1.freebsd.org (Postfix) with ESMTP id 329CC8FC08 for ; Thu, 6 May 2010 20:07:27 +0000 (UTC) Received: from core.vx.sk (localhost [127.0.0.1]) by mail.vx.sk (Postfix) with ESMTP id 561D095681 for ; Thu, 6 May 2010 21:50:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.vx.sk Received: from mail.vx.sk ([127.0.0.1]) by core.vx.sk (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TDhfXhkTlbNb for ; Thu, 6 May 2010 21:50:26 +0200 (CEST) Received: from [127.0.0.1] (chello089173000055.chello.sk [89.173.0.55]) by mail.vx.sk (Postfix) with ESMTPSA id 0CB6A95675 for ; Thu, 6 May 2010 21:50:25 +0200 (CEST) Message-ID: <4BE31D84.3040903@FreeBSD.org> Date: Thu, 06 May 2010 21:50:28 +0200 From: Martin Matuska User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sk; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: freebsd-arch@freebsd.org X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: 7bit Subject: RFC: liblzma and xz to FreeBSD base X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2010 20:07:33 -0000 Dear fellow devleopers, I would like to propose an import of liblzma and the utilities xz, xzdec and lzmainfo to base (vendor -> contrib). As I was informed, libarchive is already lzma-ready, some of our existing code could take advantage of liblzma instantly. The source code is imported from: http://tukaani.org/xz/xz-4.999.9beta.tar.gz All GPLv2, LGPLv2.1 and GPLv3 parts are stripped from the code (they cover only the build system and unimportant scripts). liblzma, xz, xzdec, lzmainfo are public domain licensed. A working patchset against HEAD (includes modified lesspipe.sh): http://people.freebsd.org/~mm/patches/xz/ The only patched file is src/common/bswap.h, with the patch from the archivers/xz port. Comments and suggestions are welcome. Thanks, mm