]> Sergey Matveev's repositories - meta4ra.git/commitdiff
Forgotten v2 raise v2.1.0
authorSergey Matveev <stargrave@stargrave.org>
Sun, 22 Mar 2026 11:12:34 +0000 (14:12 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 22 Mar 2026 11:17:01 +0000 (14:17 +0300)
bin/meta4ra-hashers-detect
cmd/check.go
cmd/create.go
cmd/dl.go
cmd/hash.go
cmd/list.go
go.mod
go.sum
internal/common.go
internal/thirdparty.go
makedist

index 66bcb1b29cec09470649e1a833d09f57c27f45c4..9b6b11e0b45431147cb835d3bb8e16fb9ee4a069 100755 (executable)
@@ -94,7 +94,7 @@ unhexdump="hexdump -v -e '/1 \"%02x\"' ; echo"
 n=streebog-512
 if [ -z "$desired" ] || [ $desired = "$n" ] ; then
     HSH=84d883ede9fa6ce855d82d8c278ecd9f5fc88bf0602831ae0c38b9b506ea3cb02f3fa076b8f5664adf1ff862c0157da4cc9a83e141b738ff9268a9ba3ed6f563
-    check $n streebog512 || # go.cypherpunks.su/gogost
+    check $n streebog512 || # go.stargrave.org/gogost
     check $n "nettle-hash --algorithm=streebog512 --raw | $unxxd" ||
     check $n "nettle-hash --algorithm=streebog512 --raw | $unhexdump" ||
     check $n "libressl dgst -streebog512" ||
index 09bfe2f2127f7243e972a18edecbdfe9b5a5a22f..ecd7a3ba4358e847633a0a69d4ca0ce814bd2f43 100644 (file)
@@ -27,7 +27,7 @@ import (
        "strings"
        "time"
 
-       meta4ra "go.stargrave.org/meta4ra/internal"
+       meta4ra "go.stargrave.org/meta4ra/v2/internal"
 )
 
 func runCheck() {
index ef72428e882fffd6b54390fdf1a59d862ae10644..959dd030d9529aedc4416fcd17fd21da899b19a6 100644 (file)
@@ -27,7 +27,7 @@ import (
        "path"
        "time"
 
-       meta4ra "go.stargrave.org/meta4ra/internal"
+       meta4ra "go.stargrave.org/meta4ra/v2/internal"
 )
 
 func runCreate() {
index db000c5dd4ed4f11066630fb1cfdf833b68b7ba6..64527830467889f26911b78a8f36cdd3010fce46 100644 (file)
--- a/cmd/dl.go
+++ b/cmd/dl.go
@@ -25,7 +25,7 @@ import (
        "os"
        "time"
 
-       meta4ra "go.stargrave.org/meta4ra/internal"
+       meta4ra "go.stargrave.org/meta4ra/v2/internal"
 )
 
 func runDl() {
index 7fc377c3474c92d589de14829a5a1aa76adc3776..1ae26dbe583c7353f9822ab6a68c4432d7c29d17 100644 (file)
@@ -24,7 +24,7 @@ import (
        "os"
        "strings"
 
-       meta4ra "go.stargrave.org/meta4ra/internal"
+       meta4ra "go.stargrave.org/meta4ra/v2/internal"
 )
 
 func runHash() {
index e1e0acccfceea5ffca64dc3bf3393c2af2824ed3..0ca23f94f0cc87c5a490e24aefdaa93b6009fa38 100644 (file)
@@ -24,7 +24,7 @@ import (
        "os"
        "strings"
 
-       meta4ra "go.stargrave.org/meta4ra/internal"
+       meta4ra "go.stargrave.org/meta4ra/v2/internal"
 )
 
 func runList() {
diff --git a/go.mod b/go.mod
index 44b5c66ca139da44235eb994d45a37fd25f0f55c..a455459d0f12a1aa0484b7e3094cde2589216e16 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module go.stargrave.org/meta4ra
+module go.stargrave.org/meta4ra/v2
 
 go 1.24.0
 
@@ -6,7 +6,7 @@ require (
        github.com/dchest/skein v0.0.0-20171112102903-d7f1022db390
        github.com/dustin/go-humanize v1.0.1
        github.com/zeebo/xxh3 v1.0.2
-       go.cypherpunks.su/gogost/v6 v6.1.0
+       go.stargrave.org/gogost/v7 v7.0.0
        golang.org/x/crypto v0.33.0
        lukechampine.com/blake3 v1.4.1
 )
diff --git a/go.sum b/go.sum
index 65e88ad6ef38b2bbe3dba7db978b69983c6d9657..db744b6dff4fe35c12004dc231346b82bcb3dc87 100644 (file)
--- a/go.sum
+++ b/go.sum
@@ -8,8 +8,8 @@ github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ=
 github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
 github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0=
 github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA=
-go.cypherpunks.su/gogost/v6 v6.1.0 h1:RJHFxDZ2j/TIfHXGn4AG0fTDg19GEX/oVFAgMvLCIPM=
-go.cypherpunks.su/gogost/v6 v6.1.0/go.mod h1:cj9i0r80PN7jrwMqBAWhaY8JetCeg4x5jjnZsVRkaPI=
+go.stargrave.org/gogost/v7 v7.0.0 h1:yTkNKH9TBrb4nZyMXrAateyZYDvauwH1gCVBL+TwF38=
+go.stargrave.org/gogost/v7 v7.0.0/go.mod h1:NlrCXlmZahvPeDbIcidlrQ4u7U5FrJJOAPZGKped/Zs=
 golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus=
 golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M=
 golang.org/x/sys v0.39.0 h1:CvCKL8MeisomCi6qNZ+wbb0DN9E5AATixKsvNtMoMFk=
index 2276101e8226599e1cb2d970e5ba69b42345f14f..760c1d3003188f64eb4f92f917d371bfe3c68486 100644 (file)
@@ -21,7 +21,7 @@ import (
 )
 
 const (
-       Generator       = "meta4ra/2.0.0"
+       Generator       = "meta4ra/2.1.0"
        SigMediaTypePGP = "application/pgp-signature"
        SigMediaTypeSSH = "application/ssh-signature"
        BufLen          = 1 << 20
index 4a50aa7adfbb14ceff002bbf8824a6c6d1f0c9ff..fac89d3869e7388d45f26b79f9df5a03ba866e16 100644 (file)
@@ -21,8 +21,8 @@ import (
        "hash"
 
        "github.com/dchest/skein"
-       "go.cypherpunks.su/gogost/v6/gost34112012256"
-       "go.cypherpunks.su/gogost/v6/gost34112012512"
+       "go.stargrave.org/gogost/v7/gost34112012256"
+       "go.stargrave.org/gogost/v7/gost34112012512"
        "golang.org/x/crypto/blake2b"
        "lukechampine.com/blake3"
 )
index 30bc7eee131e06ea06de0bb5718fe57e0d16cc68..deeeb61c60a6652ac924ea8076111f3e104e864e 100755 (executable)
--- a/makedist
+++ b/makedist
@@ -33,6 +33,8 @@ meta4ra-create -fn $tarball -mtime $tarball -sig-ssh $tarball.sig \
     "4|ru|https://spb.www.meta4ra.stargrave.org/download/$tarball" \
     "5|ru|http://y.www.meta4ra.stargrave.org/download/$tarball" \
     "5|ru|http://[322:3bd:cc26:9545:b00b:66d6:6245:e58b]/download/$tarball" \
+    "6|ru|sftp://anonwww@msk.www.stargrave.org/meta4ra.stargrave.org/download/$tarball" \
+    "6|ru|sftp://anonwww@spb.www.stargrave.org/meta4ra.stargrave.org/download/$tarball" \
     <$tarball >$tarball.meta4
 meta4ra-create -add $tarball.meta4 -fn $tarball.sig -hashers "" \
     -id "OpenSSH signature" \
@@ -44,6 +46,8 @@ meta4ra-create -add $tarball.meta4 -fn $tarball.sig -hashers "" \
     "4|ru|https://spb.www.meta4ra.stargrave.org/download/$tarball.sig" \
     "5|ru|http://y.www.meta4ra.stargrave.org/download/$tarball.sig" \
     "5|ru|http://[322:3bd:cc26:9545:b00b:66d6:6245:e58b]/download/$tarball.sig" \
+    "6|ru|sftp://anonwww@msk.www.stargrave.org/meta4ra.stargrave.org/download/$tarball.sig" \
+    "6|ru|sftp://anonwww@spb.www.stargrave.org/meta4ra.stargrave.org/download/$tarball.sig" \
     <$tarball.sig >$tarball.meta4_
 mv $tarball.meta4_ $tarball.meta4