commit:     4702d718233d2698a409841f9589d9c3ddd1933e
Author:     soredake <fdsfgs <AT> krutt <DOT> org>
AuthorDate: Mon Dec 12 11:23:21 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 09:23:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4702d718

app-crypt/veracrypt: initial commit with version 1.19

Veracrypt is a platform independent filesystem or container encryptor
derived from truecrypt.

 app-crypt/veracrypt/Manifest                       |  1 +
 .../files/veracrypt-1.19-execstack-fix.patch       | 60 ++++++++++++++
 .../files/veracrypt-1.19-makefile-archdetect.patch | 26 ++++++
 ...crypt-1.19-remove-packaging-from-makefile.patch | 52 ++++++++++++
 app-crypt/veracrypt/files/veracrypt.init           | 17 ++++
 app-crypt/veracrypt/metadata.xml                   | 26 ++++++
 app-crypt/veracrypt/veracrypt-1.19.ebuild          | 89 +++++++++++++++++++++
 licenses/truecrypt-3.0                             | 92 ++++++++++++++++++++++
 8 files changed, 363 insertions(+)

diff --git a/app-crypt/veracrypt/Manifest b/app-crypt/veracrypt/Manifest
new file mode 100644
index 00000000..40f806b
--- /dev/null
+++ b/app-crypt/veracrypt/Manifest
@@ -0,0 +1 @@
+DIST VeraCrypt_1.19.tar.gz 23235780 SHA256 
7d3fa5007b8e9dc93691c2da78dee497954b0596763a50e21724ec0564eb761b SHA512 
ebce681099e04d938ff0dc10a1af848c82dafd80b165b2431ec355d64e29be4e60d1d63f0d5c9fd1182394080d00f0f573e3ae90f3e2167533dea2b895bd0164
 WHIRLPOOL 
7a1968e29a6f2757c2d7a1187e9e062872ffd26721b27b3df791cbe8c82c18dc98d42d249725f8bc4fd721fe80eb7dbe4642dde26f89ad0c0f84803c1f06a439

diff --git a/app-crypt/veracrypt/files/veracrypt-1.19-execstack-fix.patch 
b/app-crypt/veracrypt/files/veracrypt-1.19-execstack-fix.patch
new file mode 100644
index 00000000..9b1e634
--- /dev/null
+++ b/app-crypt/veracrypt/files/veracrypt-1.19-execstack-fix.patch
@@ -0,0 +1,60 @@
+--- src/Crypto/Aes_hw_cpu.asm.old
++++ src/Crypto/Aes_hw_cpu.asm
+@@ -328,3 +328,12 @@
+
+
+ %endif        ; __BITS__ != 16
++      %ifidn __OUTPUT_FORMAT__,elf
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
++      %ifidn __OUTPUT_FORMAT__,elf32
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
++      %ifidn __OUTPUT_FORMAT__,elf64
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
+--- src/Crypto/AesSmall_x86.asm.old
++++ src/Crypto/AesSmall_x86.asm
+@@ -1442,3 +1442,12 @@
+     db  
v8(0xe1),v8(0x69),v8(0x14),v8(0x63),v8(0x55),v8(0x21),v8(0x0c),v8(0x7d)
+
+ %endif
++      %ifidn __OUTPUT_FORMAT__,elf
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
++      %ifidn __OUTPUT_FORMAT__,elf32
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
++      %ifidn __OUTPUT_FORMAT__,elf64
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
+--- src/Crypto/Aes_x64.asm.old
++++ src/Crypto/Aes_x64.asm
+@@ -905,3 +905,12 @@
+ %endif
+
+ %endif
++      %ifidn __OUTPUT_FORMAT__,elf
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
++      %ifidn __OUTPUT_FORMAT__,elf32
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
++      %ifidn __OUTPUT_FORMAT__,elf64
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
+--- src/Crypto/Aes_x86.asm.old
++++ src/Crypto/Aes_x86.asm
+@@ -644,3 +644,12 @@
+     do_exit
+
+ %endif
++      %ifidn __OUTPUT_FORMAT__,elf
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
++      %ifidn __OUTPUT_FORMAT__,elf32
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif
++      %ifidn __OUTPUT_FORMAT__,elf64
++      section .note.GNU-stack noalloc noexec nowrite progbits
++      %endif

diff --git a/app-crypt/veracrypt/files/veracrypt-1.19-makefile-archdetect.patch 
b/app-crypt/veracrypt/files/veracrypt-1.19-makefile-archdetect.patch
new file mode 100644
index 00000000..41fc6d5
--- /dev/null
+++ b/app-crypt/veracrypt/files/veracrypt-1.19-makefile-archdetect.patch
@@ -0,0 +1,26 @@
+From 181857089b11045c701e9195275a408430beb580 Mon Sep 17 00:00:00 2001
+From: Mounir IDRASSI <[email protected]>
+Date: Sat, 5 Nov 2016 23:39:46 +0100
+Subject: [PATCH] Linux: Always use "uname -m" to determine processor type.
+ This fixes Slackware build issue.
+
+---
+ src/Makefile | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 7bfc5ad..00e6e5b 100644
+--- src/Makefile
++++ src/Makefile
+@@ -131,10 +131,7 @@ export PLATFORM_UNSUPPORTED := 0
+ export CPU_ARCH ?= unknown
+ export SIMD_SUPPORTED := 0
+ 
+-ARCH = $(shell uname -p)
+-ifeq "$(ARCH)" "unknown"
+-      ARCH = $(shell uname -m)
+-endif
++ARCH = $(shell uname -m)
+ 
+ ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
+       CPU_ARCH = x86

diff --git 
a/app-crypt/veracrypt/files/veracrypt-1.19-remove-packaging-from-makefile.patch 
b/app-crypt/veracrypt/files/veracrypt-1.19-remove-packaging-from-makefile.patch
new file mode 100644
index 00000000..5aad4b9
--- /dev/null
+++ 
b/app-crypt/veracrypt/files/veracrypt-1.19-remove-packaging-from-makefile.patch
@@ -0,0 +1,52 @@
+--- src/Main/Main.make.orig
++++ src/Main/Main.make
+@@ -190,49 +190,6 @@
+       rm -fr "$(PWD)/Setup/MacOSX/VeraCrypt_dmg"
+ endif
+
+-
+-
+-ifeq "$(PLATFORM)" "Linux"
+-ifeq "$(TC_BUILD_CONFIG)" "Release"
+-      mkdir -p $(PWD)/Setup/Linux/usr/bin
+-      mkdir -p $(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc
+-      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)/Release/Setup Files/VeraCrypt User Guide.pdf" 
"$(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/VeraCrypt User Guide.pdf"
+-
+-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
+-endif
+-
+-
+-      tar cfz $(PWD)/Setup/Linux/$(PACKAGE_NAME) --directory 
$(PWD)/Setup/Linux usr
+-
+-      @rm -fr $(INTERNAL_INSTALLER_NAME)
+-      @echo "#!/bin/sh" > $(INTERNAL_INSTALLER_NAME)
+-      @echo "VERSION=$(TC_VERSION)" >> $(INTERNAL_INSTALLER_NAME)
+-      @echo "PACKAGE_TYPE=tar" >> $(INTERNAL_INSTALLER_NAME)
+-      @echo "PACKAGE_NAME=$(PACKAGE_NAME)" >> $(INTERNAL_INSTALLER_NAME)
+-      @echo "PACKAGE_START=1107" >> $(INTERNAL_INSTALLER_NAME)
+-      @echo "INSTALLER_TYPE=$(INSTALLER_TYPE)" >> $(INTERNAL_INSTALLER_NAME)
+-
+-      @cat $(PWD)/Setup/Linux/veracrypt_install_template.sh >> 
$(INTERNAL_INSTALLER_NAME)
+-      @cat $(PWD)/Setup/Linux/$(PACKAGE_NAME) >> $(INTERNAL_INSTALLER_NAME)
+-      chmod +x $(INTERNAL_INSTALLER_NAME)
+-
+-      rm -fr $(PWD)/Setup/Linux/packaging
+-      mkdir -p $(PWD)/Setup/Linux/packaging
+-      cp $(INTERNAL_INSTALLER_NAME) $(PWD)/Setup/Linux/packaging/.
+-      makeself $(PWD)/Setup/Linux/packaging 
$(PWD)/Setup/Linux/$(INSTALLER_NAME) "VeraCrypt $(TC_VERSION) Installer" 
./$(INTERNAL_INSTALLER_NAME)
+-
+-endif
+-
+-endif
+-
+ $(OBJS): $(PCH)
+
+ Resources.o: $(RESOURCES)

diff --git a/app-crypt/veracrypt/files/veracrypt.init 
b/app-crypt/veracrypt/files/veracrypt.init
new file mode 100644
index 00000000..972a9da
--- /dev/null
+++ b/app-crypt/veracrypt/files/veracrypt.init
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+       after localmount
+       need device-mapper
+}
+
+stop() {
+       # Try to remove any dm-crypt mappings
+       if [ -x /usr/bin/veracrypt ]; then
+               ebegin "Removing veracrypt mappings"
+               ! /usr/bin/veracrypt -l > /dev/null 2>&1  || /usr/bin/veracrypt 
-d
+               eend $?
+       fi
+}

diff --git a/app-crypt/veracrypt/metadata.xml b/app-crypt/veracrypt/metadata.xml
new file mode 100644
index 00000000..823abb2
--- /dev/null
+++ b/app-crypt/veracrypt/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<longdescription>
+       Platform independent filesystem or container encryptor
+       derived from truecrypt
+</longdescription>
+<use>
+       <flag name="asm">Enable assembly for optimization</flag>
+</use>
+<maintainer type="person">
+       <email>[email protected]</email>
+       <name>soredake</name>
+</maintainer>
+<maintainer type="person">
+       <email>[email protected]</email>
+       <name>Göktürk Yüksek</name>
+</maintainer>
+<maintainer type="project">
+       <email>[email protected]</email>
+       <name>Proxy Maintainers</name>
+</maintainer>
+<upstream>
+       <remote-id type="github">veracrypt/VeraCrypt</remote-id>
+</upstream>
+</pkgmetadata>

diff --git a/app-crypt/veracrypt/veracrypt-1.19.ebuild 
b/app-crypt/veracrypt/veracrypt-1.19.ebuild
new file mode 100644
index 00000000..74fd7da
--- /dev/null
+++ b/app-crypt/veracrypt/veracrypt-1.19.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils linux-info pax-utils toolchain-funcs wxwidgets
+
+DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
+HOMEPAGE="https://veracrypt.codeplex.com";
+SRC_URI="https://github.com/veracrypt/VeraCrypt/archive/VeraCrypt_${PV}.tar.gz";
+
+LICENSE="Apache-2.0 truecrypt-3.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X +asm"
+RESTRICT="mirror bindist"
+
+WX_GTK_VER="3.0"
+
+RDEPEND="
+       sys-fs/lvm2
+       sys-fs/fuse
+       x11-libs/wxGTK:${WX_GTK_VER}[X?]
+       app-admin/sudo
+       dev-libs/pkcs11-helper
+"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+       asm? ( dev-lang/nasm )
+"
+
+S="${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/src"
+
+pkg_setup() {
+       local CONFIG_CHECK="~BLK_DEV_DM ~DM_CRYPT ~FUSE_FS ~CRYPTO ~CRYPTO_XTS"
+       linux-info_pkg_setup
+
+       setup-wxwidgets
+}
+
+PATCHES=(
+       # TODO: remove in >=1.20
+       "${FILESDIR}/${P}-makefile-archdetect.patch"
+       "${FILESDIR}/${P}-execstack-fix.patch"
+       "${FILESDIR}/${P}-remove-packaging-from-makefile.patch"
+)
+
+src_compile() {
+       local myemakeargs=(
+               NOSTRIP=1
+               NOTEST=1
+               VERBOSE=1
+               CC="$(tc-getCC)"
+               CXX="$(tc-getCXX)"
+               AR="$(tc-getAR)"
+               RANLIB="$(tc-getRANLIB)"
+               TC_EXTRA_CFLAGS="${CFLAGS}"
+               TC_EXTRA_CXXFLAGS="${CXXFLAGS}"
+               TC_EXTRA_LFLAGS="${LDFLAGS}"
+               WX_CONFIG="${WX_CONFIG}"
+       )
+       use X || myemakeargs+=( NOGUI=1 )
+       use asm || myemakeargs+=( NOASM=1 )
+
+       emake "${myemakeargs[@]}"
+}
+
+src_test() {
+       "${S}/Main/veracrypt" --text --test || die "tests failed"
+}
+
+src_install() {
+       dobin Main/veracrypt
+       dodoc Readme.txt "Release/Setup Files/VeraCrypt User Guide.pdf"
+       newinitd "${FILESDIR}/${PN}.init" ${PN}
+
+       if use X; then
+               newicon Resources/Icons/VeraCrypt-48x48.xpm veracrypt.xpm
+               make_desktop_entry ${PN} "VeraCrypt" ${PN} "System"
+       fi
+
+       pax-mark -m "${D%/}/usr/bin/veracrypt"
+}
+
+pkg_postinst() {
+       ewarn "VeraCrypt has a very restrictive license. Please be explicitly 
aware"
+       ewarn "of the limitations on redistribution of binaries or modified 
source."
+}

diff --git a/licenses/truecrypt-3.0 b/licenses/truecrypt-3.0
new file mode 100644
index 00000000..cae7767
--- /dev/null
+++ b/licenses/truecrypt-3.0
@@ -0,0 +1,92 @@
+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
+
+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.
+
+    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.)
+
+    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.
+
+    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."
+
+    Phrase "Based on TrueCrypt, freely available at 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 
www.truecrypt.org" may be displayed instead. In each of the cases mentioned 
above in this paragraph, "www.truecrypt.org" must be a hyperlink (if 
technically feasible) pointing to 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.
+
+    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 h
 yperlink (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.
+
+    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).
+
+
+
+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 
INTELLECTUAL-PROPERTY 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 D
 AMAGES) ARE/WERE PREDICTABLE OR KNOWN TO ANY (CO)AUTHOR, INTELLECTUAL-PROPERTY 
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 INTELLECTUAL-PROPERTY 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).
+
+
+
+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 PROSECU
 TED). 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.

Reply via email to