pkgsrc-WIP-changes archive

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

+ xxhash, the super fast checksummer.



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Sat Dec 31 16:16:09 2016 -0800
Changeset:	f4e88a9b0320bb7b718e59fdb1ee659c67ebb902

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

Log Message:
+ xxhash, the super fast checksummer.

Brought to you by the same guys who did LZ4.

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

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

diffstat:
 Makefile        |  1 +
 xxhash/DESCR    |  4 ++++
 xxhash/Makefile | 31 +++++++++++++++++++++++++++++++
 xxhash/PLIST    |  5 +++++
 xxhash/distinfo |  6 ++++++
 5 files changed, 47 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 8d0f440..0e46dc5 100644
--- a/Makefile
+++ b/Makefile
@@ -4417,6 +4417,7 @@ SUBDIR+=	xtrlock
 SUBDIR+=	xwelltris
 SUBDIR+=	xwindiff
 SUBDIR+=	xxdiff
+SUBDIR+=	xxhash
 SUBDIR+=	yabar
 SUBDIR+=	yafray
 SUBDIR+=	yakuake
diff --git a/xxhash/DESCR b/xxhash/DESCR
new file mode 100644
index 0000000..5903927
--- /dev/null
+++ b/xxhash/DESCR
@@ -0,0 +1,4 @@
+xxHash is an Extremely fast Hash algorithm, running at RAM speed limits.  It
+successfully completes the SMHasher test suite which evaluates collision,
+dispersion and randomness qualities of hash functions. Code is highly
+portable, and hashes are identical on all platforms (little / big endian).
diff --git a/xxhash/Makefile b/xxhash/Makefile
new file mode 100644
index 0000000..3c1dbfe
--- /dev/null
+++ b/xxhash/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+PKGNAME=	xxhash-0.6.2
+DISTNAME=	xxHash-${PKGVERSION_NOREV}
+CATEGORIES=	misc
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Cyan4973/}
+
+MAINTAINER=	cfkoch%edgebsd.org@localhost
+COMMENT=	Extremely fast non-cryptographic hash algorithm
+HOMEPAGE=	https://github.com/Cyan4973/xxHash/
+LICENSE=	2-clause-bsd AND gnu-gpl-v2
+
+EXTRACT_USING=	gtar
+USE_TOOLS+=	gmake
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+AUTO_MKDIRS=	yes
+
+do-install:
+	${INSTALL_ENV} ${INSTALL_PROGRAM} ${WRKSRC}/xxhsum ${DESTDIR}${PREFIX}/bin
+	${INSTALL_ENV} ${INSTALL_PROGRAM} ${WRKSRC}/xxhsum32 ${DESTDIR}${PREFIX}/bin
+	${INSTALL_ENV} ${INSTALL_PROGRAM} ${WRKSRC}/xxhsum_inlinedXXH ${DESTDIR}${PREFIX}/bin
+	${INSTALL_ENV} ${INSTALL_MAN} ${WRKSRC}/xxhsum.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"
+
+
+#The library files `xxhash.c` and `xxhash.h` are BSD licensed.
+#The utility `xxhsum` is GPL licensed.
diff --git a/xxhash/PLIST b/xxhash/PLIST
new file mode 100644
index 0000000..125a1b5
--- /dev/null
+++ b/xxhash/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+bin/xxhsum
+bin/xxhsum32
+bin/xxhsum_inlinedXXH
+man/man1/xxhsum.1
diff --git a/xxhash/distinfo b/xxhash/distinfo
new file mode 100644
index 0000000..64a7bc1
--- /dev/null
+++ b/xxhash/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (xxHash-0.6.2.tar.gz) = 303f93e57b4e1ddc627d62a3313eaab82fd11720
+RMD160 (xxHash-0.6.2.tar.gz) = 9deb0f11c0a19d3dfb6401de30a794af9a2de47f
+SHA512 (xxHash-0.6.2.tar.gz) = 1e8017f78baf5747f739d6ab0c6c3ce51e4ddf53bd0aced3e2495fceefea23b408e395ff2f38681ad54e8588525fa12c13b08c1ff5fabf1df75044525c15e781
+Size (xxHash-0.6.2.tar.gz) = 26518 bytes


Home | Main Index | Thread Index | Old Index