mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 10:24:37 +08:00
crda: update to 3.13 gnutls: update to 3.3.11 cryptsetup: update to 1.6.6 libgcrypt: update to 1.6.2 libgpg-error: update to 1.17 libxslt: rebuild systemd: rebuild vpnc: fixed + rebuilt
41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=cryptsetup
|
|
pkgver=1.6.6
|
|
pkgrel=1
|
|
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://code.google.com/p/cryptsetup/"
|
|
groups=('base')
|
|
depends=('device-mapper' 'libgcrypt' 'popt' 'util-linux')
|
|
options=('!emptydirs')
|
|
source=(https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/${pkgname}-${pkgver}.tar.xz
|
|
encrypt_hook
|
|
encrypt_install
|
|
sd_encrypt)
|
|
sha256sums=('2d2ce28e4e1137dd599d87884b62ef6dbf14fd7848b2a2bf7d61cf125fbd8e6f'
|
|
'4406f8dc83f4f1b408e49d557515f721d91b358355c71fbe51f74ab27e5c84ff'
|
|
'00c2da113d23d05fc13c4929e38a25111ba23a49da86e835d9fb55d45c7aaee2'
|
|
'd442304e6a78b3513ebc53be3fe2f1276a7df470c8da701b3ece971d59979bdd')
|
|
|
|
build() {
|
|
cd "${srcdir}"/$pkgname-${pkgver}
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--enable-cryptsetup-reencrypt
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/$pkgname-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
# install hook
|
|
install -D -m644 "${srcdir}"/encrypt_hook "${pkgdir}"/usr/lib/initcpio/hooks/encrypt
|
|
install -D -m644 "${srcdir}"/encrypt_install "${pkgdir}"/usr/lib/initcpio/install/encrypt
|
|
install -D -m644 "${srcdir}"/sd_encrypt "${pkgdir}"/usr/lib/initcpio/install/sd-encrypt
|
|
}
|