pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New package for libdeflate-1.10.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sun Mar 27 16:58:20 2022 +0000
Changeset:	2a1abdec376c6fc132463c41ece5c20cc7a60aee

Modified Files:
	Makefile
Added Files:
	libdeflate/DESCR
	libdeflate/Makefile
	libdeflate/PLIST
	libdeflate/distinfo

Log Message:
New package for libdeflate-1.10.

This is needed for future Borgbackup versions, as described in
borgbackup/borg#6458.

libdeflate is a library for fast, whole-buffer DEFLATE-based compression and
decompression.

The supported formats are:

- DEFLATE (raw)
- zlib (a.k.a. DEFLATE with a zlib wrapper)
- gzip (a.k.a. DEFLATE with a gzip wrapper)

libdeflate is heavily optimized.  It is significantly faster than the zlib
library, both for compression and decompression, and especially on x86
processors.  In addition, libdeflate provides optional high compression modes
that provide a better compression ratio than the zlib's "level 9".

libdeflate itself is a library, but the following command-line programs which
use this library are also provided:

* gzip (or gunzip), a program which mostly behaves like the standard equivalent,
  except that it does not yet have good streaming support and therefore does not
  yet support very large files
* benchmark, a program for benchmarking in-memory compression and decompression

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2a1abdec376c6fc132463c41ece5c20cc7a60aee

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 libdeflate/DESCR    | 21 +++++++++++++++++++++
 libdeflate/Makefile | 18 ++++++++++++++++++
 libdeflate/PLIST    |  8 ++++++++
 libdeflate/distinfo |  5 +++++
 5 files changed, 53 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a50e92f728..5b2d2a6be4 100644
--- a/Makefile
+++ b/Makefile
@@ -2051,6 +2051,7 @@ SUBDIR+=	libcue
 SUBDIR+=	libcyaml
 SUBDIR+=	libdbglog
 SUBDIR+=	libdbh2
+SUBDIR+=	libdeflate
 SUBDIR+=	libdialog
 SUBDIR+=	libdisasm
 SUBDIR+=	libdivecomputer
diff --git a/libdeflate/DESCR b/libdeflate/DESCR
new file mode 100644
index 0000000000..e1908733ec
--- /dev/null
+++ b/libdeflate/DESCR
@@ -0,0 +1,21 @@
+libdeflate is a library for fast, whole-buffer DEFLATE-based compression and
+decompression.
+
+The supported formats are:
+
+- DEFLATE (raw)
+- zlib (a.k.a. DEFLATE with a zlib wrapper)
+- gzip (a.k.a. DEFLATE with a gzip wrapper)
+
+libdeflate is heavily optimized.  It is significantly faster than the zlib
+library, both for compression and decompression, and especially on x86
+processors.  In addition, libdeflate provides optional high compression modes
+that provide a better compression ratio than the zlib's "level 9".
+
+libdeflate itself is a library, but the following command-line programs which
+use this library are also provided:
+
+* gzip (or gunzip), a program which mostly behaves like the standard equivalent,
+  except that it does not yet have good streaming support and therefore does not
+  yet support very large files
+* benchmark, a program for benchmarking in-memory compression and decompression
diff --git a/libdeflate/Makefile b/libdeflate/Makefile
new file mode 100644
index 0000000000..2b2e4bcf53
--- /dev/null
+++ b/libdeflate/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	libdeflate-1.10
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=ebiggers/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	bsiegert%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/ebiggers/libdeflate/
+COMMENT=	Optimized deflate/zlib/gzip library
+LICENSE=	mit
+
+USE_TOOLS+=	pkg-config
+USE_TOOLS+=	gmake
+
+PKGCONFIG_OVERRIDE+=	libdeflate.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libdeflate/PLIST b/libdeflate/PLIST
new file mode 100644
index 0000000000..26fca8e7d8
--- /dev/null
+++ b/libdeflate/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+bin/libdeflate-gunzip
+bin/libdeflate-gzip
+include/libdeflate.h
+lib/libdeflate.a
+lib/libdeflate.so
+lib/libdeflate.so.0
+lib/pkgconfig/libdeflate.pc
diff --git a/libdeflate/distinfo b/libdeflate/distinfo
new file mode 100644
index 0000000000..364967ba69
--- /dev/null
+++ b/libdeflate/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (libdeflate-1.10.tar.gz) = 5c10771369adabd3ad7c64777a8245cb9892c54b7bec091cde34f71cb6d8010b
+SHA512 (libdeflate-1.10.tar.gz) = 2b59cc170c7fb3bb13bd3c6853070ea24fb9e6844dde4d08e43a8a5f8745ecbf844952390ff758070c6fc4f17d9eec8c4d2a729922bf84e2eaa9e74f1424e241
+Size (libdeflate-1.10.tar.gz) = 158379 bytes


Home | Main Index | Thread Index | Old Index