File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 36
36
# ## DEPENDENCIES
37
37
38
38
digest () {
39
- openssl sha1 -binary < " $1 " | od -t x1 -An -v | tr -d ' [:space:]'
39
+ openssl sha -sha256 -binary < " $1 " | od -t x1 -An -v | tr -d ' [:space:]'
40
40
}
41
41
fetch () {
42
42
if hash wget 2> /dev/null; then
@@ -81,7 +81,7 @@ fetchSource() (
81
81
[[ -e $files ]] || {
82
82
echo
83
83
echo " Unpacking: ${PWD##*/ } , using package..."
84
- unpack " ${pkg##*/ } " " $pkg_sha "
84
+ unpack " ${pkg##*/ } " " $pkg_sha256 "
85
85
}
86
86
87
87
elif [[ $git ]] && hash git 2> /dev/null; then
@@ -114,7 +114,7 @@ fetchSource() (
114
114
echo
115
115
echo " Fetching: ${PWD##*/ } , using package..."
116
116
fetch " $pkg "
117
- unpack " ${pkg##*/ } " " $pkg_sha "
117
+ unpack " ${pkg##*/ } " " $pkg_sha256 "
118
118
}
119
119
120
120
else
Original file line number Diff line number Diff line change 1
1
home=http://www.openwall.com/crypt/
2
2
pkg=http://www.openwall.com/crypt/crypt_blowfish-1.3.tar.gz
3
- pkg_sha=461ba876ebacd5f7dc95f1eb3c5286d6e0983ae0
3
+ pkg_sha256=83fa01fca6996fe8d882b7f8e9ba0305a5664936100b01481ea3c6a8ce8d72fd
Original file line number Diff line number Diff line change 1
1
home=https://code.google.com/p/scrypt/
2
2
svn=http://scrypt.googlecode.com/svn
3
3
pkg=http://masterpasswordapp.com/libscrypt-b12b554.tar.gz
4
- pkg_sha=a86445c3e031392d20652f4163adfd3fb0b1994e
4
+ pkg_sha256=c726daec68a345e420896f005394a948dc5a6924713ed94b684c856d4c247f0b
You can’t perform that action at this time.
0 commit comments