aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-05-02 20:27:14 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-05-02 20:59:20 +0200
commit786a3013fc7cc24afa4e978e413f223423260c25 (patch)
tree50e0c9cd486e65fd29ef65714789b5c16d32be1a /main
parent39d6e6b09c5244284f996707a34b1639687dcc84 (diff)
downloadaports-786a3013fc7cc24afa4e978e413f223423260c25.tar.bz2
aports-786a3013fc7cc24afa4e978e413f223423260c25.tar.xz
main/cryptsetup: upgrade to 1.7.5, modernize APKBUILD
Diffstat (limited to 'main')
-rw-r--r--main/cryptsetup/APKBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD
index 2e87a8b778..cabe7a4fb6 100644
--- a/main/cryptsetup/APKBUILD
+++ b/main/cryptsetup/APKBUILD
@@ -1,7 +1,8 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=cryptsetup
-pkgver=1.7.4
-pkgrel=1
+pkgver=1.7.5
+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"
@@ -27,22 +28,22 @@ build() {
--libdir=/lib \
--sbindir=/sbin \
--disable-static \
- --with-crypto_backend=openssl \
- || return 1
- make || return 1
+ --with-crypto_backend=openssl
+ make
}
package() {
cd "$builddir"
- make DESTDIR=$pkgdir install || return 1
+ make DESTDIR=$pkgdir install
+
mkdir -p "$pkgdir"/usr/lib
mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/
- install -m644 -D "$srcdir"/dmcrypt.confd "$pkgdir"/etc/conf.d/dmcrypt \
- || return 1
- install -m755 -D "$srcdir"/dmcrypt.initd "$pkgdir"/etc/init.d/dmcrypt \
- || return 1
+ install -Dm644 "$srcdir"/dmcrypt.confd "$pkgdir"/etc/conf.d/dmcrypt
+ 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/
}
libs() {
@@ -51,7 +52,7 @@ libs() {
mv "$pkgdir"/lib "$subpkgdir"/
}
-sha512sums="5255aca5de2968eee02d7d5c318db1e9673d36be7767299a1cd726b048366daffca67293aaf08ee19a3c0029fafc98cee82b2316185643932a194c77de9e9bdc cryptsetup-1.7.4.tar.gz
+sha512sums="be4cf2815390f415edc3e1013222c9fe735b83c37278484e680cf7e0f6bdb850242bf057020d4c0d9f0e66106dbbc5b57abe34b351c99951d4aebb809e3c0473 cryptsetup-1.7.5.tar.gz
301e3e3da5a899e0a6f01f44fbf37bb6a3f5b6a4fb41243bae6d3b7aea747276e784626cd1b19721cc264652c10ae8c560c4d20094e33bb82fb2fae0160682c0 flush-stdout.patch
74422d5e1614b43af894ea01da1ea80d805ec7f77981cbb80a6b1a4becad737a8825d7269812499095a7f50d39fa7da5bf4e4edae63529b1fe87b9176943a733 dmcrypt.confd
81dad61cdecf1dc529b26eb3cdc15979a582c876b01268f88e7a71c8fae6911137c03bfa63fee64e064e5fb31f673610be27ecab9fc432229f13e7040698bd5c dmcrypt.initd"