diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2015-08-19 12:25:20 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2015-08-19 12:26:05 +0300 |
commit | de663c9969df8937a02d548dd5d88dd99a63cff6 (patch) | |
tree | f0ba306d449429679ad8b064e98fcc7961389817 /app-crypt/bestcrypt | |
parent | Add check for C++14 (required since 3.13.0-rc1), fixes bug #558118 (diff) | |
download | gentoo-de663c9969df8937a02d548dd5d88dd99a63cff6.tar.gz gentoo-de663c9969df8937a02d548dd5d88dd99a63cff6.tar.bz2 gentoo-de663c9969df8937a02d548dd5d88dd99a63cff6.zip |
app-crypt/bestcrypt: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-crypt/bestcrypt')
-rw-r--r-- | app-crypt/bestcrypt/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/bestcrypt/bestcrypt-2.0.9.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/app-crypt/bestcrypt/Manifest b/app-crypt/bestcrypt/Manifest index 2a80a6db5aea..2461a9663cac 100644 --- a/app-crypt/bestcrypt/Manifest +++ b/app-crypt/bestcrypt/Manifest @@ -1,3 +1,4 @@ DIST BestCrypt-2.0-0.tar.gz 1999791 SHA256 53007d398d137426cb7e24a98d32a8227d5ad20bca623ba9a9ac125f34971df7 SHA512 ccd0b6d91947808cc5396355d3c1e62260b537cd7e4f236017e009a7ecc64c9a7fdf53a937538c9e02c1e303c0b962c9d5debbb37cd8b24ead34aaf33fb6b9e5 WHIRLPOOL 74e04c297664cb3080ec83d1c9791bca61ce72e065462ca0f7f77a69b0c5828814598f9778a6d4c9669f09c431ba365e8d00defa674f4f172fc90677815ff984 DIST BestCrypt-2.0-4.tar.gz 2024711 SHA256 041b3c3766c921583b8e89a9437b7486653b68fc20517a11fca18468ff203335 SHA512 62d2c6204ad0cc0b0b081cfdae082ae0b54ed958a9bb5d81f4ff7c3b0882d64169d179ed8b421f19976eb76ea40b6da97b8ada798a0ea3360847c113f908d019 WHIRLPOOL b4dc6a0c39ce5e8ac41b9cd24a1ddb92718769c81cd2ce1c8ed6cf1fb1408c01b76f425fab9ca25808690fe7cae8df7d5d50a3efc2f4d9bc32374794f2cbf05b DIST BestCrypt-2.0.6.tar.gz 2060735 SHA256 e0286b7dfc662a480340845648a3afdcf9b2f2e38d9b327bc8adf7efa50fc4e0 SHA512 392fc8067099ae046b54ef695b49c9722a30e0a0c66953da51aa0881a306fe2a9e10e1bc6084b20e904a7830eb998c4f44da5813b9951c74e1cd3893689457d3 WHIRLPOOL d2c4e764f2e2b4b7f15c777ac3b84771e29a7a79cd4d6a8b19f6c3c7cd15c11f5a5ec6969d5194d655e9f90a08d7f2826d7e478ba333b5835bb8068fa89bf8d9 +DIST BestCrypt-2.0.9.tar.gz 2109108 SHA256 8bf7e7e0f694668cc36e175226b99daf0149fa60e1f87bfe60ee1495559a01d8 SHA512 76b534c2b41b22d580c051f446dd97dd1de1d0a98f83b0236ac3f7fac2790e37f2e4e55842087102180e61c1bfd2bb6d5f2fee5355c2ac9b34510439a360be1f WHIRLPOOL 76d01e075a5383bb7bfcb90b1aa274e62573d25e279852477a6d1bc0de25a97dd6f49548feb7f8ded775f95a322305c6b9e9c25f75eed3535476cb6df4f28663 diff --git a/app-crypt/bestcrypt/bestcrypt-2.0.9.ebuild b/app-crypt/bestcrypt/bestcrypt-2.0.9.ebuild new file mode 100644 index 000000000000..283652a1f90b --- /dev/null +++ b/app-crypt/bestcrypt/bestcrypt-2.0.9.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils linux-mod toolchain-funcs versionator + +MY_PN="BestCrypt" +DESCRIPTION="commercially licensed transparent filesystem encryption" +HOMEPAGE="http://www.jetico.com/" +SRC_URI="http://www.jetico.com/linux/${MY_PN}-${PV}.tar.gz" + +LICENSE="bestcrypt" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/linux-sources + app-shells/bash" +RDEPEND="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +pkg_setup() { + CONFIG_CHECK="MODULES" + linux-mod_pkg_setup + + MODULE_NAMES="bestcrypt(block::kernel/kmod) + bc_3des(crypto::kernel/kmod/crypto/algs/3des) + bc_bf128(crypto::kernel/kmod/crypto/algs/bf128) + bc_bf448(crypto::kernel/kmod/crypto/algs/bf448) + bc_blowfish(crypto::kernel/kmod/crypto/algs/blowfish) + bc_cast(crypto::kernel/kmod/crypto/algs/cast) + bc_des(crypto::kernel/kmod/crypto/algs/des) + bc_gost(crypto::kernel/kmod/crypto/algs/gost) + bc_idea(crypto::kernel/kmod/crypto/algs/idea) + bc_rijn(crypto::kernel/kmod/crypto/algs/rijn)" + BUILD_TARGETS="module" + BUILD_PARAMS=" \ + BC_KERNEL_DIR=\"${KERNEL_DIR}\"" +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-2.0.6-build.patch" +} + +src_compile() { + MAKEOPTS="-j1" linux-mod_src_compile \ + CXX="$(tc-getCXX)" + MAKEOPTS="-j1" emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + CFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + linux-mod_src_install + + emake install PREFIX="${ED}" install + + newinitd "${FILESDIR}/bcrypt3" bcrypt + sed -e '/\(bc_rc6\|bc_serpent\|bc_twofish\)/d' -i "${D}etc/init.d/bcrypt" + dodoc HIDDEN_PART README +} + +pkg_postinst() { + ewarn + ewarn "The BestCrypt drivers are not free - Please purchace a license from " + ewarn "http://www.jetico.com/" + ewarn + + linux-mod_pkg_postinst +} |