Linux: Added CMake script for creating .DEBs and .RPMs for VeraCrypt using CPack, and shell scripts which build then package VeraCrypt under CentOS and Debian/Ubuntu. (#511)

The DEB script builds VeraCrypt and links it against wxWidgets that comes with the distribution.
The RPM script awaits for wxWidgets-3.0.4 source code which it builds then links VeraCrypt statically to it.
Both scripts create the corresponding package after the build.
This commit is contained in:
El Mostafa Idrassi
2019-10-04 21:33:46 +02:00
committed by Mounir IDRASSI
parent 48ef6c3736
commit d2c53bc373
5 changed files with 441 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
V="$(mount | grep veracrypt_aux_mnt)"
if [ ! -z "$V" ]
then
echo "Error: All VeraCrypt volumes must be dismounted first."
exit 1
else
exit 0
fi
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
V="$(mount | grep veracrypt_aux_mnt)"
if [ ! -z "$V" ]
then
echo "Error: All VeraCrypt volumes must be dismounted first."
exit 1
else
exit 0
fi