summaryrefslogtreecommitdiff
path: root/core/cryptsetup/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/cryptsetup/PKGBUILD')
-rw-r--r--core/cryptsetup/PKGBUILD24
1 files changed, 19 insertions, 5 deletions
diff --git a/core/cryptsetup/PKGBUILD b/core/cryptsetup/PKGBUILD
index 3cb39a35b..99ab1c1ff 100644
--- a/core/cryptsetup/PKGBUILD
+++ b/core/cryptsetup/PKGBUILD
@@ -1,24 +1,38 @@
-# $Id: PKGBUILD 217526 2014-07-21 10:53:05Z fyan $
+# $Id: PKGBUILD 218262 2014-07-28 21:21:54Z thomas $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=cryptsetup
pkgver=1.6.5
-pkgrel=1
+pkgrel=2
pkgdesc="Userspace setup tool for transparent encryption of block devices using dm-crypt"
arch=(i686 x86_64)
license=('GPL')
url="http://code.google.com/p/cryptsetup/"
groups=('base')
-depends=('device-mapper' 'libgcrypt' 'popt' 'util-linux')
+depends=('device-mapper' 'libgcrypt' 'popt' 'libutil-linux')
+makedepends=('util-linux')
options=('!emptydirs')
source=(https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/${pkgname}-${pkgver}.tar.xz
#https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/${pkgname}-${pkgver}.tar.sign
encrypt_hook
encrypt_install
- sd-encrypt)
+ sd-encrypt
+ 0001-Move-safe-table-params-wipe-into-function-which-allo.patch
+ 0002-Re-check-flags-after-DM-device-creations.patch
+ 0003-Properly-allow-activation-of-discard-even-if-dm_cryp.patch)
sha256sums=('267973f20be43f9d685f7193aa23954b60768c74a1d330243114d4b8bc17ca9a'
'4406f8dc83f4f1b408e49d557515f721d91b358355c71fbe51f74ab27e5c84ff'
'cfe465bdad3d958bb2332a05e04f2e1e884422a5714dfd1a0a3b9b74bf7dc6ae'
- 'd442304e6a78b3513ebc53be3fe2f1276a7df470c8da701b3ece971d59979bdd')
+ 'd442304e6a78b3513ebc53be3fe2f1276a7df470c8da701b3ece971d59979bdd'
+ '54895ebba0cf1df27da7a53b6a256b7826f9b2d4cff577f840ab457dc32b5c49'
+ 'd022e43fa96ee60e295cf6041a8b9e15225eeb03b713f32675061c4063c17ea5'
+ '16d55306a5dde637db16cb219834095432bc8579528789ee52aa975df12284d4')
+
+prepare() {
+ cd "${srcdir}"/$pkgname-${pkgver}
+ patch -p1 -i "${srcdir}"/0001-Move-safe-table-params-wipe-into-function-which-allo.patch
+ patch -p1 -i "${srcdir}"/0002-Re-check-flags-after-DM-device-creations.patch
+ patch -p1 -i "${srcdir}"/0003-Properly-allow-activation-of-discard-even-if-dm_cryp.patch
+}
build() {
cd "${srcdir}"/$pkgname-${pkgver}