Import xxhash_0.8.0-1+rpi1.debian.tar.xz
authorPeter Michael Green <pluwash@raspbian.org>
Thu, 7 Jan 2021 21:20:41 +0000 (21:20 +0000)
committerPeter Michael Green <pluwash@raspbian.org>
Thu, 7 Jan 2021 21:20:41 +0000 (21:20 +0000)
[dgit import tarball xxhash 0.8.0-1+rpi1 xxhash_0.8.0-1+rpi1.debian.tar.xz]

14 files changed:
changelog [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
libxxhash-dev.install [new file with mode: 0644]
libxxhash0.install [new file with mode: 0644]
libxxhash0.symbols [new file with mode: 0644]
patches/fix-unaligned-access-on-armv6.patch [new file with mode: 0644]
patches/reproducible-build.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]
xxhash.install [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..afa028d
--- /dev/null
+++ b/changelog
@@ -0,0 +1,95 @@
+xxhash (0.8.0-1+rpi1) bullseye-staging; urgency=medium
+
+  * Use XXH_FORCE_MEMORY_ACCESS 1 instead of XXH_FORCE_MEMORY_ACCESS 2
+    on armv6 to fix unaligned access issue.
+
+ -- Peter Michael Green <pluwash@raspbian.org>  Thu, 07 Jan 2021 21:20:41 +0000
+
+xxhash (0.8.0-1) unstable; urgency=medium
+
+  * New upstream version 0.8.0
+  * update patch
+  * bump standards version, no changes necessary
+
+ -- Norbert Preining <norbert@preining.info>  Mon, 10 Aug 2020 01:02:50 +0900
+
+xxhash (0.7.4-1) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Set upstream metadata fields: Bug-Submit.
+
+  [ Norbert Preining ]
+  * New upstream version 0.7.4
+  * Update symbols file
+
+ -- Norbert Preining <norbert@preining.info>  Tue, 30 Jun 2020 17:10:59 +0900
+
+xxhash (0.7.3-2) unstable; urgency=medium
+
+  [ Chris Lamb ]
+  * Make the build reproducible (Closes: #956583)
+
+ -- Norbert Preining <norbert@preining.info>  Mon, 13 Apr 2020 19:00:33 +0900
+
+xxhash (0.7.3-1) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Trim trailing whitespace.
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Repository, Repository-
+    Browse.
+
+  [ Norbert Preining ]
+  * New upstream version 0.7.3
+  * Install new files (pkg-config, header, new tool xxh128sum plus man)
+
+ -- Norbert Preining <norbert@preining.info>  Fri, 13 Mar 2020 03:32:28 +0900
+
+xxhash (0.7.2-1) unstable; urgency=medium
+
+  * New upstream version 0.7.2
+
+ -- Norbert Preining <norbert@preining.info>  Sat, 12 Oct 2019 23:39:04 +0900
+
+xxhash (0.7.1-1) unstable; urgency=medium
+
+  * New upstream version 0.7.1
+  * Update symbols file
+
+ -- Norbert Preining <norbert@preining.info>  Tue, 03 Sep 2019 10:36:52 +0900
+
+xxhash (0.7.0-2) unstable; urgency=medium
+
+  * Upload to unstable
+
+ -- Norbert Preining <norbert@preining.info>  Wed, 10 Jul 2019 17:37:07 +0900
+
+xxhash (0.7.0-1) experimental; urgency=medium
+
+  * New upstream version 0.7.0
+  * Update symbols file
+
+ -- Norbert Preining <norbert@preining.info>  Tue, 23 Apr 2019 20:09:44 +0900
+
+xxhash (0.6.5-3) unstable; urgency=medium
+
+  * update VCS and email
+
+ -- Norbert Preining <norbert@preining.info>  Sun, 03 Mar 2019 09:19:39 +0900
+
+xxhash (0.6.5-2) unstable; urgency=medium
+
+  [ Matthias Klose ]
+  * Add a symbols file. (Closes: #913873)
+
+  [ Norbert Preining ]
+  * Bump standards version, no changes necessary
+
+ -- Norbert Preining <preining@debian.org>  Sat, 17 Nov 2018 01:17:27 +0900
+
+xxhash (0.6.5-1) unstable; urgency=low
+
+  * Initial release (Closes: #908175)
+
+ -- Norbert Preining <preining@debian.org>  Fri, 07 Sep 2018 12:10:46 +0900
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..787279e
--- /dev/null
+++ b/control
@@ -0,0 +1,44 @@
+Source: xxhash
+Section: utils
+Priority: optional
+Maintainer: Norbert Preining <norbert@preining.info>
+Build-Depends: debhelper-compat (= 12), dpkg-dev (>= 1.16.2)
+Standards-Version: 4.5.0
+Homepage: https://cyan4973.github.io/xxHash
+Vcs-Git: https://github.com/norbusan/debian-xxhash.git
+Vcs-Browser: https://github.com/norbusan/debian-xxhash
+
+Package: xxhash
+Architecture: any
+Depends: libxxhash0 (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: Extremely fast hash algorithm
+ 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).
+
+Package: libxxhash0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: same
+Description: shared library for xxhash
+ 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).
+ .
+ This package contains the shared library.
+
+Package: libxxhash-dev
+Architecture: any
+Section: libdevel
+Depends: libxxhash0 (= ${binary:Version}), ${misc:Depends}
+Multi-Arch: same
+Description: header files and a static library for libxxhash
+ 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).
+ .
+ This package contains xxHash static library and header files.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..aba3822
--- /dev/null
+++ b/copyright
@@ -0,0 +1,58 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: xxhash
+Source: https://github.com/Cyan4973/xxHash
+Comment: The library files `xxhash.c` and `xxhash.h` are BSD licensed.
+         The utility `xxhsum` is GPL licensed.
+
+Files: *
+Copyright: 2012-2014 Yann Collet
+License: BSD-2-clause
+
+Files: xxhsum.c
+Copyright: 2012-2014 Yann Collet
+License: GPL-2
+
+Files: debian/*
+Copyright: 2018 Norbert Preining
+License: GPL-2
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright notice, this
+   list of conditions and the following disclaimer in the documentation and/or
+   other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ The full text of the GPLv can be found in
+ /usr/share/common-licenses/GPL-2
+
diff --git a/libxxhash-dev.install b/libxxhash-dev.install
new file mode 100644 (file)
index 0000000..9c64d0d
--- /dev/null
@@ -0,0 +1,6 @@
+usr/lib/*/libxxhash.a
+usr/lib/*/libxxhash.so
+usr/include/xxhash.h
+usr/include/xxh3.h
+usr/lib/*/pkgconfig/libxxhash.pc
+doc/xxhash_spec.md usr/share/doc/libxxhash-dev
diff --git a/libxxhash0.install b/libxxhash0.install
new file mode 100644 (file)
index 0000000..c1cd949
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/*/libxxhash.so.0.*.*
+usr/lib/*/libxxhash.so.0
diff --git a/libxxhash0.symbols b/libxxhash0.symbols
new file mode 100644 (file)
index 0000000..52c2f58
--- /dev/null
@@ -0,0 +1,45 @@
+libxxhash.so.0 libxxhash0 #MINVER#
+ XXH128@Base 0.7.0
+ XXH128_canonicalFromHash@Base 0.7.1
+ XXH128_cmp@Base 0.7.1
+ XXH128_hashFromCanonical@Base 0.7.1
+ XXH128_isEqual@Base 0.7.1
+ XXH32@Base 0.6.5
+ XXH32_canonicalFromHash@Base 0.6.5
+ XXH32_copyState@Base 0.6.5
+ XXH32_createState@Base 0.6.5
+ XXH32_digest@Base 0.6.5
+ XXH32_freeState@Base 0.6.5
+ XXH32_hashFromCanonical@Base 0.6.5
+ XXH32_reset@Base 0.6.5
+ XXH32_update@Base 0.6.5
+ XXH3_128bits@Base 0.7.0
+ XXH3_128bits_digest@Base 0.7.1
+ XXH3_128bits_reset@Base 0.7.1
+ XXH3_128bits_reset_withSecret@Base 0.7.1
+ XXH3_128bits_reset_withSeed@Base 0.7.1
+ XXH3_128bits_update@Base 0.7.1
+ XXH3_128bits_withSecret@Base 0.7.1
+ XXH3_128bits_withSeed@Base 0.7.0
+ XXH3_64bits@Base 0.7.0
+ XXH3_64bits_digest@Base 0.7.1
+ XXH3_64bits_reset@Base 0.7.1
+ XXH3_64bits_reset_withSecret@Base 0.7.1
+ XXH3_64bits_reset_withSeed@Base 0.7.1
+ XXH3_64bits_update@Base 0.7.1
+ XXH3_64bits_withSecret@Base 0.7.1
+ XXH3_64bits_withSeed@Base 0.7.0
+ XXH3_copyState@Base 0.7.1
+ XXH3_createState@Base 0.7.1
+ XXH3_freeState@Base 0.7.1
+ XXH3_generateSecret@Base 0.7.4
+ XXH64@Base 0.6.5
+ XXH64_canonicalFromHash@Base 0.6.5
+ XXH64_copyState@Base 0.6.5
+ XXH64_createState@Base 0.6.5
+ XXH64_digest@Base 0.6.5
+ XXH64_freeState@Base 0.6.5
+ XXH64_hashFromCanonical@Base 0.6.5
+ XXH64_reset@Base 0.6.5
+ XXH64_update@Base 0.6.5
+ XXH_versionNumber@Base 0.6.5
diff --git a/patches/fix-unaligned-access-on-armv6.patch b/patches/fix-unaligned-access-on-armv6.patch
new file mode 100644 (file)
index 0000000..cdcd7ad
--- /dev/null
@@ -0,0 +1,14 @@
+Description:  Use XXH_FORCE_MEMORY_ACCESS 1 instead of XXH_FORCE_MEMORY_ACCESS 2 on armv6 to fix unaligned access issue.
+Author: Peter Michael Green <pluwash@raspbian.org>
+
+--- xxhash-0.8.0.orig/xxhash.h
++++ xxhash-0.8.0/xxhash.h
+@@ -807,7 +807,7 @@ XXH_PUBLIC_API XXH128_hash_t XXH128(cons
+  */
+ #ifndef XXH_FORCE_MEMORY_ACCESS   /* can be defined externally, on command line for example */
+ #  if !defined(__clang__) && defined(__GNUC__) && defined(__ARM_FEATURE_UNALIGNED) && defined(__ARM_ARCH) && (__ARM_ARCH == 6)
+-#    define XXH_FORCE_MEMORY_ACCESS 2
++#    define XXH_FORCE_MEMORY_ACCESS 1
+ #  elif !defined(__clang__) && ((defined(__INTEL_COMPILER) && !defined(_WIN32)) || \
+   (defined(__GNUC__) && (defined(__ARM_ARCH) && __ARM_ARCH >= 7)))
+ #    define XXH_FORCE_MEMORY_ACCESS 1
diff --git a/patches/reproducible-build.patch b/patches/reproducible-build.patch
new file mode 100644 (file)
index 0000000..38fa9aa
--- /dev/null
@@ -0,0 +1,21 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2020-04-13
+
+---
+ libxxhash.pc.in |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/libxxhash.pc.in
++++ b/libxxhash.pc.in
+@@ -2,8 +2,8 @@
+ #   Copyright (C) 2012-2020, Yann Collet, Facebook
+ #   BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php)
+-prefix=@PREFIX@
+-exec_prefix=@EXECPREFIX@
++prefix=/usr
++exec_prefix=${prefix}
+ includedir=${prefix}/@INCLUDEDIR@
+ libdir=${exec_prefix}/@LIBDIR@
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..45b4d53
--- /dev/null
@@ -0,0 +1,2 @@
+reproducible-build.patch
+fix-unaligned-access-on-armv6.patch
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..2053a97
--- /dev/null
+++ b/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+%:
+       dh $@
+
+override_dh_auto_install:
+       $(MAKE) PREFIX=$(CURDIR)/debian/tmp/usr LIBDIR=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) install
+       dh_install
+
+# not to be run, removes compiled files
+override_dh_auto_test:
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..61efb01
--- /dev/null
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/Cyan4973/xxHash/issues
+Bug-Submit: https://github.com/Cyan4973/xxHash/issues/new
+Repository: https://github.com/Cyan4973/xxHash.git
+Repository-Browse: https://github.com/Cyan4973/xxHash
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..2d3805a
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/xxhash-$1\.tar\.gz/ \
+  https://github.com/Cyan4973/xxHash/releases/latest .*/v?(\d\S*)\.tar\.gz
diff --git a/xxhash.install b/xxhash.install
new file mode 100644 (file)
index 0000000..8870eb0
--- /dev/null
@@ -0,0 +1,8 @@
+usr/bin/xxhsum
+usr/bin/xxh32sum
+usr/bin/xxh64sum
+usr/bin/xxh128sum
+usr/share/man/man1/xxhsum.1
+usr/share/man/man1/xxh32sum.1
+usr/share/man/man1/xxh64sum.1
+usr/share/man/man1/xxh128sum.1