diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/cryptsetup/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/cryptsetup/PKGBUILD')
-rw-r--r-- | abs/core-testing/cryptsetup/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/abs/core-testing/cryptsetup/PKGBUILD b/abs/core-testing/cryptsetup/PKGBUILD new file mode 100644 index 0000000..ff5f83f --- /dev/null +++ b/abs/core-testing/cryptsetup/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Judd Vinet <jvinet@zeroflux.org> +pkgname=cryptsetup +pkgver=1.0.6 +pkgrel=10 +pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi" +arch=(i686 x86_64) +license=('GPL') +url="http://luks.endorphin.org/dm-crypt" +groups=('base') +depends=('device-mapper' 'libgcrypt' 'popt' 'e2fsprogs') +options=('!libtool' '!emptydirs') +source=(http://luks.endorphin.org/source/cryptsetup-$pkgver.tar.bz2 + encrypt_hook + encrypt_install + luksOpen-status.patch) +md5sums=('00d452eb7a76e39f5749545d48934a10' + '40fee2419cd444cfb283c311f9555d2d' + '24b76e9cb938bc3c8dcff396cbab28c7' + 'd4be8d2059d5427c057be4de4e948887') + +build() { + cd $startdir/src/$pkgname-$pkgver + # suppress "Command successful" message on luksOpen + patch -p1 -i $startdir/src/luksOpen-status.patch + ./configure --prefix=/usr --disable-static + make || return 1 + make DESTDIR=$startdir/pkg install + # include a static cryptsetup binary for initrd setups + make clean + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr --enable-static + make || return 1 + # include a static cryptsetup binary for initrd setups + install -D -m755 src/cryptsetup $startdir/pkg/sbin/cryptsetup.static || return 1 + # install hook + install -D -m644 $startdir/src/encrypt_hook $startdir/pkg/lib/initcpio/hooks/encrypt + install -D -m644 $startdir/src/encrypt_install $startdir/pkg/lib/initcpio/install/encrypt +} |