From 01f68e191145863cb086bb6eeef430db6a054e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 23 Oct 2022 18:34:54 +0700 Subject: [PATCH] VeraCrypt: is nonfree and restricted Close #40093 --- srcpkgs/VeraCrypt/template | 7 ++++++- srcpkgs/removed-packages/template | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/VeraCrypt/template b/srcpkgs/VeraCrypt/template index e858493ef88..be02dc36dbe 100644 --- a/srcpkgs/VeraCrypt/template +++ b/srcpkgs/VeraCrypt/template @@ -1,7 +1,7 @@ # Template file for 'VeraCrypt' pkgname=VeraCrypt version=1.25.7 -revision=1 +revision=2 wrksrc="${pkgname}_${version}" build_wrksrc=src build_style=gnu-makefile @@ -16,6 +16,11 @@ homepage="https://www.veracrypt.fr" distfiles="https://www.veracrypt.fr/code/VeraCrypt/snapshot/VeraCrypt_${version}.tar.gz" checksum=623006ed61d081f4fd25151c148437471a6552e44e96814c196079ad679a4ba1 +# license is Apache-2.0 AND TrueCrypt-3.0 +# TrueCrypt-3.0 is non-free, VI.4 disallow distributing +repository=nonfree +restricted=yes + case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) ;; *) make_build_args+=' NOASM=1' ;; diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index 6d06ff1eb22..bce536724b0 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -18,6 +18,7 @@ replaces=" Pyrex<=0.9.9_5 SMC<=1.9_9 Venom<=0.5.5_1 + VeraCrypt<=1.25.7_1 XorCurses<=0.2.2_1 acme-client<=0.1.16_5 adobe-flash-plugin-ppapi<=32.0.0.465_1