summaryrefslogtreecommitdiffstats
path: root/abs/core/cryptsetup/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-16 22:14:12 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-16 22:14:12 (GMT)
commit64fb5d646ec0593e8eba92833370fa6e2bd1abec (patch)
tree965f33f49546d82b06b1cb069e4f73b5302a8966 /abs/core/cryptsetup/PKGBUILD
parentf72bc1a26e275d09643c1739e69f78b62588bf44 (diff)
downloadlinhes_pkgbuild-64fb5d646ec0593e8eba92833370fa6e2bd1abec.zip
linhes_pkgbuild-64fb5d646ec0593e8eba92833370fa6e2bd1abec.tar.gz
linhes_pkgbuild-64fb5d646ec0593e8eba92833370fa6e2bd1abec.tar.bz2
cryptsetup: up to latest
Diffstat (limited to 'abs/core/cryptsetup/PKGBUILD')
-rw-r--r--abs/core/cryptsetup/PKGBUILD53
1 files changed, 25 insertions, 28 deletions
diff --git a/abs/core/cryptsetup/PKGBUILD b/abs/core/cryptsetup/PKGBUILD
index ff5f83f..ceb826d 100644
--- a/abs/core/cryptsetup/PKGBUILD
+++ b/abs/core/cryptsetup/PKGBUILD
@@ -1,39 +1,36 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 85278 2010-07-11 10:36:02Z thomas $
+# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=cryptsetup
-pkgver=1.0.6
-pkgrel=10
+pkgver=1.1.3
+pkgrel=1
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL')
-url="http://luks.endorphin.org/dm-crypt"
+url="http://code.google.com/p/cryptsetup/"
groups=('base')
-depends=('device-mapper' 'libgcrypt' 'popt' 'e2fsprogs')
+depends=('device-mapper' 'libgcrypt' 'popt')
+conflicts=('mkinitcpio<0.5.99')
options=('!libtool' '!emptydirs')
-source=(http://luks.endorphin.org/source/cryptsetup-$pkgver.tar.bz2
+source=(http://cryptsetup.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2
encrypt_hook
- encrypt_install
- luksOpen-status.patch)
-md5sums=('00d452eb7a76e39f5749545d48934a10'
- '40fee2419cd444cfb283c311f9555d2d'
- '24b76e9cb938bc3c8dcff396cbab28c7'
- 'd4be8d2059d5427c057be4de4e948887')
+ encrypt_install)
+sha256sums=('9c8e68a272f6d9cfb6cd65cc0743f4c44a2096c61f74e0602bf40208b5e69c0a'
+ '64601eae6fbf3e3afceccec5877557aa208a82497c33cc94ad0a686b4022b5dc'
+ '8e4920bb4b5ce96508aa0c42b9b07326b70daf630519f1aa1d8082bca709c12a')
build() {
- cd $startdir/src/$pkgname-$pkgver
- # suppress "Command successful" message on luksOpen
- patch -p1 -i $startdir/src/luksOpen-status.patch
- ./configure --prefix=/usr --disable-static
+ cd $srcdir/$pkgname-${pkgver}
+ ./configure --prefix=/usr --disable-static --sbindir=/sbin --libdir=/lib
make || return 1
- make DESTDIR=$startdir/pkg install
- # include a static cryptsetup binary for initrd setups
- make clean
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --enable-static
- make || return 1
- # include a static cryptsetup binary for initrd setups
- install -D -m755 src/cryptsetup $startdir/pkg/sbin/cryptsetup.static || return 1
+}
+
+package() {
+ cd $srcdir/$pkgname-${pkgver}
+ make DESTDIR=$pkgdir install || return 1
# install hook
- install -D -m644 $startdir/src/encrypt_hook $startdir/pkg/lib/initcpio/hooks/encrypt
- install -D -m644 $startdir/src/encrypt_install $startdir/pkg/lib/initcpio/install/encrypt
+ install -D -m644 $srcdir/encrypt_hook $pkgdir/lib/initcpio/hooks/encrypt
+ install -D -m644 $srcdir/encrypt_install $pkgdir/lib/initcpio/install/encrypt
+ # Fix pkgconfig location
+ install -d -m755 $pkgdir/usr/lib
+ mv $pkgdir/lib/pkgconfig $pkgdir/usr/lib/
}