Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2013 02:24:39 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324828 - in head/archivers: . lz4 lz4/files
Message-ID:  <201308170224.r7H2OdmQ080585@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Sat Aug 17 02:24:38 2013
New Revision: 324828
URL: http://svnweb.freebsd.org/changeset/ports/324828

Log:
  Add lz4 r101, fast compressor using LZ4 algorithm.
  
  PR:		ports/181287
  Submitted by:	Alexey Degtyarev <alexey@renatasystems.org>

Added:
  head/archivers/lz4/
  head/archivers/lz4/Makefile   (contents, props changed)
  head/archivers/lz4/distinfo   (contents, props changed)
  head/archivers/lz4/files/
  head/archivers/lz4/files/patch-Makefile   (contents, props changed)
  head/archivers/lz4/patch-Makefile   (contents, props changed)
  head/archivers/lz4/pkg-descr   (contents, props changed)
Modified:
  head/archivers/Makefile

Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile	Sat Aug 17 00:16:12 2013	(r324827)
+++ head/archivers/Makefile	Sat Aug 17 02:24:38 2013	(r324828)
@@ -70,6 +70,7 @@
     SUBDIR += linux-f10-ucl
     SUBDIR += linux-f10-upx
     SUBDIR += lrzip
+    SUBDIR += lz4
     SUBDIR += lzip
     SUBDIR += lzlib
     SUBDIR += lzma

Added: head/archivers/lz4/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/lz4/Makefile	Sat Aug 17 02:24:38 2013	(r324828)
@@ -0,0 +1,21 @@
+# Created by: Alexey Degtyarev <alexey@renatasystems.org>
+# $FreeBSD$
+
+PORTNAME=	lz4
+PORTVERSION=	r101
+CATEGORIES=	archivers
+MASTER_SITES=	https://dl.dropboxusercontent.com/u/59565338/LZ4/ \
+		ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
+
+MAINTAINER=	alexey@renatasystems.org
+COMMENT=	Fast compressor using LZ4 algorithm
+
+USES=		gmake
+ALL_TARGET=	lz4c
+
+PLIST_FILES=	bin/lz4c
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/lz4c.exe ${PREFIX}/bin/lz4c
+
+.include <bsd.port.mk>

Added: head/archivers/lz4/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/lz4/distinfo	Sat Aug 17 02:24:38 2013	(r324828)
@@ -0,0 +1,2 @@
+SHA256 (lz4-r101.tar.gz) = db645ba773002b40394875779d35c447450fcf0c459968a0776899f0c7d1435c
+SIZE (lz4-r101.tar.gz) = 128678

Added: head/archivers/lz4/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/lz4/files/patch-Makefile	Sat Aug 17 02:24:38 2013	(r324828)
@@ -0,0 +1,10 @@
+--- Makefile.orig	2013-08-17 10:13:57.000000000 +0800
++++ Makefile	2013-08-17 10:14:10.000000000 +0800
+@@ -1,5 +1,5 @@
+-CC=gcc
+-CFLAGS=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration
++CC:=$(CC)
++CFLAGS:=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration
+ 
+ OS := $(shell uname)
+ ifeq ($(OS),Linux)

Added: head/archivers/lz4/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/lz4/patch-Makefile	Sat Aug 17 02:24:38 2013	(r324828)
@@ -0,0 +1,18 @@
+--- Makefile.orig	2013-08-08 02:43:06.000000000 +0800
++++ Makefile	2013-08-17 10:11:19.000000000 +0800
+@@ -1,12 +1,7 @@
+-CC=gcc
+-CFLAGS=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration
++CC:=$(CC)
++CFLAGS+=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration
+ 
+-OS := $(shell uname)
+-ifeq ($(OS),Linux)
+-EXT =
+-else
+-EXT =.exe
+-endif
++EXT= 
+ 
+ default: lz4c
+ 

Added: head/archivers/lz4/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/lz4/pkg-descr	Sat Aug 17 02:24:38 2013	(r324828)
@@ -0,0 +1,6 @@
+LZ4 is a very fast lossless compression algorithm, providing compression speed
+at 300 MB/s per core, scalable with multi-cores CPU.  It also features an
+extremely fast decoder, with speed in GB/s per core, typically reaching RAM
+speed limits on multi-core systems.
+
+WWW: https://code.google.com/p/lz4/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308170224.r7H2OdmQ080585>