removed old veracrypt
This commit is contained in:
parent
e7533c5edd
commit
da62394e55
10 changed files with 0 additions and 366 deletions
|
@ -1,10 +0,0 @@
|
|||
AUX veracrypt-1.19-execstack-fix.patch 1682 BLAKE2B ce050f900ac6504242941322b910c74c79128d132a372b89070cf6939b5b55c6853617a8c2e49019d4cc4bc1eb872b0753c9287b3e500613bef63f74ef5ba48e SHA512 df7e64a7badfdf97447991cba7c7f87c291c89735b1ffc72b2cc882da05b2df2e2c31ee9aef4415c4d0316bc6e0a9c6c10e01406c00bd0f032931e55cd6465bc
|
||||
AUX veracrypt-1.19-makefile-archdetect.patch 743 BLAKE2B 3eda2de96eb095cf51a806d7a8b06a79edeb03425ad6106a6ec72de0d76da8988dd953e58b4b5b321ee64d3d810ff8d312efddaabea0c8083b858430525a7ae0 SHA512 aa805312c5e3782452ac936a3772a0877e866e1116f2da56747b72a6f585538fd1e45a7c7531c426ff0245b5b3ac4964065e1196874aea4c11e91ac59bd6fffd
|
||||
AUX veracrypt-1.19-missing-libs.patch 433 BLAKE2B 1c6f8841a8fa4982e7435fd8c9e0e5531712022718e2f11aec8951f98564c1a9fd4bc041b2c2df8482a059556b405096645b8652cfa134f4ae9941c789dabe8f SHA512 04a0774db46c2b5657c17bdd67eb949ab66d96c7061f04e5544fcc4a9e8ddd3b9b51e75b4eb2e7e60c0c4a4c363655de29be1057cb166c1d6a17c6797147813f
|
||||
AUX veracrypt-1.19-remove-packaging-from-makefile.patch 2098 BLAKE2B 7588a0de42a5e561dea67c04b0056bd483ffdac0e407a640440d0b7d2723a66368c1eeebaf10c95e31a0114acd013e4d24d138a4aebc876fae51b2da0c9bcffe SHA512 e6485ce39ca009cfabe5656b3ed81cd72ca0207d9b1c310738be60705e3c94f2364cacf393b7f1d0d3e79a1ee58794dfda1d01aaa03778597c149a9dfc5634dc
|
||||
AUX veracrypt-1.21-execstack-fix.patch 480 BLAKE2B 11bc0ad224ce8e181f8ebaf916da9b95ce37f1f8865be35d3173be30815829b743909a2a50c0cf068ce2b9f184cde5b9387bd14b6b90be14d552977cf6b8534f SHA512 744c4a2cd54c5c510dfd74b06a64bf480546083a2b4aa2aaa0f3e1fbbd562740ba3e7f0402f60f20703e9bff2028694ac54f3c9e43244035de49eb1d1a841dce
|
||||
AUX veracrypt-1.21-remove-packaging-from-makefile.patch 2301 BLAKE2B 66e379667240d65e214f3d87d674d27086bfb04172b6e36d90128a3cc03e841147bae2637d2b1ecd32ac8ec110cfb9d5fec55242546b7f4e1d74c5b94b4a34ca SHA512 7d25d56de7110995cdaf2ad89d7508a77747e8620e7efafbec88d872e36dcf93e98c6afdcda8be545770d971aa6e1484db8f3dc6e189385de017baaacfd756e0
|
||||
AUX veracrypt.init 387 BLAKE2B 7f16dee40bceed81ca092a3be6a2cd71f24f5cc8b4e4b143bd6ddde046e1ecce0cd674f52e7adb406893ef57c5b73462157832ff279114a2079c0ff84839e0dc SHA512 986b52c454abd9a64a6e8eb93247983c48d9524c396f253bc16f68894fed0abe87614343ce9c9127f8fb180f12912b21f57063f8f3b43bdca5344c130eb6c72d
|
||||
DIST VeraCrypt_1.23.tar.gz 24941166 BLAKE2B f9760342678f771192434f88a9b6c3bcc348ef312197232346731f51e972c230a4627f92fd655f7a3c7582b1f728274b7f170f885cceadce6ad53c9b404cd8d6 SHA512 433e717403560fc4f9081f528168f346ed7f14f9621b78a176c6801f14caba3d57e3228b940fb746637de29893f278ade650cf5eca63490bc236987a9db4d48d
|
||||
EBUILD veracrypt-1.23.ebuild 2152 BLAKE2B cd31418bb8378636362995c403764ef2a8880a9ebbe971c4ba8bc6c8f159e3c378138a90283ca59530a1d478689355bd59b4f0d54d8f7c5c6a2b265e05802016 SHA512 fda037fa147d3ada34238b7881aa65d7d1730b88612e2a30e571e89559bba469649632f19b199744b49382be1380ace181a3e49af5b8af9573d4291f0d671e2d
|
||||
MISC metadata.xml 348 BLAKE2B 957e1f1ab37e51f60b9f6ff92ea44cd24198e7a87c6a2b52ca667bf8c44735c7c11378cc29b829ba1a5a2a8eda2480d29f31d322a2cc6abd8fa00545d1e19960 SHA512 e0ca522375c7838eb43742edd2e8c5d3bc71457b203cc6b291cd8df520461c340ae25911f34ddbcdde7e8332c9acb0bcde9fabb5f30ffdf896ea714eb242ad70
|
|
@ -1,60 +0,0 @@
|
|||
--- 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
|
|
@ -1,26 +0,0 @@
|
|||
From 181857089b11045c701e9195275a408430beb580 Mon Sep 17 00:00:00 2001
|
||||
From: Mounir IDRASSI <mounir.idrassi@idrix.fr>
|
||||
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
|
|
@ -1,18 +0,0 @@
|
|||
diff -uriN src.orig/Main/Main.make src/Main/Main.make
|
||||
--- src.orig/Main/Main.make 2016-10-17 11:40:41.000000000 -0500
|
||||
+++ src/Main/Main.make 2017-01-07 20:52:13.000000000 -0600
|
||||
@@ -82,14 +82,10 @@
|
||||
#------ wxWidgets configuration ------
|
||||
|
||||
ifdef TC_NO_GUI
|
||||
-ifdef VC_WX_STATIC
|
||||
WX_CONFIG_LIBS := base
|
||||
else
|
||||
WX_CONFIG_LIBS := adv,core,base
|
||||
endif
|
||||
-else
|
||||
-WX_CONFIG_LIBS := adv,core,base
|
||||
-endif
|
||||
|
||||
ifeq "$(TC_BUILD_CONFIG)" "Release"
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
--- 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)
|
|
@ -1,16 +0,0 @@
|
|||
--- 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
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
--- src/Main/Main.make.orig 2017-07-24 11:10:56.302538392 -0500
|
||||
+++ src/Main/Main.make 2017-07-24 11:11:31.581510152 -0500
|
||||
@@ -219,55 +219,6 @@
|
||||
rm -fr "$(PWD)/Setup/MacOSX/VeraCrypt_dmg"
|
||||
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"
|
||||
-
|
||||
-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
|
||||
-
|
||||
-
|
||||
-install: prepare
|
||||
- cp -R $(CURDIR)/Setup/Linux/usr $(DESTDIR)/.
|
||||
-
|
||||
-ifeq "$(TC_BUILD_CONFIG)" "Release"
|
||||
-package: prepare
|
||||
- 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
|
||||
-
|
||||
ifeq "$(PLATFORM)" "FreeBSD"
|
||||
prepare: $(APPNAME)
|
||||
rm -fr $(PWD)/Setup/FreeBSD/usr
|
|
@ -1,17 +0,0 @@
|
|||
#!/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
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
<?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 <pkg>app-crypt/truecrypt</pkg>
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="asm">Enable assembly for optimization</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,98 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=7
|
||||
WX_GTK_VER="3.0-gtk3"
|
||||
inherit eutils linux-info pax-utils toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Disk encryption with strong security based on TrueCrypt"
|
||||
HOMEPAGE="https://veracrypt.fr/"
|
||||
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=(
|
||||
"${FILESDIR}/${PN}-1.21-execstack-fix.patch"
|
||||
"${FILESDIR}/${PN}-1.21-remove-packaging-from-makefile.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
WX_BASENAME=$( /usr/bin/wx-config --basename )
|
||||
if [[ ${WX_BASENAME} == "wx_baseu" ]] ; then
|
||||
epatch "${FILESDIR}/${PN}-1.19-missing-libs.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
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 License.txt
|
||||
dodoc -r "${WORKDIR}/VeraCrypt-VeraCrypt_${PV}/doc/html"
|
||||
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."
|
||||
}
|
Loading…
Reference in a new issue