From 5170f5c85fe0e84fe8af55c6a024c7b6e844b0f1 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 28 May 2022 19:37:22 +0100 Subject: fixed packages --- skip/cryptsetup/cryptsetup.xibuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 skip/cryptsetup/cryptsetup.xibuild (limited to 'skip/cryptsetup/cryptsetup.xibuild') diff --git a/skip/cryptsetup/cryptsetup.xibuild b/skip/cryptsetup/cryptsetup.xibuild new file mode 100644 index 0000000..6c883d9 --- /dev/null +++ b/skip/cryptsetup/cryptsetup.xibuild @@ -0,0 +1,36 @@ +#!/bin/sh + +NAME="cryptsetup" +DESC="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi" + +MAKEDEPS="make" +DEPS="util-linux musl popt device-mapper" + +PKG_VER=2.4.3 +SOURCE="https://www.kernel.org/pub/linux/utils/cryptsetup/v${PKG_VER%.*}/cryptsetup-$PKG_VER.tar.gz" +ADDITIONAL="dmcrypt.initd dmcrypt.confd " + +build () { + ./configure \ + --prefix=/usr \ + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static \ + --enable-libargon2 \ + --with-crypto_backend=openssl \ + --disable-external-tokens \ + --disable-ssh-token + + make +} + +package () { + make DESTDIR=$PKG_DEST install + install -Dm644 "$srcdir"/dmcrypt.confd "$PKG_DEST"/etc/conf.d/dmcrypt + install -Dm755 "$srcdir"/dmcrypt.initd "$PKG_DEST"/etc/init.d/dmcrypt + + mkdir -p "$PKG_DEST"/usr/share/doc/cryptsetup/ + install -m644 README.md FAQ docs/v$PKG_VER-ReleaseNotes \ + "$PKG_DEST"/usr/share/doc/cryptsetup/ + +} -- cgit v1.2.1