blake3: Rename from b3sum, update to v1.5.5, build C lib

Release notes available [here](https://github.com/BLAKE3-team/BLAKE3/releases/tag/1.5.5)

Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
This commit is contained in:
Reilly Brogan 2024-12-12 19:38:09 -06:00
parent 3ffcea9773
commit 9cbf5aaef5
No known key found for this signature in database
GPG key ID: F58C404158883626
12 changed files with 138 additions and 59 deletions

View file

@ -1,23 +0,0 @@
name : b3sum
version : 1.5.4
release : 4
source :
- https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/1.5.4.tar.gz : ddd24f26a31d23373e63d9be2e723263ac46c8b6d49902ab08024b573fd2a416
homepage : https://github.com/BLAKE3-team/BLAKE3
license : Apache-2.0
component : system.utils
summary : Command line implementation of the BLAKE3 hash function
description: |
Command line implementation of the BLAKE3 hash function
networking : yes
builddeps :
- rust
setup : |
cd b3sum
%cargo_fetch
build : |
cd b3sum
%cargo_build
install : |
cd b3sum
%cargo_install

View file

@ -1,35 +0,0 @@
<PISI>
<Source>
<Name>b3sum</Name>
<Homepage>https://github.com/BLAKE3-team/BLAKE3</Homepage>
<Packager>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
</Packager>
<License>Apache-2.0</License>
<PartOf>system.utils</PartOf>
<Summary xml:lang="en">Command line implementation of the BLAKE3 hash function</Summary>
<Description xml:lang="en">Command line implementation of the BLAKE3 hash function
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>b3sum</Name>
<Summary xml:lang="en">Command line implementation of the BLAKE3 hash function</Summary>
<Description xml:lang="en">Command line implementation of the BLAKE3 hash function
</Description>
<PartOf>system.utils</PartOf>
<Files>
<Path fileType="executable">/usr/bin/b3sum</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2024-09-08</Date>
<Version>1.5.4</Version>
<Comment>Packaging update</Comment>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
</Update>
</History>
</PISI>

View file

@ -0,0 +1 @@
libblake3.so.0

View file

@ -0,0 +1,31 @@
libblake3.so.0:_blake3_compress_in_place_avx512
libblake3.so.0:_blake3_compress_in_place_sse2
libblake3.so.0:_blake3_compress_in_place_sse41
libblake3.so.0:_blake3_compress_xof_avx512
libblake3.so.0:_blake3_compress_xof_sse2
libblake3.so.0:_blake3_compress_xof_sse41
libblake3.so.0:_blake3_hash_many_avx2
libblake3.so.0:_blake3_hash_many_avx512
libblake3.so.0:_blake3_hash_many_sse2
libblake3.so.0:_blake3_hash_many_sse41
libblake3.so.0:_blake3_xof_many_avx512
libblake3.so.0:blake3_compress_in_place_avx512
libblake3.so.0:blake3_compress_in_place_sse2
libblake3.so.0:blake3_compress_in_place_sse41
libblake3.so.0:blake3_compress_xof_avx512
libblake3.so.0:blake3_compress_xof_sse2
libblake3.so.0:blake3_compress_xof_sse41
libblake3.so.0:blake3_hash_many_avx2
libblake3.so.0:blake3_hash_many_avx512
libblake3.so.0:blake3_hash_many_sse2
libblake3.so.0:blake3_hash_many_sse41
libblake3.so.0:blake3_hasher_finalize
libblake3.so.0:blake3_hasher_finalize_seek
libblake3.so.0:blake3_hasher_init
libblake3.so.0:blake3_hasher_init_derive_key
libblake3.so.0:blake3_hasher_init_derive_key_raw
libblake3.so.0:blake3_hasher_init_keyed
libblake3.so.0:blake3_hasher_reset
libblake3.so.0:blake3_hasher_update
libblake3.so.0:blake3_version
libblake3.so.0:blake3_xof_many_avx512

View file

@ -1,11 +1,11 @@
ld-linux-x86-64.so.2:__tls_get_addr
libc.so.6:__errno_location
libc.so.6:__libc_start_main
libc.so.6:__stack_chk_fail
libc.so.6:__xpg_strerror_r
libc.so.6:abort
libc.so.6:bcmp
libc.so.6:calloc
libc.so.6:clock_gettime
libc.so.6:close
libc.so.6:dl_iterate_phdr
libc.so.6:dlsym

View file

@ -0,0 +1,41 @@
name : blake3
version : 1.5.5
release : 5
source :
- https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/1.5.5.tar.gz : 6feba0750efc1a99a79fb9a495e2628b5cd1603e15f56a06b1d6cb13ac55c618
homepage : https://github.com/BLAKE3-team/BLAKE3
license : Apache-2.0
component : system.utils
summary :
- A very fast cryptographic hash
- ^b3sum : Command line implementation of the BLAKE3 hash function
description:
- A very fast cryptographic hash
- ^b3sum : Command line implementation of the BLAKE3 hash function
networking : yes
builddeps :
- rust
setup : |
pushd c
%cmake_ninja -DBUILD_SHARED_LIBS=ON
popd
cd b3sum
%cargo_fetch
build : |
pushd c
%ninja_build
popd
cd b3sum
%cargo_build
install : |
pushd c
%ninja_install
popd
cd b3sum
%cargo_install b3sum
patterns :
- ^b3sum :
- /usr/bin/b3sum

View file

@ -0,0 +1,60 @@
<PISI>
<Source>
<Name>blake3</Name>
<Homepage>https://github.com/BLAKE3-team/BLAKE3</Homepage>
<Packager>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
</Packager>
<License>Apache-2.0</License>
<PartOf>system.utils</PartOf>
<Summary xml:lang="en">A very fast cryptographic hash</Summary>
<Description xml:lang="en">A very fast cryptographic hash</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>blake3</Name>
<Summary xml:lang="en">A very fast cryptographic hash</Summary>
<Description xml:lang="en">A very fast cryptographic hash</Description>
<PartOf>system.utils</PartOf>
<Files>
<Path fileType="library">/usr/lib64/libblake3.so.0</Path>
<Path fileType="library">/usr/lib64/libblake3.so.1.5.5</Path>
</Files>
</Package>
<Package>
<Name>b3sum</Name>
<Summary xml:lang="en">Command line implementation of the BLAKE3 hash function</Summary>
<Description xml:lang="en">Command line implementation of the BLAKE3 hash function</Description>
<Files>
<Path fileType="executable">/usr/bin/b3sum</Path>
</Files>
</Package>
<Package>
<Name>blake3-devel</Name>
<Summary xml:lang="en">Development files for blake3</Summary>
<Description xml:lang="en">A very fast cryptographic hash</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="5">blake3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/blake3.h</Path>
<Path fileType="library">/usr/lib64/cmake/blake3/blake3-config-version.cmake</Path>
<Path fileType="library">/usr/lib64/cmake/blake3/blake3-config.cmake</Path>
<Path fileType="library">/usr/lib64/cmake/blake3/blake3-targets-relwithdebinfo.cmake</Path>
<Path fileType="library">/usr/lib64/cmake/blake3/blake3-targets.cmake</Path>
<Path fileType="library">/usr/lib64/libblake3.so</Path>
<Path fileType="data">/usr/lib64/pkgconfig/libblake3.pc</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2024-12-13</Date>
<Version>1.5.5</Version>
<Comment>Packaging update</Comment>
<Name>Reilly Brogan</Name>
<Email>solus@reillybrogan.com</Email>
</Update>
</History>
</PISI>

View file

@ -2770,5 +2770,6 @@
<Package>nodejs-18</Package>
<Package>nodejs-18-dbginfo</Package>
<Package>swtpm-devel</Package>
<Package>b3sum-dbginfo</Package>
</Obsoletes>
</PISI>

View file

@ -3712,6 +3712,9 @@
<!-- Unnecessary, can be readded later if needed -->
<Package>swtpm-devel</Package>
<!-- Renamed to blake3 -->
<Package>b3sum-dbginfo</Package>
</Obsoletes>
</PISI>