diff options
author | Andreas Schuerch <nativemad@gentoo.org> | 2017-02-14 17:11:45 +0100 |
---|---|---|
committer | Andreas Schuerch <nativemad@gentoo.org> | 2017-02-14 17:11:45 +0100 |
commit | e53bf744754d3c120d96c6d123dfd754fde476f0 (patch) | |
tree | bb2a2306883ab225f6d087fa50a22815b345d01f /sys-fs/dislocker | |
parent | sys-boot/grub: add ~arm64. (diff) | |
download | gentoo-e53bf744754d3c120d96c6d123dfd754fde476f0.tar.gz gentoo-e53bf744754d3c120d96c6d123dfd754fde476f0.tar.bz2 gentoo-e53bf744754d3c120d96c6d123dfd754fde476f0.zip |
sys-fs/dislocker: bump to 0.7.1
Package-Manager: portage-2.3.3
Diffstat (limited to 'sys-fs/dislocker')
-rw-r--r-- | sys-fs/dislocker/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/dislocker/dislocker-0.7.1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-fs/dislocker/Manifest b/sys-fs/dislocker/Manifest index 20bd7bc84a51..d2cffaab25fa 100644 --- a/sys-fs/dislocker/Manifest +++ b/sys-fs/dislocker/Manifest @@ -1,2 +1,3 @@ DIST dislocker-0.5.2.tar.gz 97928 SHA256 469a6a623c9477399c2b9ca5116724c03df4ce1889bbcfe3d5f57956b15c0643 SHA512 023145313417befa2b3b26ce158cce3b356e9533d2fb8ad8576e63a0b1e07b78de3a68d86999ab26984aac4f634bef13310cd5c4954bc994971a9e64c5508e61 WHIRLPOOL 751a49343e0dd53f0ae3e6424dba39a43e7780bddbebc39192ed1f6f09b351352aba253ac858aaff0db6fbdf1cdf8c28fb9f6511d38b9ccbeceee61c4412e43d DIST dislocker-0.6.1.tar.gz 99867 SHA256 e125e3b23d6c1cc2ee2b01958dceaaa15a28ae5616a7cb38b973c5befdb16ead SHA512 92c091d660219e1f65d734ed988e77242abedf2a503a976b050f129f208a1ba88edaf06c6028cd456d5ed9ce7c4ed54064e4e81d37d46915893a2df9d7cb65b9 WHIRLPOOL f14a2b9c101f7ad00445ced88920402519fd8cd5df759397de0c81a892535804d72e765cedf4050cd2ad6f4568e1536dc5f6faeeca353d610848b78dcc7f8e6d +DIST dislocker-0.7.1.tar.gz 103194 SHA256 742fb5c1b3ff540368ced54c29eae8b488ae5a5fcaca092947e17c2d358a6762 SHA512 8852ba3e363fdea992eebecfe1e4dad2b85404f57c57ce6b2937a9859d03cfa88d969926c9e11e6d22596c6d96805b7d1737893ae2c5a957448ab26708bce226 WHIRLPOOL 1f8b8769cac08be4df70c953f967c8408d44b34ebc8e7b0b09e400b827e01234b467990ca0f2cee80518cdea63fbf40cadc75faf4caacd723226a27ee6978fe6 diff --git a/sys-fs/dislocker/dislocker-0.7.1.ebuild b/sys-fs/dislocker/dislocker-0.7.1.ebuild new file mode 100644 index 000000000000..44478c6659bd --- /dev/null +++ b/sys-fs/dislocker/dislocker-0.7.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils cmake-utils flag-o-matic + +DESCRIPTION="Dislocker is used to read BitLocker encrypted partitions." +HOMEPAGE="https://github.com/Aorimn/dislocker" + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/Aorimn/dislocker.git" + inherit git-r3 +else + SRC_URI="https://github.com/Aorimn/dislocker/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~x86 ~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="ruby" + +DEPEND="sys-fs/fuse + || ( net-libs/polarssl net-libs/mbedtls ) + ruby? ( dev-lang/ruby:2.1 )" + +RDEPEND="${DEPEND}" + +src_prepare() { +# We either need to change Werror to Wno-error or remove the multiple declarations of FORTIFY_SOURCE +# sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die + sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die + + sed 's:\.\./man:'../../${P}/man':g' -i "${S}/src/CMakeLists.txt" || die +} + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_find_package ruby Ruby) + ) + cmake-utils_src_configure +} + +src_install() { + find "${S}/man/linux" -name '*.1' -exec doman '{}' + + cmake-utils_src_install +} |