use "openssl sha1 ..." instead of "sha1sum -b ..."

This commit is contained in:
Volker Grabsch 2009-04-05 18:26:45 +02:00
parent b2757619ca
commit 7a13d4ebfa
2 changed files with 3 additions and 3 deletions

View File

@ -52,10 +52,10 @@ UNPACK_PKG_ARCHIVE = \
$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))
PKG_CHECKSUM = \
sha1sum -b '$(PKG_DIR)/$($(1)_FILE)' | $(SED) -n 's,^\([0-9a-f]\{40\}\).*,\1,p'
openssl sha1 '$(PKG_DIR)/$($(1)_FILE)' | $(SED) -n 's,^.*\([0-9a-f]\{40\}\)$$,\1,p'
CHECK_PKG_ARCHIVE = \
[ '$($(1)_CHECKSUM)' == "`$(call PKG_CHECKSUM,$(1))`" ]
[ '$($(1)_CHECKSUM)' == "`$$(call PKG_CHECKSUM,$(1))`" ]
DOWNLOAD_PKG_ARCHIVE = \
$(if $($(1)_URL_2), \

View File

@ -169,7 +169,7 @@
<dt>Linux</dt>
<dd>
Install GCC and GNU Make (&gt;= 3.81),
everything else is already there.
everything else is usually already there.
</dd>
<dt>FreeBSD</dt>