mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
bump(sys-fs/cryptsetup): sync with upstream
This commit is contained in:
parent
8e801ffbd7
commit
531ca6f8cc
@ -1,14 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare setup test
|
|
||||||
DEPEND=static-libs? ( dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] sys-apps/util-linux[static-libs(+)] gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) dev-libs/libgpg-error dev-libs/popt sys-apps/util-linux gcrypt? ( dev-libs/libgcrypt:0= ) nettle? ( >=dev-libs/nettle-2.4 ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) pwquality? ( dev-libs/libpwquality ) sys-fs/lvm2 udev? ( virtual/libudev ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] ) virtual/pkgconfig static? ( dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] sys-apps/util-linux[static-libs(+)] gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
|
||||||
DESCRIPTION=Tool to setup encrypted devices with dm-crypt
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md
|
|
||||||
IUSE=+gcrypt kernel nettle openssl libressl nls pwquality python reencrypt static static-libs udev urandom python_targets_python2_7 python_targets_python3_4 python_targets_python3_5
|
|
||||||
KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86
|
|
||||||
LICENSE=GPL-2+
|
|
||||||
RDEPEND=static-libs? ( dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] sys-apps/util-linux[static-libs(+)] gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) dev-libs/libgpg-error dev-libs/popt sys-apps/util-linux gcrypt? ( dev-libs/libgcrypt:0= ) nettle? ( >=dev-libs/nettle-2.4 ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) pwquality? ( dev-libs/libpwquality ) sys-fs/lvm2 udev? ( virtual/libudev ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] )
|
|
||||||
REQUIRED_USE=^^ ( gcrypt kernel nettle openssl ) python? ( || ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 ) ) static? ( !gcrypt )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://kernel/linux/utils/cryptsetup/v1.7/cryptsetup-1.7.4.tar.xz
|
|
||||||
_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 distutils-r1 63fea93ca1cc4fdc5fa2247afc4e3a15 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d linux-info aedb720bff5a5dec9b87edd351382bfc ltprune 607e058da37aa6dabfa408b7d61da72e multibuild 35719a9cd25ec71ee49c966f6868454c multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 preserve-libs ef207dc62baddfddfd39a164d9797648 python-r1 0b5829eb6369d7af3a834b6eed7b7107 python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
|
||||||
_md5_=56d0dbbfdd25ce38ab6d36435fdc23ff
|
|
@ -4,11 +4,11 @@ DESCRIPTION=Tool to setup encrypted devices with dm-crypt
|
|||||||
EAPI=5
|
EAPI=5
|
||||||
HOMEPAGE=https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md
|
HOMEPAGE=https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md
|
||||||
IUSE=+gcrypt kernel nettle openssl libressl nls pwquality python reencrypt static static-libs udev urandom python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
|
IUSE=+gcrypt kernel nettle openssl libressl nls pwquality python reencrypt static static-libs udev urandom python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
|
||||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86
|
||||||
LICENSE=GPL-2+
|
LICENSE=GPL-2+
|
||||||
RDEPEND=static-libs? ( dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] sys-apps/util-linux[static-libs(+)] gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) dev-libs/libgpg-error dev-libs/popt sys-apps/util-linux gcrypt? ( dev-libs/libgcrypt:0= ) nettle? ( >=dev-libs/nettle-2.4 ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) pwquality? ( dev-libs/libpwquality ) sys-fs/lvm2 udev? ( virtual/libudev ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] )
|
RDEPEND=static-libs? ( dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] sys-apps/util-linux[static-libs(+)] gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) dev-libs/libgpg-error dev-libs/popt sys-apps/util-linux gcrypt? ( dev-libs/libgcrypt:0= ) nettle? ( >=dev-libs/nettle-2.4 ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) pwquality? ( dev-libs/libpwquality ) sys-fs/lvm2 udev? ( virtual/libudev ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] )
|
||||||
REQUIRED_USE=^^ ( gcrypt kernel nettle openssl ) python? ( || ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 ) ) static? ( !gcrypt )
|
REQUIRED_USE=^^ ( gcrypt kernel nettle openssl ) python? ( || ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 ) ) static? ( !gcrypt )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=mirror://kernel/linux/utils/cryptsetup/v1.7/cryptsetup-1.7.5.tar.xz
|
SRC_URI=mirror://kernel/linux/utils/cryptsetup/v1.7/cryptsetup-1.7.5.tar.xz
|
||||||
_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 distutils-r1 63fea93ca1cc4fdc5fa2247afc4e3a15 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d linux-info aedb720bff5a5dec9b87edd351382bfc ltprune 607e058da37aa6dabfa408b7d61da72e multibuild 35719a9cd25ec71ee49c966f6868454c multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 preserve-libs ef207dc62baddfddfd39a164d9797648 python-r1 0b5829eb6369d7af3a834b6eed7b7107 python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 distutils-r1 63fea93ca1cc4fdc5fa2247afc4e3a15 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d linux-info aedb720bff5a5dec9b87edd351382bfc ltprune 607e058da37aa6dabfa408b7d61da72e multibuild 35719a9cd25ec71ee49c966f6868454c multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 preserve-libs ef207dc62baddfddfd39a164d9797648 python-r1 0b5829eb6369d7af3a834b6eed7b7107 python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||||
_md5_=c48781250e044b1bfa7bd8a2431397c6
|
_md5_=0a7e0bc5c91d9b14961ba7ad4fc1f96b
|
||||||
|
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-fs/cryptsetup-2.0.2
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-fs/cryptsetup-2.0.2
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=configure install prepare setup test
|
||||||
|
DEPEND=static-libs? ( dev-libs/json-c:=[static-libs(+)] dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] >=sys-apps/util-linux-2.31-r1[static-libs(+)] argon2? ( app-crypt/argon2:=[static-libs(+)] ) gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) dev-libs/json-c:= dev-libs/libgpg-error dev-libs/popt >=sys-apps/util-linux-2.31-r1 argon2? ( app-crypt/argon2:= ) gcrypt? ( dev-libs/libgcrypt:0= ) nettle? ( >=dev-libs/nettle-2.4 ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) pwquality? ( dev-libs/libpwquality ) sys-fs/lvm2 udev? ( virtual/libudev ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) python_single_target_python3_5? ( dev-lang/python:3.5 ) python_single_target_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?,python_single_target_python3_5(+)?,python_single_target_python3_6(+)?] ) virtual/pkgconfig static? ( dev-libs/json-c:=[static-libs(+)] dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] >=sys-apps/util-linux-2.31-r1[static-libs(+)] argon2? ( app-crypt/argon2:=[static-libs(+)] ) gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
|
DESCRIPTION=Tool to setup encrypted devices with dm-crypt
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md
|
||||||
|
IUSE=+gcrypt kernel nettle openssl +argon2 libressl nls pwquality python reencrypt static static-libs udev urandom python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 python_single_target_python2_7 python_single_target_python3_4 python_single_target_python3_5 python_single_target_python3_6
|
||||||
|
KEYWORDS=~amd64 ~arm64 ~mips ~s390 ~sh ~sparc ~x86
|
||||||
|
LICENSE=GPL-2+
|
||||||
|
RDEPEND=static-libs? ( dev-libs/json-c:=[static-libs(+)] dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] >=sys-apps/util-linux-2.31-r1[static-libs(+)] argon2? ( app-crypt/argon2:=[static-libs(+)] ) gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) dev-libs/json-c:= dev-libs/libgpg-error dev-libs/popt >=sys-apps/util-linux-2.31-r1 argon2? ( app-crypt/argon2:= ) gcrypt? ( dev-libs/libgcrypt:0= ) nettle? ( >=dev-libs/nettle-2.4 ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) pwquality? ( dev-libs/libpwquality ) sys-fs/lvm2 udev? ( virtual/libudev ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) python_single_target_python3_5? ( dev-lang/python:3.5 ) python_single_target_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?,python_single_target_python3_5(+)?,python_single_target_python3_6(+)?] )
|
||||||
|
REQUIRED_USE=^^ ( gcrypt kernel nettle openssl ) python? ( ^^ ( python_single_target_python2_7 python_single_target_python3_4 python_single_target_python3_5 python_single_target_python3_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) python_single_target_python3_4? ( python_targets_python3_4 ) python_single_target_python3_5? ( python_targets_python3_5 ) python_single_target_python3_6? ( python_targets_python3_6 ) ) static? ( !gcrypt )
|
||||||
|
SLOT=0/12
|
||||||
|
SRC_URI=mirror://kernel/linux/utils/cryptsetup/v2.0/cryptsetup-2.0.2.tar.xz
|
||||||
|
_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 estack 43ddf5aaffa7a8d0482df54d25a66a1f libtool 0081a71a261724730ec4c248494f044d linux-info aedb720bff5a5dec9b87edd351382bfc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e python-single-r1 26fdbe5e685d53f67303a3a43d9e4848 python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 versionator 26ca8a8bd95d6a74122c08ba98a4ee72
|
||||||
|
_md5_=4bc2e272819281460b6726d90a473e18
|
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-fs/cryptsetup-2.0.3
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/metadata/md5-cache/sys-fs/cryptsetup-2.0.3
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=configure install prepare setup test
|
||||||
|
DEPEND=static-libs? ( dev-libs/json-c:=[static-libs(+)] dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] >=sys-apps/util-linux-2.31-r1[static-libs(+)] argon2? ( app-crypt/argon2:=[static-libs(+)] ) gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) dev-libs/json-c:= dev-libs/libgpg-error dev-libs/popt >=sys-apps/util-linux-2.31-r1 argon2? ( app-crypt/argon2:= ) gcrypt? ( dev-libs/libgcrypt:0= ) nettle? ( >=dev-libs/nettle-2.4 ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) pwquality? ( dev-libs/libpwquality ) sys-fs/lvm2 udev? ( virtual/libudev ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) python_single_target_python3_5? ( dev-lang/python:3.5 ) python_single_target_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?,python_single_target_python3_5(+)?,python_single_target_python3_6(+)?] ) virtual/pkgconfig static? ( dev-libs/json-c:=[static-libs(+)] dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] >=sys-apps/util-linux-2.31-r1[static-libs(+)] argon2? ( app-crypt/argon2:=[static-libs(+)] ) gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
|
DESCRIPTION=Tool to setup encrypted devices with dm-crypt
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md
|
||||||
|
IUSE=+gcrypt kernel nettle openssl +argon2 libressl nls pwquality python reencrypt static static-libs udev urandom python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 python_single_target_python2_7 python_single_target_python3_4 python_single_target_python3_5 python_single_target_python3_6
|
||||||
|
KEYWORDS=~amd64 ~arm64 ~mips ~s390 ~sh ~sparc ~x86
|
||||||
|
LICENSE=GPL-2+
|
||||||
|
RDEPEND=static-libs? ( dev-libs/json-c:=[static-libs(+)] dev-libs/libgpg-error[static-libs(+)] dev-libs/popt[static-libs(+)] >=sys-apps/util-linux-2.31-r1[static-libs(+)] argon2? ( app-crypt/argon2:=[static-libs(+)] ) gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] ) nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) libressl? ( dev-libs/libressl:=[static-libs(+)] ) ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(+)] ) ) dev-libs/json-c:= dev-libs/libgpg-error dev-libs/popt >=sys-apps/util-linux-2.31-r1 argon2? ( app-crypt/argon2:= ) gcrypt? ( dev-libs/libgcrypt:0= ) nettle? ( >=dev-libs/nettle-2.4 ) openssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= ) ) pwquality? ( dev-libs/libpwquality ) sys-fs/lvm2 udev? ( virtual/libudev ) python? ( python_single_target_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_single_target_python3_4? ( dev-lang/python:3.4 ) python_single_target_python3_5? ( dev-lang/python:3.5 ) python_single_target_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),python_single_target_python2_7(+)?,python_single_target_python3_4(+)?,python_single_target_python3_5(+)?,python_single_target_python3_6(+)?] )
|
||||||
|
REQUIRED_USE=^^ ( gcrypt kernel nettle openssl ) python? ( ^^ ( python_single_target_python2_7 python_single_target_python3_4 python_single_target_python3_5 python_single_target_python3_6 ) python_single_target_python2_7? ( python_targets_python2_7 ) python_single_target_python3_4? ( python_targets_python3_4 ) python_single_target_python3_5? ( python_targets_python3_5 ) python_single_target_python3_6? ( python_targets_python3_6 ) ) static? ( !gcrypt )
|
||||||
|
SLOT=0/12
|
||||||
|
SRC_URI=mirror://kernel/linux/utils/cryptsetup/v2.0/cryptsetup-2.0.3.tar.xz
|
||||||
|
_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 estack 43ddf5aaffa7a8d0482df54d25a66a1f libtool 0081a71a261724730ec4c248494f044d linux-info aedb720bff5a5dec9b87edd351382bfc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e python-single-r1 26fdbe5e685d53f67303a3a43d9e4848 python-utils-r1 ffa9c3284c6b07b8c9f7933911f63812 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 versionator 26ca8a8bd95d6a74122c08ba98a4ee72
|
||||||
|
_md5_=5e244cb73c3832a42f63a0aa8e4d5478
|
@ -1,2 +1,3 @@
|
|||||||
DIST cryptsetup-1.7.4.tar.xz 1232068 SHA256 7ccf893ef79a38fb92d61f03c17b964982119f5319cdaa85a1335b8558cca016 SHA512 c5f58227b38dcc2e2858c4bbcb641acead3b6bcdad0d8d76e5f46936669e4aff4dbc20a2980040341320d35d39f029725a9f20607753cad44f64ac0443b64b71 WHIRLPOOL f00d0e529a5d34460733e8110584266b42011055d81d94b0ae8d47a1f11f1639c4b658a55415241e72c431c615d896a94ae444a518a0b56f971b888a5ab7cc09
|
DIST cryptsetup-1.7.5.tar.xz 1232696 BLAKE2B 1bd62b186564e0b902480d66f623074f8d2f06ea09f11788566e33d58f7d0dc8c79d5827e5966e1a20a5597c2cbdec76da49c8f54c0538a1ac3f869d8ef55456 SHA512 d473f7b06d705a3868a70f3767fafc664436b5897ba59025ea1268f815cb80a9076841ff9ff96cc130fb83ba18b03c1eee38cfaf1b471fdd883a3e126b771439
|
||||||
DIST cryptsetup-1.7.5.tar.xz 1232696 SHA256 2b30cd1d0dd606a53ac77b406e1d37798d4b0762fa89de6ea546201906a251bd SHA512 d473f7b06d705a3868a70f3767fafc664436b5897ba59025ea1268f815cb80a9076841ff9ff96cc130fb83ba18b03c1eee38cfaf1b471fdd883a3e126b771439 WHIRLPOOL cd2fe15a08f3202c89055e334a3c56fcb60a19bda8135c7d833f384e9beb7fcd6f31fbbd4ac29572f46199f05bd6055b89b3d6733828354d9c985b3e55da4e14
|
DIST cryptsetup-2.0.2.tar.xz 10122404 BLAKE2B ac2391cdef387c403a8477467fb8fa36850d38ad3759639326f10ecd2b475bbd3df63162aafa1886e389a5a6b4ff1f94c2906e31538501d3be36267fbee12f6a SHA512 1c37b81b1dcb1223293b30ddc7096e074d01e2dd978b543fbda7ae11ecc29c1c461d12e4b22288bb382a188e9e679bf1ad3e281e77428374b7c605c8902c1b17
|
||||||
|
DIST cryptsetup-2.0.3.tar.xz 10125548 BLAKE2B 871df4c248151394f5abc907209b6df636049e5a1ff72161af091d36963ef68adee14e5e1867d779c9419e489aa9bea7562608b239a8fe361b769f0cc14daaf0 SHA512 f5ac54aa9614b234f2d1e84758a98914d283b669f4ab5cbe0ed7cdf25ce77f2d1abdf1e5b5010d803971f0e29120954110ee4fcc538137b04fbdc13b7804385e
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=5
|
EAPI=5
|
||||||
@ -14,7 +14,7 @@ SRC_URI="mirror://kernel/linux/utils/${PN}/v$(get_version_component_range 1-2)/$
|
|||||||
|
|
||||||
LICENSE="GPL-2+"
|
LICENSE="GPL-2+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
||||||
CRYPTO_BACKENDS="+gcrypt kernel nettle openssl"
|
CRYPTO_BACKENDS="+gcrypt kernel nettle openssl"
|
||||||
# we don't support nss since it doesn't allow cryptsetup to be built statically
|
# we don't support nss since it doesn't allow cryptsetup to be built statically
|
||||||
# and it's missing ripemd160 support so it can't provide full backward compatibility
|
# and it's missing ripemd160 support so it can't provide full backward compatibility
|
||||||
|
@ -1,31 +1,34 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=5
|
EAPI=6
|
||||||
|
|
||||||
DISTUTILS_OPTIONAL=1
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
|
||||||
|
|
||||||
inherit autotools distutils-r1 linux-info libtool eutils versionator
|
inherit autotools python-single-r1 linux-info libtool ltprune versionator
|
||||||
|
|
||||||
DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
|
DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
|
||||||
HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md"
|
HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md"
|
||||||
SRC_URI="mirror://kernel/linux/utils/${PN}/v$(get_version_component_range 1-2)/${P}.tar.xz"
|
SRC_URI="mirror://kernel/linux/utils/${PN}/v$(get_version_component_range 1-2)/${P/_/-}.tar.xz"
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
LICENSE="GPL-2+"
|
||||||
SLOT="0"
|
SLOT="0/12" # libcryptsetup.so version
|
||||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
[[ ${PV} != *_rc* ]] && \
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~mips ~s390 ~sh ~sparc ~x86"
|
||||||
CRYPTO_BACKENDS="+gcrypt kernel nettle openssl"
|
CRYPTO_BACKENDS="+gcrypt kernel nettle openssl"
|
||||||
# we don't support nss since it doesn't allow cryptsetup to be built statically
|
# we don't support nss since it doesn't allow cryptsetup to be built statically
|
||||||
# and it's missing ripemd160 support so it can't provide full backward compatibility
|
# and it's missing ripemd160 support so it can't provide full backward compatibility
|
||||||
IUSE="${CRYPTO_BACKENDS} libressl nls pwquality python reencrypt static static-libs udev urandom"
|
IUSE="${CRYPTO_BACKENDS} +argon2 libressl nls pwquality python reencrypt static static-libs udev urandom"
|
||||||
REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} )
|
REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} )
|
||||||
python? ( ${PYTHON_REQUIRED_USE} )
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
static? ( !gcrypt )" #496612
|
static? ( !gcrypt )" #496612
|
||||||
|
|
||||||
LIB_DEPEND="dev-libs/libgpg-error[static-libs(+)]
|
LIB_DEPEND="
|
||||||
|
dev-libs/json-c:=[static-libs(+)]
|
||||||
|
dev-libs/libgpg-error[static-libs(+)]
|
||||||
dev-libs/popt[static-libs(+)]
|
dev-libs/popt[static-libs(+)]
|
||||||
sys-apps/util-linux[static-libs(+)]
|
>=sys-apps/util-linux-2.31-r1[static-libs(+)]
|
||||||
|
argon2? ( app-crypt/argon2:=[static-libs(+)] )
|
||||||
gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] )
|
gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] )
|
||||||
nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] )
|
nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] )
|
||||||
openssl? (
|
openssl? (
|
||||||
@ -45,7 +48,7 @@ DEPEND="${RDEPEND}
|
|||||||
virtual/pkgconfig
|
virtual/pkgconfig
|
||||||
static? ( ${LIB_DEPEND} )"
|
static? ( ${LIB_DEPEND} )"
|
||||||
|
|
||||||
#PATCHES=( )
|
S="${WORKDIR}/${P/_/-}"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC ~CRYPTO_SHA256"
|
local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC ~CRYPTO_SHA256"
|
||||||
@ -58,14 +61,8 @@ pkg_setup() {
|
|||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die
|
sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die
|
||||||
#epatch "${PATCHES[@]}"
|
default
|
||||||
epatch_user && eautoreconf
|
eautoreconf
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
cd python
|
|
||||||
cp "${FILESDIR}"/setup-1.7.0.py setup.py || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
@ -75,27 +72,27 @@ src_configure() {
|
|||||||
ewarn "userspace crypto libraries."
|
ewarn "userspace crypto libraries."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
use python && python_setup
|
||||||
|
|
||||||
# We disable autotool python integration so we can use eclasses
|
# We disable autotool python integration so we can use eclasses
|
||||||
# for proper integration with multiple python versions.
|
# for proper integration with multiple python versions.
|
||||||
econf \
|
local myeconfargs=(
|
||||||
--sbindir=/sbin \
|
--disable-internal-argon2
|
||||||
--enable-shared \
|
--enable-shared
|
||||||
--disable-python \
|
--sbindir=/sbin
|
||||||
$(use_enable static static-cryptsetup) \
|
--with-tmpfilesdir="${EPREFIX%/}/usr/lib/tmpfiles.d"
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable pwquality) \
|
|
||||||
$(use_enable reencrypt cryptsetup-reencrypt) \
|
|
||||||
$(use_enable udev) \
|
|
||||||
$(use_enable !urandom dev-random) \
|
|
||||||
--with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done)
|
--with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done)
|
||||||
|
$(use_enable argon2 libargon2)
|
||||||
use python && cd python && distutils-r1_src_configure
|
$(use_enable nls)
|
||||||
}
|
$(use_enable pwquality)
|
||||||
|
$(use_enable python)
|
||||||
src_compile() {
|
$(use_enable reencrypt cryptsetup-reencrypt)
|
||||||
default
|
$(use_enable static static-cryptsetup)
|
||||||
use python && cd python && distutils-r1_src_compile
|
$(use_enable static-libs static)
|
||||||
|
$(use_enable udev)
|
||||||
|
$(use_enable !urandom dev-random)
|
||||||
|
)
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_test() {
|
src_test() {
|
||||||
@ -103,24 +100,27 @@ src_test() {
|
|||||||
ewarn "No /dev/mapper/control found -- skipping tests"
|
ewarn "No /dev/mapper/control found -- skipping tests"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local p
|
local p
|
||||||
for p in /dev/mapper /dev/loop* ; do
|
for p in /dev/mapper /dev/loop* ; do
|
||||||
addwrite ${p}
|
addwrite ${p}
|
||||||
done
|
done
|
||||||
|
|
||||||
default
|
default
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
default
|
default
|
||||||
|
|
||||||
if use static ; then
|
if use static ; then
|
||||||
mv "${ED}"/sbin/cryptsetup{.static,} || die
|
mv "${ED%}"/sbin/cryptsetup{.static,} || die
|
||||||
mv "${ED}"/sbin/veritysetup{.static,} || die
|
mv "${ED%}"/sbin/veritysetup{.static,} || die
|
||||||
use reencrypt && { mv "${ED}"/sbin/cryptsetup-reencrypt{.static,} || die ; }
|
use reencrypt && { mv "${ED%}"/sbin/cryptsetup-reencrypt{.static,} || die ; }
|
||||||
fi
|
fi
|
||||||
prune_libtool_files --modules
|
prune_libtool_files --modules
|
||||||
|
|
||||||
|
dodoc docs/v*ReleaseNotes
|
||||||
|
|
||||||
newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt
|
newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt
|
||||||
newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt
|
newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt
|
||||||
|
|
||||||
use python && cd python && distutils-r1_src_install
|
|
||||||
}
|
}
|
128
sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/cryptsetup-2.0.3.ebuild
vendored
Normal file
128
sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/cryptsetup-2.0.3.ebuild
vendored
Normal file
@ -0,0 +1,128 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||||
|
|
||||||
|
inherit autotools python-single-r1 linux-info libtool ltprune versionator
|
||||||
|
|
||||||
|
DESCRIPTION="Tool to setup encrypted devices with dm-crypt"
|
||||||
|
HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md"
|
||||||
|
SRC_URI="mirror://kernel/linux/utils/${PN}/v$(get_version_component_range 1-2)/${P/_/-}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0/12" # libcryptsetup.so version
|
||||||
|
[[ ${PV} != *_rc* ]] && \
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~mips ~s390 ~sh ~sparc ~x86"
|
||||||
|
CRYPTO_BACKENDS="+gcrypt kernel nettle openssl"
|
||||||
|
# we don't support nss since it doesn't allow cryptsetup to be built statically
|
||||||
|
# and it's missing ripemd160 support so it can't provide full backward compatibility
|
||||||
|
IUSE="${CRYPTO_BACKENDS} +argon2 libressl nls pwquality python reencrypt static static-libs udev urandom"
|
||||||
|
REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} )
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
static? ( !gcrypt )" #496612
|
||||||
|
|
||||||
|
LIB_DEPEND="
|
||||||
|
dev-libs/json-c:=[static-libs(+)]
|
||||||
|
dev-libs/libgpg-error[static-libs(+)]
|
||||||
|
dev-libs/popt[static-libs(+)]
|
||||||
|
>=sys-apps/util-linux-2.31-r1[static-libs(+)]
|
||||||
|
argon2? ( app-crypt/argon2:=[static-libs(+)] )
|
||||||
|
gcrypt? ( dev-libs/libgcrypt:0=[static-libs(+)] )
|
||||||
|
nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] )
|
||||||
|
openssl? (
|
||||||
|
!libressl? ( dev-libs/openssl:0=[static-libs(+)] )
|
||||||
|
libressl? ( dev-libs/libressl:=[static-libs(+)] )
|
||||||
|
)
|
||||||
|
pwquality? ( dev-libs/libpwquality[static-libs(+)] )
|
||||||
|
sys-fs/lvm2[static-libs(+)]
|
||||||
|
udev? ( virtual/libudev[static-libs(+)] )"
|
||||||
|
# We have to always depend on ${LIB_DEPEND} rather than put behind
|
||||||
|
# !static? () because we provide a shared library which links against
|
||||||
|
# these other packages. #414665
|
||||||
|
RDEPEND="static-libs? ( ${LIB_DEPEND} )
|
||||||
|
${LIB_DEPEND//\[static-libs\(+\)\]}
|
||||||
|
python? ( ${PYTHON_DEPS} )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
static? ( ${LIB_DEPEND} )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P/_/-}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC ~CRYPTO_SHA256"
|
||||||
|
local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n"
|
||||||
|
local WARNING_CRYPTO_SHA256="CONFIG_CRYPTO_SHA256:\tis not set (required for cryptsetup)\n"
|
||||||
|
local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n"
|
||||||
|
local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n"
|
||||||
|
check_extra_config
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
if use kernel ; then
|
||||||
|
ewarn "Note that kernel backend is very slow for this type of operation"
|
||||||
|
ewarn "and is provided mainly for embedded systems wanting to avoid"
|
||||||
|
ewarn "userspace crypto libraries."
|
||||||
|
fi
|
||||||
|
|
||||||
|
use python && python_setup
|
||||||
|
|
||||||
|
# We disable autotool python integration so we can use eclasses
|
||||||
|
# for proper integration with multiple python versions.
|
||||||
|
local myeconfargs=(
|
||||||
|
--disable-internal-argon2
|
||||||
|
--enable-shared
|
||||||
|
--sbindir=/sbin
|
||||||
|
# for later use
|
||||||
|
# --with-default-luks-format=LUKS2
|
||||||
|
--with-tmpfilesdir="${EPREFIX%/}/usr/lib/tmpfiles.d"
|
||||||
|
--with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done)
|
||||||
|
$(use_enable argon2 libargon2)
|
||||||
|
$(use_enable nls)
|
||||||
|
$(use_enable pwquality)
|
||||||
|
$(use_enable python)
|
||||||
|
$(use_enable reencrypt cryptsetup-reencrypt)
|
||||||
|
$(use_enable static static-cryptsetup)
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
$(use_enable udev)
|
||||||
|
$(use_enable !urandom dev-random)
|
||||||
|
)
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if [[ ! -e /dev/mapper/control ]] ; then
|
||||||
|
ewarn "No /dev/mapper/control found -- skipping tests"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
local p
|
||||||
|
for p in /dev/mapper /dev/loop* ; do
|
||||||
|
addwrite ${p}
|
||||||
|
done
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if use static ; then
|
||||||
|
mv "${ED%}"/sbin/cryptsetup{.static,} || die
|
||||||
|
mv "${ED%}"/sbin/veritysetup{.static,} || die
|
||||||
|
use reencrypt && { mv "${ED%}"/sbin/cryptsetup-reencrypt{.static,} || die ; }
|
||||||
|
fi
|
||||||
|
prune_libtool_files --modules
|
||||||
|
|
||||||
|
dodoc docs/v*ReleaseNotes
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}"/1.6.7-dmcrypt.confd dmcrypt
|
||||||
|
newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt
|
||||||
|
}
|
@ -6,6 +6,7 @@
|
|||||||
<name>Gentoo Base System</name>
|
<name>Gentoo Base System</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
|
<flag name="argon2">Enable password hashing algorithm from <pkg>app-crypt/argon2</pkg></flag>
|
||||||
<flag name="gcrypt">Use <pkg>dev-libs/libgcrypt</pkg> crypto backend</flag>
|
<flag name="gcrypt">Use <pkg>dev-libs/libgcrypt</pkg> crypto backend</flag>
|
||||||
<flag name="kernel">Use kernel crypto backend (mainly for embedded systems)</flag>
|
<flag name="kernel">Use kernel crypto backend (mainly for embedded systems)</flag>
|
||||||
<flag name="nettle">Use <pkg>dev-libs/nettle</pkg> crypto backend</flag>
|
<flag name="nettle">Use <pkg>dev-libs/nettle</pkg> crypto backend</flag>
|
||||||
|
Loading…
Reference in New Issue
Block a user