diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-05-26 08:28:16 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-05-26 08:28:16 +0300 |
commit | 4d193f5650758a5785e34b2bda274a0748b1cc2a (patch) | |
tree | 629c06b81110e78d9df36e1356ff79a073f2ad36 /snapcraft.yaml | |
parent | 73c4806864896559573701044c78a36ecacd9283 (diff) | |
download | wekan-4d193f5650758a5785e34b2bda274a0748b1cc2a.tar.gz wekan-4d193f5650758a5785e34b2bda274a0748b1cc2a.tar.bz2 wekan-4d193f5650758a5785e34b2bda274a0748b1cc2a.zip |
Remove bcrypt, continued.
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r-- | snapcraft.yaml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index b2ed9b8c..5384bf80 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -140,13 +140,18 @@ parts: meteor npm install --allow-superuser meteor build .build --directory --allow-superuser cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js - cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt - rm -rf node_modules/bcrypt - meteor npm install --save bcrypt + #Removed binary version of bcrypt because of security vulnerability that is not fixed yet. + #https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac + #https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c + #cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt + #rm -rf node_modules/bcrypt + #meteor npm install --save bcrypt + # Change from npm-bcrypt directory back to .build/bundle/programs/server directory. + #cd ../../../../ # Change to directory .build/bundle/programs/server - cd ../../../../ + cd .build/bundle/programs/server npm install - meteor npm install --save bcrypt + #meteor npm install --save bcrypt # Change back to Wekan source directory cd ../../../.. cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/ |