summaryrefslogtreecommitdiff
path: root/system/cryptsetup/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-20 00:53:30 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:58 -0500
commit2275080eee0bb326f59bb535b7965d05a66add32 (patch)
tree0bca3eec0e069b48d831e0081760396d6b45f02a /system/cryptsetup/APKBUILD
parentc4381450be0e99a334742162464db3f3797286a0 (diff)
downloadpackages-2275080eee0bb326f59bb535b7965d05a66add32.tar.gz
packages-2275080eee0bb326f59bb535b7965d05a66add32.tar.bz2
packages-2275080eee0bb326f59bb535b7965d05a66add32.tar.xz
packages-2275080eee0bb326f59bb535b7965d05a66add32.zip
system/{cryptsetup,json-c}: move from { 'system/' --> 'legacy/' } per policy.
Diffstat (limited to 'system/cryptsetup/APKBUILD')
-rw-r--r--system/cryptsetup/APKBUILD61
1 files changed, 0 insertions, 61 deletions
diff --git a/system/cryptsetup/APKBUILD b/system/cryptsetup/APKBUILD
deleted file mode 100644
index 1786fbb0d..000000000
--- a/system/cryptsetup/APKBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Maintainer:
-pkgname=cryptsetup
-pkgver=2.3.4
-pkgrel=1
-pkgdesc="Utility for setting up encrypted filesystems"
-url="https://gitlab.com/cryptsetup/cryptsetup"
-arch="all"
-license="GPL-2.0+"
-depends=""
-makedepends_build=""
-makedepends_host="lvm2-dev openssl-dev popt-dev util-linux-dev json-c-dev
- argon2-dev"
-makedepends="$makedepends_build $makedepends_host"
-checkdepends="bash debianutils-which lvm2 sharutils"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs $pkgname-openrc"
-source="https://www.kernel.org/pub/linux/utils/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.gz
- dmcrypt.confd
- dmcrypt.initd
- "
-
-build() {
- ./configure \
- --build="$CBUILD" \
- --host="$CHOST" \
- --prefix=/usr \
- --libdir=/lib \
- --sbindir=/sbin \
- --disable-static \
- --enable-libargon2 \
- --with-crypto_backend=openssl
- make
-}
-
-check() {
- make check
-}
-
-package() {
- make DESTDIR=$pkgdir install
-
- mkdir -p "$pkgdir"/usr/lib
- mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/
-
- 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 NEWS docs/v${pkgver}-ReleaseNotes \
- "$pkgdir"/usr/share/doc/$pkgname/
-}
-
-libs() {
- pkgdesc="Cryptsetup shared library"
- mkdir -p "$subpkgdir"
- mv "$pkgdir"/lib "$subpkgdir"/
-}
-
-sha512sums="a0a4981ca7294d6f0568bc9465e78ee1781ad73fe77e8daa0bbe67693534f02d3510e6fba9f76749b90ce7533bc9ac96dd27b73d733f8051e9560a3b4196ca3c cryptsetup-2.3.4.tar.gz
-74422d5e1614b43af894ea01da1ea80d805ec7f77981cbb80a6b1a4becad737a8825d7269812499095a7f50d39fa7da5bf4e4edae63529b1fe87b9176943a733 dmcrypt.confd
-81dad61cdecf1dc529b26eb3cdc15979a582c876b01268f88e7a71c8fae6911137c03bfa63fee64e064e5fb31f673610be27ecab9fc432229f13e7040698bd5c dmcrypt.initd"