|
@@ -140,13 +140,18 @@ parts:
|
|
meteor npm install --allow-superuser
|
|
meteor npm install --allow-superuser
|
|
meteor build .build --directory --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
|
|
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
|
|
# Change to directory .build/bundle/programs/server
|
|
- cd ../../../../
|
|
|
|
|
|
+ cd .build/bundle/programs/server
|
|
npm install
|
|
npm install
|
|
- meteor npm install --save bcrypt
|
|
|
|
|
|
+ #meteor npm install --save bcrypt
|
|
# Change back to Wekan source directory
|
|
# Change back to Wekan source directory
|
|
cd ../../../..
|
|
cd ../../../..
|
|
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
|
|
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
|