projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.26.tar.gz
[xscreensaver]
/
OSX
/
Makefile
diff --git
a/OSX/Makefile
b/OSX/Makefile
index a4dff53c5f88313bfddf43d7acb84ce5a2d09a70..28588ee8f613c19584b80cc1a9349a7cd31d09bc 100644
(file)
--- a/
OSX/Makefile
+++ b/
OSX/Makefile
@@
-111,10
+111,11
@@
updates.xml::
test_sig::
@ \
test_sig::
@ \
- U=../
version.h ;
\
+ U=../
utils/version.h ;
\
V=`sed -n 's/[^0-9]*\([0-9]\.[0-9][^. ;]*\).*/\1/p' < $$U` ; \
V=`sed -n 's/[^0-9]*\([0-9]\.[0-9][^. ;]*\).*/\1/p' < $$U` ; \
- V=`echo $$V | sed 's/\.//g'` ; \
- ZIP="../archive/DaliClock-$$V.dmg" ; \
+ BASE="xscreensaver-$$V" ; \
+ OUTDIR="../archive" ; \
+ DMG="$$OUTDIR/$$BASE.dmg" ; \
SIG=`sed -n 's/^.*dsaSignature="\(.*\)".*/\1/p' updates.xml` ; \
PUB="sparkle_dsa_pub.pem" ; \
NN="t.$$$$" ; \
SIG=`sed -n 's/^.*dsaSignature="\(.*\)".*/\1/p' updates.xml` ; \
PUB="sparkle_dsa_pub.pem" ; \
NN="t.$$$$" ; \
@@
-124,7
+125,7
@@
test_sig::
echo "$$SIG " | base64 -D > "$$SIGB" ; \
set -e ; \
for OPENSSL in /usr/bin/openssl /opt/local/bin/openssl ; do \
echo "$$SIG " | base64 -D > "$$SIGB" ; \
set -e ; \
for OPENSSL in /usr/bin/openssl /opt/local/bin/openssl ; do \
- $$OPENSSL dgst -sha1 -binary < "$$
ZIP
" > "$$HASH" ; \
+ $$OPENSSL dgst -sha1 -binary < "$$
DMG
" > "$$HASH" ; \
/bin/echo -n "$$OPENSSL `$$OPENSSL version`: " ; \
$$OPENSSL dgst -dss1 -verify "$$PUB" -signature "$$SIGB" "$$HASH" ; \
done ; \
/bin/echo -n "$$OPENSSL `$$OPENSSL version`: " ; \
$$OPENSSL dgst -dss1 -verify "$$PUB" -signature "$$SIGB" "$$HASH" ; \
done ; \