forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2727 from PastaPastaPasta/backports-0.15-pr7
Backports 0.15 pr7
- Loading branch information
Showing
81 changed files
with
811 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
f7ec7cfd38b543ba81ac7bed5b77f9a19739460b | ||
309bf16257b2395ce502017be627186b749ee749 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/sh | ||
# Copyright (c) 2014-2015 The Bitcoin Core developers | ||
# Distributed under the MIT software license, see the accompanying | ||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||
|
||
if [ -z "$OSSLSIGNCODE" ]; then | ||
OSSLSIGNCODE=osslsigncode | ||
fi | ||
|
||
if [ ! -n "$1" ]; then | ||
echo "usage: $0 <osslcodesign args>" | ||
echo "example: $0 -key codesign.key" | ||
exit 1 | ||
fi | ||
|
||
OUT=signature-win.tar.gz | ||
SRCDIR=unsigned | ||
WORKDIR=./.tmp | ||
OUTDIR="${WORKDIR}/out" | ||
OUTSUBDIR="${OUTDIR}/win" | ||
TIMESERVER=http://timestamp.comodoca.com | ||
CERTFILE="win-codesign.cert" | ||
|
||
mkdir -p "${OUTSUBDIR}" | ||
basename -a `ls -1 "${SRCDIR}"/*-unsigned.exe` | while read UNSIGNED; do | ||
echo Signing "${UNSIGNED}" | ||
"${OSSLSIGNCODE}" sign -certs "${CERTFILE}" -t "${TIMESERVER}" -in "${SRCDIR}/${UNSIGNED}" -out "${WORKDIR}/${UNSIGNED}" "$@" | ||
"${OSSLSIGNCODE}" extract-signature -pem -in "${WORKDIR}/${UNSIGNED}" -out "${OUTSUBDIR}/${UNSIGNED}.pem" && rm "${WORKDIR}/${UNSIGNED}" | ||
done | ||
|
||
rm -f "${OUT}" | ||
tar -C "${OUTDIR}" -czf "${OUT}" . | ||
rm -rf "${WORKDIR}" | ||
echo "Created ${OUT}" |
Oops, something went wrong.