Ticket #8928: 0004-Package-the-seqiv-module.patch

File 0004-Package-the-seqiv-module.patch, 1.1 KB (added by kevinoid, 6 years ago)

Patch to add a package for the seqiv module

  • package/kernel/modules/crypto.mk

    From 7a3a2c3518823222b928f84fa0e1f0e85224b0c3 Mon Sep 17 00:00:00 2001
    From: Kevin Locke <klocke@digitalenginesoftware.com>
    Date: Wed, 23 Feb 2011 12:41:55 -0700
    Subject: [PATCH 4/8] Package the seqiv module
    
    This module is required for many (all?) IPSec configurations.
    
    Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>
    ---
     package/kernel/modules/crypto.mk |   12 ++++++++++++
     1 files changed, 12 insertions(+), 0 deletions(-)
    
    diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
    index 74f811b..15bcf47 100644
    a b endef 
    429429$(eval $(call KernelPackage,crypto-null)) 
    430430 
    431431 
     432define KernelPackage/crypto-seqiv 
     433  TITLE:=Generates an IV based on a sequence number by xoring it with a salt. 
     434  DEPENDS:=+kmod-crypto-ivs 
     435  KCONFIG:=CONFIG_CRYPTO_SEQIV 
     436  FILES:=$(LINUX_DIR)/crypto/seqiv.ko 
     437  AUTOLOAD:=$(call AutoLoad,09,seqiv) 
     438  $(call AddDepends/crypto) 
     439endef 
     440 
     441$(eval $(call KernelPackage,crypto-seqiv)) 
     442 
     443 
    432444define KernelPackage/crypto-test 
    433445  TITLE:=Test CryptoAPI module 
    434446  KCONFIG:=CONFIG_CRYPTO_TEST