diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2013-12-27 19:15:26 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2013-12-27 19:15:26 +0000 |
commit | 3290049c8a017023f6672680d7a8361f1410d5a8 (patch) | |
tree | 72272d0e0ba74c9e438872a526446a297e23350f /sys-fs | |
parent | Fix aix build, bug#493384, thanks to Michael Haubenwallner (diff) | |
download | historical-3290049c8a017023f6672680d7a8361f1410d5a8.tar.gz historical-3290049c8a017023f6672680d7a8361f1410d5a8.tar.bz2 historical-3290049c8a017023f6672680d7a8361f1410d5a8.zip |
Version bump by Manuel Rüger (bug #496126)
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x981CA6FC
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/cryptsetup/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/cryptsetup/Manifest | 30 | ||||
-rw-r--r-- | sys-fs/cryptsetup/cryptsetup-1.6.3.ebuild | 121 |
3 files changed, 143 insertions, 15 deletions
diff --git a/sys-fs/cryptsetup/ChangeLog b/sys-fs/cryptsetup/ChangeLog index 21d07c6ec844..120d57a789c3 100644 --- a/sys-fs/cryptsetup/ChangeLog +++ b/sys-fs/cryptsetup/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/cryptsetup # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.163 2013/12/23 16:23:00 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.164 2013/12/27 19:15:24 polynomial-c Exp $ + +*cryptsetup-1.6.3 (27 Dec 2013) + + 27 Dec 2013; Lars Wendler <polynomial-c@gentoo.org> +cryptsetup-1.6.3.ebuild: + Version bump by Manuel Rüger (bug #496126). 23 Dec 2013; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.2.ebuild: Stable for sparc, wrt bug #487652 diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest index e12e20e76b66..dcae42fed0ed 100644 --- a/sys-fs/cryptsetup/Manifest +++ b/sys-fs/cryptsetup/Manifest @@ -25,6 +25,7 @@ DIST cryptsetup-1.5.1.tar.bz2 958979 SHA256 16d23f78cab35937281a0ae7a8febce0c3a1 DIST cryptsetup-1.6.0.tar.bz2 1180090 SHA256 dd9686fce5d3276b2eb2ac40d513a9b64850af8fff881442f2cfe87257ba2406 SHA512 2d1b5289d79fa70af1958f77a04cf2d5e426e22b429f05f76c47eb93d50ab3a18ce75e85c6f86304f8fe4b2c06d909eba9ccf84422d6b7d033437489bad9f79f WHIRLPOOL 52be2dc1ae5b620007655138ff372ba80398c5cb5545805e48b6b54d68241bf57c6e67f3986982a70c6cf156c7297127f03f9dc4d8226cc0f56120e32ab5997a DIST cryptsetup-1.6.1.tar.bz2 1175052 SHA256 baf36e663c03eb6440482d91c486d61ed47ce5c9268ad04c18ca09082755149c SHA512 6d85720a33e05f2687f0ac9dd6730d025a14389091c06c047983b4875edc55db1b5c4878f7dee1720be192fa1ab06df2c7d0a0edfea0fb5bd787ee73a33302ca WHIRLPOOL 7951ac7623cca575899ff8741f0867bfa50f69433a124224cb60f73ed63437fa8b5a7da27dd455ae6f768d4764f6672b1cb90a4312dd2c2f91f0310bec8b2796 DIST cryptsetup-1.6.2.tar.bz2 1189584 SHA256 15723f0198303d4bcb99d480b7a773918e2d319f0348457988c063bdd03e109a SHA512 59fb835ef8bcd6d0c704a021055032639840ef4bb7be6ade8ff91d347ae74d8e6cba4583d8ced7a4a8c6f09ebc16c4eff3549c13c4327d92fd9234db58e18c10 WHIRLPOOL 3ab24572ea42dfdd0d5176dfa4621520cd0bccda53c3a01676d400a7a841ab9643c979c4942daa774658602bd8cdf659376cbc94c553e2097c5eb3c51a7edb31 +DIST cryptsetup-1.6.3.tar.bz2 1263747 SHA256 a2af4731d9442cb70bc84b7cecdd069493055d29ab65ab625c574b0f599938d8 SHA512 f11c58db2643f5a1035be9de699fa7cef7780f83da261dbb0425d233bcf73df6f120b71c23a8a122b1f648c8fe43eea3e15f75aa536184a537f3e5dd00a1f988 WHIRLPOOL 5e9075082c920563aeeb34556415b031c5ce51182c3430c0a679bf9873a11d6e74599fc10b4b26ca79971130dffb330e83d9ecd1365b6e892e588895df7b8a65 EBUILD cryptsetup-1.0.6-r2.ebuild 3122 SHA256 e0428878fb5416942255112eb70d7a6fdb13583504fdbcdac641a0457f7b97e9 SHA512 178ba72e4687ca0b388b423626eb3ad12ae694567c2f18faf09830cda1a633c29268df13f9b074a421a31715b6e46853a942e8833381500ca7becf688571ac0d WHIRLPOOL 773a0858a6c479f1020c328ca1bd202f0e316db22f9ee075cf21a40032a4543a2337631352ab6804f05041a4bde7925aee98576fcf5ab064b603357d7be4b3d7 EBUILD cryptsetup-1.1.2.ebuild 3405 SHA256 218301930c96355b1c5df5daa917df2ef7adb41015be702ba6f64f43b79d06b6 SHA512 34f1500c1c25b5c842d82073b5465bb018299ed701757a3aebeabc2e8db82727895917e464159fecbb6770080f77fa7cd6cafb16d726609f0578afb1860d985c WHIRLPOOL 91287f2abc0e2e82842be4fcf075124823bdadc0cb579a772433c37ca81c51e9940285c968caa5f945c7f603109485002a80bf9b87b7d200ad349d0b03eb054f EBUILD cryptsetup-1.1.3-r3.ebuild 3464 SHA256 a654e3098507aa1df7a317e8c3ca1daf347ea672b40fecf62d1adf4ba89ea2f3 SHA512 6dbb0e3e2b0aef7e3e5746301fd63b2e963cf6ab6094cdc2449794c14f0e9f9851b7a559863a165b71db000249a38cb42b618053e76eb5b93a4d2b5672a6f8b4 WHIRLPOOL 467e3b9d9714e2d5de08a2465ef604e158ef08a6dff53a6f29dd34df7df627793a691c45ebc7b64b24b4736b4051b1929bd3a8c10a5169a1586b3f86fb21688b @@ -37,22 +38,23 @@ EBUILD cryptsetup-1.5.1.ebuild 3839 SHA256 753d1a404b86f2c593833d2d45428ba493308 EBUILD cryptsetup-1.6.0.ebuild 3840 SHA256 872125ba1c7c9145feef61af5ae110d075be711f99f09248b43ac78fc97794d4 SHA512 1db903425743a8dfaf4da7e11f9040c7c9d9eb7e0482115eda10f591cb6c0383524a27e77eecd6f34bacc92c1fdc4bbe4003a9f5e3c64bfccccf6bf375baf515 WHIRLPOOL 2273a0d746ca129bc97ec2c7adb73571cce6f0a93500644410af653d1aa7bd8a3a8e765adb69673138521e92cffdbb413cc10d47b6a836000d417f8317165a9a EBUILD cryptsetup-1.6.1.ebuild 4335 SHA256 65693950611e3ca5ae011f9dea9f8edb4ca5acfe54ed039ac8971e810bbfed85 SHA512 f88886780d805b217d95b664a397449bfdbc378fae67ad893c48c1ac9c8598fb2b52594258e146bf916d9b683dd57be6ffefd3ddbd55c4f9e9078c3fed5511fd WHIRLPOOL f836ecdd3218d8e246e52ef481af38ad933a94af26d04e4891a0c55f0db78a3967efdc5f9e037a5865d200630e78eb795d080c1a7ca0eb24cb0e31d1d511d7df EBUILD cryptsetup-1.6.2.ebuild 4332 SHA256 310c4cad05162d7e450e40b8f94e4943e17946f68a2299a7e70bcb190f627719 SHA512 8b747366f07c1f0561ce7160d3512a025e9d9f52741e7ac1f73adf3a604a8c5217b412bc5dd79bfa0371519f08f49121d1f445bd71f62423bca5f3c03025c921 WHIRLPOOL 924311d15e6337f852e0a2bcc9b5cbedab70a9b4ec95dd13cf688ca16536c6eaf5abb99add79f7114f2cacf26b22cc3c0886d341d719286a194c1a307e621476 -MISC ChangeLog 24822 SHA256 a3e7e6ba56f52749c07e0f83281313f46ca988a0567ea1874861eb26c02445a4 SHA512 b5f8a16ae90328dea834345fa3c502dd30ca603c1631f4c8d357c107cb2a584752af6ee4d60b571bfb7b18e1e939078b539f6c60585a2a529f92772666187517 WHIRLPOOL d143825aff66c1e1e8d813ba8c254c0bd2aa2978c374e7bd62662f9e12b8068a5724dc05601f0a45a5a7572cdd2c4ca00603980195abb67388a25a43b188a102 +EBUILD cryptsetup-1.6.3.ebuild 4293 SHA256 9e0376e67086791458dde126e6323bb2785f0d8d80ab41dfe9b3f2145de45919 SHA512 f284b4f1a8d9d4f9f77df84dd895895901d7b2180c205e3ec6b513d7d05bce7f9ba4e3425dc5f4c9e01e3ee3117b34b3c5ce22026f923ea3a2aa10c4094c3338 WHIRLPOOL e8442c5be448b50f850196a34b738434ecb82d5c2aa431b8686fc4c80fb32fd9208f50381f446821d2374c8f45449f44e55b87db0fd4c7dc84f505728d693723 +MISC ChangeLog 24992 SHA256 54aa005931362dd79a27a04e7de79c00a02de4806b63dbc73da242aba878d690 SHA512 7d4ec1941c6dfee87cecc4f4c59817b4ec4e178ba0132ef7d9782dcbdaf67d8f65729076699b4f57a3be023c142404022dbe70f303f64e28ad9b7e4591913c3e WHIRLPOOL 392a984928dec9ed2ceef9086f7e86d8011c87aeecc651840fcfeb57f8fc5ac0ad3e911a5977c207e222691cf3fa53421a085d5bb6b7f6eeec67910c9b8646a7 MISC metadata.xml 763 SHA256 494337a4a156da7feba29856957ffe6babede998bbbe2aa76ad68463f7a3ba4d SHA512 4124c6744a491b4b59115fe561408bde963d7527b835e5c554b3b99b460c6b2a9e98abb294f0e3de5af8625e27efecc7b139b8887b5e8b51af93772bd3574b1a WHIRLPOOL 1b76543228dffe7115e547dc068b6db84b06ff0a5f244c5964eb21cba55c9b6ee9637d4a19c38b4b9ebeba55ac7fe4437e97c4be32f26380fec6773b76ef8fce -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJSuGNnAAoJELp701BxlEWfayQP/i+ZkIlB4w5C8MG3K7HTOwJR -BW+QAjMsz9IWQ8u1ezxDIX7aaE4WvwibN4HkUfkr51VFkBT9TbgD5xGzBrU3350x -V1+SkiKOTRgZHVs55RGIKmFuy+tXdC0hUKKnHIxYAC3w5MtbHt6eUVmGM1ZSmidl -y9Yu1ruqoZI7fYxTTP8v80RAElSaa7gDKKYdyx2hp48Zc1CtYDj4SOcl1eNFc/lr -2FCDu46evn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z7hYcJfen8zt0YMiJ34m8nQKOcGOr7ypLy0qmYuz6kEZdgxc9dOAw8i1yJ49fe8y +6d4rMqga/PooVIhkQZyP2DVFn0uLPR2JDhCr4H188AAOV9YgR5ibhgme8obeOxsn +jqHBWdHB79JGgEbHRjUN +=VRF/ -----END PGP SIGNATURE----- diff --git a/sys-fs/cryptsetup/cryptsetup-1.6.3.ebuild b/sys-fs/cryptsetup/cryptsetup-1.6.3.ebuild new file mode 100644 index 000000000000..74b6502ae2ac --- /dev/null +++ b/sys-fs/cryptsetup/cryptsetup-1.6.3.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.6.3.ebuild,v 1.1 2013/12/27 19:15:24 polynomial-c Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit autotools python-single-r1 linux-info libtool eutils + +DESCRIPTION="Tool to setup encrypted devices with dm-crypt" +HOMEPAGE="http://code.google.com/p/cryptsetup/" +SRC_URI="http://cryptsetup.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~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} nls python reencrypt static static-libs udev urandom" +REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} ) + python? ( ${PYTHON_REQUIRED_USE} )" + +LIB_DEPEND="dev-libs/libgpg-error[static-libs(+)] + dev-libs/popt[static-libs(+)] + sys-apps/util-linux[static-libs(+)] + gcrypt? ( dev-libs/libgcrypt[static-libs(+)] ) + nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) + openssl? ( dev-libs/openssl[static-libs(+)] ) + sys-fs/lvm2[static-libs(+)] + sys-libs/e2fsprogs-libs[static-libs(+)] + udev? ( virtual/udev[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} )" + +pkg_setup() { + local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC" + local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\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 + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die + 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 + + econf \ + --sbindir=/sbin \ + --enable-shared \ + $(use_enable static static-cryptsetup) \ + $(use_enable static-libs static) \ + $(use_enable nls) \ + $(use_enable python) \ + $(use_enable reencrypt cryptsetup-reencrypt) \ + $(use_enable udev) \ + $(use_enable !urandom dev-random) \ + --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/}; do use ${x} && echo ${x} ; done) +} + +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 + + newconfd "${FILESDIR}"/1.0.6-dmcrypt.confd dmcrypt + newinitd "${FILESDIR}"/1.5.1-dmcrypt.rc dmcrypt +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "Please see the example for configuring a LUKS mountpoint" + elog "in /etc/conf.d/dmcrypt" + elog + elog "If you are using baselayout-2 then please do:" + elog "rc-update add dmcrypt boot" + elog "This version introduces a command line arguement 'key_timeout'." + elog "If you want the search for the removable key device to timeout" + elog "after 10 seconds add the following to your bootloader config:" + elog "key_timeout=10" + elog "A timeout of 0 will mean it will wait indefinitely." + elog + elog "Users using cryptsetup-1.0.x (dm-crypt plain) volumes must use" + elog "a compatibility mode when using cryptsetup-1.1.x. This can be" + elog "done by specifying the cipher (-c), key size (-s) and hash (-h)." + elog "For more info, see http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions#6._Issues_with_Specific_Versions_of_cryptsetup" + fi +} |