mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Put hashes of all tor source files into or_sha1.i
This commit is contained in:
parent
85d4c290d7
commit
eeedc5c13c
4
changes/bug3427
Normal file
4
changes/bug3427
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
* Minor bugfixes:
|
||||||
|
- Make 'tor --digests' list hashes of all Tor source files.
|
||||||
|
Bugfix on 0.2.2.4-alpha; fixes bug 3427.
|
||||||
|
|
@ -72,11 +72,13 @@ micro-revision.i: FORCE
|
|||||||
mv micro-revision.tmp micro-revision.i; \
|
mv micro-revision.tmp micro-revision.i; \
|
||||||
fi; true
|
fi; true
|
||||||
|
|
||||||
or_sha1.i: $(tor_SOURCES)
|
or_sha1.i: $(tor_SOURCES) $(libtor_a_SOURCES)
|
||||||
if test "@SHA1SUM@" != none; then \
|
if test "@SHA1SUM@" != none; then \
|
||||||
@SHA1SUM@ $(tor_SOURCES) | @SED@ -n 's/^\(.*\)$$/"\1\\n"/p' > or_sha1.i; \
|
@SHA1SUM@ $(tor_SOURCES) $(libtor_a_SOURCES) | \
|
||||||
|
@SED@ -n 's/^\(.*\)$$/"\1\\n"/p' > or_sha1.i; \
|
||||||
elif test "@OPENSSL@" != none; then \
|
elif test "@OPENSSL@" != none; then \
|
||||||
@OPENSSL@ sha1 $(tor_SOURCES) | @SED@ -n 's/SHA1(\(.*\))= \(.*\)/"\2 \1\\n"/p' > or_sha1.i; \
|
@OPENSSL@ sha1 $(tor_SOURCES) $(libtor_a_SOURCES) | \
|
||||||
|
@SED@ -n 's/SHA1(\(.*\))= \(.*\)/"\2 \1\\n"/p' > or_sha1.i; \
|
||||||
else \
|
else \
|
||||||
rm or_sha1.i; \
|
rm or_sha1.i; \
|
||||||
touch or_sha1.i; \
|
touch or_sha1.i; \
|
||||||
|
Loading…
Reference in New Issue
Block a user