Sun May 31 09:51:35 2020 UTC ()
xxhash: Update to 0.7.3. Fix installation of libs.

v0.7.3
- perf: improved speed for large inputs (~+20%)
- perf: improved latency for small inputs (~10%)
- perf: s390x Vectorial code, by @easyaspi314
- cli: improved support for Unicode filenames on Windows, thanks to @easyaspi314 and @t-mat
- api: `xxhash.h` can now be included in any order, with and without `XXH_STATIC_LINKING_ONLY` and `XXH_INLINE_ALL`
- build: xxHash's implementation transferred into `xxhash.h`. No more need to have `xxhash.c` in the `/include` directory for `XXH_INLINE_ALL` to work
- install: created pkg-config file, by @bket
- install: VCpkg installation instructions, by @LilyWangL
- doc: Highly improved code documentation, by @easyaspi314
- misc: New test tool in `/tests/collisions`: brute force collision tester for 64-bit hashes

v0.7.2
- Fixed collision ratio of `XXH128` for some specific input lengths, reported by @svpv
- Improved `VSX` and `NEON` variants, by @easyaspi314
- Improved performance of scalar code path (`XXH_VECTOR=0`), by @easyaspi314
- `xxhsum`: can generate 128-bit hashes with the `-H2` option (note: for experimental purposes only! `XXH128` is not yet frozen)
- `xxhsum`: option `-q` removes status notifications

v0.7.1
- Secret first: the algorithm computation can be altered by providing a "secret", which is any blob of bytes, of size >= `XXH3_SECRET_SIZE_MIN`.
- `seed` is still available, and acts as a secret generator
- updated `ARM NEON` variant by @easyaspi314
- Streaming implementation is available
- Improve compatibility and performance with Visual Studio, with help from @aras-p
- Better integration when using `XXH_INLINE_ALL`: do not pollute host namespace, use its own macros, such as `XXH_ASSERT()`, `XXH_ALIGN`, etc.
- 128-bit variant provides helper functions for comparison of hashes.
- Better `clang` generation of `rotl` instruction, thanks to @easyaspi314
- `XXH_REROLL` build macro to reduce binary size, by @easyaspi314
- Improved `cmake` script, by @Mezozoysky
- Full benchmark program provided in `/tests/bench`


(nia)
diff -r1.1 -r1.2 pkgsrc/devel/xxhash/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/xxhash/PLIST
diff -r1.1 -r1.2 pkgsrc/devel/xxhash/buildlink3.mk
diff -r1.1 -r1.2 pkgsrc/devel/xxhash/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/devel/xxhash/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/xxhash/Makefile 2018/09/10 13:47:31 1.1
+++ pkgsrc/devel/xxhash/Makefile 2020/05/31 09:51:35 1.2
@@ -1,24 +1,44 @@ @@ -1,24 +1,44 @@
1# $NetBSD: Makefile,v 1.1 2018/09/10 13:47:31 fhajny Exp $ 1# $NetBSD: Makefile,v 1.2 2020/05/31 09:51:35 nia Exp $
2 2
3DISTNAME= xxhash-0.6.5 3DISTNAME= xxhash-0.7.3
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=Cyan4973/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=Cyan4973/}
 6GITHUB_PROJECT= xxHash
 7GITHUB_TAG= v${PKGVERSION_NOREV}
6 8
7MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://github.com/Cyan4973/xxHash/ 10HOMEPAGE= https://github.com/Cyan4973/xxHash
9COMMENT= Extremely fast non-cryptographic hash algorithm 11COMMENT= Extremely fast non-cryptographic hash algorithm
10LICENSE= 2-clause-bsd 12LICENSE= 2-clause-bsd
11 13
12GITHUB_PROJECT= xxHash 
13GITHUB_TAG= v${PKGVERSION_NOREV} 
14 
15USE_TOOLS+= gmake 14USE_TOOLS+= gmake
16 15
17INSTALLATION_DIRS+= bin include ${PKGMANDIR}/man1 16BUILD_TARGET= all pkgconfig
 17
 18.include "../../mk/bsd.prefs.mk"
 19
 20PLIST_VARS+= darwin notdarwin
 21
 22.if ${OPSYS} == "Darwin"
 23PLIST.darwin= yes
 24.else
 25PLIST.notdarwin= yes
 26.endif
 27
 28INSTALLATION_DIRS+= bin include ${PKGMANDIR}/man1 lib lib/pkgconfig
 29
 30PKGCONFIG_OVERRIDE+= libxxhash.pc.in
18 31
19do-install: 32do-install:
20 ${INSTALL_DATA} ${WRKSRC}/xxhash.h ${DESTDIR}${PREFIX}/include 33 ${INSTALL_DATA} ${WRKSRC}/xxhash.h ${DESTDIR}${PREFIX}/include
21 ${INSTALL_MAN} ${WRKSRC}/xxhsum.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 34 ${INSTALL_MAN} ${WRKSRC}/xxhsum.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
22 ${INSTALL_PROGRAM} ${WRKSRC}/xxhsum ${DESTDIR}${PREFIX}/bin 35 ${INSTALL_PROGRAM} ${WRKSRC}/xxhsum ${DESTDIR}${PREFIX}/bin
 36 ${INSTALL_DATA} ${WRKSRC}/libxxhash.a ${DESTDIR}${PREFIX}/lib
 37 ${INSTALL_DATA} ${WRKSRC}/libxxhash.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
 38.if ${OPSYS} == "Darwin"
 39 ${INSTALL_LIB} ${WRKSRC}/libxxhash*dylib ${DESTDIR}${PREFIX}/lib
 40.else
 41 ${INSTALL_LIB} ${WRKSRC}/libxxhash.so* ${DESTDIR}${PREFIX}/lib
 42.endif
23 43
24.include "../../mk/bsd.pkg.mk" 44.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/devel/xxhash/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/xxhash/PLIST 2018/09/10 13:47:31 1.1
+++ pkgsrc/devel/xxhash/PLIST 2020/05/31 09:51:35 1.2
@@ -1,4 +1,12 @@ @@ -1,4 +1,12 @@
1@comment $NetBSD: PLIST,v 1.1 2018/09/10 13:47:31 fhajny Exp $ 1@comment $NetBSD: PLIST,v 1.2 2020/05/31 09:51:35 nia Exp $
2bin/xxhsum 2bin/xxhsum
3include/xxhash.h 3include/xxhash.h
 4${PLIST.darwin}lib/libxxhash.0.dylib
 5lib/libxxhash.a
 6${PLIST.darwin}lib/libxxhash.${PKGVERSION}.dylib
 7${PLIST.darwin}lib/libxxhash.dylib
 8${PLIST.notdarwin}lib/libxxhash.so
 9${PLIST.notdarwin}lib/libxxhash.so.0
 10${PLIST.notdarwin}lib/libxxhash.so.${PKGVERSION}
 11lib/pkgconfig/libxxhash.pc
4man/man1/xxhsum.1 12man/man1/xxhsum.1

cvs diff -r1.1 -r1.2 pkgsrc/devel/xxhash/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/devel/xxhash/buildlink3.mk 2018/09/10 13:47:31 1.1
+++ pkgsrc/devel/xxhash/buildlink3.mk 2020/05/31 09:51:35 1.2
@@ -1,13 +1,13 @@ @@ -1,13 +1,13 @@
1# $NetBSD: buildlink3.mk,v 1.1 2018/09/10 13:47:31 fhajny Exp $ 1# $NetBSD: buildlink3.mk,v 1.2 2020/05/31 09:51:35 nia Exp $
2 2
3BUILDLINK_TREE+= xxhash 3BUILDLINK_TREE+= xxhash
4 4
5.if !defined(XXHASH_BUILDLINK3_MK) 5.if !defined(XXHASH_BUILDLINK3_MK)
6XXHASH_BUILDLINK3_MK:= 6XXHASH_BUILDLINK3_MK:=
7 7
8BUILDLINK_ABI_DEPENDS.xxhash+= xxhash>=0.6.0 8BUILDLINK_ABI_DEPENDS.xxhash+= xxhash>=0.7.3
9BUILDLINK_API_DEPENDS.xxhash+= xxhash>=0.6.0 9BUILDLINK_API_DEPENDS.xxhash+= xxhash>=0.7.3
10BUILDLINK_PKGSRCDIR.xxhash?= ../../devel/xxhash 10BUILDLINK_PKGSRCDIR.xxhash?= ../../devel/xxhash
11.endif # XXHASH_BUILDLINK3_MK 11.endif # XXHASH_BUILDLINK3_MK
12 12
13BUILDLINK_TREE+= -xxhash 13BUILDLINK_TREE+= -xxhash

cvs diff -r1.1 -r1.2 pkgsrc/devel/xxhash/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/xxhash/distinfo 2018/09/10 13:47:31 1.1
+++ pkgsrc/devel/xxhash/distinfo 2020/05/31 09:51:35 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2018/09/10 13:47:31 fhajny Exp $ 1$NetBSD: distinfo,v 1.2 2020/05/31 09:51:35 nia Exp $
2 2
3SHA1 (xxhash-0.6.5.tar.gz) = dc88bee2c1aa1080ae28a8f00967043af926691f 3SHA1 (xxhash-0.7.3.tar.gz) = f05904b4877fdedfae2a62391245a41e433cbc44
4RMD160 (xxhash-0.6.5.tar.gz) = c70dfe2d2beddd292f521a5788bd94d4ec39cd5c 4RMD160 (xxhash-0.7.3.tar.gz) = e5c3111cda04157f8c686248c4cf34c189c6073e
5SHA512 (xxhash-0.6.5.tar.gz) = 085643b52e091ac0eedd54c4459220b3643d825ca71a11e952d00ea2041c570ff57d8553d0378f34e038ca9ee3b40d2048ed02d44d5aff1fbfcbf5e642487ba0 5SHA512 (xxhash-0.7.3.tar.gz) = 72949010a267f063768241b182464c386005b4078f56902fee2f7804bd01f6c27878a6a4ec2a266cd59162934a7e471264ac5757dba570a97a2b5dad7703c664
6Size (xxhash-0.6.5.tar.gz) = 37521 bytes 6Size (xxhash-0.7.3.tar.gz) = 126405 bytes