summaryrefslogtreecommitdiff
path: root/veracrypt/debian
diff options
context:
space:
mode:
Diffstat (limited to 'veracrypt/debian')
-rw-r--r--veracrypt/debian/changelog185
-rw-r--r--veracrypt/debian/compat1
-rw-r--r--veracrypt/debian/control33
-rw-r--r--veracrypt/debian/copyright645
-rw-r--r--veracrypt/debian/gbp.conf3
-rw-r--r--veracrypt/debian/patches/001-user-guide-location.diff22
-rw-r--r--veracrypt/debian/patches/002-build-flags.diff34
-rw-r--r--veracrypt/debian/patches/004-fixup-install.diff52
-rw-r--r--veracrypt/debian/patches/series4
-rw-r--r--veracrypt/debian/patches/vc_devuan.patch35
-rw-r--r--veracrypt/debian/prerm20
-rw-r--r--veracrypt/debian/references1
-rwxr-xr-xveracrypt/debian/rules22
-rwxr-xr-xveracrypt/debian/scripts/30veracrypt19
-rwxr-xr-xveracrypt/debian/scripts/veracrypt17
-rw-r--r--veracrypt/debian/source/format1
-rw-r--r--veracrypt/debian/source/lintian-overrides3
-rw-r--r--veracrypt/debian/upstream/signing-key.asc83
-rw-r--r--veracrypt/debian/veracrypt.default9
-rw-r--r--veracrypt/debian/veracrypt.desktop22
-rw-r--r--veracrypt/debian/veracrypt.doc-base9
-rw-r--r--veracrypt/debian/veracrypt.docs2
-rw-r--r--veracrypt/debian/veracrypt.init56
-rw-r--r--veracrypt/debian/veracrypt.install4
-rw-r--r--veracrypt/debian/veracrypt.manpages1
-rw-r--r--veracrypt/debian/veracrypt.xml11
-rwxr-xr-xveracrypt/debian/veracrypt_help_to_troff.pl61
-rw-r--r--veracrypt/debian/watch3
28 files changed, 1358 insertions, 0 deletions
diff --git a/veracrypt/debian/changelog b/veracrypt/debian/changelog
new file mode 100644
index 0000000..0123633
--- /dev/null
+++ b/veracrypt/debian/changelog
@@ -0,0 +1,185 @@
+veracrypt (1.23-1devuan) manual; urgency=low
+
+ * Initial release for devuan
+
+ -- B Stack <bgstack15@gmail.com> Wed, 30 Jan 2019 11:31:00 -0500
+
+veracrypt (1.23-0vanir1~18.10) cosmic; urgency=medium
+
+ * No-change backport to cosmic
+
+ -- Unit 193 <unit193@ubuntu.com> Sat, 15 Sep 2018 19:15:42 -0400
+
+veracrypt (1.23-0vanir1) unstable; urgency=medium
+
+ * d/u/signing-key.asc: Update for new signing key.
+ * New upstream version 1.23
+ - Refresh patches.
+ * Update Standards-Version to 4.2.1.
+
+ -- Unit 193 <unit193@ubuntu.com> Sat, 15 Sep 2018 17:26:29 -0400
+
+veracrypt (1.22-0vanir1) unstable; urgency=medium
+
+ * New upstream version 1.22
+ - d/p/005-fix-ftbfs-gcc-7.diff: Drop, applied upstream.
+ - Refresh remaining patches.
+ * Update Standards-Version to 4.1.3.
+ * d/copyright:
+ - Add a comment as to why this is a 'non-free' package.
+ - Update years.
+ * d/compat, d/control: Bump dh compat to 11.
+ * d/p/003-indicator-support.diff: Correct the indicator icon name.
+ * d/s/lintian-overrides: Override notes about pre-built windows files.
+ * d/veracrypt.docs: Install src/NOTICE.
+
+ -- Unit 193 <unit193@ubuntu.com> Fri, 30 Mar 2018 22:38:27 -0400
+
+veracrypt (1.21-0vanir2) unstable; urgency=medium
+
+ * Update Standards-Version to 4.1.1.
+ * d/p/005-fix-ftbfs-gcc-7.diff: Fix FTBFS with gcc 7.
+ * d/watch: Use https sf.net redirector.
+ * d/control: Add libayatana-appindicator-dev as primary alt build-dep.
+
+ -- Unit 193 <unit193@ubuntu.com> Thu, 02 Nov 2017 20:51:20 -0400
+
+veracrypt (1.21-0vanir1) unstable; urgency=medium
+
+ * New upstream version 1.21
+ - Refresh patches.
+ * Run wrap-and-sort.
+ * Bump standards-version to 4.0.0.
+ * d/30veracrypt, d/veracrypt, d/veracrypt.(install,default):
+ - Dismount all volumes on suspend.
+ * d/compat, d/control: Bump debhelper to compat 10.
+ * d/control:
+ - Update homepage.
+ - Switch build-depend from nasm to yasm.
+ - Drop dep on dosfstools, recommend exfat-utils and ntfs-3g.
+ - Drop build-depend on makeself and imagemagick.
+ * d/copyright: Update copyright information and years.
+ * d/p/003-indicator-support.diff: Extend to compile with Ayatana indicators.
+ * d/p/004-fixup-install.diff: Fix the install target so we can use it.
+ * d/rules:
+ - Pass '--as-needed' to LDFLAGS.
+ - Drop imagemagick rules to convert the xpm.
+ - The pdf user guide no longer exists, drop rules tweaking it.
+ * d/veracrypt.desktop: Correctly pass the file to open.
+ * d/veracrypt.docs: Drop user_guide.pdf.
+ * d/veracrypt.doc-base: Update to note the html docs, not pdf.
+ * d/veracrypt.init: Fix a case mismatch.
+ * d/veracrypt.install: Drop veracrypt(,.xpm), upstream has an install target.
+
+ -- Unit 193 <unit193@ubuntu.com> Mon, 10 Jul 2017 20:44:46 -0400
+
+veracrypt (1.19+repack-0vanir2) unstable; urgency=medium
+
+ * d/rules: Disable strip during build as it prevents dbgsym autogeneration.
+ * d/veracrypt.install, d/veracrypt.desktop, d/veracrypt.xml:
+ - Give '.hc' and '.tc' mimetypes, and associate them with VeraCrypt.
+
+ -- Unit 193 <unit193@ubuntu.com> Thu, 16 Feb 2017 17:08:41 -0500
+
+veracrypt (1.19+repack-0vanir1) unstable; urgency=medium
+
+ * Imported Upstream version 1.19+repack
+ - Refresh patches.
+ * d/copyright: Correct URLs, use correct alternate license.
+ * d/control: Depend on lsb-base.
+
+ -- Unit 193 <unit193@ubuntu.com> Mon, 17 Oct 2016 18:54:06 -0400
+
+veracrypt (1.18-0vanir1) unstable; urgency=medium
+
+ * Imported Upstream version 1.18
+ - Drop upstream patch, refresh remaining patches.
+ * d/watch: Find releases using Proper Case tarballs.
+ * Update standards-version to 3.9.8.
+
+ -- Unit 193 <unit193@ubuntu.com> Tue, 23 Aug 2016 18:00:57 -0400
+
+veracrypt (1.17-0vanir2) unstable; urgency=medium
+
+ * d/p/004-gcc5-compatibility.diff:
+ - Add a patch from upstream fixing GCC5 compatibility.
+
+ -- Unit 193 <unit193@ubuntu.com> Fri, 18 Mar 2016 16:59:03 -0400
+
+veracrypt (1.17-0vanir1) unstable; urgency=medium
+
+ * Imported Upstream version 1.17.
+ - Refresh patches.
+ * Update standards-version to 3.9.7.
+ * Update my email address.
+ * d/veracrypt.menu: Drop menu, following CTTE #741573.
+ * d/README.Debian: Drop, changes are unimportant, leftover from TC.
+ * d/veracrypt.desktop: Add some keywords.
+ * d/copyright: Update years.
+
+ -- Unit 193 <unit193@ubuntu.com> Mon, 22 Feb 2016 18:48:31 -0500
+
+veracrypt (1.14-0vanir1) unstable; urgency=medium
+
+ * Imported Upstream version 1.14.
+
+ -- Unit 193 <unit193@ubuntu.com> Sat, 19 Sep 2015 16:53:59 -0400
+
+veracrypt (1.12-0vanir1) unstable; urgency=medium
+
+ * Imported Upstream version 1.12.
+ - Remove upstream commits.
+ + d/p/004-Correct-wxWidgets-assert-warnings-when-displaying-about.diff
+ - Refresh remaining patches.
+
+ -- Unit 193 <unit193@ubuntu.com> Thu, 06 Aug 2015 20:52:40 -0400
+
+veracrypt (1.0f-2-0vanir3) unstable; urgency=medium
+
+ * d/p/004-Correct-wxWidgets-assert-warnings-when-displaying-about.diff:
+ - Add patch from upstream to fix assert when opening about dialog.
+
+ -- Unit 193 <unit193@ubuntu.com> Mon, 20 Apr 2015 18:20:18 -0400
+
+veracrypt (1.0f-2-0vanir2) unstable; urgency=medium
+
+ * d/control:
+ - Drop version deps on e2fsprogs and mount.
+ - Replace module-init-tools with kmod.
+ - Drop dep on xterm.
+ - Bump xdg-utils down to recommends.
+
+ -- Unit 193 <unit193@ubuntu.com> Mon, 13 Apr 2015 17:44:29 -0400
+
+veracrypt (1.0f-2-0vanir1) unstable; urgency=medium
+
+ * Imported Upstream version 1.0f-2
+ - Drop 003-file-manager.diff and 004-no-preference-x.diff, fixed upstream.
+ - Refresh remaining patches.
+ * Remove all references to opencryptoki.
+ * d/rules: Enable verbose build.
+
+ -- Unit 193 <unit193@ubuntu.com> Mon, 06 Apr 2015 16:58:55 -0400
+
+veracrypt (1.0f-1-0vanir1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refresh patches.
+ * d/watch: Pick up releases with underscores and dashes too.
+
+ -- Unit 193 <unit193@ubuntu.com> Thu, 08 Jan 2015 04:45:50 -0500
+
+veracrypt (1.0f-0vanir1) unstable; urgency=medium
+
+ * New upstream release.
+ - Refreshed patches.
+ * d/watch: Update for tar.gz, bz2 and xz.
+ * d/copyright: Update years.
+
+ -- Unit 193 <unit193@ubuntu.com> Sat, 03 Jan 2015 04:11:10 -0500
+
+veracrypt (1.0e-0vanir1) unstable; urgency=medium
+
+ * Initial release.
+
+ -- Unit 193 <unit193@ubuntu.com> Sun, 09 Nov 2014 15:36:54 -0500
diff --git a/veracrypt/debian/compat b/veracrypt/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/veracrypt/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/veracrypt/debian/control b/veracrypt/debian/control
new file mode 100644
index 0000000..02fb1aa
--- /dev/null
+++ b/veracrypt/debian/control
@@ -0,0 +1,33 @@
+Source: veracrypt
+Section: non-free/utils
+Priority: optional
+Maintainer: B Stack <bgstack15@gmail.com>
+Build-Depends: debhelper (>= 11),
+ libayatana-appindicator-dev | libappindicator-dev,
+ libfuse-dev,
+ libwxgtk3.0-dev,
+ pkg-config,
+ yasm [any-i386 any-amd64]
+Standards-Version: 4.2.1
+Homepage: https://veracrypt.fr/
+
+Package: veracrypt
+Architecture: any
+Depends:
+ dmsetup,
+ kmod,
+ lsb-base,
+ sudo,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends:
+ exfat-utils,
+ ntfs-3g,
+ xdg-utils
+Description: Cross-platform on-the-fly encryption
+ VeraCrypt provides cross-platform on-the-fly encryption for Linux, MacOS X and
+ Windows. It can encrypt filesystems stored either within a file or on disk
+ partitions. Supported encryption algorithms include AES, Serpent and Twofish.
+ The current version uses the XTS mode of disk encryption. In addition,
+ VeraCrypt supports "hidden volumes" - unidentifiable volumes present in the
+ free-space of a VeraCrypt volume.
diff --git a/veracrypt/debian/copyright b/veracrypt/debian/copyright
new file mode 100644
index 0000000..ac3f3fe
--- /dev/null
+++ b/veracrypt/debian/copyright
@@ -0,0 +1,645 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: veracrypt
+Source: https://sourceforge.net/projects/veracrypt/
+Comment: TC-3.0 license is distribution encumbered.
+
+Files: *
+Copyright: 2003-2011, TrueCrypt Developers Association
+ 2013-2018, IDRIX
+License: TC-3.0 or Apache-2.0
+Comment:
+ Modifications and additions to the original source code are copyright IDRIX
+ and are governed by the Apache License 2.0.
+
+Files: src/Main/Forms/VolumePimWizardPage.*
+Copyright: 2015-2016 Mounir IDRASSI
+License: Apache-2.0
+
+Files: src/Crypto/CamelliaSmall.c
+Copyright: 2006-2015, ARM Limited
+License: Apache-2.0
+
+Files: src/Crypto/sha512_avx2_x64.asm
+ src/Crypto/sha256_avx1_x64.asm
+ src/Crypto/sha512_sse4_x64.asm
+ src/Crypto/sha256_avx2_x64.asm
+ src/Crypto/sha256_sse4_x64.asm
+ src/Crypto/sha512_avx1_x64.asm
+Copyright: 2012, Intel Corporation
+License: BSD-3-Clause
+
+Files: src/Crypto/sha512-x86-nayuki.S src/Crypto/sha256-x86-nayuki.S
+Copyright: 2014 Project Nayuki
+License: Expat
+
+Files: src/Crypto/sha512-x64-nayuki.S
+Copyright: 2017 Project Nayuki
+License: Expat
+
+Files: src/Crypto/Twofish_x64.S src/Crypto/Camellia_aesni_x64.S src/Crypto/Camellia_x64.S
+Copyright: 2011-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi>
+License: ISC
+
+Files: src/Common/Apidrvr.h
+ src/Common/Cache.*
+ src/Common/Cmdline.*
+ src/Common/Combo.*
+ src/Common/Crc.*
+ src/Common/Crypto.*
+ src/Common/Dlgcode.*
+ src/Common/Endian.*
+ src/Common/Fat.*
+ src/Common/Format.*
+ src/Common/Password.*
+ src/Common/Pkcs5.*
+ src/Common/Progress.*
+ src/Common/Random.*
+ src/Common/Tcdefs.h
+ src/Common/Tests.*
+ src/Common/Volumes.*
+ src/Core/FatFormatter.cpp
+ src/Driver/Ntdriver.*
+ src/Driver/Ntvol.*
+ src/Format/Tcformat.*
+ src/Mount/Mount.*
+ src/Setup/Dir.*
+ src/Setup/Setup.*
+ src/Setup/Wizard.*
+Copyright: 1998-2000, Paul Le Roux
+License: E4M
+
+Files: src/Common/libzip/*
+Copyright: 1999-2014, Dieter Baron and Thomas Klausner
+License: BSD-3-Clause
+
+Files: src/Common/GfMul.c
+ src/Common/GfMul.h
+ src/Crypto/Aescrypt.c
+ src/Crypto/Aes.h
+ src/Crypto/Aeskey.c
+ src/Crypto/Aesopt.h
+ src/Crypto/AesSmall.c
+ src/Crypto/AesSmall.h
+ src/Crypto/AesSmall_x86.asm
+ src/Crypto/Aestab.c
+ src/Crypto/Aestab.h
+ src/Crypto/Aes_x64.asm
+ src/Crypto/Aes_x86.asm
+ src/Crypto/Sha2.c
+ src/Crypto/Sha2.h
+ src/Crypto/Twofish.c
+Copyright: 1998-2007, Brian Gladman, Worcester, UK
+License: BSD-3-Clause
+
+Files: src/Common/zlib/*
+Copyright: 1995-2013, Jean-loup Gailly and Mark Adler
+License: zlib
+
+Files: src/Boot/Windows/Decompressor.c
+Copyright: 2002-2004, Mark Adler
+License: zlib
+
+Files: debian/*
+Copyright: 2013-2018, Unit 193 <unit193@ubuntu.com>
+License: BSD-3-Clause
+
+
+
+License: TC-3.0
+ TrueCrypt License Version 3.0
+ .
+ Software distributed under this license is distributed on an "AS
+ IS" BASIS WITHOUT WARRANTIES OF ANY KIND. THE AUTHORS AND
+ DISTRIBUTORS OF THE SOFTWARE DISCLAIM ANY LIABILITY. ANYONE WHO
+ USES, COPIES, MODIFIES, OR (RE)DISTRIBUTES ANY PART OF THE
+ SOFTWARE IS, BY SUCH ACTION(S), ACCEPTING AND AGREEING TO BE
+ BOUND BY ALL TERMS AND CONDITIONS OF THIS LICENSE. IF YOU DO NOT
+ ACCEPT THEM, DO NOT USE, COPY, MODIFY, NOR (RE)DISTRIBUTE THE
+ SOFTWARE, NOR ANY PART(S) THEREOF.
+ .
+ I. Definitions
+ .
+ 1. "This Product" means the work (including, but not limited to,
+ source code, graphics, texts, and accompanying files) made
+ available under and governed by this version of this license
+ ("License"), as may be indicated by, but is not limited to,
+ copyright notice(s) attached to or included in the work.
+ .
+ 2. "You" means (and "Your" refers to) an individual or a legal
+ entity (e.g., a non-profit organization, commercial
+ organization, government agency, etc.) exercising permissions
+ granted by this License.
+ .
+ 3. "Modification" means (and "modify" refers to) any alteration
+ of This Product, including, but not limited to, addition to or
+ deletion from the substance or structure of This Product,
+ translation into another language, repackaging, alteration or
+ removal of any file included with This Product, and addition of
+ any new files to This Product.
+ .
+ 4. "Your Product" means This Product modified by You, or any
+ work You derive from (or base on) any part of This Product. In
+ addition, "Your Product" means any work in which You include any
+ (modified or unmodified) portion of This Product. However, if
+ the work in which you include it is an aggregate software
+ distribution (such as an operating system distribution or a
+ cover CD-ROM of a magazine) containing multiple separate
+ products, then the term "Your Product" includes only those
+ products (in the aggregate software distribution) that use,
+ include, or depend on a modified or unmodified version of This
+ Product (and the term "Your Product" does not include the whole
+ aggregate software distribution). For the purposes of this
+ License, a product suite consisting of two or more products is
+ considered a single product (operating system distributions and
+ cover media of magazines are not considered product suites).
+ .
+ 5. "Distribution" means (and "distribute" refers to), regardless
+ of means or methods, conveyance, transfer, providing, or making
+ available of This/Your Product or portions thereof to third
+ parties (including, but not limited to, making This/Your
+ Product, or portions thereof, available for download to third
+ parties, whether or not any third party has downloaded the
+ product, or any portion thereof, made available for download).
+ .
+ .
+ II. Use, Copying, and Distribution of This Product
+ 0. 1. Provided that You comply with all applicable terms and
+ conditions of this License, You may make copies of This Product
+ (unmodified) and distribute copies of This Product (unmodified)
+ that are not included in another product forming Your Product
+ (except as permitted under Chapter III). Note: For terms and
+ conditions for copying and distribution of modified versions of
+ This Product, see Chapter III.
+ .
+ 2. Provided that You comply with all applicable terms and
+ conditions of this License, You may use This Product freely (see
+ also Chapter III) on any number of computers/systems for non-
+ commercial and/or commercial purposes.
+ .
+ .
+ III. Modification, Derivation, and Inclusion in Other Products
+ .
+ 1. If all conditions specified in the following paragraphs in
+ this Chapter (III) are met (for exceptions, see Section III.2)
+ and if You comply with all other applicable terms and conditions
+ of this License, You may modify This Product (thus forming Your
+ Product), derive new works from This Product or portions thereof
+ (thus forming Your Product), include This Product or portions
+ thereof in another product (thus forming Your Product, unless
+ defined otherwise in Chapter I), and You may use (for non-
+ commercial and/or commercial purposes), copy, and/or distribute
+ Your Product.
+ .
+ a. The name of Your Product (or of Your modified version of
+ This Product) must not contain the name TrueCrypt (for
+ example, the following names are not allowed: TrueCrypt,
+ TrueCrypt+, TrueCrypt Professional, iTrueCrypt, etc.) nor
+ any other names confusingly similar to the name TrueCrypt
+ (e.g., True-Crypt, True Crypt, TruKrypt, etc.)
+ .
+ Note: TrueCrypt and the TrueCrypt logo are registered
+ trademarks. The goal is not to monetize the name or the
+ product, but to protect the reputation of TrueCrypt, and to
+ prevent support issues and other kinds of issues that might
+ arise from the existence of similar products with the same
+ or similar name. Even though TrueCrypt and the TrueCrypt
+ logo are trademarks, TrueCrypt is and will remain
+ open-source and free software.
+ .
+ All occurrences of the name TrueCrypt that could reasonably
+ be considered to identify Your Product must be removed from
+ Your Product and from any associated materials. Logo(s)
+ included in (or attached to) Your Product (and in/to
+ associated materials) must not incorporate and must not be
+ confusingly similar to any of the TrueCrypt logos
+ (including, but not limited to, the non-textual logo
+ consisting primarily of a key in stylized form) or
+ portion(s) thereof. All graphics contained in This Product
+ (logos, icons, etc.) must be removed from Your Product (or
+ from Your modified version of This Product) and from any
+ associated materials.
+ .
+ b. The following phrases must be removed from Your Product
+ and from any associated materials, except the text of this
+ License: "A TrueCrypt Foundation Release", "Released by
+ TrueCrypt Foundation", "This is a TrueCrypt Foundation
+ release."
+ .
+ c. Phrase "Based on TrueCrypt, freely available at
+ http://www.truecrypt.org/" must be displayed by Your Product
+ (if technically feasible) and contained in its
+ documentation. Alternatively, if This Product or its portion
+ You included in Your Product constitutes only a minor
+ portion of Your Product, phrase "Portions of this product
+ are based in part on TrueCrypt, freely available at
+ http://www.truecrypt.org/" may be displayed instead. In each
+ of the cases mentioned above in this paragraph,
+ "http://www.truecrypt.org/" must be a hyperlink (if
+ technically feasible) pointing to http://www.truecrypt.org/
+ and You may freely choose the location within the user
+ interface (if there is any) of Your Product (e.g., an
+ "About" window, etc.) and the way in which Your Product will
+ display the respective phrase.
+ .
+ Your Product (and any associated materials, e.g., the
+ documentation, the content of the official web site of Your
+ Product, etc.) must not present any Internet address
+ containing the domain name truecrypt.org (or any domain name
+ that forwards to the domain name truecrypt.org) in a manner
+ that might suggest that it is where information about Your
+ Product may be obtained or where bugs found in Your Product
+ may be reported or where support for Your Product may be
+ available or otherwise attempt to indicate that the domain
+ name truecrypt.org is associated with Your Product.
+ .
+ d. The complete source code of Your Product must be freely
+ and publicly available (for exceptions, see Section III.2)
+ at least until You cease to distribute Your Product. This
+ condition can be met in one or both of the following ways:
+ (i) You include the complete source code of Your Product
+ with every copy of Your Product that You make and distribute
+ and You make all such copies of Your Product available to
+ the general public free of charge, and/or (ii) You include
+ information (valid and correct at least until You cease to
+ distribute Your Product) about where the complete source
+ code of Your Product can be obtained free of charge (e.g.,
+ an Internet address) or for a reasonable reproduction fee
+ with every copy of Your Product that You make and distribute
+ and, if there is a web site officially associated with Your
+ Product, You include the aforementioned information about
+ the source code on a freely and publicly accessible web
+ page to which such web site links via an easily viewable
+ hyperlink (at least until You cease to distribute Your
+ Product).
+ .
+ The source code of Your Product must not be deliberately
+ obfuscated and it must not be in an intermediate form (e.g.,
+ the output of a preprocessor). Source code means the
+ preferred form in which a programmer would usually modify
+ the program.
+ .
+ Portions of the source code of Your Product not contained in
+ This Product (e.g., portions added by You in creating Your
+ Product, whether created by You or by third parties) must be
+ available under license(s) that (however, see also
+ Subsection III.1.e) allow(s) anyone to modify and derive new
+ works from the portions of the source code that are not
+ contained in This Product and to use, copy, and redistribute
+ such modifications and/or derivative works. The license(s)
+ must be perpetual, non-exclusive, royalty-free, no-charge,
+ and worldwide, and must not invalidate, weaken, restrict,
+ interpret, amend, modify, interfere with or otherwise affect
+ any part, term, provision, or clause of this License. The
+ text(s) of the license(s) must be included with every copy
+ of Your Product that You make and distribute.
+ .
+ Note: If you cannot comply with the above requirements, you
+ may contact licensing@truecrypt.org.
+ .
+ e. You must not change the license terms of This Product in
+ any way (adding any new terms is considered changing the
+ license terms even if the original terms are retained),
+ which means, e.g., that no part of This Product may be put
+ under another license. You must keep intact all the legal
+ notices contained in the source code files. You must include
+ the following items with every copy of Your Product that You
+ make and distribute: a clear and conspicuous notice stating
+ that Your Product or portion(s) thereof is/are governed by
+ this version of the TrueCrypt License, a verbatim copy of
+ this version of the TrueCrypt License (as contained herein),
+ a clear and conspicuous notice containing information about
+ where the included copy of the License can be found, and an
+ appropriate copyright notice.
+ .
+ 2. You are not obligated to comply with Subsection III.1.d if
+ Your Product is not distributed (i.e., Your Product is available
+ only to You).
+ .
+ Note: If you cannot comply with Subsection III.1.d, you may
+ contact licensing@truecrypt.org.
+ .
+ .
+ IV. Disclaimer of Liability, Disclaimer of Warranty,
+ Indemnification
+ .
+ You expressly acknowledge and agree to the following:
+ .
+ 1. IN NO EVENT WILL ANY (CO)AUTHOR OF THIS PRODUCT, OR ANY
+ APPLICABLE COPYRIGHT/TRADEMARK OWNER, OR ANY OTHER PARTY WHO MAY
+ COPY AND/OR (RE)DISTRIBUTE THIS PRODUCT OR PORTIONS THEREOF, AS
+ MAY BE PERMITTED HEREIN, BE LIABLE TO YOU OR TO ANY OTHER PARTY
+ FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, ANY DIRECT,
+ INDIRECT, GENERAL, SPECIAL, INCIDENTAL, PUNITIVE, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, CORRUPTION
+ OR LOSS OF DATA, ANY LOSSES SUSTAINED BY YOU OR THIRD PARTIES, A
+ FAILURE OF THIS PRODUCT TO OPERATE WITH ANY OTHER PRODUCT,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR BUSINESS
+ INTERRUPTION), WHETHER IN CONTRACT, STRICT LIABILITY, TORT
+ (INCLUDING, BUT NOT LIMITED TO, NEGLIGENCE) OR OTHERWISE,
+ ARISING OUT OF THE USE, COPYING, MODIFICATION, OR
+ (RE)DISTRIBUTION OF THIS PRODUCT (OR A PORTION THEREOF) OR OF
+ YOUR PRODUCT (OR A PORTION THEREOF), OR INABILITY TO USE THIS
+ PRODUCT (OR A PORTION THEREOF), EVEN IF SUCH DAMAGES (OR THE
+ POSSIBILITY OF SUCH DAMAGES) ARE/WERE PREDICTABLE OR KNOWN TO
+ ANY (CO)AUTHOR, COPYRIGHT/TRADEMARK OWNER, OR ANY OTHER PARTY.
+ .
+ 2. THIS PRODUCT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
+ KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT
+ LIMITED TO, THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+ PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THE ENTIRE RISK AS TO
+ THE QUALITY AND PERFORMANCE OF THIS PRODUCT IS WITH YOU. SHOULD
+ THIS PRODUCT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
+ NECESSARY SERVICING, REPAIR, OR CORRECTION.
+ .
+ 3. THIS PRODUCT MAY INCORPORATE IMPLEMENTATIONS OF CRYPTOGRAPHIC
+ ALGORITHMS THAT ARE REGULATED (E.G., SUBJECT TO EXPORT/IMPORT
+ CONTROL REGULATIONS) OR ILLEGAL IN SOME COUNTRIES. IT IS SOLELY
+ YOUR RESPONSIBILITY TO VERIFY THAT IT IS LEGAL TO IMPORT AND/OR
+ (RE)EXPORT AND/OR USE THIS PRODUCT (OR PORTIONS THEREOF) IN
+ COUNTRIES WHERE YOU INTEND TO USE IT AND/OR TO WHICH YOU INTEND
+ TO IMPORT IT AND/OR FROM WHICH YOU INTEND TO EXPORT IT, AND IT
+ IS SOLELY YOUR RESPONSIBILITY TO COMPLY WITH ANY APPLICABLE
+ REGULATIONS, RESTRICTIONS, AND LAWS.
+ .
+ 4. YOU SHALL INDEMNIFY, DEFEND AND HOLD ALL (CO)AUTHORS OF THIS
+ PRODUCT, AND APPLICABLE COPYRIGHT/TRADEMARK OWNERS, HARMLESS
+ FROM AND AGAINST ANY AND ALL LIABILITY, DAMAGES, LOSSES,
+ SETTLEMENTS, PENALTIES, FINES, COSTS, EXPENSES (INCLUDING
+ REASONABLE ATTORNEYS' FEES), DEMANDS, CAUSES OF ACTION, CLAIMS,
+ ACTIONS, PROCEEDINGS, AND SUITS, DIRECTLY RELATED TO OR ARISING
+ OUT OF YOUR USE, INABILITY TO USE, COPYING, (RE)DISTRIBUTION,
+ IMPORT AND/OR (RE)EXPORT OF THIS PRODUCT (OR PORTIONS THEREOF)
+ AND/OR YOUR BREACH OF ANY TERM OF THIS LICENSE.
+ .
+ .
+ V. Trademarks
+ .
+ This License does not grant permission to use trademarks
+ associated with (or applying to) This Product, except for fair
+ use as defined by applicable law and except for use expressly
+ permitted or required by this License. Any attempt otherwise to
+ use trademarks associated with (or applying to) This Product
+ automatically and immediately terminates Your rights under This
+ License and may constitute trademark infringement (which may be
+ prosecuted).
+ .
+ TrueCrypt is a trademark registered with the World Intellectual
+ Property Organization, an agency of the United Nations,
+ (international trademark registration), in the U.S. Patent and
+ Trademark Office, and in the trademark offices of other
+ countries. All TrueCrypt logos are trademarks and the
+ non-textual TrueCrypt logo consisting primarily of a key in
+ stylized form is a trademark registered in the U.S. Patent and
+ Trademark Office.
+ .
+ Note: The goal is not to monetize the name or the product, but
+ to protect the reputation of TrueCrypt. TrueCrypt is and will
+ remain open-source and free software.
+ .
+ .
+ VI. General Terms and Conditions, Miscellaneous Provisions
+ .
+ 1. ANYONE WHO USES AND/OR COPIES AND/OR MODIFIES AND/OR CREATES
+ DERIVATIVE WORKS OF AND/OR (RE)DISTRIBUTES THIS PRODUCT, OR ANY
+ PORTION(S) THEREOF, IS, BY SUCH ACTION(S), AGREEING TO BE BOUND
+ BY AND ACCEPTING ALL TERMS AND CONDITIONS OF THIS LICENSE (AND
+ THE RESPONSIBILITIES AND OBLIGATIONS CONTAINED IN THIS LICENSE).
+ IF YOU DO NOT ACCEPT (AND AGREE TO BE BOUND BY) ALL TERMS AND
+ CONDITIONS OF THIS LICENSE, DO NOT USE, COPY, MODIFY, CREATE
+ DERIVATIVE WORKS OF, NOR (RE)DISTRIBUTE THIS PRODUCT, NOR ANY
+ PORTION(S) THEREOF.
+ .
+ 2. YOU MAY NOT USE, MODIFY, COPY, CREATE DERIVATIVE WORKS OF,
+ (RE)DISTRIBUTE, OR SUBLICENSE THIS PRODUCT, OR PORTION(S)
+ THEREOF, EXCEPT AS EXPRESSLY PROVIDED IN THIS LICENSE (EVEN IF
+ APPLICABLE LAW GIVES YOU MORE RIGHTS). ANY ATTEMPT (EVEN IF
+ PERMITTED BY APPLICABLE LAW) OTHERWISE TO USE, MODIFY, COPY,
+ CREATE DERIVATIVE WORKS OF, (RE)DISTRIBUTE, OR SUBLICENSE THIS
+ PRODUCT, OR PORTION(S) THEREOF, AUTOMATICALLY AND IMMEDIATELY
+ TERMINATES YOUR RIGHTS UNDER THIS LICENSE AND CAN CONSTITUTE
+ COPYRIGHT INFRINGEMENT (WHICH MAY BE PROSECUTED). ANY CONDITIONS
+ AND RESTRICTIONS CONTAINED IN THIS LICENSE ARE ALSO LIMITATIONS
+ ON THE SCOPE OF THIS LICENSE AND ALSO DEFINE THE SCOPE OF YOUR
+ RIGHTS UNDER THIS LICENSE. YOUR FAILURE TO COMPLY WITH THE TERMS
+ AND CONDITIONS OF THIS LICENSE OR FAILURE TO PERFORM ANY
+ APPLICABLE OBLIGATION IMPOSED BY THIS LICENSE AUTOMATICALLY AND
+ IMMEDIATELY TERMINATES YOUR RIGHTS UNDER THIS LICENSE AND CAN
+ CAUSE OR BE CONSIDERED COPYRIGHT INFRINGEMENT (WHICH MAY BE
+ PROSECUTED). NOTHING IN THIS LICENSE SHALL IMPLY OR BE CONSTRUED
+ AS A PROMISE, OBLIGATION, OR COVENANT NOT TO SUE FOR COPYRIGHT
+ OR TRADEMARK INFRINGEMENT IF YOU DO NOT COMPLY WITH THE TERMS
+ AND CONDITIONS OF THIS LICENSE.
+ .
+ 3. This License does not constitute or imply a waiver of any
+ intellectual property rights except as may be otherwise
+ expressly provided in this License. This License does not
+ transfer, assign, or convey any intellectual property rights
+ (e.g., it does not transfer ownership of copyrights or
+ trademarks).
+ .
+ 4. Subject to the terms and conditions of this License, You may
+ allow a third party to use Your copy of This Product (or a copy
+ that You make and distribute, or Your Product) provided that the
+ third party explicitly accepts and agrees to be bound by all
+ terms and conditions of this License and the third party is not
+ prohibited from using This Product (or portions thereof) by this
+ License (see, e.g., Section VI.7) or by applicable law. However,
+ You are not obligated to ensure that the third party accepts
+ (and agrees to be bound by all terms of) this License if You
+ distribute only the self-extracting package (containing This
+ Product) that does not allow the user to install (nor extract)
+ the files contained in the package until he or she accepts and
+ agrees to be bound by all terms and conditions of this License.
+ .
+ 5. Without specific prior written permission from the authors of
+ This Product (or from their common representative), You must not
+ use the name of This Product, the names of the authors of This
+ Product, or the names of the legal entities (or informal groups)
+ of which the authors were/are members/employees, to endorse or
+ promote Your Product or any work in which You include a modified
+ or unmodified version of This Product, or to endorse or promote
+ You or Your affiliates, or in a way that might suggest that Your
+ Product (or any work in which You include a modified or
+ unmodified version of This Product), You, or Your affiliates
+ is/are endorsed by one or more authors of This Product, or in a
+ way that might suggest that one or more authors of This Product
+ is/are affiliated with You (or Your affiliates) or directly
+ participated in the creation of Your Product or of any work in
+ which You include a modified or unmodified version of This
+ Product.
+ .
+ 6. IF YOU ARE NOT SURE WHETHER YOU UNDERSTAND ALL PARTS OF THIS
+ LICENSE OR IF YOU ARE NOT SURE WHETHER YOU CAN COMPLY WITH ALL
+ TERMS AND CONDITIONS OF THIS LICENSE, YOU MUST NOT USE, COPY,
+ MODIFY, CREATE DERIVATIVE WORKS OF, NOR (RE)DISTRIBUTE THIS
+ PRODUCT, NOR ANY PORTION(S) OF IT. YOU SHOULD CONSULT WITH A
+ LAWYER.
+ .
+ 7. IF (IN RELEVANT CONTEXT) ANY PROVISION OF CHAPTER IV OF THIS
+ LICENSE IS UNENFORCEABLE, INVALID, OR PROHIBITED UNDER
+ APPLICABLE LAW IN YOUR JURISDICTION, YOU HAVE NO RIGHTS UNDER
+ THIS LICENSE AND YOU MUST NOT USE, COPY, MODIFY, CREATE
+ DERIVATIVE WORKS OF, NOR (RE)DISTRIBUTE THIS PRODUCT, NOR ANY
+ PORTION(S) THEREOF.
+ .
+ 8. Except as otherwise provided in this License, if any
+ provision of this License, or a portion thereof, is found to be
+ invalid or unenforceable under applicable law, it shall not
+ affect the validity or enforceability of the remainder of this
+ License, and such invalid or unenforceable provision shall be
+ construed to reflect the original intent of the provision and
+ shall be enforced to the maximum extent permitted by applicable
+ law so as to effect the original intent of the provision as
+ closely as possible.
+
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
+
+
+License: E4M
+ This product can be copied and distributed free of charge,
+ including source code.
+ .
+ You may modify this product and source code, and distribute such
+ modifications, and you may derive new works based on this
+ product, provided that:
+ .
+ 1. Any product which is simply derived from this product cannot
+ be called E4M, or Encryption for the Masses.
+ .
+ 2. If you use any of the source code in your product, and your
+ product is distributed with source code, you must include this
+ notice with those portions of this source code that you use.
+ .
+ Or,
+ .
+ If your product is distributed in binary form only, you must
+ display on any packaging, and marketing materials which
+ reference your product, a notice which states:
+ .
+ "This product uses components written by Paul Le Roux
+ <pleroux@swprofessionals.com>"
+ .
+ 3. If you use any of the source code originally by Eric Young,
+ you must in addition follow his terms and conditions.
+ .
+ 4. Nothing requires that you accept this License, as you have
+ not signed it. However, nothing else grants you permission to
+ modify or distribute the product or its derivative works.
+ .
+ These actions are prohibited by law if you do not accept this
+ License.
+ .
+ 5. If any of these license terms is found to be to broad in
+ scope, and declared invalid by any court or legal process, you
+ agree that all other terms shall not be so affected, and shall
+ remain valid and enforceable.
+ .
+ 6. THIS PROGRAM IS DISTRIBUTED FREE OF CHARGE, THEREFORE THERE
+ IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+ APPLICABLE LAW. UNLESS OTHERWISE STATED THE PROGRAM IS PROVIDED
+ "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
+ IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
+ ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS
+ WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE
+ COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+ .
+ 7. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
+ MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
+ LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
+ INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
+ INABILITY TO USE THE PROGRAM, INCLUDING BUT NOT LIMITED TO LOSS
+ OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH
+ ANY OTHER PROGRAMS, EVEN IF SUCH HOLDER OR OTHER PARTY HAD
+ PREVIOUSLY BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+
+License: BSD-3-clause
+ The free distribution and use of this software is allowed (with
+ or without changes) provided that:
+ .
+ 1. source code distributions include the above copyright
+ notice, this list of conditions and the following
+ disclaimer;
+ .
+ 2. binary distributions include the above copyright notice,
+ this list of conditions and the following disclaimer in
+ their documentation;
+ .
+ 3. the name of the copyright holder is not used to endorse
+ products built using this software without specific written
+ permission.
+ .
+ DISCLAIMER
+ .
+ This software is provided 'as is' with no explicit or implied
+ warranties in respect of its properties, including, but not
+ limited to, correctness and/or fitness for purpose.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: ISC
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+License: zlib
+ This software is provided 'as-is', without any express or
+ implied warranty. In no event will the author be held liable
+ for any damages arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any
+ purpose, including commercial applications, and to alter it and
+ redistribute it freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you
+ must not claim that you wrote the original software. If you
+ use this software in a product, an acknowledgment in the
+ product documentation would be appreciated but is not
+ required.
+ 2. Altered source versions must be plainly marked as such, and
+ must not be misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source
+ distribution.
diff --git a/veracrypt/debian/gbp.conf b/veracrypt/debian/gbp.conf
new file mode 100644
index 0000000..5474c60
--- /dev/null
+++ b/veracrypt/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
diff --git a/veracrypt/debian/patches/001-user-guide-location.diff b/veracrypt/debian/patches/001-user-guide-location.diff
new file mode 100644
index 0000000..e7bddf2
--- /dev/null
+++ b/veracrypt/debian/patches/001-user-guide-location.diff
@@ -0,0 +1,22 @@
+From: Francis Russell <francis@unchartedbackwaters.co.uk>
+Date: Mon, 14 Jan 2013 11:44
+Subject: Move manual
+
+The user manual is installed in /usr/share/doc/veracrypt as opposed to
+/usr/share/veracrypt/doc.
+
+Forwarded: no
+
+Index: veracrypt/src/Main/GraphicUserInterface.cpp
+===================================================================
+--- a/src/Main/GraphicUserInterface.cpp 2017-06-29 17:10:39.000000000 -0400
++++ b/src/Main/GraphicUserInterface.cpp 2017-06-30 16:30:20.842509262 -0400
+@@ -1309,7 +1309,7 @@
+ #elif defined (TC_MACOSX)
+ htmlPath += L"/../Resources/doc/HTML/";
+ #elif defined (TC_UNIX)
+- htmlPath = L"/usr/share/veracrypt/doc/HTML/";
++ htmlPath = L"/usr/share/doc/veracrypt/HTML/";
+ #else
+ localFile = false;
+ #endif
diff --git a/veracrypt/debian/patches/002-build-flags.diff b/veracrypt/debian/patches/002-build-flags.diff
new file mode 100644
index 0000000..20c8362
--- /dev/null
+++ b/veracrypt/debian/patches/002-build-flags.diff
@@ -0,0 +1,34 @@
+From: Stefan Sundin <stefan@stefansundin.com>
+Date: Fri, 12 Sept 2013
+Subject: Add build flags
+
+Forwarded: no
+
+Index: veracrypt/src/Makefile
+===================================================================
+--- veracrypt.orig/src/Makefile
++++ veracrypt/src/Makefile
+@@ -57,6 +57,10 @@ export WXCONFIG_CFLAGS :=
+ export WXCONFIG_CXXFLAGS :=
+ WX_ROOT ?= ..
+
++CPPFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS)
++CFLAGS+=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) -Wno-sequence-point
++CXXFLAGS+=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) -Wno-narrowing
++LFLAGS+=$(shell dpkg-buildflags --get LDFLAGS)
+
+ export TC_BUILD_CONFIG := Release
+
+Index: veracrypt/src/Build/Include/Makefile.inc
+===================================================================
+--- veracrypt.orig/src/Build/Include/Makefile.inc
++++ veracrypt/src/Build/Include/Makefile.inc
+@@ -14,7 +14,7 @@ $(NAME): $(NAME).a
+
+ clean:
+ @echo Cleaning $(NAME)
+- rm -f $(APPNAME) $(NAME).a $(OBJS) $(OBJSEX) $(OBJS:.o=.d) *.gch
++ rm -f $(APPNAME) $(NAME).a $(OBJS) $(OBJS:.o=.d) *.gch $(RESOURCES) SystemPrecompiled.d
+
+ %.o: %.c
+ @echo Compiling $(<F)
diff --git a/veracrypt/debian/patches/004-fixup-install.diff b/veracrypt/debian/patches/004-fixup-install.diff
new file mode 100644
index 0000000..8257d10
--- /dev/null
+++ b/veracrypt/debian/patches/004-fixup-install.diff
@@ -0,0 +1,52 @@
+Description: Fixup the install target so it's usable.
+ - Use a path that works from the top src dir.
+ - Inverse 'doc' and 'veracrypt' in /usr/share/veracrypt/doc/
+ - Don't install the uninstall script nor extra License.txt file.
+ - Use our own veracrypt.desktop file.
+Author: Unit 193 <unit193@ubuntu.com>
+
+Origin: vendor
+Forwarded: no
+Last-Update: 2017-07-10
+
+--- veracrypt-1.21.orig/src/Main/Main.make
++++ veracrypt-1.21/src/Main/Main.make
+@@ -236,25 +236,25 @@ endif
+
+ ifeq "$(PLATFORM)" "Linux"
+ prepare: $(APPNAME)
+- rm -fr $(PWD)/Setup/Linux/usr
+- mkdir -p $(PWD)/Setup/Linux/usr/bin
+- mkdir -p $(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/HTML
+- cp $(PWD)/Main/$(APPNAME) $(PWD)/Setup/Linux/usr/bin/$(APPNAME)
+- cp $(PWD)/Setup/Linux/$(APPNAME)-uninstall.sh $(PWD)/Setup/Linux/usr/bin/$(APPNAME)-uninstall.sh
+- chmod +x $(PWD)/Setup/Linux/usr/bin/$(APPNAME)-uninstall.sh
+- cp $(PWD)/License.txt $(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/License.txt
+- cp $(PWD)/../doc/html/* "$(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/HTML"
++ rm -fr $(CURDIR)/../Setup/Linux/usr
++ mkdir -p $(CURDIR)/../Setup/Linux/usr/bin
++ mkdir -p $(CURDIR)/../Setup/Linux/usr/share/doc/$(APPNAME)/HTML
++ cp $(CURDIR)/$(APPNAME) $(CURDIR)/../Setup/Linux/usr/bin/$(APPNAME)
++# cp $(CURDIR)/../Setup/Linux/$(APPNAME)-uninstall.sh $(CURDIR)/../Setup/Linux/usr/bin/$(APPNAME)-uninstall.sh
++# chmod +x $(CURDIR)/../Setup/Linux/usr/bin/$(APPNAME)-uninstall.sh
++# cp $(CURDIR)/../License.txt $(CURDIR)/../Setup/Linux/usr/share/doc/$(APPNAME)/License.txt
++ cp $(CURDIR)/../../doc/html/* "$(CURDIR)/../Setup/Linux/usr/share/doc/$(APPNAME)/HTML"
+
+ ifndef TC_NO_GUI
+- mkdir -p $(PWD)/Setup/Linux/usr/share/applications
+- mkdir -p $(PWD)/Setup/Linux/usr/share/pixmaps
+- cp $(PWD)/Resources/Icons/VeraCrypt-256x256.xpm $(PWD)/Setup/Linux/usr/share/pixmaps/$(APPNAME).xpm
+- cp $(PWD)/Setup/Linux/$(APPNAME).desktop $(PWD)/Setup/Linux/usr/share/applications/$(APPNAME).desktop
++# mkdir -p $(CURDIR)/../Setup/Linux/usr/share/applications
++ mkdir -p $(CURDIR)/../Setup/Linux/usr/share/pixmaps
++ cp $(CURDIR)/../Resources/Icons/VeraCrypt-256x256.xpm $(CURDIR)/../Setup/Linux/usr/share/pixmaps/$(APPNAME).xpm
++# cp $(CURDIR)/../Setup/Linux/$(APPNAME).desktop $(CURDIR)/../Setup/Linux/usr/share/applications/$(APPNAME).desktop
+ endif
+
+
+ install: prepare
+- cp -R $(CURDIR)/Setup/Linux/usr $(DESTDIR)/.
++ cp -R $(CURDIR)/../Setup/Linux/usr $(DESTDIR)/
+
+ ifeq "$(TC_BUILD_CONFIG)" "Release"
+ package: prepare
diff --git a/veracrypt/debian/patches/series b/veracrypt/debian/patches/series
new file mode 100644
index 0000000..5f788f9
--- /dev/null
+++ b/veracrypt/debian/patches/series
@@ -0,0 +1,4 @@
+001-user-guide-location.diff
+002-build-flags.diff
+004-fixup-install.diff
+vc_devuan.patch
diff --git a/veracrypt/debian/patches/vc_devuan.patch b/veracrypt/debian/patches/vc_devuan.patch
new file mode 100644
index 0000000..b55bea5
--- /dev/null
+++ b/veracrypt/debian/patches/vc_devuan.patch
@@ -0,0 +1,35 @@
+diff -x '*.rej' -x '*.orig' -Naur VeraCrypt_1.22/src/Common/Dlgcode.c VeraCrypt_1.22-1/src/Common/Dlgcode.c
+--- VeraCrypt_1.22/src/Common/Dlgcode.c 2018-03-30 07:54:10.000000000 -0400
++++ VeraCrypt_1.22-1/src/Common/Dlgcode.c 2018-09-02 08:22:00.007030589 -0400
+@@ -1280,7 +1280,7 @@
+ L"This software as a whole:\r\n"
+ L"Copyright \xA9 2013-2018 IDRIX. All rights reserved.\r\n\r\n"
+
+- L"An IDRIX Release");
++ L"Packaged for Devuan");
+
+ return 1;
+
+diff -x '*.rej' -x '*.orig' -Naur VeraCrypt_1.22/src/Common/Tcdefs.h VeraCrypt_1.22-1/src/Common/Tcdefs.h
+--- VeraCrypt_1.22/src/Common/Tcdefs.h 2018-03-30 07:54:10.000000000 -0400
++++ VeraCrypt_1.22-1/src/Common/Tcdefs.h 2018-09-02 08:23:02.200707158 -0400
+@@ -383,7 +383,7 @@
+ #define TC_MAX_PATH 260 /* Includes the null terminator */
+ #endif
+
+-#define TC_STR_RELEASED_BY L"Released by IDRIX on " TC_STR_RELEASE_DATE
++#define TC_STR_RELEASED_BY L"Published for Devuan using IDRIX build " TC_STR_RELEASE_DATE
+
+ #define MAX_URL_LENGTH 2084 /* Internet Explorer limit. Includes the terminating null character. */
+
+diff -x '*.rej' -x '*.orig' -Naur VeraCrypt_1.22/src/Main/Forms/AboutDialog.cpp VeraCrypt_1.22-1/src/Main/Forms/AboutDialog.cpp
+--- VeraCrypt_1.22/src/Main/Forms/AboutDialog.cpp 2018-03-30 07:54:10.000000000 -0400
++++ VeraCrypt_1.22-1/src/Main/Forms/AboutDialog.cpp 2018-09-02 08:23:41.447134097 -0400
+@@ -72,6 +72,6 @@
+
+ L"This software uses wxWidgets library, which is copyright \xA9 1998-2011 Julian Smart, Robert Roebling et al.\n\n"
+
+- L"An IDRIX Release");
++ L"Packaged for Devuan");
+ }
+ }
diff --git a/veracrypt/debian/prerm b/veracrypt/debian/prerm
new file mode 100644
index 0000000..baa2e73
--- /dev/null
+++ b/veracrypt/debian/prerm
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ remove|upgrade|deconfigure|failed-upgrade)
+ (mount | grep -q veracrypt_aux_mnt) &&
+ echo "Error: all VeraCrypt volumes must be unmounted before upgrade." && exit 1
+ exit 0
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/veracrypt/debian/references b/veracrypt/debian/references
new file mode 100644
index 0000000..a45addf
--- /dev/null
+++ b/veracrypt/debian/references
@@ -0,0 +1 @@
+https://launchpad.net/~unit193/+archive/ubuntu/encryption/+packages
diff --git a/veracrypt/debian/rules b/veracrypt/debian/rules
new file mode 100755
index 0000000..5cb3e9e
--- /dev/null
+++ b/veracrypt/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+ dh $@ --sourcedirectory=src
+
+override_dh_auto_build:
+ dh_auto_build -- VERBOSE=1 NOSTRIP=1
+ unset DISPLAY && src/Main/veracrypt --text --help 2>/dev/null | debian/veracrypt_help_to_troff.pl > veracrypt.1
+
+override_dh_clean:
+ dh_clean veracrypt.1
+
+override_dh_installinit:
+ dh_installinit --no-start -- stop 10 0 1 6 .
diff --git a/veracrypt/debian/scripts/30veracrypt b/veracrypt/debian/scripts/30veracrypt
new file mode 100755
index 0000000..33085e4
--- /dev/null
+++ b/veracrypt/debian/scripts/30veracrypt
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+test -d /run/systemd/system && exit 0
+
+VERACRYPT_SUSPEND_UNMOUNT=yes
+
+. /etc/default/veracrypt
+
+case "${VERACRYPT_SUSPEND_UNMOUNT}" in
+[Nn]*)
+ exit 0
+ ;;
+esac
+
+case "$1" in
+ suspend|hibernate)
+ /usr/bin/veracrypt --dismount
+ ;;
+esac
diff --git a/veracrypt/debian/scripts/veracrypt b/veracrypt/debian/scripts/veracrypt
new file mode 100755
index 0000000..b9ec9a7
--- /dev/null
+++ b/veracrypt/debian/scripts/veracrypt
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+VERACRYPT_SUSPEND_UNMOUNT=yes
+
+. /etc/default/veracrypt
+
+case "${VERACRYPT_SUSPEND_UNMOUNT}" in
+[Nn]*)
+ exit 0
+ ;;
+esac
+
+case "$1" in
+ pre)
+ /usr/bin/veracrypt --dismount
+ ;;
+esac
diff --git a/veracrypt/debian/source/format b/veracrypt/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/veracrypt/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/veracrypt/debian/source/lintian-overrides b/veracrypt/debian/source/lintian-overrides
new file mode 100644
index 0000000..04de489
--- /dev/null
+++ b/veracrypt/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# Pre-built windows binaries and help files have no effect on us.
+veracrypt source: source-contains-prebuilt-ms-help-file
+veracrypt source: source-contains-prebuilt-windows-binary
diff --git a/veracrypt/debian/upstream/signing-key.asc b/veracrypt/debian/upstream/signing-key.asc
new file mode 100644
index 0000000..47787df
--- /dev/null
+++ b/veracrypt/debian/upstream/signing-key.asc
@@ -0,0 +1,83 @@
+pub rsa4096 2018-09-11 [SC]
+ 5069A233D55A0EEB174A5FC3821ACD02680D16DE
+uid [ unknown] VeraCrypt Team (2018 - Supersedes Key ID=0x54DDD393) <veracrypt@idrix.fr>
+sub rsa4096 2018-09-11 [E]
+ BB335DCA0D75325C6126BAB6200B5A9D26878A32
+sub rsa4096 2018-09-11 [A]
+ 602269E6D482C2500D1C2D870F5AACD65483D029
+
+-----BEGIN PGP PUBLIC KEY BL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YxNrVJsx
+etq7MiuHphZOZKC1lElShr9/aJqm7MeGa0iBiKDGmQtP1BBos3E23lTLQWeBraJp
+23yciwtC1KZL+IK2X9C7ToBt8wUESrsahDN7Eq0o0lL5EaJB/j0xXOdXb9qC+V+R
+ISeDJV9Jmw0oXwPw/wcxG1quSwTaqx9IBsfr99heTvg+Ir5Ab5HqAg0NWxDG3rG+
+NfBnNKgrPvqsCSfp7gqOPXJmWygCqi4LvzBoxCrOlL3xlqXJsFrJ8Mb0nea/53Kv
+o5SSp6ZpSIJWC/gArhe1Oia9M2oy8i1GUpjU5SyuRGbpYCJ4Q7AnGqBZ/ng+FmAl
+pyGErRwEkImoJwGvOAc2HTw7aU4+MG3Grf4g
+=0fCh
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/veracrypt/debian/veracrypt.default b/veracrypt/debian/veracrypt.default
new file mode 100644
index 0000000..777e809
--- /dev/null
+++ b/veracrypt/debian/veracrypt.default
@@ -0,0 +1,9 @@
+# If enabled, the following option calls 'veracrypt -d' at shutdown. Although
+# all filesystems are unmounted automatically at shutdown, only calling
+# 'veracrypt -d' will stop the VeraCrypt processes and remove any device mappings.
+# It probably isn't necessary to do this, but it shouldn't hurt.
+
+VERACRYPT_SHUTDOWN_UNMOUNT="yes"
+
+# If enabled, the following option calls 'veracrypt -d' during suspend and hibernate.
+VERACRYPT_SUSPEND_UNMOUNT="yes"
diff --git a/veracrypt/debian/veracrypt.desktop b/veracrypt/debian/veracrypt.desktop
new file mode 100644
index 0000000..83ec931
--- /dev/null
+++ b/veracrypt/debian/veracrypt.desktop
@@ -0,0 +1,22 @@
+[Desktop Entry]
+Type=Application
+Name=VeraCrypt
+GenericName=VeraCrypt volume manager
+Comment=Create and mount VeraCrypt encrypted volumes
+Icon=veracrypt
+Exec=veracrypt %f
+Categories=Security;Utility;Filesystem
+Keywords=encryption,filesystem
+Terminal=false
+X-Ayatana-Desktop-Shortcuts=MountFavorites;DismountAll
+MimeType=application/x-veracrypt-volume;application/x-truecrypt-volume;
+
+[MountFavorites Shortcut Group]
+Name=Mount All Favorite Volumes
+Exec=/usr/bin/veracrypt --auto-mount=favorites
+TargetEnvironment=Unity
+
+[DismountAll Shortcut Group]
+Name=Dismount All Mounted Volumes
+Exec=/usr/bin/veracrypt --dismount
+TargetEnvironment=Unity
diff --git a/veracrypt/debian/veracrypt.doc-base b/veracrypt/debian/veracrypt.doc-base
new file mode 100644
index 0000000..ecdab41
--- /dev/null
+++ b/veracrypt/debian/veracrypt.doc-base
@@ -0,0 +1,9 @@
+Document: veracrypt
+Title: VeraCrypt User's Guide
+Author: Mounir IDRASSI
+Abstract: This is the user manual for VeraCrypt, an encryption tool.
+Section: System/Security
+
+Format: HTML
+Index: /usr/share/doc/veracrypt/HTML/Documentation.html
+Files: /usr/share/doc/veracrypt/HTML/*.html
diff --git a/veracrypt/debian/veracrypt.docs b/veracrypt/debian/veracrypt.docs
new file mode 100644
index 0000000..e5fd1a7
--- /dev/null
+++ b/veracrypt/debian/veracrypt.docs
@@ -0,0 +1,2 @@
+src/NOTICE
+src/Readme.txt
diff --git a/veracrypt/debian/veracrypt.init b/veracrypt/debian/veracrypt.init
new file mode 100644
index 0000000..398838a
--- /dev/null
+++ b/veracrypt/debian/veracrypt.init
@@ -0,0 +1,56 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides: veracrypt
+# Required-Start:
+# Required-Stop: $remote_fs
+# Should-Start:
+# Should-Stop:
+# Default-Start:
+# Default-Stop: 0 1 6
+# Short-Description: Remove remaining VeraCrypt device mappings.
+# Description: This init script will dismount mounted VeraCrypt partitions before shutdown.
+### END INIT INFO
+
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+VERACRYPT_SHUTDOWN_UNMOUNT="yes"
+
+. /lib/lsb/init-functions
+
+[ -x /usr/bin/veracrypt ] || exit 0
+
+if [ -r /etc/default/veracrypt ]; then
+ . /etc/default/veracrypt
+fi
+
+case "${VERACRYPT_SHUTDOWN_UNMOUNT}" in
+[Nn]*)
+ exit 0
+ ;;
+esac
+
+do_stop()
+{
+ log_action_begin_msg "Removing VeraCrypt device mappings"
+ veracrypt -d
+ log_action_end_msg $?
+}
+
+case "$1" in
+ start)
+ # No-op
+ ;;
+ status)
+ veracrypt --list
+ ;;
+ restart|reload|force-reload)
+ # No-op
+ ;;
+ stop)
+ do_stop
+ ;;
+ *)
+ echo "Usage: $0 stop|status" >&2
+ exit 3
+ ;;
+esac
+
diff --git a/veracrypt/debian/veracrypt.install b/veracrypt/debian/veracrypt.install
new file mode 100644
index 0000000..779a946
--- /dev/null
+++ b/veracrypt/debian/veracrypt.install
@@ -0,0 +1,4 @@
+debian/scripts/30veracrypt usr/lib/pm-utils/sleep.d/
+debian/scripts/veracrypt lib/systemd/system-sleep/
+debian/veracrypt.desktop usr/share/applications/
+debian/veracrypt.xml usr/share/mime/packages/
diff --git a/veracrypt/debian/veracrypt.manpages b/veracrypt/debian/veracrypt.manpages
new file mode 100644
index 0000000..d91cfd4
--- /dev/null
+++ b/veracrypt/debian/veracrypt.manpages
@@ -0,0 +1 @@
+veracrypt.1
diff --git a/veracrypt/debian/veracrypt.xml b/veracrypt/debian/veracrypt.xml
new file mode 100644
index 0000000..4fc73b9
--- /dev/null
+++ b/veracrypt/debian/veracrypt.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-veracrypt-volume">
+ <comment>VeraCrypt Volume</comment>
+ <glob pattern="*.hc"/>
+ </mime-type>
+ <mime-type type="application/x-truecrypt-volume">
+ <comment>TrueCrypt Volume</comment>
+ <glob pattern="*.tc"/>
+ </mime-type>
+</mime-info>
diff --git a/veracrypt/debian/veracrypt_help_to_troff.pl b/veracrypt/debian/veracrypt_help_to_troff.pl
new file mode 100755
index 0000000..359158d
--- /dev/null
+++ b/veracrypt/debian/veracrypt_help_to_troff.pl
@@ -0,0 +1,61 @@
+#!/usr/bin/perl -w
+use strict;
+
+open(OUT, ">&STDOUT") or die "Couldn't dup STDOUT: $!";
+open(IN, "<&STDIN" ) or die "Couldn't dup STDIN : $!";
+
+print OUT ".TH VERACRYPT 1\n";
+print OUT ".SH NAME\n";
+print OUT "veracrypt \\- create and mount VeraCrypt encrypted volumes\n";
+
+my $section = "";
+
+while(my $line = <IN>)
+{
+ if ($line =~ m/^([a-z_]+):$/i)
+ {
+ $section= lc($1);
+ }
+
+ my $out = $line;
+
+ if ($line =~ m/^[a-z_]+:$/i)
+ {
+ $line =~ s/://;
+ $line = ".SH " . $line;
+
+ $out = uc($line);
+ }
+ elsif ($section eq "synopsis")
+ {
+ $line =~ s/([A-Z_]+)/\\fI$1\\fP/g;
+ $out = $line."\n";
+ }
+ elsif ($section eq "examples")
+ {
+ if ($line =~ m/^.*:$/)
+ {
+ $out = ".PP\n.B $line";
+ }
+ elsif ($line =~ m/.+/)
+ {
+ $out = ".nf\n$line.fi\n";
+ }
+ }
+ elsif ($line =~ m/^-/)
+ {
+ $out = ".TP\n.B ".$line;
+ }
+
+ # In general, the hyphen-minus is meant to be a minus.
+ $out =~ s/-/\\-/g;
+ print OUT $out
+}
+
+print OUT ".SH COPYRIGHT\n";
+print OUT "VeraCrypt is \\(co 2012 TrueCrypt Developers Association. All rights reserved.\n";
+
+print OUT ".PP\nThis manual page was automatically generated from the output of \\fBveracrypt \\-\\-help\\fP\n";
+
+close(IN);
+close(OUT);
diff --git a/veracrypt/debian/watch b/veracrypt/debian/watch
new file mode 100644
index 0000000..01b9fd4
--- /dev/null
+++ b/veracrypt/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=pgpsigurlmangle=s/$/.sig/ \
+https://sf.net/veracrypt/[Vv]era[Cc]rypt_([\d\w\._-]+)_[Ss]ource\.tar\.(?:gz|bz2|xz)
bgstack15