Skip to content

Commit

Permalink
Use sha256sum instead of sha1sum
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Apr 26, 2024
1 parent 3ca0776 commit 20d7f43
Show file tree
Hide file tree
Showing 7 changed files with 138 additions and 138 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ all: QR2.rb
diff -s QR.rb QR2.rb

check: all
@sha1sum --quiet -c SHA1SUMS
@sha256sum --quiet -c SHA256SUMS

QR.rs: QR.rb
@echo
Expand Down
128 changes: 0 additions & 128 deletions SHA1SUMS

This file was deleted.

128 changes: 128 additions & 0 deletions SHA256SUMS
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
0cd25ad3260eb1bb7bbfc0cc93c5d8daf075849c80c8caca175b0e66e7212e1f *QR.rb
6ce6465f857626b9ae338289ab54c4ac9c416090a4696e30c1dc42dbff46f1a5 *QR.rs
6af7641894e70cc6dcbfcf5090fa28036e855012f1fa1a04ff9f290b7f0e24d1 *QR.scala
d9483e0771407e5f7119b884224c7600c64a4ce3a7fd726b848eb91f74feafc2 *QR.scm
8e19d0969ef61b2ccb2efa3b1d4880ada892e3d8f8dce2d5c2b6f6d17d808e24 *QR.sci
a389dd4e7a2dfba5bd5ef6014edda87fe009da945e83b43fb0f3ab1b73cdd289 *QR.sed
b3a6088bbecddd0aee3cc22a4628d49fc51c751cad71f3b73e5fbe2b621e0309 *QR.spl
847ebd68056f202ca00a8fd459c751719381c1fc28b48d56ab803cd2821adfd3 *QR.sl
867af976a9dd5a534c25597416d18036a628c9e44e99c0660fcbfc1eaccd24d4 *QR.sml
202fdf09a3a9f16e42eb765032b39f9c63dc114c97faa65a699ae990b5eb8a3e *QR.sq
fc8876b7f9464498584a6a56ac3fc9952994b93d43e9185ef494a91872f0d50d *QR.ss
9573d0c5143ad199d8f9479342b2ca2fb82b485c3bf74769a0091cb1217f3345 *QR.tcl
1e3ce450be0c80bf6d498de61150e4994d4c18d2211ed249d72f999385841574 *QR.tcsh
0d3af231596bb6e7f0a0912baed9676abb5d9a5697f4ab8db0eff79ca9e16f26 *QR.t
7386b2d010093af84ebbca24b1ee63b1219742bcec0cde85d4a6a910986b44bf *QR.ts
c755b0501219f14cb7558f701c62cc3e1f0c59f3f319b79ed3eae83f61cdf571 *QR.unl
f416d919fe3836676375182381b3424b84137ccf72a4138d8ef35abccdff0cf9 *QR.vala
5ec5ade3bfaa382e230f899b34f5faa8ed0ca442931f8bfdf5738e5370efa272 *QR.mid
f5d6ca6b5b738b76b5dac6183af7cff78fb7ac568ecc937a7820cf3b0dee438f *QR.v
789b7ff5fd30563fbaeb28af804ae2fe48ef82dddaea617e1f6c28535ae3d19d *QR.vim
3025d74ce817a4f9a1a1393ac3844b5141c7c52a81fb2fb2c5571ce9bfb21e5b *QR.vb
88bf6c5ebdfb71751ec4f04744dce54eca91c1ddd17aca2ba9dd8fa5862cda82 *QR.wasm
7c01e9d39a331e22838e84d31b183c7429a7ee36cb275020f42c9051f5d73d82 *QR.wat
df7df013809f41b6791aebbb7557c9f6b588febb62d516506a9586c6a62b90cb *QR.ws
15cf97780feff678592c038dfccb09655a80a0dc2ba3fb4678ed269d1d39c25f *QR.xslt
7956d07444de08ca15b96586dced86b102ac1b1d0329bcbf9bb28acd9f431077 *QR.yab
1cc52caf84a1b2247b9b063045390d63f888f0c54f7ce0de9f88e5c9eaed965d *QR.yorick
c888ab53d4ca06c7662d17e3780f9bfa91af9d0755b8c4b3e49bc5bf22f85271 *QR.azm
d379c974a7076e6ae0033576adf049b46eaecf05ea1a2fc6a814d26c8cefe41c *QR.zsh
da354fdf8448c590f76bbaaa117d4a176f5d249473a369e2f4385c5e117ef5ae *QR.+
bc029bc0116d62c7e1626a45f74b4ef400b3929dc511c372944e680d5c1dd03e *qr.adb
498b7403dce83353c2b70a1c598639d61da4c9eff87c8c2bc80bb673a46f6593 *QR.als
4ba88edf71a73bd08242647ecb9d2b6ea4b2f51d86757ca3902cc8949f6a4654 *QR.aheui
7463e80fe837bb512db0a51ae8dc0a24c5e0c35b5e1d0b14ca019c64e8084a83 *QR.a68
a5fa6ffa3ec251d327a278e75948d36181b50fc48f77613168eb7f90513e8c20 *QR.ante
a791e88b20639dffde764189378ebc1af582f53582a0778cc08d6364f1bd7671 *QR.aj
7438dc9584bcc2047fac9dc458550ecc3d1d0c024257ba59d402bdfabc402344 *QR.asy
c98aea8138610cd607e5f6221ee8b66419b39001c95a971047f88f9e38f1a2ac *QR.dats
9273761a3846284d6bf1c57db9baedfb091f2c27359297660976672e174fc5cf *QR.awk
805ef984161d63c6d84fb48ab2f5ac783bc09dc9c003a1be37c54ae2d73555c2 *QR.bash
2135602cb6bcd7ac124f7cfa895c3fd5854fda03e0b29c0807312ee73c7d0db8 *QR.bc
2f60fe165bbac0fd5e28568d674e6da4716bc5e834acce3c503be74c1959589e *QR.bsh
4bf50595534d4f78304ec31d53862623b723858e01fe46889f66e84db687fad9 *QR.bef
8e0f293b9e962de772f59a34aaf4aa23aef67f34e5bf24294a13593cca54aa49 *QR.Blc
336bfa48b6a1ee66efcb467e0832fb998a600fe51e8c36e0f00a4ec670a4ab2b *QR.bf
b62f80b1fa2e720ccb2ff8f736a5b67e9bca009be38c0abd5cebbb262d234684 *QR.c
73147d7f4b534162064749bb22b55dbd896a230f6fef5ae40998857235596af4 *QR.cpp
69b0b8c534e5680ccbfed0c6ce46dec9f980859bfa74453da1515d2fa73e38f7 *QR.cs
41983c9b46ce7a891541a3e009e29769905346319bb9f44e094cd2ca042a9289 *QR.chef
9b4232b6a0d78474d3d2c76376ad03df574f832afc736a16dd5ac639d461500b *QR.clj
3c48337d376e7d4d5308753ad21a9576ace1200ffb0ade46839c7d1faaed3c6f *QR.cmake
2c3d9c91a168a01098502293c5f64cc4dbe113caeed0633b63d585e406a579d5 *QR.cob
ada9272f2555802fbf23a5ba5080d4bfc44c5fdd4e5e39abd72594c2f7e9748b *QR.coffee
d9e2dd475d73dd84fb0cd86053cefca326ac5b9130f8dd3290a239d5c28809f1 *QR.lisp
8dad0d0de95f0251473dc26ae46c7e4200ab1a0128a2c77a613d6380876e3a4c *QR.cr
31369ec0f1223bda2ba7114c8e499119b52dd32ec6421db9b34afb55f676a369 *QR.d
6505f7bdbc4dff9c0a8214dd653345bc76236b85bb4dd3312cabcbe5490cdcdf *QR.dfy
e4bbbf172e6ed04c5e163abbef24d7a1a7356e44a4c06d23a7b9076d20a6a48d *QR.dc
ecae98fc4dd439f1369977ba005f3257ccf90461090be45a0fcde4bead561065 *QR.dhall
47e3d43ff9e7d89f49d1458a4cef43a2ac8aeca91dd0b1ad9d4cf76b760084e6 *QR.exs
21874d23b4da5496614a1508fba5db7d6ce8d8d174bcd7cea52c87e87db88e1c *QR.el
9703338e0848d7a5bf24b112d7a75550f501c370c419fc79d4700a62f5ce9797 *QR.erl
c05b605a1bab6bd767b68a3b26b8731f651bd8e6c3d002a208fc252a4d147ae5 *QR.fsx
791b23c4b25d0a40dec88ef126da74b492f9a9a0efb21201a54e4a13e3da597e *QR.false
5cb70e2e9c946593bdfff1e58f5fc45e1f37defede81bcfa72941f1293e81fce *QR.fl
447fea9738eecf48638efd2256e70eb587662ce5aab14f480880e30cb3f953b5 *QR.fish
cf5b655ddf52d5f45c84c6eb06e80b9aaac530c47d5a4a06181494b4245bcf0b *QR.fs
19ba33541e5496b36b200b6ce59e0d010f21e43598d7ca7455fcaca301b4f446 *QR.f
fb36ef308b57bffec3ef6f3eb1b75922063daa4462057b17b56d3503cc7b4eaf *QR.f90
0a7e548d783e78ae477eef0b1655725eb7ec2c8d6c1d1c47e071626aa91ffd48 *QR.gbs
8f1bdc431402c8d0c1d7e924bf3d88c1661db1083054fbde200bd1139e86c7a5 *QR.g
f29f651da6d8c7d05134ca9bb5e0c10e800f7f3d72c45bb376537cd182bd8dba *QR.gdb
6af49cf6d9ea9a24a499b5df65877005ac5925d1966ba5c6be9831495203573a *QR.gel
29adcdf8ee11b0059d910e3ba295ea5a1d5ac7a1dff0ed394fba2fc4bb989f8a *QR.plt
71c9734ca2a42729c454b9040b83832559caf49b1ed20ac5c6619be373f94d53 *QR.go
d758c5520984d35c423e98b70574d8c56e860a2fc58842646463b6d5f41dcaf2 *QR.gs
02df27da3c1a99ca784b20e1dfcd9b40adc62d105100c29f8792f89a718b9b5b *QR.gpt
0e11fa48e69f0b7ffbd19b55379eeb1445d52c2394fefd3a95bc45f391d61b90 *QR.grass
8e0213aa4ea423d9da52b9520c3679e9f024d4e71eace3a92184c0b16c04f3f8 *QR.groovy
b159dfa35294d882745ab80fda4e3e9aa320f3e5d98b1b1eea218e76281d6096 *QR.gz
1ad71b4fa7b7198f06d669cf566f3b01b5a62f48bfb40c256c4ec12021218b27 *QR.hs
eb8076db17728446851e364c44dd304c41c2606782f9db6a9e69aa716a9505fa *QR.hx
3a2d22f00b26f83aaa9b818b25a8238fba01e8b015906fd546b68dd4d21f0fc7 *QR.icn
12720eb0161bf1539f18830fef018c5b40cafc3959d7786983b5399e38d559fe *QR.i
b2b6de4f3685beef941cf67aa7376c11be28ed53f06155f965f9851a82156d8d *QR.j
ab798c8739203bff7169da5ce230c69c4dd04f4f61eb540655f0d992c64ccce4 *QR.java
41bd1d6c7537ec3441366f531caa681039a136798a3ba84cb1c16d2452c9802b *QR.js
728b064da5a17dfaf9ec6bf875de8ed0a729134cc68d1c577195d230ca98cdc6 *QR.jq
688ab7d8d3110b208f2f029ff8a7ebe991dbd275446bd6c1cda42d702b22dd2b *QR.jsfuck
6bc172210419acca604b2e1e95478dac9d0f0166eeccda8b053d75692375caf2 *QR.kt
c05dcd4ef9a9b9778f543403c6f3688ee127f711d5628a02e3969bf60a82a5e7 *QR.ksh
e045638cc9a3ed1b894c403597d2db8a911d636d16245f36f888d82454457624 *QR.lazy
15f8056b553b87b2c4941b908f97238bd687421c8f1d646e5f58ccb2b0f55ece *qr.li
13e5802f71372fae8c7266ab38a80b88d72a75f9a77fdb4d94ecd3ad83c74801 *QR.ls
f302ce043d5f252bb56de9e4f695f25c73c7cbd30016119110ecb326326ce9c4 *QR.ll
0aa4d759b9381db52e20b7b43173e89616e5f3c34f1fb065554819d551770935 *QR.lol
583a87d2666f7fc21d012f4e9ba40c5459fc944bc7f1488cfbf5aae1aa3f5fec *QR.lua
0726c79455854c509173feb7852728bbd6e0c325934d3447ab5640e2e9a5268e *QR.m4
481396c8409de3006a6463643d6b1310b9529ed76a2a078aa2712485c8169157 *QR.mk
787840acaa296fa6c1069544769386401890090e2a1d1a2681c4497106534a3d *QR.mac
d9a18b07af8bc5caf1cf40bf97743f14939161d19efd55a72f12e12c180d14e4 *QR.mzn
bbbb478502f6eec1240a6bda2c02b40c866590a61fd734bb0ad27465f09177c1 *QR.mod
eb25b4caaf9195ce24542c8704807098e900052d9d3c0f840fbeb190e9087769 *QR.il
3c1a64d506574cab7752d1948eab31078e4285a727ecc0f7d05c44700dd620d7 *QR.mustache
973aafe74e9c4acab90c07bb0b11fc148337edf8003c087155f2bd1022dadb28 *QR.asm
0bc8ca6aba3a8e5b5d84dd19e276f0bf5da5251d857d04b8a57338464c79653f *QR.neko
974006f78839ab26fd6444d67f144c8cc89d2025e589529934421e8909be38bb *QR.5c
d060400e7b81fd213ee323000e17a751921bd31b0b6adcdf78785995c5d8a3d5 *QR.nim
5cea1884d0240ead265c774ee91eb77269f78aede1f5e41f00bfa1f57cb2c8ef *QR.m
6605bfdaac41aeadab0bf05daab01c91a3b4838264a090715e67c694f8325eef *QR.ml
9cec86d050a2946ee95885e67993e338e7cd85ced8ff6b76236c847b333aa8af *QR.octave
d1d59bcd08126f0efc13c1720f14b28b706137eb306bf51786efe12caf0fb084 *QR.ook
b61653326d06ee5cf196d6671ea8bfcffb0ce4c6a92a537e0eda85a0b50e6d95 *QR.gp
72b3b562487018d7c1870d6601cd24d8632be998bd0e3a01691811456edc9bc9 *QR.p
e1d6b6987a8ba2240647b07d40209cbfc789c5ea28d9a5a8c8071bd7eabd9db6 *QR.pas
bffe2e64a5ac0e1f0c571a8fd04c8c229840af011bc5c22f8afcf74ceec3be79 *QR.pl
441cd8a079f8e0789b9d639dc4fa70719157ae172717f6f5ee8036dec20bf62c *QR.pl6
fb13673ab4882a194c1b7274fa6651bcfbe3dcf1e2270bc9efa49930eeef0b91 *QR.php
da17bf9673ae134983427c8ce6d857e483628e24926aefcd0dba5fc6f02c6263 *QR.png
3299e0daa93b8960f00aa11d2ade6713fb9da280bfe0d035045d39ed4f399115 *QR.pike
ba6d18b54f72d727f351c92cf675a73b4cb5e6fe4a423bbeada82bf5f332390e *QR.ps
31ff681b26800f0d4f2a32ec5c0f95461652585b17a75a02683f2e5c30a7dd9c *QR.prolog
c462647d1cbc370a60a1b322d3c01622b81b390c05e65191b0b7b733f4f7fc74 *QR.pr
9854875124f186862978c875a9111fded5606f1ee3b598aa5abf5fe831960c38 *QR.py
319fed1fa58bece8aff4d266998b1694d48fd528f948ffea005ed12df7d97c2a *QR.R
8c55bfd5999fc609c6ff3253e1a17eb689f2dab7c12a3969dcc1f150607ce0bb *QR.ratfor
89a1191d8c94308537cc61d35d4c2dc150da2dde73bbd4c299f4ae363e9863ab *QR.rc
a3462813823d34a2f38dcfded8b132e2df5297a0daefd5cdb6cdff5fc920085e *QR.rexx
2 changes: 1 addition & 1 deletion src/Makefile.gen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def banner(s1, s2=nil, i=nil)
OUT << "\tdiff -s QR.rb QR2.rb"
OUT << ""
OUT << "check: all"
OUT << "\t@sha1sum --quiet -c SHA1SUMS"
OUT << "\t@sha256sum --quiet -c SHA256SUMS"

[*RunSteps, RunStep["Ruby", "QR2.rb"]].each_cons(2).with_index do |(s1, s2), i|
cmd = s1.cmd_make.gsub("OUTFILE", s2.src)
Expand Down
6 changes: 3 additions & 3 deletions src/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ task :default => %w(
../Dockerfile
)

task "../SHA1SUMS" => ["SHA1SUMS.gen.rb", *LIBS] do
ruby "SHA1SUMS.gen.rb"
task "../SHA256SUMS" => ["SHA256SUMS.gen.rb", *LIBS] do
ruby "SHA256SUMS.gen.rb"
end

task :run => :default do
sh "make -C .."
end

task :gen => [:run, "../SHA1SUMS"]
task :gen => [:run, "../SHA256SUMS"]
5 changes: 0 additions & 5 deletions src/SHA1SUMS.gen.rb

This file was deleted.

5 changes: 5 additions & 0 deletions src/SHA256SUMS.gen.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require_relative "code-gen"

Dir.chdir("..") do
system("sha256sum", "-b", *RunSteps.map {|s| s.src }, out: "SHA256SUMS")
end

0 comments on commit 20d7f43

Please sign in to comment.