aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rwxr-xr-xcore/b3sum/build5
-rw-r--r--core/b3sum/checksums3
-rw-r--r--core/b3sum/files/b3sum.138
-rw-r--r--core/b3sum/sources3
-rw-r--r--core/b3sum/version2
5 files changed, 5 insertions, 46 deletions
diff --git a/core/b3sum/build b/core/b3sum/build
index bf75d18d..fb79f372 100755
--- a/core/b3sum/build
+++ b/core/b3sum/build
@@ -1,5 +1,4 @@
#!/bin/sh -e
-make PREFIX=/usr LDFLAGS=-static b3sum
-install -Dm755 b3sum "$1/usr/bin/b3sum"
-install -Dm644 b3sum.1 "$1/usr/share/man/man1/b3sum.1"
+make LDFLAGS="$LDFLAGS -static"
+make PREFIX=/usr DESTDIR="$1" install
diff --git a/core/b3sum/checksums b/core/b3sum/checksums
index e50a9f13..22c21cad 100644
--- a/core/b3sum/checksums
+++ b/core/b3sum/checksums
@@ -1,2 +1 @@
-a684ce0706dfc4cecc3a673617fbc05b32af908f265148bbd04e2c55aec7b499 0ed69e30.tar.gz
-554ce58c85ab177ca9704c97c9c7a53a6553ff53016efe5a0745a279c3a88d63 b3sum.1
+5f91e0ac4301ccf49dd81264d3a6705e788296bb85cd0f7fb044e096728b7991 b1de822a.tar.gz
diff --git a/core/b3sum/files/b3sum.1 b/core/b3sum/files/b3sum.1
deleted file mode 100644
index b4332197..00000000
--- a/core/b3sum/files/b3sum.1
+++ /dev/null
@@ -1,38 +0,0 @@
-.Dd Jul 03, 2021
-.Dt b3sum 1
-.Sh NAME
-.Nm b3sum
-.Nd compute or check BLAKE3 message digests
-.Sh SYNOPSIS
-.Nm
-.Op Fl bct
-.Op Fl l Ar length
-.Op Ar file...
-.Sh DESCRIPTION
-.Nm
-writes BLAKE3 checksums of each
-.Ar file
-to stdout. If no
-.Ar file
-is given
-.Nm
-reads from the standard input.
-.Sh OPTIONS
-.Bl -tag
-.It Fl c
-Read list of BLAKE3 checksums from each
-.Ar file
-and check them. If no
-.Ar file
-is given
-.Nm
-reads from stdin.
-.It Fl b
-read in binary mode.
-.It Fl t
-read in text mode (default)
-.It Fl l Ar length
-Output the first
-.Ar length
-characters of the generated checksum.
-.El
diff --git a/core/b3sum/sources b/core/b3sum/sources
index 84c829ca..947c515b 100644
--- a/core/b3sum/sources
+++ b/core/b3sum/sources
@@ -1,2 +1 @@
-https://git.sr.ht/~mcf/b3sum/archive/0ed69e30.tar.gz
-files/b3sum.1
+https://git.sr.ht/~mcf/b3sum/archive/b1de822a.tar.gz
diff --git a/core/b3sum/version b/core/b3sum/version
index a383ea1a..82026115 100644
--- a/core/b3sum/version
+++ b/core/b3sum/version
@@ -1 +1 @@
-git 1
+git 2