Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sha3sum 1.2 #63504

Closed
wants to merge 1 commit into from
Closed

sha3sum 1.2 #63504

wants to merge 1 commit into from

Conversation

chenrui333
Copy link
Member

Created with brew bump-formula-pr.

@chenrui333
Copy link
Member Author

printf '%s\n' '#include "common.h"' 'SHAKE_MAIN(512)' > shake512sum.c
u=$(printf '%s\n' keccaksum | tr a-z A-Z); \
	sed -e 's/xsum/keccaksum/g' -e 's/XSUM/'"$u"'/g' -e 's/Xsum/Keccak[]/g' < xsum.man > keccaksum.1
u=$(printf '%s\n' keccak-224sum | tr a-z A-Z); \
	sed -e 's/xsum/keccak-224sum/g' -e 's/XSUM/'"$u"'/g' -e 's/Xsum/Keccak-224/g' < xsum.man > keccak-224sum.1
u=$(printf '%s\n' keccak-256sum | tr a-z A-Z); \
	sed -e 's/xsum/keccak-256sum/g' -e 's/XSUM/'"$u"'/g' -e 's/Xsum/Keccak-256/g' < xsum.man > keccak-256sum.1
if test keccaksum = sha3sum; then \
		sed -i 's/^\\# ONLY SHA3: //' keccaksum.1; \
	else \
		sed -i '/^\\# ONLY SHA3: /d' keccaksum.1; \
	fi
if test keccak-256sum = sha3sum; then \
		sed -i 's/^\\# ONLY SHA3: //' keccak-256sum.1; \
	else \
		sed -i '/^\\# ONLY SHA3: /d' keccak-256sum.1; \
	fi
if test keccak-224sum = sha3sum; then \
		sed -i 's/^\\# ONLY SHA3: //' keccak-224sum.1; \
	else \
		sed -i '/^\\# ONLY SHA3: /d' keccak-224sum.1; \
	fi
sed: 1: "keccak-256sum.1": invalid command code k
sed: 1: "keccaksum.1": invalid command code k
sed: 1: "keccak-224sum.1": invalid command code k
make: *** [keccak-256sum.1] Error 1
make: *** Waiting for unfinished jobs....
make: *** [keccaksum.1] Error 1
make: *** [keccak-224sum.1] Error 1
rm shake256sum.c keccak-512sum.c sha3-384sum.c shake512sum.c sha3-256sum.c rawshake256sum.c sha3-224sum.c rawshake512sum.c keccak-384sum.c keccak-256sum.c keccaksum.o keccak-224sum.c sha3sum.o sha3-512sum.c

@chenrui333 chenrui333 added the build failure CI fails while building the software label Oct 26, 2020
@chenrui333 chenrui333 closed this Oct 30, 2020
@chenrui333 chenrui333 reopened this Nov 18, 2020
Signed-off-by: Rui Chen <rui@meetup.com>
@chenrui333 chenrui333 added ready to merge PR can be merged once CI is green and removed build failure CI fails while building the software labels Nov 18, 2020
@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Dec 19, 2020
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 19, 2020
@chenrui333 chenrui333 deleted the bump-sha3sum-1.2 branch December 18, 2022 05:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age ready to merge PR can be merged once CI is green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants