diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-01-19 17:37:34 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-01-24 20:26:12 +0100 |
commit | 9a276d19bce7ef2bc77eb313837f7a12fb41f4df (patch) | |
tree | d59ecf907d6edea556b929d8ea031c00d476eeac /main/cryptsetup | |
parent | 0ffca2c02d1b1e8403f69ee4ae42d1293b055705 (diff) | |
download | aports-9a276d19bce7ef2bc77eb313837f7a12fb41f4df.tar.bz2 aports-9a276d19bce7ef2bc77eb313837f7a12fb41f4df.tar.xz |
main/cryptsetup: upgrade to 2.0.0
Diffstat (limited to 'main/cryptsetup')
-rw-r--r-- | main/cryptsetup/APKBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD index 3e74139c57..4a35f3b2bc 100644 --- a/main/cryptsetup/APKBUILD +++ b/main/cryptsetup/APKBUILD @@ -1,18 +1,18 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cryptsetup -pkgver=1.7.5 -pkgrel=1 +pkgver=2.0.0 +pkgrel=0 pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi" url="https://gitlab.com/cryptsetup/cryptsetup" arch="all" license="GPL-2.0-or-later" depends="" makedepends_build="" -makedepends_host="lvm2-dev libressl-dev popt-dev util-linux-dev" +makedepends_host="lvm2-dev libressl-dev popt-dev util-linux-dev json-c-dev" makedepends="$makedepends_build $makedepends_host" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" -source="https://www.kernel.org/pub/linux/utils/cryptsetup/v${pkgver%.*}/cryptsetup-$pkgver.tar.gz +source="https://www.kernel.org/pub/linux/utils/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.gz flush-stdout.patch dmcrypt.confd dmcrypt.initd @@ -22,13 +22,14 @@ builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ + --build="$CBUILD" \ + --host="$CHOST" \ --prefix=/usr \ --libdir=/lib \ --sbindir=/sbin \ --disable-static \ - --with-crypto_backend=openssl + --with-crypto_backend=openssl \ + --with-luks2-lock-path=/run/cryptsetup # https://gitlab.com/cryptsetup/cryptsetup/issues/362 make } @@ -43,7 +44,8 @@ package() { install -Dm755 "$srcdir"/dmcrypt.initd "$pkgdir"/etc/init.d/dmcrypt mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ - install -m644 README TODO FAQ "$pkgdir"/usr/share/doc/$pkgname/ + install -m644 README TODO FAQ NEWS docs/v${pkgver}-ReleaseNotes \ + "$pkgdir"/usr/share/doc/$pkgname/ } libs() { @@ -52,7 +54,7 @@ libs() { mv "$pkgdir"/lib "$subpkgdir"/ } -sha512sums="be4cf2815390f415edc3e1013222c9fe735b83c37278484e680cf7e0f6bdb850242bf057020d4c0d9f0e66106dbbc5b57abe34b351c99951d4aebb809e3c0473 cryptsetup-1.7.5.tar.gz +sha512sums="a595bb9f67908a9e4b8f0002a592999bdd4367329c0f05c9d592ddc30138ba0b5f82113ac547c8949c26c8f4ba510973125eeaf1fa17195d162c46545e9dbb59 cryptsetup-2.0.0.tar.gz 301e3e3da5a899e0a6f01f44fbf37bb6a3f5b6a4fb41243bae6d3b7aea747276e784626cd1b19721cc264652c10ae8c560c4d20094e33bb82fb2fae0160682c0 flush-stdout.patch 74422d5e1614b43af894ea01da1ea80d805ec7f77981cbb80a6b1a4becad737a8825d7269812499095a7f50d39fa7da5bf4e4edae63529b1fe87b9176943a733 dmcrypt.confd 81dad61cdecf1dc529b26eb3cdc15979a582c876b01268f88e7a71c8fae6911137c03bfa63fee64e064e5fb31f673610be27ecab9fc432229f13e7040698bd5c dmcrypt.initd" |