Commit a979f5a9 authored by Natanael Copa's avatar Natanael Copa

main/cryptsetup: upgrade to 1.3.1 and cleanup

- switch to openssl backend
- move to /lib and /sbin (fixes #669)
parent 6f2d3114
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment