aboutsummaryrefslogtreecommitdiffstats
path: root/main/cryptsetup/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-03 08:20:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-03 08:20:31 +0000
commita979f5a9d2c86fa6b7f2cfc99c778411abba7485 (patch)
treed8445ffed1d9f2e43821ddd8948d9c2530890b6e /main/cryptsetup/APKBUILD
parent6f2d31148bb165f060d3a3151715830ffae55803 (diff)
downloadaports-a979f5a9d2c86fa6b7f2cfc99c778411abba7485.tar.bz2
aports-a979f5a9d2c86fa6b7f2cfc99c778411abba7485.tar.xz
main/cryptsetup: upgrade to 1.3.1 and cleanup
- switch to openssl backend - move to /lib and /sbin (fixes #669)
Diffstat (limited to 'main/cryptsetup/APKBUILD')
-rw-r--r--main/cryptsetup/APKBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD
index 54fb18f288..67df36df59 100644
--- a/main/cryptsetup/APKBUILD
+++ b/main/cryptsetup/APKBUILD
@@ -1,20 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cryptsetup
-pkgver=1.3.0
+pkgver=1.3.1
pkgrel=0
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
url="http://code.google.com/p/cryptsetup/"
arch="all"
license="GPL"
depends=
-makedepends="lvm2-dev libgcrypt-dev popt-dev util-linux-ng-dev"
-subpackages="$pkgname-dev $pkgname-doc"
+makedepends="lvm2-dev openssl-dev popt-dev util-linux-ng-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
+ --libdir=/lib \
+ --sbindir=/sbin \
--disable-static \
+ --with-crypto_backend=openssl \
|| return 1
make || return 1
}
@@ -23,4 +26,11 @@ package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
-md5sums="d2bc0fd59c1118ec3bfae099af38d333 cryptsetup-1.3.0.tar.bz2"
+
+libs() {
+ pkgdesc="Cryptsetup shared library"
+ mkdir -p "$subpkgdir"
+ mv "$pkgdir"/lib "$subpkgdir"/
+}
+
+md5sums="1f5b5a9d538e8a3c191fb7dd85b9b013 cryptsetup-1.3.1.tar.bz2"