wok-current rev 1032

linux: more crypto modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 11 07:45:28 2008 +0000 (2008-07-11)
parents e7272bdeb3bd
children 2b684895ee85
files linux-crypto/receipt linux/stuff/linux-2.6.25.5-slitaz.config linux/stuff/list_modules.sh syslinux-extra/receipt
line diff
     1.1 --- a/linux-crypto/receipt	Thu Jul 10 18:13:46 2008 +0000
     1.2 +++ b/linux-crypto/receipt	Fri Jul 11 07:45:28 2008 +0000
     1.3 @@ -16,7 +16,8 @@
     1.4      mkdir -p $fs/$path
     1.5      export src
     1.6      export _pkg
     1.7 -    $src/list_modules.sh crypto | while read module; do
     1.8 +    $src/list_modules.sh arch/x86/crypto crypto drivers/crypto | \
     1.9 +    while read module; do
    1.10      	dir=$path/$(dirname $module)
    1.11      	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.12          cp -a $_pkg/$path/$module $fs/$dir
     2.1 --- a/linux/stuff/linux-2.6.25.5-slitaz.config	Thu Jul 10 18:13:46 2008 +0000
     2.2 +++ b/linux/stuff/linux-2.6.25.5-slitaz.config	Fri Jul 11 07:45:28 2008 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  #
     2.5  # Automatically generated make config: don't edit
     2.6  # Linux kernel version: 2.6.25.5
     2.7 -# Thu Jul 10 12:41:39 2008
     2.8 +# Fri Jul 11 07:19:43 2008
     2.9  #
    2.10  # CONFIG_64BIT is not set
    2.11  CONFIG_X86_32=y
    2.12 @@ -2254,8 +2254,8 @@
    2.13  # CONFIG_CRYPTO_MD4 is not set
    2.14  CONFIG_CRYPTO_MD5=y
    2.15  CONFIG_CRYPTO_SHA1=y
    2.16 -# CONFIG_CRYPTO_SHA256 is not set
    2.17 -# CONFIG_CRYPTO_SHA512 is not set
    2.18 +CONFIG_CRYPTO_SHA256=m
    2.19 +CONFIG_CRYPTO_SHA512=m
    2.20  # CONFIG_CRYPTO_WP512 is not set
    2.21  # CONFIG_CRYPTO_TGR192 is not set
    2.22  # CONFIG_CRYPTO_GF128MUL is not set
    2.23 @@ -2269,13 +2269,14 @@
    2.24  # CONFIG_CRYPTO_CCM is not set
    2.25  # CONFIG_CRYPTO_CRYPTD is not set
    2.26  CONFIG_CRYPTO_DES=y
    2.27 -# CONFIG_CRYPTO_FCRYPT is not set
    2.28 -# CONFIG_CRYPTO_BLOWFISH is not set
    2.29 -# CONFIG_CRYPTO_TWOFISH is not set
    2.30 -# CONFIG_CRYPTO_TWOFISH_586 is not set
    2.31 -# CONFIG_CRYPTO_SERPENT is not set
    2.32 +CONFIG_CRYPTO_FCRYPT=m
    2.33 +CONFIG_CRYPTO_BLOWFISH=m
    2.34 +CONFIG_CRYPTO_TWOFISH=m
    2.35 +CONFIG_CRYPTO_TWOFISH_COMMON=m
    2.36 +CONFIG_CRYPTO_TWOFISH_586=m
    2.37 +CONFIG_CRYPTO_SERPENT=m
    2.38  CONFIG_CRYPTO_AES=m
    2.39 -# CONFIG_CRYPTO_AES_586 is not set
    2.40 +CONFIG_CRYPTO_AES_586=m
    2.41  # CONFIG_CRYPTO_CAST5 is not set
    2.42  # CONFIG_CRYPTO_CAST6 is not set
    2.43  # CONFIG_CRYPTO_TEA is not set
    2.44 @@ -2293,9 +2294,12 @@
    2.45  CONFIG_CRYPTO_AUTHENC=y
    2.46  # CONFIG_CRYPTO_LZO is not set
    2.47  CONFIG_CRYPTO_HW=y
    2.48 -# CONFIG_CRYPTO_DEV_PADLOCK is not set
    2.49 -# CONFIG_CRYPTO_DEV_GEODE is not set
    2.50 -# CONFIG_CRYPTO_DEV_HIFN_795X is not set
    2.51 +CONFIG_CRYPTO_DEV_PADLOCK=m
    2.52 +CONFIG_CRYPTO_DEV_PADLOCK_AES=m
    2.53 +CONFIG_CRYPTO_DEV_PADLOCK_SHA=m
    2.54 +CONFIG_CRYPTO_DEV_GEODE=m
    2.55 +CONFIG_CRYPTO_DEV_HIFN_795X=m
    2.56 +CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y
    2.57  CONFIG_HAVE_KVM=y
    2.58  CONFIG_VIRTUALIZATION=y
    2.59  CONFIG_KVM=m
     3.1 --- a/linux/stuff/list_modules.sh	Thu Jul 10 18:13:46 2008 +0000
     3.2 +++ b/linux/stuff/list_modules.sh	Fri Jul 11 07:45:28 2008 +0000
     3.3 @@ -13,7 +13,7 @@
     3.4    exit 1
     3.5  fi
     3.6  
     3.7 -if [ -z "$(ls -d $_pkg/lib/modules/*-slitaz/kernel/$1 2>-)" ] ; then
     3.8 +if [ -z "$(ls -d $_pkg/lib/modules/*-slitaz/kernel/$1 2> /dev/null)" ] ; then
     3.9    cat 1>&2 <<EOT
    3.10    
    3.11  Error : $1 does not exist.
     4.1 --- a/syslinux-extra/receipt	Thu Jul 10 18:13:46 2008 +0000
     4.2 +++ b/syslinux-extra/receipt	Fri Jul 11 07:45:28 2008 +0000
     4.3 @@ -13,9 +13,9 @@
     4.4  genpkg_rules()
     4.5  {
     4.6      mkdir -p $fs/usr/share/boot
     4.7 -    lzma e $src/memdisk/memdisk $fs/usr/share/boot/memdisk.lzma 2>-
     4.8 +    lzma e $src/memdisk/memdisk $fs/usr/share/boot/memdisk.lzma 2> /dev/null
     4.9      cp -a $src/mbr/mbr.bin $fs/usr/share/boot
    4.10 -    lzma e $src/core/pxelinux.0 $fs/usr/share/boot/pxelinux.0.lzma 2>-
    4.11 +    lzma e $src/core/pxelinux.0 $fs/usr/share/boot/pxelinux.0.lzma 2> /dev/null
    4.12      #lzma e $src/com32/menu/vesamenu.c32 $fs/usr/share/boot/vesamenu.c32.lzma
    4.13      #lzma e $src/com32/modules/mboot.c32 $fs/usr/share/boot/mboot.c32.lzma
    4.14      cp $src/com32/modules/sdi.c32 $fs/usr/share/boot/