aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Fish <gentoo@seaofdirac.net>2015-12-12 14:57:23 +0100
committerNicholas Fish <gentoo@seaofdirac.net>2015-12-12 14:57:23 +0100
commit28883744f45b6fa676f94bca5b0ec27b5f49ebfe (patch)
treea4bb3d080f6e491a717eeade2a08bf0190076292
parentUpdate Manifest for phantomjs-2.0.0-r99 (diff)
downloadennui-28883744f45b6fa676f94bca5b0ec27b5f49ebfe.tar.gz
ennui-28883744f45b6fa676f94bca5b0ec27b5f49ebfe.tar.bz2
ennui-28883744f45b6fa676f94bca5b0ec27b5f49ebfe.zip
Add verity USE flag to cryptsetup-1.7.0 ebuild
-rw-r--r--sys-fs/cryptsetup/ChangeLog133
-rw-r--r--sys-fs/cryptsetup/ChangeLog-2015854
-rw-r--r--sys-fs/cryptsetup/Manifest8
-rw-r--r--sys-fs/cryptsetup/cryptsetup-1.7.0-r99.ebuild125
-rw-r--r--sys-fs/cryptsetup/files/1.6.7-dmcrypt.confd111
-rw-r--r--sys-fs/cryptsetup/files/1.6.7-dmcrypt.rc340
-rw-r--r--sys-fs/cryptsetup/files/setup-1.7.0.py21
-rw-r--r--sys-fs/cryptsetup/metadata.xml17
8 files changed, 1609 insertions, 0 deletions
diff --git a/sys-fs/cryptsetup/ChangeLog b/sys-fs/cryptsetup/ChangeLog
new file mode 100644
index 0000000..ebb6c64
--- /dev/null
+++ b/sys-fs/cryptsetup/ChangeLog
@@ -0,0 +1,133 @@
+# ChangeLog for sys-fs/cryptsetup
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# (auto-generated from git log)
+
+*cryptsetup-1.6.7 (09 Aug 2015)
+*cryptsetup-1.6.6 (09 Aug 2015)
+*cryptsetup-1.6.5 (09 Aug 2015)
+*cryptsetup-1.6.2 (09 Aug 2015)
+
+ 09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> +cryptsetup-1.6.2.ebuild,
+ +cryptsetup-1.6.5.ebuild, +cryptsetup-1.6.6.ebuild,
+ +cryptsetup-1.6.7.ebuild, +files/1.0.6-dmcrypt.confd,
+ +files/1.5.1-dmcrypt.rc, +files/1.6.7-dmcrypt.confd,
+ +files/1.6.7-dmcrypt.rc, +files/cryptsetup-1.6.1-openssl-static.patch,
+ +metadata.xml:
+ proj/gentoo: Initial commit
+
+ This commit represents a new era for Gentoo:
+ Storing the gentoo-x86 tree in Git, as converted from CVS.
+
+ This commit is the start of the NEW history.
+ Any historical data is intended to be grafted onto this point.
+
+ Creation process:
+ 1. Take final CVS checkout snapshot
+ 2. Remove ALL ChangeLog* files
+ 3. Transform all Manifests to thin
+ 4. Remove empty Manifests
+ 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
+ 5.1. Do not touch files with -kb/-ko keyword flags.
+
+ Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+ X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
+ tests
+ X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
+ project
+ X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
+ developer, wrote Git features for the migration
+ X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
+ cvs2svn
+ X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
+ X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
+ work in migration
+ X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
+ X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
+ the bikeshed
+
+ 09 Aug 2015; Ulrich Müller <ulm@gentoo.org> files/1.5.1-dmcrypt.rc,
+ files/1.6.7-dmcrypt.rc:
+ [QA] Remove executable bit from files, bug 550434.
+
+ 24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
+ Use https by default
+
+ Convert all URLs for sites supporting encrypted connections from http to
+ https
+
+ Signed-off-by: Justin Lecher <jlec@gentoo.org>
+
+ 24 Aug 2015; Justin Lecher <jlec@gentoo.org> cryptsetup-1.6.2.ebuild,
+ cryptsetup-1.6.5.ebuild, cryptsetup-1.6.6.ebuild:
+ Enable https for all google URIs
+
+ Signed-off-by: Justin Lecher <jlec@gentoo.org>
+
+ 24 Aug 2015; Justin Lecher <jlec@gentoo.org> cryptsetup-1.6.2.ebuild,
+ cryptsetup-1.6.5.ebuild, cryptsetup-1.6.6.ebuild:
+ Convert URIs for googlecode.com to https
+
+ Signed-off-by: Justin Lecher <jlec@gentoo.org>
+
+ 24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
+ Revert DOCTYPE SYSTEM https changes in metadata.xml
+
+ repoman does not yet accept the https version.
+ This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
+
+ Bug: https://bugs.gentoo.org/552720
+
+*cryptsetup-1.6.8 (08 Sep 2015)
+
+ 08 Sep 2015; Lars Wendler <polynomial-c@gentoo.org>
+ +cryptsetup-1.6.8.ebuild:
+ Bump to version 1.6.8
+
+ Package-Manager: portage-2.2.20.1
+ Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+
+ 08 Sep 2015; Lars Wendler <polynomial-c@gentoo.org>
+ -cryptsetup-1.6.6.ebuild:
+ Removed old.
+
+ Package-Manager: portage-2.2.20.1
+ Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+
+*cryptsetup-1.6.8-r1 (05 Oct 2015)
+
+ 05 Oct 2015; Julian Ospald <hasufell@gentoo.org>
+ +cryptsetup-1.6.8-r1.ebuild:
+ add libressl support
+
+*cryptsetup-1.7.0 (04 Nov 2015)
+
+ 04 Nov 2015; Lars Wendler <polynomial-c@gentoo.org>
+ +cryptsetup-1.7.0.ebuild:
+ Bump to version 1.7.0
+
+ Package-Manager: portage-2.2.23
+ Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+
+ 04 Nov 2015; Lars Wendler <polynomial-c@gentoo.org>
+ -cryptsetup-1.6.2.ebuild, -cryptsetup-1.6.7.ebuild,
+ -files/cryptsetup-1.6.1-openssl-static.patch:
+ Removed old.
+
+ Package-Manager: portage-2.2.23
+ Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+
+ 04 Nov 2015; Lars Wendler <polynomial-c@gentoo.org> cryptsetup-1.7.0.ebuild:
+ Added a kernel check for CRYPTO_SHA256 (bug #564882).
+
+ Package-Manager: portage-2.2.23
+ Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
+
+ 24 Nov 2015; Mike Frysinger <vapier@gentoo.org> metadata.xml:
+ standardize various metadata.xml style
+
+*cryptsetup-1.7.0-r1 (09 Dec 2015)
+
+ 09 Dec 2015; Mike Frysinger <vapier@gentoo.org> +cryptsetup-1.7.0-r1.ebuild,
+ +files/setup-1.7.0.py:
+ add multiple python version support #567378
+
diff --git a/sys-fs/cryptsetup/ChangeLog-2015 b/sys-fs/cryptsetup/ChangeLog-2015
new file mode 100644
index 0000000..77b1df5
--- /dev/null
+++ b/sys-fs/cryptsetup/ChangeLog-2015
@@ -0,0 +1,854 @@
+# ChangeLog for sys-fs/cryptsetup
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/ChangeLog,v 1.207 2015/04/12 22:25:40 vapier Exp $
+
+*cryptsetup-1.6.7 (12 Apr 2015)
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> +cryptsetup-1.6.7.ebuild,
+ +files/1.6.7-dmcrypt.confd, +files/1.6.7-dmcrypt.rc:
+ Adapt the timeout logic to apply to the gpg command too #357449 by Vespian.
+ Version bump #546140 by Nikoli.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> files/1.0.6-dmcrypt.confd,
+ files/1.5.1-dmcrypt.rc:
+ Allow loopbacks to be allocated dynamically from a free one #282626 by Zeev
+ Tarantov.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> files/1.0.6-dmcrypt.confd,
+ files/1.5.1-dmcrypt.rc:
+ Use blkid -t to look up devices via tag values (like UUID/PARTUUID) #525524 by
+ tokiclover.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> files/1.5.1-dmcrypt.rc:
+ Delete old dm_crypt_execute_localmount hook as no one uses it anymore #321507
+ by forums.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> files/1.5.1-dmcrypt.rc:
+ Run ebegin message through eval so the output is expanded #442374 by Toralf
+ Förster.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> files/1.0.6-dmcrypt.confd:
+ Note that the config file must be terminated by a newline #426986 by klamp.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> files/1.5.1-dmcrypt.rc:
+ Explicitly have cryptsetup read the key from stdin #266546 by forums.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> files/1.5.1-dmcrypt.rc:
+ Automatically run before swap when creating swap files #509412 by Toralf
+ Förster.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> files/1.5.1-dmcrypt.rc:
+ Fix bashisms in init script #451460 by Alexander Tsoy.
+
+ 12 Apr 2015; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.6.5.ebuild,
+ cryptsetup-1.6.6.ebuild, metadata.xml:
+ Add USE=pwquality to control libpwquality dep #492624 by Nikoli.
+
+ 08 Apr 2015; Michał Górny <mgorny@gentoo.org> cryptsetup-1.6.2.ebuild:
+ Drop old Python implementations
+
+ 10 Feb 2015; Michał Górny <mgorny@gentoo.org> files/1.0.6-dmcrypt.confd:
+ Fix example in conf.d, bug #518592, patch by Michael Mair-Keimberger.
+
+ 09 Nov 2014; Rick Farina <zerochaos@gentoo.org> cryptsetup-1.6.6.ebuild:
+ fix bug 525208 per klondike's testing
+
+ 01 Nov 2014; Rick Farina <zerochaos@gentoo.org> cryptsetup-1.6.6.ebuild:
+ fixed my own typo this time
+
+ 01 Nov 2014; Rick Farina <zerochaos@gentoo.org> cryptsetup-1.6.6.ebuild:
+ fix minor typos and version number inconsistency for bug 525208 fix
+
+ 01 Nov 2014; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.6.5.ebuild,
+ cryptsetup-1.6.6.ebuild:
+ Only run eautoreconf when user patches are applied #496526 by vonabarak.
+
+ 01 Nov 2014; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.6.5.ebuild:
+ Mark alpha/s390/sh stable #510342.
+
+ 01 Nov 2014; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.6.2.ebuild,
+ cryptsetup-1.6.5.ebuild, cryptsetup-1.6.6.ebuild:
+ Drop e2fsprogs-libs as it is not used #481774 by Sven E..
+
+ 01 Nov 2014; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.6.6.ebuild:
+ Warn USE=gcrypt users about broken whirlpool hashes #525208 by Francisco Blas
+ Izquierdo Riera.
+
+ 29 Oct 2014; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.5.ebuild:
+ Stable for sparc, wrt bug #510342
+
+ 28 Oct 2014; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.5.ebuild:
+ Stable for ia64, wrt bug #510342
+
+ 19 Oct 2014; Mike Frysinger <vapier@gentoo.org> files/1.5.1-dmcrypt.rc:
+ Move from "luksOpen" to "open" since they are the same and the former is
+ deprecated #525524 by tokiclover.
+
+ 12 Oct 2014; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.5.ebuild:
+ Stable for x86, wrt bug #510342
+
+ 19 Sep 2014; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.5.ebuild:
+ Stable for ppc64, wrt bug #510342
+
+ 13 Sep 2014; Markus Meier <maekke@gentoo.org> cryptsetup-1.6.5.ebuild:
+ arm stable, bug #510342
+
+ 10 Sep 2014; Rick Farina <zerochaos@gentoo.org> cryptsetup-1.6.2.ebuild,
+ cryptsetup-1.6.5.ebuild, cryptsetup-1.6.6.ebuild:
+ add missing subslot dep for libgcrypt
+
+ 07 Sep 2014; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.5.ebuild:
+ Stable for ppc, wrt bug #510342
+
+ 30 Aug 2014; Chema Alonso <nimiux@gentoo.org> cryptsetup-1.6.5.ebuild:
+ Stable for amd64 wrt bug #510342
+
+ 28 Aug 2014; Jeroen Roovers <jer@gentoo.org> cryptsetup-1.6.5.ebuild:
+ Stable for HPPA (bug #510342).
+
+ 27 Aug 2014; Patrick Lauer <patrick@gentoo.org> metadata.xml:
+ Remove unneeded useflag description from metadata.xml
+
+ 26 Aug 2014; Samuli Suominen <ssuominen@gentoo.org>
+ -cryptsetup-1.0.6-r2.ebuild, -cryptsetup-1.1.3-r3.ebuild,
+ -cryptsetup-1.2.0-r1.ebuild, -cryptsetup-1.4.3.ebuild,
+ -cryptsetup-1.5.1.ebuild, -files/1.0.5-dm-crypt-stop.sh,
+ -files/1.0.5-dmcrypt.rc, -files/1.0.6-r2-dm-crypt-start.sh,
+ -files/1.1.3-dm-crypt-start.sh, -files/1.1.3-dm-crypt-stop.sh,
+ -files/cryptsetup-1.0.6-udevsettle.patch, -files/dmcrypt.rc:
+ old
+
+ 26 Aug 2014; Samuli Suominen <ssuominen@gentoo.org> cryptsetup-1.6.2.ebuild,
+ cryptsetup-1.6.5.ebuild, cryptsetup-1.6.6.ebuild:
+ Block use of USE gcrypt with USE static in stable, next stable and latest wrt
+ #496612
+
+ 20 Aug 2014; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.6.6.ebuild:
+ Add epatch_user #520276 by Nikoli.
+
+ 19 Aug 2014; Lars Wendler <polynomial-c@gentoo.org> cryptsetup-1.6.5.ebuild,
+ cryptsetup-1.6.6.ebuild:
+ Adjusted PYTHON_COMPAT variable as requested by Arfrever in IRC.
+
+*cryptsetup-1.6.6 (19 Aug 2014)
+
+ 19 Aug 2014; Lars Wendler <polynomial-c@gentoo.org> -cryptsetup-1.6.3.ebuild,
+ -cryptsetup-1.6.4.ebuild, +cryptsetup-1.6.6.ebuild:
+ Version bump (bug #520172). Removed old.
+
+ 25 Jul 2014; Samuli Suominen <ssuominen@gentoo.org>
+ cryptsetup-1.0.6-r2.ebuild, cryptsetup-1.1.3-r3.ebuild,
+ cryptsetup-1.2.0-r1.ebuild, cryptsetup-1.4.3.ebuild, cryptsetup-1.5.1.ebuild,
+ cryptsetup-1.6.2.ebuild, cryptsetup-1.6.3.ebuild, cryptsetup-1.6.4.ebuild,
+ cryptsetup-1.6.5.ebuild:
+ Use virtual/libudev (prereq. for dropping compability USE flag "static-libs"
+ from virtual/udev)
+
+*cryptsetup-1.6.5 (01 Jul 2014)
+
+ 01 Jul 2014; Robin H. Johnson <robbat2@gentoo.org> +cryptsetup-1.6.5.ebuild:
+ Bump per bug #515838.
+
+*cryptsetup-1.6.4 (03 Mar 2014)
+
+ 03 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> -cryptsetup-1.1.2.ebuild,
+ -cryptsetup-1.4.1.ebuild, -cryptsetup-1.4.1-r1.ebuild,
+ -cryptsetup-1.4.2.ebuild, -cryptsetup-1.6.0.ebuild, -cryptsetup-1.6.1.ebuild,
+ +cryptsetup-1.6.4.ebuild, -files/1.1.0-libudev.patch,
+ -files/1.1.0_rc3-static-no-selinux.patch, -files/1.4.1-dmcrypt.rc:
+ Version bump (bug #503280). Removed old.
+
+ 01 Mar 2014; Michał Górny <mgorny@gentoo.org> cryptsetup-1.1.2.ebuild,
+ cryptsetup-1.1.3-r3.ebuild, cryptsetup-1.2.0-r1.ebuild,
+ cryptsetup-1.4.1-r1.ebuild, cryptsetup-1.4.1.ebuild, cryptsetup-1.4.2.ebuild,
+ cryptsetup-1.4.3.ebuild, cryptsetup-1.5.1.ebuild, cryptsetup-1.6.0.ebuild,
+ cryptsetup-1.6.1.ebuild, cryptsetup-1.6.2.ebuild, cryptsetup-1.6.3.ebuild:
+ Update libgcrypt dep to use slot :0.
+
+ 18 Jan 2014; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.2.ebuild:
+ Stable for alpha, wrt bug #487652
+
+ 15 Jan 2014; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.2.ebuild:
+ Stable for ia64, wrt bug #487652
+
+*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
+
+ 22 Dec 2013; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.2.ebuild:
+ Stable for ppc64, wrt bug #487652
+
+ 21 Dec 2013; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.6.2.ebuild:
+ Stable for ppc, wrt bug #487652
+
+ 01 Dec 2013; Johannes Huber <johu@gentoo.org> cryptsetup-1.6.2.ebuild:
+ x86 stable, bug #487652
+
+ 27 Nov 2013; Markus Meier <maekke@gentoo.org> cryptsetup-1.6.2.ebuild:
+ arm stable, bug #487652
+
+ 19 Nov 2013; Chema Alonso <nimiux@gentoo.org> cryptsetup-1.6.2.ebuild:
+ Stable for amd64 wrt bug #487652
+
+ 09 Nov 2013; Jeroen Roovers <jer@gentoo.org> cryptsetup-1.6.2.ebuild:
+ Stable for HPPA (bug #487652).
+
+ 05 Sep 2013; Michał Górny <mgorny@gentoo.org> cryptsetup-1.6.1.ebuild:
+ Clean up PYTHON_COMPAT from old implementations.
+
+*cryptsetup-1.6.2 (14 Aug 2013)
+
+ 14 Aug 2013; Tim Harder <radhermit@gentoo.org> +cryptsetup-1.6.2.ebuild:
+ Version bump.
+
+ 14 Aug 2013; Tim Harder <radhermit@gentoo.org> metadata.xml:
+ Simplify USE flag descriptions.
+
+ 06 Aug 2013; Ian Stakenvicius <axs@gentoo.org>
+ +files/cryptsetup-1.6.1-openssl-static.patch, cryptsetup-1.6.1.ebuild:
+ fixed compilation error when USE='openssl static', bug 472692; dropped
+ IUSE=selinux as there is no direct dep, selinux support comes from
+ libdevmapper via sys-fs/lvm2[selinux]
+
+ 04 Jun 2013; Diego E. Pettenò <flameeyes@gentoo.org> cryptsetup-1.6.1.ebuild:
+ Fix broken dependencies.
+
+ 04 Jun 2013; Tim Harder <radhermit@gentoo.org> cryptsetup-1.6.1.ebuild:
+ Drop -caps use dep from libgcrypt to fix dep tree (and libgcrypt now has
+ capabilities disabled by default).
+
+*cryptsetup-1.6.1 (04 Jun 2013)
+
+ 04 Jun 2013; Tim Harder <radhermit@gentoo.org> +cryptsetup-1.6.1.ebuild,
+ metadata.xml:
+ Version bump (bug #464610 by Manuel Rüger), convert to python-single-r1, add
+ support for choosing a crypto backend (gcrypt, kernel, nettle, or openssl),
+ remove old postinst warning, and only show postinst logs on new installs.
+
+ 09 Apr 2013; Samuli Suominen <ssuominen@gentoo.org>
+ cryptsetup-1.0.6-r2.ebuild:
+ Remove sys-fs/device-mapper from || () syntax in favour of sys-fs/lvm2 wrt
+ #461382
+
+ 21 Jan 2013; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.4.3.ebuild,
+ cryptsetup-1.5.1.ebuild, cryptsetup-1.6.0.ebuild:
+ Add USE=udev control #453390 by Piotr Mitas.
+
+ 21 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> cryptsetup-1.5.1.ebuild,
+ cryptsetup-1.6.0.ebuild:
+ Restore virtual/udev dependency wrt #453390 by Piotr Mitas
+
+*cryptsetup-1.6.0 (17 Jan 2013)
+*cryptsetup-1.5.1 (17 Jan 2013)
+
+ 17 Jan 2013; Robin H. Johnson <robbat2@gentoo.org> +cryptsetup-1.5.1.ebuild,
+ +cryptsetup-1.6.0.ebuild, +files/1.5.1-dmcrypt.rc, metadata.xml:
+ Bump per bug #421249. Add UUID support per bug #420015.
+
+ 21 Dec 2012; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.4.3.ebuild:
+ Drop udev dep since cryptsetup no longer calls udevsettle at runtime #445660
+ by Piotr Karbowski.
+
+ 16 Dec 2012; Raúl Porcel <armin76@gentoo.org> cryptsetup-1.4.3.ebuild:
+ alpha/ia64/s390/sh/sparc stable wrt #429704
+
+ 29 Nov 2012; Samuli Suominen <ssuominen@gentoo.org>
+ cryptsetup-1.0.6-r2.ebuild, cryptsetup-1.1.2.ebuild,
+ cryptsetup-1.1.3-r3.ebuild, cryptsetup-1.2.0-r1.ebuild,
+ cryptsetup-1.4.1.ebuild, cryptsetup-1.4.1-r1.ebuild, cryptsetup-1.4.2.ebuild,
+ cryptsetup-1.4.3.ebuild:
+ Use virtual/udev instead of sys-fs/udev wrt #444398
+
+ 21 Nov 2012; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.4.3.ebuild:
+ Stable for x86, tested by Vicente Olivert Riera <peratu@carrosses.com>, wrt
+ bug #429704
+
+ 30 Oct 2012; Jeroen Roovers <jer@gentoo.org> cryptsetup-1.4.3.ebuild:
+ Stable for HPPA (bug #429704).
+
+ 25 Oct 2012; Anthony G. Basile <blueness@gentoo.org> cryptsetup-1.4.3.ebuild:
+ stable arm ppc ppc64, bug #429704
+
+ 22 Oct 2012; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.4.3.ebuild:
+ Stable for amd64, wrt bug #429704
+
+ 21 Oct 2012; Samuli Suominen <ssuominen@gentoo.org>
+ cryptsetup-1.2.0-r1.ebuild, cryptsetup-1.4.1.ebuild:
+ Update sys-fs/udev dependency because stable udev was revision bumped.
+
+*cryptsetup-1.4.3 (06 Jun 2012)
+
+ 06 Jun 2012; Mike Frysinger <vapier@gentoo.org> +cryptsetup-1.4.3.ebuild:
+ Version bump #419829 by Manuel Rüger (mrueg).
+
+ 21 May 2012; Samuli Suominen <ssuominen@gentoo.org>
+ cryptsetup-1.2.0-r1.ebuild, cryptsetup-1.4.1.ebuild:
+ Fix sys-fs/udev dependency within || ( ) block from -171-r5 to -171-r6 wrt
+ #416653, Comment #3 by Mariusz Pękala
+
+ 11 May 2012; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.4.2.ebuild:
+ Always depend on library packages as we install a shared lib as pointed out by
+ Samuli Suominen #414665 by Egor Y. Egorov.
+
+*cryptsetup-1.4.2 (11 May 2012)
+
+ 11 May 2012; Mike Frysinger <vapier@gentoo.org> +cryptsetup-1.4.2.ebuild,
+ files/dmcrypt.rc:
+ Version bump #412795 by Manuel Rüger (mrueg). Replace `read -t` with stty
+ hacks by Martin Väth #255528.
+
+ 11 May 2012; Mike Frysinger <vapier@gentoo.org> +files/1.4.1-dmcrypt.rc,
+ cryptsetup-1.4.1.ebuild, cryptsetup-1.4.1-r1.ebuild:
+ Rename stable dmcrypt init.d so updates can land for newer versions.
+
+ 11 May 2012; Mike Frysinger <vapier@gentoo.org> files/dmcrypt.rc:
+ Use POSIX compliant for loop #408117 by Maxim Kammerer.
+
+ 11 May 2012; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.4.1-r1.ebuild:
+ Add write access to /dev/mapper and /dev/loop for tests #408047 by Toralf
+ Förster.
+
+ 11 May 2012; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.4.1-r1.ebuild:
+ Unify static lib dependencies and update to EAPI=4.
+
+ 01 Apr 2012; Raúl Porcel <armin76@gentoo.org> cryptsetup-1.4.1.ebuild:
+ alpha/ia64/s390/sh/sparc stable wrt #401217
+
+ 30 Mar 2012; Markus Meier <maekke@gentoo.org> cryptsetup-1.4.1.ebuild:
+ arm stable, bug #401217
+
+*cryptsetup-1.4.1-r1 (20 Mar 2012)
+
+ 20 Mar 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +cryptsetup-1.4.1-r1.ebuild:
+ Don't enable USE="static" by default anymore because initramfs is required
+ with latest udev for separate /usr in anycase. This was a workaround for
+ cross / and /usr linking.
+
+ 20 Mar 2012; Samuli Suominen <ssuominen@gentoo.org>
+ cryptsetup-1.2.0-r1.ebuild, cryptsetup-1.4.1.ebuild:
+ Make sure sys-fs/udev has been emerged with USE="static-libs" for
+ USE="static" wrt #409039 by jannis
+
+ 14 Mar 2012; Jeroen Roovers <jer@gentoo.org> cryptsetup-1.4.1.ebuild:
+ Stable for HPPA (bug #401217).
+
+ 13 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> cryptsetup-1.4.1.ebuild:
+ ppc/ppc64/x86 stable wrt #401217
+
+ 11 Mar 2012; Agostino Sarubbo <ago@gentoo.org> cryptsetup-1.4.1.ebuild:
+ Stable for amd64, wrt bug #401217
+
+ 27 Feb 2012; Robin H. Johnson <robbat2@gentoo.org> cryptsetup-1.1.3-r3.ebuild:
+ Stable version is bitten by the util-linux static-libs as well, per
+ https://forums.gentoo.org/viewtopic-t-914468.html.
+
+ 20 Nov 2011; Mike Frysinger <vapier@gentoo.org> files/dmcrypt.rc:
+ Drop dead prompt code.
+
+ 13 Nov 2011; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.4.1.ebuild:
+ Fix init.d typo #390381 by Helmut Jarausch.
+
+*cryptsetup-1.4.1 (13 Nov 2011)
+
+ 13 Nov 2011; Mike Frysinger <vapier@gentoo.org> +cryptsetup-1.4.1.ebuild,
+ +files/dmcrypt.rc:
+ Version bump #363521 by Attila Jecs. Rewrite init.d script to only work with
+ openrc. Tweak init.d for splash support #386563 by Tim Ruffing, and make a
+ bit more POSIX compliant #255528 by Martin Väth.
+
+ 19 Sep 2011; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.2.0-r1.ebuild:
+ Simplify deps a little more, and require static-libs with lvm2 #383417 by
+ Bernd Lommerzheim.
+
+ 07 Sep 2011; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.2.0-r1.ebuild:
+ Pull in util-linux for uuid and require static/static-libs properly #381197
+ by Vasileios Lourdas, and drop older deps that are no longer in the tree.
+
+ 07 Aug 2011; Mike Frysinger <vapier@gentoo.org>
+ files/1.1.3-dm-crypt-start.sh:
+ Patch by ekass to skip service-specific openrc configs #377927.
+
+ 17 Mar 2011; Samuli Suominen <ssuominen@gentoo.org>
+ cryptsetup-1.1.3-r3.ebuild, cryptsetup-1.2.0-r1.ebuild:
+ Fix dev-libs/popt USE static-libs depend.
+
+ 22 Jan 2011; Raúl Porcel <armin76@gentoo.org> cryptsetup-1.1.3-r3.ebuild:
+ alpha/ia64/s390/sh/sparc stable wrt #350044
+
+ 21 Jan 2011; Jeroen Roovers <jer@gentoo.org> cryptsetup-1.1.3-r3.ebuild:
+ Stable for HPPA (bug #350044).
+
+ 18 Jan 2011; Mike Frysinger <vapier@gentoo.org> files/1.0.5-dmcrypt.rc:
+ Don't require device-mapper -- let the user select which packages they
+ need for their fs stack #351251 by Jochen Klein.
+
+ 18 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org>
+ cryptsetup-1.1.3-r3.ebuild:
+ ppc64 stable wrt #350044
+
+ 17 Jan 2011; Mike Frysinger <vapier@gentoo.org>
+ cryptsetup-1.1.3-r3.ebuild, cryptsetup-1.2.0-r1.ebuild:
+ Require new dev-libs/libgcrypt[static-libs] too #351810.
+
+ 15 Jan 2011; Mike Frysinger <vapier@gentoo.org>
+ cryptsetup-1.2.0-r1.ebuild:
+ Require libgpg-error[static-libs] when USE=static #351810 by Peter Volkov.
+
+*cryptsetup-1.1.3-r3 (12 Jan 2011)
+
+ 12 Jan 2011; Mike Frysinger <vapier@gentoo.org>
+ files/1.1.3-dm-crypt-start.sh, +cryptsetup-1.1.3-r3.ebuild,
+ files/1.1.3-dm-crypt-stop.sh:
+ Push out updated addon to fix baselayout-2 support #350399 by Martin
+ Kolleck.
+
+ 08 Jan 2011; Markus Meier <maekke@gentoo.org> cryptsetup-1.1.3-r2.ebuild:
+ arm stable, bug #350044
+
+*cryptsetup-1.1.3-r2 (08 Jan 2011)
+
+ 08 Jan 2011; Mike Frysinger <vapier@gentoo.org>
+ files/1.1.3-dm-crypt-start.sh, +cryptsetup-1.1.3-r2.ebuild:
+ Push out updated addon to fix baselayout-1 support #350399 by Manuel
+ Danisch.
+
+ 08 Jan 2011; Mike Frysinger <vapier@gentoo.org>
+ files/1.1.3-dm-crypt-start.sh:
+ Tweak status detection to work with newer cryptsetup output #350345 by
+ Aaron Lewis.
+
+ 08 Jan 2011; Mike Frysinger <vapier@gentoo.org>
+ cryptsetup-1.2.0-r1.ebuild:
+ Improve tests a bit -- skip when dmcrypt is not available.
+
+ 07 Jan 2011; Brent Baude <ranger@gentoo.org> cryptsetup-1.1.3-r1.ebuild:
+ stable ppc, bug 350044
+
+ 04 Jan 2011; Mike Frysinger <vapier@gentoo.org>
+ cryptsetup-1.2.0-r1.ebuild:
+ Fix build failures for USE=-static #350463 by Alessandro Guido.
+
+ 02 Jan 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ cryptsetup-1.1.3-r1.ebuild:
+ x86 stable wrt bug #350044
+
+ 01 Jan 2011; Markos Chandras <hwoarang@gentoo.org>
+ cryptsetup-1.1.3-r1.ebuild:
+ Stable on amd64 wrt bug #350044
+
+*cryptsetup-1.2.0-r1 (30 Dec 2010)
+
+ 30 Dec 2010; Mike Frysinger <vapier@gentoo.org> -cryptsetup-1.2.0.ebuild,
+ +cryptsetup-1.2.0-r1.ebuild:
+ Convert to IUSE=+static and make it work again #350105 by Casey Carter.
+
+*cryptsetup-1.2.0 (29 Dec 2010)
+
+ 29 Dec 2010; Mike Frysinger <vapier@gentoo.org> +cryptsetup-1.2.0.ebuild:
+ Version bump #349962 by ScytheMan.
+
+ 29 Oct 2010; Jeroen Roovers <jer@gentoo.org> cryptsetup-1.1.2.ebuild:
+ Stable for HPPA (bug #327689).
+
+ 06 Oct 2010; Mike Frysinger <vapier@gentoo.org>
+ files/1.1.3-dm-crypt-start.sh:
+ Do not warn about global options #329437 by Marcin Mirosław.
+
+*cryptsetup-1.1.3-r1 (30 Sep 2010)
+
+ 30 Sep 2010; Mike Frysinger <vapier@gentoo.org>
+ +files/1.1.3-dm-crypt-start.sh, +cryptsetup-1.1.3-r1.ebuild,
+ +files/1.1.3-dm-crypt-stop.sh:
+ Update by Wolfram to let the init.d scripts be multiplexed #338876.
+
+ 28 Aug 2010; Raúl Porcel <armin76@gentoo.org> cryptsetup-1.1.2.ebuild:
+ ia64/s390/sh/sparc stable wrt #327689
+
+ 28 Aug 2010; Markus Meier <maekke@gentoo.org> cryptsetup-1.1.2.ebuild:
+ arm stable, bug #327689
+
+ 13 Aug 2010; Joseph Jezak <josejx@gentoo.org> cryptsetup-1.1.2.ebuild:
+ Marked ppc/ppc64 stable for bug #327689.
+
+ 31 Jul 2010; Tobias Klausmann <klausman@gentoo.org>
+ cryptsetup-1.1.2.ebuild:
+ Stable on alpha, bug #327689
+
+ 27 Jul 2010; Robin H. Johnson <robbat2@gentoo.org>
+ -cryptsetup-1.0.5-r1.ebuild, -cryptsetup-1.0.7.ebuild,
+ -cryptsetup-1.0.7-r1.ebuild, -cryptsetup-1.1.0.ebuild,
+ -cryptsetup-1.1.1_rc1.ebuild, -cryptsetup-1.1.1_rc2.ebuild,
+ -cryptsetup-1.1.1.ebuild:
+ Cleanup old versions.
+
+ 27 Jul 2010; Robin H. Johnson <robbat2@gentoo.org>
+ cryptsetup-1.1.2.ebuild, cryptsetup-1.1.3.ebuild:
+ Bug #329991: Document that users of plain (non-LUKS) volumes from the 1.0
+ series MUST specify the cipher/keysize/hash, as the defaults have changed
+ for security reasons.
+
+ 27 Jul 2010; Pacho Ramos <pacho@gentoo.org> cryptsetup-1.1.2.ebuild:
+ amd64 stable, bug 327689
+
+ 23 Jul 2010; Christian Faulhammer <fauli@gentoo.org>
+ cryptsetup-1.1.2.ebuild:
+ stable x86, bug 327689
+
+*cryptsetup-1.1.3 (21 Jul 2010)
+
+ 21 Jul 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +cryptsetup-1.1.3.ebuild:
+ Version bump.
+
+*cryptsetup-1.1.2 (17 Jun 2010)
+
+ 17 Jun 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +cryptsetup-1.1.2.ebuild:
+ Bug #323655: version bump
+
+*cryptsetup-1.1.1 (24 May 2010)
+
+ 24 May 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +cryptsetup-1.1.1.ebuild:
+ Version bump.
+
+*cryptsetup-1.1.1_rc2 (14 May 2010)
+
+ 14 May 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +cryptsetup-1.1.1_rc2.ebuild:
+ Bug #318379: version bump. Fixes dm-crypt module loading over rc1.
+
+ 01 May 2010; Robin H. Johnson <robbat2@gentoo.org>
+ cryptsetup-1.1.1_rc1.ebuild:
+ Both patches are actually not needed now.
+
+*cryptsetup-1.1.1_rc1 (01 May 2010)
+
+ 01 May 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +cryptsetup-1.1.1_rc1.ebuild:
+ Bug #318039: version bump.
+
+ 23 Apr 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +files/1.1.0-libudev.patch, cryptsetup-1.1.0.ebuild:
+ Bug #316571: Bring in libudev for devmapper.
+
+*cryptsetup-1.1.0 (14 Feb 2010)
+
+ 14 Feb 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +files/1.1.0_rc3-static-no-selinux.patch, +cryptsetup-1.1.0.ebuild:
+ Version bump per bug #294934.
+
+*cryptsetup-1.0.7-r1 (30 Nov 2009)
+
+ 30 Nov 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +cryptsetup-1.0.7-r1.ebuild:
+ Bug #276803: old sys-fs/devicemapper not supported anymore. Use the new
+ lvm2-2.02.56-r1 for safe static linking.
+
+*cryptsetup-1.0.7 (28 Nov 2009)
+
+ 28 Nov 2009; Robin H. Johnson <robbat2@gentoo.org>
+ +cryptsetup-1.0.7.ebuild:
+ Version bump per bug #277990.
+
+ 31 Aug 2009; Raúl Porcel <armin76@gentoo.org> cryptsetup-1.0.6-r2.ebuild:
+ arm/ia64/s390/sh/sparc stable wrt #259253
+
+ 16 Aug 2009; Mike Frysinger <vapier@gentoo.org>
+ cryptsetup-1.0.6-r2.ebuild:
+ Install into rcscripts multilib dir #262838 by Thilo Bangert.
+
+ 16 Aug 2009; Mike Frysinger <vapier@gentoo.org>
+ cryptsetup-1.0.6-r2.ebuild:
+ Make sure USE=selinux is respected #274034 by Petteri Räty.
+
+ 16 Aug 2009; Mike Frysinger <vapier@gentoo.org>
+ files/cryptsetup-1.0.6-udevsettle.patch:
+ Do not complain if udevadm did not exec for systems that use mdev and such
+ #276369 by Florian Streibelt.
+
+ 15 Jul 2009; nixnut <nixnut@gentoo.org> cryptsetup-1.0.6-r2.ebuild:
+ ppc stable #259253
+
+ 27 Jun 2009; Tobias Klausmann <klausman@gentoo.org>
+ cryptsetup-1.0.6-r2.ebuild:
+ Stable on alpha, bug #259253
+
+ 27 Jun 2009; Tobias Klausmann <klausman@gentoo.org> ChangeLog:
+ Stable on alpha, bug #259253
+
+ 26 Jun 2009; Thomas Anderson <gentoofan23@gentoo.org>
+ cryptsetup-1.0.6-r2.ebuild:
+ stable amd64, bug 259253
+
+ 19 Jun 2009; Brent Baude <ranger@gentoo.org> cryptsetup-1.0.6-r2.ebuild:
+ stable ppc64, bug 259253
+
+ 17 Jun 2009; Jeroen Roovers <jer@gentoo.org> cryptsetup-1.0.6-r2.ebuild:
+ Stable for HPPA (bug #259253).
+
+ 17 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
+ cryptsetup-1.0.6-r2.ebuild:
+ stable x86, bug 259253
+
+ 16 Jun 2009; Jeremy Olexa <darkside@gentoo.org>
+ files/1.0.6-r2-dm-crypt-start.sh:
+ Fix dm-crypt-start.sh file for passphrase at startup issue, bug 243216
+
+ 19 Apr 2009; Doug Goldstein <cardoe@gentoo.org>
+ -files/1.0.6-dm-crypt-start.sh, -cryptsetup-1.0.5.ebuild,
+ cryptsetup-1.0.5-r1.ebuild, -cryptsetup-1.0.6.ebuild,
+ -cryptsetup-1.0.6-r1.ebuild, cryptsetup-1.0.6-r2.ebuild:
+ clean up old versions. clean up depends
+
+ 10 Apr 2009; Caleb Tennis <caleb@gentoo.org> cryptsetup-0.1-r3.ebuild,
+ cryptsetup-1.0.5.ebuild, cryptsetup-1.0.5-r1.ebuild,
+ cryptsetup-1.0.6.ebuild, cryptsetup-1.0.6-r1.ebuild,
+ cryptsetup-1.0.6-r2.ebuild:
+ Fix device-mapper dep for new lvm2, bug #265599
+
+*cryptsetup-1.0.6-r2 (05 Oct 2008)
+
+ 05 Oct 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/1.0.6-dmcrypt.confd, +files/1.0.6-r2-dm-crypt-start.sh,
+ +cryptsetup-1.0.6-r2.ebuild:
+ Do not bang directly on /dev/console so we dont break when running under X
+ or something.
+
+ 15 Sep 2008; Robin H. Johnson <robbat2@gentoo.org>
+ cryptsetup-1.0.6-r1.ebuild:
+ Bug #237714, make the udev dep for udevadm slightly wider.
+
+ 14 Sep 2008; Robin H. Johnson <robbat2@gentoo.org>
+ cryptsetup-1.0.6-r1.ebuild:
+ Fix changelog removal, and ensure a min version of udev for new revision
+ since some old versions did not contain the udevadm tool yet.
+
+*cryptsetup-1.0.6-r1 (14 Sep 2008)
+
+ 14 Sep 2008; Doug Goldstein <cardoe@gentoo.org>
+ +files/cryptsetup-1.0.6-udevsettle.patch, -cryptsetup-0.1-r2.ebuild,
+ cryptsetup-1.0.5.ebuild, cryptsetup-1.0.5-r1.ebuild,
+ cryptsetup-1.0.6.ebuild, +cryptsetup-1.0.6-r1.ebuild:
+ fix bug #236481. block udev-126 and higher on older versions that won't
+ work with it. add udev as a depend since the code calls it always. remove
+ old version
+
+ 22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
+ add GLEP 56 USE flag desc from use.local.desc
+
+ 16 Aug 2008; Torsten Veller <tove@gentoo.org> metadata.xml:
+ Remove strerror from metadata.xml (#89719)
+
+ 25 Mar 2008; <ricmm@gentoo.org> cryptsetup-0.1-r2.ebuild,
+ cryptsetup-0.1-r3.ebuild:
+ Drop to ~mips due to unstable deps
+
+*cryptsetup-1.0.6 (19 Mar 2008)
+
+ 19 Mar 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/1.0.6-dm-crypt-start.sh, +cryptsetup-1.0.6.ebuild:
+ Version bump #212997 by Alex Elsayed and make startup script much nicer
+ #202364 by me.
+
+ 20 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ cryptsetup-1.0.5.ebuild, cryptsetup-1.0.5-r1.ebuild:
+ I hate blank spaces in output for no reason, so switching from using echo to
+ using an extra \n at the end of the line.
+
+ 01 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> files/1.0.5-dmcrypt.rc:
+ Update init script to work with current development version of OpenRC
+ (checkroot -> root; checkfs -> fsck).
+
+ 31 Jan 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ cryptsetup-1.0.5-r1.ebuild:
+ Cleaning up a couple typos/errors in einfo/ewarn output. There's no actual
+ code changes in this.
+
+ 06 Nov 2007; Raúl Porcel <armin76@gentoo.org> cryptsetup-1.0.5-r1.ebuild:
+ alpha/ia64/sparc stable wrt #195648
+
+ 02 Nov 2007; Steve Dibb <beandog@gentoo.org> cryptsetup-1.0.5-r1.ebuild:
+ amd64 stable, bug 195648
+
+ 14 Oct 2007; Markus Rothe <corsair@gentoo.org> cryptsetup-1.0.5-r1.ebuild:
+ Stable on ppc64; bug #195648
+
+ 13 Oct 2007; Jeroen Roovers <jer@gentoo.org> cryptsetup-1.0.5-r1.ebuild:
+ Stable for HPPA (bug #195648).
+
+ 13 Oct 2007; nixnut <nixnut@gentoo.org> cryptsetup-1.0.5-r1.ebuild:
+ Stable on ppc wrt bug 195648
+
+ 13 Oct 2007; Christian Faulhammer <opfer@gentoo.org>
+ cryptsetup-1.0.5-r1.ebuild:
+ stable x86, bug 195648
+
+ 06 Oct 2007; Mike Frysinger <vapier@gentoo.org> cryptsetup-1.0.5.ebuild,
+ cryptsetup-1.0.5-r1.ebuild:
+ Block cryptsetup-luks #194907 by Jakub Moc.
+
+*cryptsetup-1.0.5-r1 (02 Oct 2007)
+
+ 02 Oct 2007; Benjamin Smee <strerror@gentoo.org>
+ files/1.0.5-dm-crypt-start.sh, files/1.0.5-dm-crypt-stop.sh,
+ files/1.0.5-dmcrypt.rc, +cryptsetup-1.0.5-r1.ebuild:
+ Fixes for bugs #180068 #181503 #164795 and other improvements. Thanks to
+ Thomas Bettler for a patch
+
+ 14 Sep 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+ cryptsetup-1.0.5.ebuild:
+ Removed check for USE=build since it did nothing because cryptsetup isn't in
+ stage1. Removed call to linux-info_pkg_setup to remove requirement on a
+ configured kernel. This fixes bug #148390 from this end, but changes are
+ still needed in linux-info.eclass, which is tracked at bug #192556.
+
+ 15 Aug 2007; Benjamin Smee <strerror@gentoo.org>
+ files/1.0.5-dm-crypt-start.sh:
+ Change to 1.0.5-dm-crypt-start.sh to fix misplaced bin
+
+*cryptsetup-1.0.5 (14 Aug 2007)
+
+ 14 Aug 2007; Benjamin Smee <strerror@gentoo.org>
+ +files/1.0.5-dm-crypt-start.sh, +files/1.0.5-dm-crypt-stop.sh,
+ +files/1.0.5-dmcrypt.confd, +files/1.0.5-dmcrypt.rc,
+ +cryptsetup-1.0.5.ebuild:
+ Major changes for bug #177100 and others. Thanks to ikelos
+
+ 07 Jul 2006; Thomas Cort <tcort@gentoo.org> cryptsetup-0.1-r3.ebuild:
+ Stable on alpha wrt Bug #124928.
+
+ 28 Apr 2006; Luis Medinas <metalgod@gentoo.org> cryptsetup-0.1-r3.ebuild:
+ Stable on amd64. Bug #124928.
+
+ 27 Apr 2006; Alec Warner <antarus@gentoo.org> Manifest:
+ Fixing SHA256 digest, pass four
+
+ 29 Apr 2006; Joshua Kinard <kumba@gentoo.org> cryptsetup-0.1-r3.ebuild:
+ Marked stable on mips.
+
+ 10 Mar 2006; Aron Griffis <agriffis@gentoo.org> cryptsetup-0.1-r3.ebuild:
+ Mark 0.1-r3 stable on ia64. #124928
+
+ 06 Mar 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ cryptsetup-0.1-r3.ebuild:
+ Stable on sparc wrt #124928
+
+ 06 Mar 2006; Michele Noberasco <s4t4n@gentoo.org> cryptsetup-0.1-r3.ebuild:
+ Stable for x86, see bug #124928
+
+ 05 Mar 2006; Tom Gall <tgall@gentoo.org> cryptsetup-0.1-r3.ebuild:
+ stable on ppc64, bug #124928
+
+ 04 Mar 2006; <nixnut@gentoo.org> cryptsetup-0.1-r3.ebuild:
+ Stable on ppc. bug #124928
+
+ 26 Feb 2006; Joshua Kinard <kumba@gentoo.org> cryptsetup-0.1-r2.ebuild:
+ Marked stable on mips.
+
+ 15 Feb 2006; Markus Rothe <corsair@gentoo.org> cryptsetup-0.1-r2.ebuild:
+ Stable on ppc64; bug #118791
+
+ 08 Feb 2006; Aron Griffis <agriffis@gentoo.org> cryptsetup-0.1-r2.ebuild:
+ Mark 0.1-r2 stable on alpha
+
+*cryptsetup-0.1-r3 (02 Feb 2006)
+
+ 02 Feb 2006; Benjamin Smee <strerror@gentoo.org>
+ +files/cryptsetup-libmapper.patch, +cryptsetup-0.1-r3.ebuild:
+ Bump for bug #120802
+
+ 13 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ cryptsetup-0.1-r2.ebuild:
+ ppc stable, bug #118791
+
+ 12 Jan 2006; Markus Rothe <corsair@gentoo.org> cryptsetup-0.1-r2.ebuild:
+ Added ~ppc64
+
+ 12 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ cryptsetup-0.1-r2.ebuild:
+ Stable on x86 wrt bug #118791.
+
+ 12 Jan 2006; Luis Medinas <metalgod@gentoo.org> cryptsetup-0.1-r2.ebuild:
+ Stable on amd64. See bug #118791.
+
+ 12 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ cryptsetup-0.1-r2.ebuild:
+ Stable on sparc wrt #118791
+
+ 25 Nov 2005; Tom Gall <tgall@gentoo.org> cryptsetup-0.1-r1.ebuild:
+ stable on ppc64
+
+ 18 Oct 2005; Aron Griffis <agriffis@gentoo.org> cryptsetup-0.1-r1.ebuild:
+ Mark 0.1-r1 stable on alpha
+
+ 03 Sep 2005; Daniel Black <dragonheart@gentoo.org>
+ cryptsetup-0.1-r1.ebuild, cryptsetup-0.1-r2.ebuild:
+ dependancy fixes
+
+ 08 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> cryptsetup-0.1-r2.ebuild:
+ Added ~mips for bug 89528.
+
+*cryptsetup-0.1-r2 (02 Jun 2005)
+
+ 02 Jun 2005; Benjamin Smee <strerror@gentoo.org>
+ +cryptsetup-0.1-r2.ebuild:
+ Now blocks with cryptsetup-luks
+
+ 29 May 2005; Benjamin Smee <strerror@gentoo.org> cryptsetup-0.1-r1.ebuild:
+ Removed "die" call as per Spanky's request.
+
+ 25 May 2005; Herbie Hopkins <herbs@gentoo.org> cryptsetup-0.1-r1.ebuild:
+ Multilib fixes.
+
+ 24 May 2005; Benjamin Smee <strerror@gentoo.org> metadata.xml,
+ cryptsetup-0.1-r1.ebuild:
+ Fixed the dm-crypt check as per bug 89142
+
+ 12 Apr 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ cryptsetup-0.1-r1.ebuild:
+ Stable on sparc
+
+ 25 Mar 2005; Bryan Østergaard <kloeri@gentoo.org>
+ cryptsetup-0.1-r1.ebuild:
+ Add ~alpha keyword, bug 83684.
+
+ 22 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ cryptsetup-0.1-r1.ebuild:
+ Keyworded ~sparc wrt #83684
+
+ 14 Mar 2005; Rob Holland <tigger@gentoo.org> :
+ fixed up module check. fixes bug #85102
+
+*cryptsetup-0.1-r1 (02 Mar 2005)
+
+ 02 Mar 2005; Martin Schlemmer <azarah@gentoo.org> +files/cryptfs.confd,
+ +files/dm-crypt-start.sh, +files/dm-crypt-stop.sh,
+ +cryptsetup-0.1-r1.ebuild:
+ Add cryptfs conf.d file and addon scripts.
+
+ 01 Mar 2005; Lars Weiler <pylon@gentoo.org> cryptsetup-0.1.ebuild:
+ Stable on ppc.
+
+ 13 Oct 2004; Chris Gianelloni <wolf31o2@gentoo.org> cryptsetup-0.1.ebuild:
+ Stable on amd64, blame jhuebel.
+
+ 17 Sep 2004; Rob Holland <tigger@gentoo.org> cryptsetup-0.1.ebuild:
+ Marking stable on x86
+
+ 27 Jul 2004; Travis Tilley <lv@gentoo.org> cryptsetup-0.1.ebuild:
+ added ~amd64 keyword
+
+ 22 Jul 2004; David Holm <dholm@gentoo.org> cryptsetup-0.1.ebuild:
+ Added to ~ppc.
+
+*cryptsetup-0.1 (21 Jul 2004)
+
+ 21 Jul 2004; Rob Holland <tigger@gentoo.org> +cryptsetup-0.1.ebuild:
+ Initial version. Closes bug #44079. Thanks to ripple@ripple.be and
+ ben@disciplina.net for submitting ebuilds for it
diff --git a/sys-fs/cryptsetup/Manifest b/sys-fs/cryptsetup/Manifest
new file mode 100644
index 0000000..3bbdc27
--- /dev/null
+++ b/sys-fs/cryptsetup/Manifest
@@ -0,0 +1,8 @@
+AUX 1.6.7-dmcrypt.confd 3919 SHA256 3d933a54abe62a547294b83208dbf5d7615d9c7f380d6504c91fff3620530803 SHA512 74422d5e1614b43af894ea01da1ea80d805ec7f77981cbb80a6b1a4becad737a8825d7269812499095a7f50d39fa7da5bf4e4edae63529b1fe87b9176943a733 WHIRLPOOL cdad077e6c542e93b766c023a7db9cde372609114a0d8333e94dbf281292a145dd2f96db2895dc7f6dd130ed193ebe254e13cff24e47430738e0fb4c6e38dc71
+AUX 1.6.7-dmcrypt.rc 8821 SHA256 d0a55d31c713bbddf7d05634018623586e69d43281bc5019b5b821a745f9a57f SHA512 d9598d2a252d38704d74995bbfb53d1109ab52b55252274e8b417a04a3f37505cdf197e661f92d5e54cb5b79843a09d7a130d5f192a0da396a98f8d94c8924a9 WHIRLPOOL 2a5d7b916b251a477c17c99794d918f60a5963cd085596081cdbfe7004f6f82288c1a207e6f5df0907b9c1729c931ab4412b503fcd4d69019df518cf6fb5b9a7
+AUX setup-1.7.0.py 788 SHA256 ef9fc9cc2b0ab065838adcb65e117e124e59686360fb033dd8c51632a8da1c69 SHA512 823fe8a90a76de9f259a5b69425601b78a0b6c1204cda613e224cc21e4eebc2b22b4be9f53efe843156c45a20a099385bc4dad6d653a26749336023d3ae5de89 WHIRLPOOL 26d4d90a00a5be81b8cfadd0682d032be955b71c3c2707532a95aada423fdc52edde351af2addf307b602fcd51130dc95372dc1f11bbd80d51208a1b56010add
+DIST cryptsetup-1.7.0.tar.xz 1224616 SHA256 075524a7cc0db36d12119fa79116750accb1c6c8825d5faa2534b74b8ce3d148 SHA512 3c1732c8f1c18f0497c84c81777f54c398eea9300cd82a18691bf323d303687f4dfdd76010fb86114414f78193630cae4de5b665ce417dbf307f7fef4fa1bef6 WHIRLPOOL 4706317a6f2fe24e5c56df934ee3b0fb64cca2544885ce11ad567369ede1215e8a624b3f4c1e445aa4b59dbf9f644aed461ec422f627f37af4569f74b9f2a1ab
+EBUILD cryptsetup-1.7.0-r99.ebuild 4046 SHA256 73920493bde6d4e158440e31018882eaffa0466ca5522a0594f517111b54f835 SHA512 b38b3d0c3c697cc44578357d6dbd2fe93b98cf7063524dd09c4c351770ee7b36880b6e6bc40cecaf57e9d86d55ed5338016c7f933e8c73329181ee3131077305 WHIRLPOOL a26e780cc8aa93acbf0bd068228354cde5073f21f4a8b8b2217d2370b547eb27e5f12d9c55cd25e363f176de50b20c9edec824c6e6040676900902a763fdea6c
+MISC ChangeLog 4550 SHA256 5a758f111982f4e4e7a92d8fe1a777a9aa849bc5be0dcdbb0f0cf332b279dc8f SHA512 8ca7080ad656f01fabae6ebdfe45f5d6f40461c6899432311c12500d2c2a6007456516be9271e5cf5b29f7b182f22642a4368947ce8435999ef088ae7d71dc9f WHIRLPOOL 0a8eedb548f11437668d12e6d4259ceacba98361121f6f36def74fd7d7a854011425a3709841075111c23da978ac73b5b8dd4e13f475ead6b6edcd7f49284e07
+MISC ChangeLog-2015 32120 SHA256 4f04d04798e6b09ebc80f72f45a4841673e38e05909ccebb5d40c230db0a3272 SHA512 ebf79904c294d29fbeb42d497db5bbac85afdcaaf532ecdae863778ecd9f9c882dd0c3c28994c410611e3eef30492c9bb5696db3c2e4eb49f2e932ee9696185a WHIRLPOOL 8cfe06024e910bfbd0e547fb342ce22c837c79cb29524077272f7478edc6284ed3ef504142b52d6844fa582cd4c4cfb94163c9c40ff074716bd744d2ef039aff
+MISC metadata.xml 790 SHA256 7d01b8af78470a469df1bb30bb745a3350ae8b6f894c76f4af6cde0416aa3595 SHA512 21c4d67cbc05e42736da393e8df2ab913a7c018fba73080676aea9eafb2e77a49dc3fe41b8ab0276f3381699f485adaa2e8019c1e69cc1a30ad81dd31fab11f4 WHIRLPOOL bcdd38ab6de8587e24b40049bf82e1c707b173a5ee4302c0e8c633de86a75d63a58228fd1ac932ae904a2f73696aaa65435840efdbd3458a83a40e01732bac8b
diff --git a/sys-fs/cryptsetup/cryptsetup-1.7.0-r99.ebuild b/sys-fs/cryptsetup/cryptsetup-1.7.0-r99.ebuild
new file mode 100644
index 0000000..4de7c44
--- /dev/null
+++ b/sys-fs/cryptsetup/cryptsetup-1.7.0-r99.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit autotools distutils-r1 linux-info libtool eutils 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"
+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} libressl nls pwquality python reencrypt static static-libs udev urandom verity"
+REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ static? ( !gcrypt )" #496612
+
+LIB_DEPEND="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(+)] )"
+# 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 ~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
+ epatch_user && eautoreconf
+
+ if use python ; then
+ cd python
+ cp "${FILESDIR}"/setup-1.7.0.py setup.py || die
+ distutils-r1_src_prepare
+ fi
+}
+
+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
+
+ # We disable autotool python integration so we can use eclasses
+ # for proper integration with multiple python versions.
+ econf \
+ --sbindir=/sbin \
+ --enable-shared \
+ --disable-python \
+ $(use_enable static static-cryptsetup) \
+ $(use_enable static-libs static) \
+ $(use_enable nls) \
+ $(use_enable pwquality) \
+ $(use_enable reencrypt cryptsetup-reencrypt) \
+ $(use_enable udev) \
+ $(use_enable !urandom dev-random) \
+ $(use_enable verity veritysetup) \
+ --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done)
+
+ use python && cd python && distutils-r1_src_configure
+}
+
+src_compile() {
+ default
+ use python && cd python && distutils-r1_src_compile
+}
+
+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.6.7-dmcrypt.confd dmcrypt
+ newinitd "${FILESDIR}"/1.6.7-dmcrypt.rc dmcrypt
+
+ use python && cd python && distutils-r1_src_install
+}
diff --git a/sys-fs/cryptsetup/files/1.6.7-dmcrypt.confd b/sys-fs/cryptsetup/files/1.6.7-dmcrypt.confd
new file mode 100644
index 0000000..642ff08
--- /dev/null
+++ b/sys-fs/cryptsetup/files/1.6.7-dmcrypt.confd
@@ -0,0 +1,111 @@
+# /etc/conf.d/dmcrypt
+
+# For people who run dmcrypt on top of some other layer (like raid),
+# use rc_need to specify that requirement. See the runscript(8) man
+# page for more information.
+
+#--------------------
+# Instructions
+#--------------------
+
+# Note regarding the syntax of this file. This file is *almost* bash,
+# but each line is evaluated separately. Separate swaps/targets can be
+# specified. The init-script which reads this file assumes that a
+# swap= or target= line starts a new section, similar to lilo or grub
+# configuration.
+
+# Note when using gpg keys and /usr on a separate partition, you will
+# have to copy /usr/bin/gpg to /bin/gpg so that it will work properly
+# and ensure that gpg has been compiled statically.
+# See http://bugs.gentoo.org/90482 for more information.
+
+# Note that the init-script which reads this file detects whether your
+# partition is LUKS or not. No mkfs is run unless you specify a makefs
+# option.
+
+# Global options:
+#----------------
+
+# How long to wait for each timeout (in seconds).
+dmcrypt_key_timeout=1
+
+# Max number of checks to perform (see dmcrypt_key_timeout).
+#dmcrypt_max_timeout=300
+
+# Number of password retries.
+dmcrypt_retries=5
+
+# Arguments:
+#-----------
+# target=<name> == Mapping name for partition.
+# swap=<name> == Mapping name for swap partition.
+# source='<dev>' == Real device for partition.
+# Note: You can (and should) specify a tag like UUID
+# for blkid (see -t option). This is safer than using
+# the full path to the device.
+# key='</path/to/keyfile>[:<mode>]' == Fullpath from / or from inside removable media.
+# remdev='<dev>' == Device that will be assigned to removable media.
+# gpg_options='<opts>' == Default are --quiet --decrypt
+# options='<opts>' == cryptsetup, for LUKS you can only use --readonly
+# loop_file='<file>' == Loopback file.
+# Note: If you omit $source, then a free loopback will
+# be looked up automatically.
+# pre_mount='cmds' == commands to execute before mounting partition.
+# post_mount='cmds' == commands to execute after mounting partition.
+#-----------
+# Supported Modes
+# gpg == decrypt and pipe key into cryptsetup.
+# Note: new-line character must not be part of key.
+# Command to erase \n char: 'cat key | tr -d '\n' > cleanKey'
+
+#--------------------
+# dm-crypt examples
+#--------------------
+
+## swap
+# Swap partitions. These should come first so that no keys make their
+# way into unencrypted swap.
+# If no options are given, they will default to: -c aes -h sha1 -d /dev/urandom
+# If no makefs is given then mkswap will be assumed
+#swap=crypt-swap
+#source='/dev/hda2'
+
+## /home with passphrase
+#target=crypt-home
+#source='/dev/hda5'
+
+## /home with regular keyfile
+#target=crypt-home
+#source='/dev/hda5'
+#key='/full/path/to/homekey'
+
+## /home with gpg protected key
+#target=crypt-home
+#source='/dev/hda5'
+#key='/full/path/to/homekey:gpg'
+
+## /home with regular keyfile on removable media(such as usb-stick)
+#target=crypt-home
+#source='/dev/hda5'
+#key='/full/path/to/homekey'
+#remdev='/dev/sda1'
+
+## /home with gpg protected key on removable media(such as usb-stick)
+#target=crypt-home
+#source='/dev/hda5'
+#key='/full/path/to/homekey:gpg'
+#remdev='/dev/sda1'
+
+## /tmp with regular keyfile
+#target=crypt-tmp
+#source='/dev/hda6'
+#key='/full/path/to/tmpkey'
+#pre_mount='/sbin/mkreiserfs -f -f ${dev}'
+#post_mount='chown root:root ${mount_point}; chmod 1777 ${mount_point}'
+
+## Loopback file example
+#target='crypt-loop-home'
+#source='/dev/loop0'
+#loop_file='/mnt/crypt/home'
+
+# The file must be terminated by a newline. Or leave this comment last.
diff --git a/sys-fs/cryptsetup/files/1.6.7-dmcrypt.rc b/sys-fs/cryptsetup/files/1.6.7-dmcrypt.rc
new file mode 100644
index 0000000..e52ad68
--- /dev/null
+++ b/sys-fs/cryptsetup/files/1.6.7-dmcrypt.rc
@@ -0,0 +1,340 @@
+#!/sbin/runscript
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ before checkfs fsck
+
+ if grep -qs ^swap= "${conf_file}" ; then
+ before swap
+ fi
+}
+
+# We support multiple dmcrypt instances based on $SVCNAME
+conf_file="/etc/conf.d/${SVCNAME}"
+
+# Get splash helpers if available.
+if [ -e /sbin/splash-functions.sh ] ; then
+ . /sbin/splash-functions.sh
+fi
+
+# Setup mappings for an individual target/swap
+# Note: This relies on variables localized in the main body below.
+dm_crypt_execute() {
+ local dev ret mode foo
+
+ if [ -z "${target}" -a -z "${swap}" ] ; then
+ return
+ fi
+
+ # Set up default values.
+ : ${dmcrypt_key_timeout:=1}
+ : ${dmcrypt_max_timeout:=300}
+ : ${dmcrypt_retries:=5}
+
+ # Handle automatic look up of the source path.
+ if [ -z "${source}" -a -n "${loop_file}" ] ; then
+ source=$(losetup --show -f "${loop_file}")
+ fi
+ case ${source} in
+ *=*)
+ source=$(blkid -l -t "${source}" -o device)
+ ;;
+ esac
+ if [ -z "${source}" ] || [ ! -e "${source}" ] ; then
+ ewarn "source \"${source}\" for ${target} missing, skipping..."
+ return
+ fi
+
+ if [ -n "${target}" ] ; then
+ # let user set options, otherwise leave empty
+ : ${options:=' '}
+ elif [ -n "${swap}" ] ; then
+ if cryptsetup isLuks ${source} 2>/dev/null ; then
+ ewarn "The swap you have defined is a LUKS partition. Aborting crypt-swap setup."
+ return
+ fi
+ target=${swap}
+ # swap contents do not need to be preserved between boots, luks not required.
+ # suspend2 users should have initramfs's init handling their swap partition either way.
+ : ${options:='-c aes -h sha1 -d /dev/urandom'}
+ : ${pre_mount:='mkswap ${dev}'}
+ fi
+
+ if [ -n "${loop_file}" ] ; then
+ dev="/dev/mapper/${target}"
+ ebegin " Setting up loop device ${source}"
+ losetup ${source} ${loop_file}
+ fi
+
+ # cryptsetup:
+ # open <device> <name> # <device> is $source
+ # create <name> <device> # <name> is $target
+ local arg1="create" arg2="${target}" arg3="${source}"
+ if cryptsetup isLuks ${source} 2>/dev/null ; then
+ arg1="open"
+ arg2="${source}"
+ arg3="${target}"
+ fi
+
+ # Older versions reported:
+ # ${target} is active:
+ # Newer versions report:
+ # ${target} is active[ and is in use.]
+ if cryptsetup status ${target} | egrep -q ' is active' ; then
+ einfo "dm-crypt mapping ${target} is already configured"
+ return
+ fi
+ splash svc_input_begin ${SVCNAME} >/dev/null 2>&1
+
+ # Handle keys
+ if [ -n "${key}" ] ; then
+ read_abort() {
+ # some colors
+ local ans savetty resettty
+ [ -z "${NORMAL}" ] && eval $(eval_ecolors)
+ einfon " $1? (${WARN}yes${NORMAL}/${GOOD}No${NORMAL}) "
+ shift
+ # This is ugly as s**t. But POSIX doesn't provide `read -t`, so
+ # we end up having to implement our own crap with stty/etc...
+ savetty=$(stty -g)
+ resettty='stty ${savetty}; trap - EXIT HUP INT TERM'
+ trap 'eval "${resettty}"' EXIT HUP INT TERM
+ stty -icanon
+ stty min 0 time "$(( $2 * 10 ))"
+ ans=$(dd count=1 bs=1 2>/dev/null) || ans=''
+ eval "${resettty}"
+ if [ -z "${ans}" ] ; then
+ printf '\r'
+ else
+ echo
+ fi
+ case ${ans} in
+ [yY]) return 0;;
+ *) return 1;;
+ esac
+ }
+
+ # Notes: sed not used to avoid case where /usr partition is encrypted.
+ mode=${key##*:} && ( [ "${mode}" = "${key}" ] || [ -z "${mode}" ] ) && mode=reg
+ key=${key%:*}
+ case "${mode}" in
+ gpg|reg)
+ # handle key on removable device
+ if [ -n "${remdev}" ] ; then
+ # temp directory to mount removable device
+ local mntrem="${RC_SVCDIR}/dm-crypt-remdev.$$"
+ if [ ! -d "${mntrem}" ] ; then
+ if ! mkdir -p "${mntrem}" ; then
+ ewarn "${source} will not be decrypted ..."
+ einfo "Reason: Unable to create temporary mount point '${mntrem}'"
+ return
+ fi
+ fi
+ i=0
+ einfo "Please insert removable device for ${target}"
+ while [ ${i} -lt ${dmcrypt_max_timeout} ] ; do
+ foo=""
+ if mount -n -o ro "${remdev}" "${mntrem}" 2>/dev/null >/dev/null ; then
+ # keyfile exists?
+ if [ ! -e "${mntrem}${key}" ] ; then
+ umount -n "${mntrem}"
+ rmdir "${mntrem}"
+ einfo "Cannot find ${key} on removable media."
+ read_abort "Abort" ${dmcrypt_key_timeout} && return
+ else
+ key="${mntrem}${key}"
+ break
+ fi
+ else
+ [ -e "${remdev}" ] \
+ && foo="mount failed" \
+ || foo="mount source not found"
+ fi
+ : $((i += 1))
+ read_abort "Stop waiting after $i attempts (${foo})" -t 1 && return
+ done
+ else # keyfile ! on removable device
+ if [ ! -e "${key}" ] ; then
+ ewarn "${source} will not be decrypted ..."
+ einfo "Reason: keyfile ${key} does not exist."
+ return
+ fi
+ fi
+ ;;
+ *)
+ ewarn "${source} will not be decrypted ..."
+ einfo "Reason: mode ${mode} is invalid."
+ return
+ ;;
+ esac
+ else
+ mode=none
+ fi
+ ebegin " ${target} using: ${options} ${arg1} ${arg2} ${arg3}"
+ if [ "${mode}" = "gpg" ] ; then
+ : ${gpg_options:='-q -d'}
+ # gpg available ?
+ if command -v gpg >/dev/null ; then
+ i=0
+ while [ ${i} -lt ${dmcrypt_retries} ] ; do
+ # paranoid, don't store key in a variable, pipe it so it stays very little in ram unprotected.
+ # save stdin stdout stderr "values"
+ timeout ${dmcrypt_max_timeout} gpg ${gpg_options} ${key} 2>/dev/null | \
+ cryptsetup --key-file - ${options} ${arg1} ${arg2} ${arg3}
+ ret=$?
+ # The timeout command exits 124 when it times out.
+ [ ${ret} -eq 0 -o ${ret} -eq 124 ] && break
+ : $(( i += 1 ))
+ done
+ eend ${ret} "failure running cryptsetup"
+ else
+ ewarn "${source} will not be decrypted ..."
+ einfo "Reason: cannot find gpg application."
+ einfo "You have to install app-crypt/gnupg first."
+ einfo "If you have /usr on its own partition, try copying gpg to /bin ."
+ fi
+ else
+ if [ "${mode}" = "reg" ] ; then
+ cryptsetup ${options} -d ${key} ${arg1} ${arg2} ${arg3}
+ ret=$?
+ eend ${ret} "failure running cryptsetup"
+ else
+ cryptsetup ${options} ${arg1} ${arg2} ${arg3}
+ ret=$?
+ eend ${ret} "failure running cryptsetup"
+ fi
+ fi
+ if [ -d "${mntrem}" ] ; then
+ umount -n ${mntrem} 2>/dev/null >/dev/null
+ rmdir ${mntrem} 2>/dev/null >/dev/null
+ fi
+ splash svc_input_end ${SVCNAME} >/dev/null 2>&1
+
+ if [ ${ret} -ne 0 ] ; then
+ cryptfs_status=1
+ else
+ if [ -n "${pre_mount}" ] ; then
+ dev="/dev/mapper/${target}"
+ eval ebegin \"" pre_mount: ${pre_mount}"\"
+ eval "${pre_mount}" > /dev/null
+ ewend $? || cryptfs_status=1
+ fi
+ fi
+}
+
+# Lookup optional bootparams
+get_bootparam_val() {
+ # We're given something like:
+ # foo=bar=cow
+ # Return the "bar=cow" part.
+ case $1 in
+ *=*)
+ echo "${1#*=}"
+ ;;
+ esac
+}
+
+start() {
+ local header=true cryptfs_status=0
+ local gpg_options key loop_file target targetline options pre_mount post_mount source swap remdev
+
+ local x
+ for x in $(cat /proc/cmdline) ; do
+ case "${x}" in
+ key_timeout=*)
+ dmcrypt_key_timeout=$(get_bootparam_val "${x}")
+ ;;
+ esac
+ done
+
+ while read targetline <&3 ; do
+ case ${targetline} in
+ # skip comments and blank lines
+ ""|"#"*) continue ;;
+ # skip service-specific openrc configs #377927
+ rc_*) continue ;;
+ esac
+
+ ${header} && ebegin "Setting up dm-crypt mappings"
+ header=false
+
+ # check for the start of a new target/swap
+ case ${targetline} in
+ target=*|swap=*)
+ # If we have a target queued up, then execute it
+ dm_crypt_execute
+
+ # Prepare for the next target/swap by resetting variables
+ unset gpg_options key loop_file target options pre_mount post_mount source swap remdev
+ ;;
+
+ gpg_options=*|remdev=*|key=*|loop_file=*|options=*|pre_mount=*|post_mount=*|source=*)
+ if [ -z "${target}${swap}" ] ; then
+ ewarn "Ignoring setting outside target/swap section: ${targetline}"
+ continue
+ fi
+ ;;
+
+ dmcrypt_*=*)
+ # ignore global options
+ continue
+ ;;
+
+ *)
+ ewarn "Skipping invalid line in ${conf_file}: ${targetline}"
+ ;;
+ esac
+
+ # Queue this setting for the next call to dm_crypt_execute
+ eval "${targetline}"
+ done 3< ${conf_file}
+
+ # If we have a target queued up, then execute it
+ dm_crypt_execute
+
+ ewend ${cryptfs_status} "Failed to setup dm-crypt devices"
+}
+
+stop() {
+ local line header
+
+ # Break down all mappings
+ header=true
+ egrep "^(target|swap)=" ${conf_file} | \
+ while read line ; do
+ ${header} && einfo "Removing dm-crypt mappings"
+ header=false
+
+ target= swap=
+ eval ${line}
+
+ [ -n "${swap}" ] && target=${swap}
+ if [ -z "${target}" ] ; then
+ ewarn "invalid line in ${conf_file}: ${line}"
+ continue
+ fi
+
+ ebegin " ${target}"
+ cryptsetup remove ${target}
+ eend $?
+ done
+
+ # Break down loop devices
+ header=true
+ grep '^source=./dev/loop' ${conf_file} | \
+ while read line ; do
+ ${header} && einfo "Detaching dm-crypt loop devices"
+ header=false
+
+ source=
+ eval ${line}
+
+ ebegin " ${source}"
+ losetup -d "${source}"
+ eend $?
+ done
+
+ return 0
+}
diff --git a/sys-fs/cryptsetup/files/setup-1.7.0.py b/sys-fs/cryptsetup/files/setup-1.7.0.py
new file mode 100644
index 0000000..0da063c
--- /dev/null
+++ b/sys-fs/cryptsetup/files/setup-1.7.0.py
@@ -0,0 +1,21 @@
+import os
+from distutils.core import setup, Extension
+
+top_srcdir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
+
+def get_ver():
+ with open(os.path.join(top_srcdir, 'configure')) as f:
+ for line in f:
+ if line.startswith('PACKAGE_VERSION='):
+ return line.split('=')[1].replace("'", '').strip()
+
+module = Extension('pycryptsetup',
+ include_dirs=[os.path.join(top_srcdir, 'lib')],
+ extra_compile_args=['-include', os.path.join(top_srcdir, 'config.h')],
+ library_dirs=[os.path.join(top_srcdir, 'lib', '.libs')],
+ libraries=['cryptsetup'],
+ sources=['pycryptsetup.c'])
+
+setup(name='pycryptsetup',
+ version=get_ver(),
+ ext_modules=[module])
diff --git a/sys-fs/cryptsetup/metadata.xml b/sys-fs/cryptsetup/metadata.xml
new file mode 100644
index 0000000..e674745
--- /dev/null
+++ b/sys-fs/cryptsetup/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+<herd>base-system</herd>
+<use>
+ <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='nettle'>Use <pkg>dev-libs/nettle</pkg> crypto backend</flag>
+ <flag name='openssl'>Use <pkg>dev-libs/openssl</pkg> crypto backend</flag>
+ <flag name='pwquality'>Use <pkg>dev-libs/libpwquality</pkg> for password quality checking</flag>
+ <flag name='urandom'>Use /dev/urandom instead of /dev/random</flag>
+ <flag name='reencrypt'>Build cryptsetup-reencrypt</flag>
+</use>
+<upstream>
+ <remote-id type='google-code'>cryptsetup</remote-id>
+</upstream>
+</pkgmetadata>