summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-05-26 08:28:16 +0300
committerLauri Ojansivu <x@xet7.org>2018-05-26 08:28:16 +0300
commit4d193f5650758a5785e34b2bda274a0748b1cc2a (patch)
tree629c06b81110e78d9df36e1356ff79a073f2ad36 /snapcraft.yaml
parent73c4806864896559573701044c78a36ecacd9283 (diff)
downloadwekan-4d193f5650758a5785e34b2bda274a0748b1cc2a.tar.gz
wekan-4d193f5650758a5785e34b2bda274a0748b1cc2a.tar.bz2
wekan-4d193f5650758a5785e34b2bda274a0748b1cc2a.zip
Remove bcrypt, continued.
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml15
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/