one more cryptsetup rebuild, needed to go back to mkinitcpio hooks for 8.8, used too new hooks in .install

This commit is contained in:
abveritas 2012-07-29 22:28:03 +00:00
parent adee95b689
commit 029c01a438
2 changed files with 18 additions and 21 deletions

View File

@ -5,7 +5,7 @@
pkgname=cryptsetup pkgname=cryptsetup
pkgver=1.4.2 pkgver=1.4.2
pkgrel=2 pkgrel=3
pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi" pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
license=('GPL') license=('GPL')
@ -21,7 +21,7 @@ source=(http://cryptsetup.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2
sha256sums=('1fe80d7b19d24b3f65d2e446decfed859e2c4d17fdf7c19289d82dc7cd60dfe7' sha256sums=('1fe80d7b19d24b3f65d2e446decfed859e2c4d17fdf7c19289d82dc7cd60dfe7'
'4e6dbece8d1baad861479aca70d0cf30887420da9b5eab45d65d064c656893ed' '4e6dbece8d1baad861479aca70d0cf30887420da9b5eab45d65d064c656893ed'
'811bbea1337106ad811731c746d73ee81039bad00aef52398e3a377ad0766757' '811bbea1337106ad811731c746d73ee81039bad00aef52398e3a377ad0766757'
'aa02e35420e015b9c6a44d0fb4378aaaba3b87edf68cb6cf4b038a9a1467a498') '868fbc7ed1ff49803be06d78ff35b5f9a35dcc5ee820fd8cabe0dfcf74061182')
build() { build() {
cd "${srcdir}"/$pkgname-${pkgver} cd "${srcdir}"/$pkgname-${pkgver}
./configure --prefix=/usr --disable-static ./configure --prefix=/usr --disable-static

View File

@ -1,25 +1,22 @@
#!/bin/bash #!/bin/bash
build() { build()
local mod {
if [ -z "${CRYPTO_MODULES}" ]; then
add_module dm-crypt MODULES=" dm-crypt $(all_modules "/crypto/") "
if [[ $CRYPTO_MODULES ]]; then
for mod in $CRYPTO_MODULES; do
add_module "$mod"
done
else else
add_all_modules '/crypto/' MODULES=" dm-crypt ${CRYPTO_MODULES} "
fi fi
add_binary "cryptsetup" FILES=""
add_binary "dmsetup" SCRIPT="encrypt"
[ -f "/sbin/cryptsetup" ] && add_binary "/sbin/cryptsetup" "/sbin/cryptsetup"
[ -f "/usr/sbin/cryptsetup" ] && add_binary "/usr/sbin/cryptsetup" "/sbin/cryptsetup"
add_binary "/sbin/dmsetup"
add_file "/usr/lib/udev/rules.d/10-dm.rules" add_file "/usr/lib/udev/rules.d/10-dm.rules"
add_file "/usr/lib/udev/rules.d/13-dm-disk.rules" add_file "/usr/lib/udev/rules.d/13-dm-disk.rules"
add_file "/usr/lib/udev/rules.d/95-dm-notify.rules" add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"
add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules" add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/lib/udev/rules.d/11-dm-initramfs.rules"
add_runscript
} }
help() { help() {