mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Minor cleanup of the repo (#822)
* *: source files should not be executable * *: make sure files have final newline * *: remove BOM from text files * translations: unify headers * *: fix typos * *: trim excess whitespace
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
The source code for VeraCrypt EFI bootloader files is available at: https://github.com/veracrypt/VeraCrypt-DCS
|
||||
|
||||
VeraCrypt-DCS uses EDK II as its UEFI development environement.
|
||||
VeraCrypt-DCS uses EDK II as its UEFI development environment.
|
||||
|
||||
VeraCrypt-DCS is licensed under LGPL: https://github.com/veracrypt/VeraCrypt-DCS/blob/master/LICENSE
|
||||
|
||||
Here the steps to build VeraCrypt-DCS (Visual Studio 2010 SP1 should be installed)
|
||||
* Clone EDK: git clone https://github.com/tianocore/tianocore.github.io.git edk2
|
||||
* Switch to UDK2015 branche: git checkout UDK2015
|
||||
* Clone VeraCrypt-DCS as DcsPkg inside edk2 folder: git clone https://github.com/veracrypt/VeraCrypt-DCS.git DcsPkg
|
||||
* Clone VeraCrypt-DCS as DcsPkg inside edk2 folder: git clone https://github.com/veracrypt/VeraCrypt-DCS.git DcsPkg
|
||||
* Switch to VeraCrypt_1.18 branche: git checkout VeraCrypt_1.18
|
||||
* Setup EDK by typing edksetup.bat at the root of folder edk2
|
||||
* change directoty to DcsPkg and then type setenv.bat.
|
||||
* change directory to DcsPkg\Library\VeraCryptLib and then type mklinks_src.bat: you will be asked to provide the path to VeraCrypt src folder.
|
||||
* change directory to DcsPkg and then type dcs_bld.bat X64Rel
|
||||
* After the build is finished, EFI bootloader files will be present at edk2\Build\DcsPkg\RELEASE_VS2010x86\X64
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
||||
by the TrueCrypt License 3.0.
|
||||
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
Modifications and additions to the original source code (contained in this file)
|
||||
and all other portions of this file are Copyright (c) 2013-2017 IDRIX
|
||||
and are governed by the Apache License 2.0 the full text of which is
|
||||
contained in the file License.txt included in VeraCrypt binary and source
|
||||
@@ -178,7 +178,7 @@ CSTATIC_ASSERT(FIELD_OFFSET(DCS_DISK_ENTRY, Length) == FIELD_OFFSET(DCS_DISK_ENT
|
||||
CSTATIC_ASSERT(FIELD_OFFSET(DCS_DISK_ENTRY, Offset) == FIELD_OFFSET(DCS_DISK_ENTRY_SECTORS, Offset), Wrong_Offset_offset);
|
||||
CSTATIC_ASSERT(FIELD_OFFSET(DCS_DISK_ENTRY, Offset) == FIELD_OFFSET(DCS_DISK_ENTRY_PARAMS, Offset), Wrong_Offset_offset);
|
||||
|
||||
// DE type specific data
|
||||
// DE type specific data
|
||||
// DE List
|
||||
typedef struct _DCS_DISK_ENTRY_LIST {
|
||||
// EFI_TABLE_HEADER
|
||||
|
||||
@@ -260,7 +260,7 @@ byte GetKeyboardChar (byte *scanCode)
|
||||
{
|
||||
// reduce CPU usage by halting CPU until the next external interrupt is fired
|
||||
__asm
|
||||
{
|
||||
{
|
||||
hlt
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ $(LIBS)
|
||||
$(LD) $(LFLAGS) @$(PROJ).crf
|
||||
del $(PROJ).crf $(PROJ).crf2
|
||||
|
||||
# Compress the Rescue Disk botloader for Cascades and Serpent since it is too big (size > 31232 bytes)
|
||||
# Compress the Rescue Disk bootloader for Cascades and Serpent since it is too big (size > 31232 bytes)
|
||||
#!if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT") || ("$(SINGLE_CIPHER)" == "CAMELLIA"))
|
||||
upx $(PROJ).$(TARGETEXT)
|
||||
#!endif
|
||||
|
||||
0
src/Core/Unix/OpenBSD/CoreOpenBSD.cpp
Executable file → Normal file
0
src/Core/Unix/OpenBSD/CoreOpenBSD.cpp
Executable file → Normal file
0
src/Core/Unix/OpenBSD/CoreOpenBSD.h
Executable file → Normal file
0
src/Core/Unix/OpenBSD/CoreOpenBSD.h
Executable file → Normal file
0
src/Core/Unix/OpenBSD/System.h
Executable file → Normal file
0
src/Core/Unix/OpenBSD/System.h
Executable file → Normal file
0
src/Main/GraphicUserInterface.cpp
Executable file → Normal file
0
src/Main/GraphicUserInterface.cpp
Executable file → Normal file
@@ -263,7 +263,7 @@ ifeq "$(shell uname -s)" "Darwin"
|
||||
export VC_OSX_SDK ?= $(VC_OSX_TARGET)
|
||||
|
||||
#check to see if XCode 3 path exists.Otherwise, use XCode 4 path
|
||||
VC_OSX_SDK_PATH := /Developer/SDKs/MacOSX$(VC_OSX_SDK).sdk
|
||||
VC_OSX_SDK_PATH := /Developer/SDKs/MacOSX$(VC_OSX_SDK).sdk
|
||||
ifeq ($(wildcard $(VC_OSX_SDK_PATH)/SDKSettings.plist),)
|
||||
VC_OSX_SDK_PATH := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$(VC_OSX_SDK).sdk
|
||||
endif
|
||||
@@ -436,8 +436,8 @@ WX_CONFIGURE_FLAGS += --disable-protocol --disable-protocols --disable-url --dis
|
||||
--disable-xrc --disable-aui --disable-postscript --disable-printarch \
|
||||
--disable-arcstream --disable-fs_archive --disable-fs_zip --disable-tarstream --disable-zipstream \
|
||||
--disable-animatectrl --disable-bmpcombobox --disable-calendar --disable-caret --disable-checklst --disable-collpane --disable-colourpicker --disable-comboctrl \
|
||||
--disable-datepick --disable-display --disable-dirpicker --disable-filepicker --disable-fontpicker --disable-grid --disable-dataviewctrl \
|
||||
--disable-listbook --disable-odcombobox --disable-sash --disable-searchctrl --disable-slider --disable-splitter --disable-togglebtn \
|
||||
--disable-datepick --disable-display --disable-dirpicker --disable-filepicker --disable-fontpicker --disable-grid --disable-dataviewctrl \
|
||||
--disable-listbook --disable-odcombobox --disable-sash --disable-searchctrl --disable-slider --disable-splitter --disable-togglebtn \
|
||||
--disable-toolbar --disable-tbarnative --disable-treebook --disable-toolbook --disable-tipwindow --disable-popupwin \
|
||||
--disable-commondlg --disable-aboutdlg --disable-coldlg --disable-finddlg --disable-fontdlg --disable-numberdlg --disable-splash \
|
||||
--disable-tipdlg --disable-progressdlg --disable-wizarddlg --disable-miniframe --disable-splines --disable-palette \
|
||||
|
||||
@@ -106,7 +106,7 @@ for Windows 8.1 installation directory.
|
||||
The folder "Signing" contains a batch file (sign.bat) that will sign all
|
||||
VeraCrypt components using a code signing certificate present on the
|
||||
certificate store and also build the final installation setup.
|
||||
The batch file suppose that the code signing certificate is issued by Thawt.
|
||||
The batch file suppose that the code signing certificate is issued by Thawte.
|
||||
This is the case for IDRIX's certificate. If yours is issued by another CA,
|
||||
then you should put the Root and Intermediate certificates in the "Signing"
|
||||
folder and then modify sign.bat accordingly.
|
||||
@@ -115,7 +115,7 @@ VeraCrypt EFI Boot Loader:
|
||||
--------------------------
|
||||
|
||||
VeraCrypt source code contains pre-built EFI binaries under src\Boot\EFI.
|
||||
The source code of VeraCrypt EFI Boot Loader is licensed under LGPL and
|
||||
The source code of VeraCrypt EFI Boot Loader is licensed under LGPL and
|
||||
it is available at https://github.com/veracrypt/VeraCrypt-DCS.
|
||||
For build instructions, please refer to the file src\Boot\EFI\Readme.txt.
|
||||
|
||||
@@ -200,7 +200,7 @@ VeraCrypt sources (i.e. if "src" path is "/Users/joe/Projects/VeraCrypt/src"
|
||||
then wxWidgets should be at "/Users/joe/Projects/wxWidgets-3.0.3")
|
||||
|
||||
The build process uses Code Signing certificates whose ID is specified in
|
||||
src/Main/Main.make (look for lines containing "Developer ID Application" and
|
||||
src/Main/Main.make (look for lines containing "Developer ID Application" and
|
||||
"Developer ID Installer"). You'll have to modify these lines to put the ID of
|
||||
your Code Signing certificates or comment them if you don't have one.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user