source: branches/packages_10.03.1/net/openswan/patches/140-generated_autoconf.patch @ 29244

Last change on this file since 29244 was 29244, checked in by nico, 5 years ago

[backfire] packages/openswan: merge r27922 & r28739 (update to 2.6.37)

File size: 10.2 KB
  • linux/include/ocf-compat.h

    a b  
    3535/****************************************************************************/ 
    3636#ifdef __KERNEL__ 
    3737#include <linux/version.h> 
    38 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    39 #include <linux/config.h> 
     38#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     39#include <generated/autoconf.h> 
     40#else 
     41#include <linux/autoconf.h> 
    4042#endif 
    41  
    4243/* 
    4344 * fake some BSD driver interface stuff specifically for OCF use 
    4445 */ 
  • linux/include/openswan/ipsec_kversion.h

    a b  
    4343 * We use a lot of config defines,  on older kernels that means we 
    4444 * need to include config.h 
    4545 */ 
    46 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    47 #include <linux/config.h> 
     46#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     47#include <generated/autoconf.h> 
     48#else 
     49#include <linux/autoconf.h> 
    4850#endif 
    49  
    5051#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) 
    5152/* Only enable IPv6 support on newer kernels with IPv6 enabled */ 
    5253# if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) 
  • linux/net/ipsec/aes/ipsec_alg_aes.c

    a b  
    2222 * 
    2323 */ 
    2424#include <linux/version.h> 
    25 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    26 #include <linux/config.h> 
     25#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     26#include <generated/autoconf.h> 
     27#else 
     28#include <linux/autoconf.h> 
    2729#endif 
    2830#include <linux/version.h> 
    2931 
  • linux/net/ipsec/des/ipsec_alg_3des.c

    a b  
    1919 * 
    2020 */ 
    2121#include <linux/version.h> 
    22 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    23 #include <linux/config.h> 
     22#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     23#include <generated/autoconf.h> 
     24#else 
     25#include <linux/autoconf.h> 
    2426#endif 
    2527#include <linux/version.h> 
    2628 
  • linux/net/ipsec/ipcomp.c

    a b  
    1919/* SSS */ 
    2020 
    2121#include <linux/version.h> 
    22 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    23 #include <linux/config.h> 
     22#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     23#include <generated/autoconf.h> 
     24#else 
     25#include <linux/autoconf.h> 
    2426#endif 
    25  
    2627#define __NO_VERSION__ 
    2728#include <linux/module.h> 
    2829#include <linux/kernel.h> /* printk() */ 
  • linux/net/ipsec/ipsec_ah.c

    a b  
    1414 */ 
    1515 
    1616#include <linux/version.h> 
    17 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    18 #include <linux/config.h> 
     17#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     18#include <generated/autoconf.h> 
     19#else 
     20#include <linux/autoconf.h> 
    1921#endif 
    20  
    2122#define __NO_VERSION__ 
    2223#include <linux/module.h> 
    2324#include <linux/kernel.h> /* printk() */ 
  • linux/net/ipsec/ipsec_alg.c

    a b  
    1919 * 
    2020 */ 
    2121#include <linux/version.h> 
    22 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    23 #include <linux/config.h> 
     22#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     23#include <generated/autoconf.h> 
     24#else 
     25#include <linux/autoconf.h> 
    2426#endif 
    25  
    2627#define __NO_VERSION__ 
    2728#include <linux/module.h> 
    2829#include <linux/kernel.h> /* printk() */ 
  • linux/net/ipsec/ipsec_alg_cryptoapi.c

    a b  
    2626 *   modprobe ipsec_cryptoapi des_ede3=0                 (everything but 3DES) 
    2727 */ 
    2828#include <linux/version.h> 
    29 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    30 #include <linux/config.h> 
     29#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     30#include <generated/autoconf.h> 
     31#else 
     32#include <linux/autoconf.h> 
    3133#endif 
    32  
    3334/*       
    3435 *      special case: ipsec core modular with this static algo inside: 
    3536 *      must avoid MODULE magic for this file 
  • linux/net/ipsec/ipsec_esp.c

    a b  
    1414 */ 
    1515 
    1616#include <linux/version.h> 
    17 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    18 #include <linux/config.h> 
     17#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     18#include <generated/autoconf.h> 
     19#else 
     20#include <linux/autoconf.h> 
    1921#endif 
    20  
    2122#define __NO_VERSION__ 
    2223#include <linux/module.h> 
    2324#include <linux/kernel.h> /* printk() */ 
  • linux/net/ipsec/ipsec_init.c

    a b  
    1919 */ 
    2020 
    2121#include <linux/version.h> 
    22 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    23 #include <linux/config.h> 
     22#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     23#include <generated/autoconf.h> 
     24#else 
     25#include <linux/autoconf.h> 
    2426#endif 
    2527#include <linux/module.h> 
    2628#include <linux/kernel.h> /* printk() */ 
  • linux/net/ipsec/ipsec_ipcomp.c

    a b  
    1414 */ 
    1515 
    1616#include <linux/version.h> 
    17 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    18 #include <linux/config.h> 
     17#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     18#include <generated/autoconf.h> 
     19#else 
     20#include <linux/autoconf.h> 
    1921#endif 
    20  
    2122#define __NO_VERSION__ 
    2223#include <linux/module.h> 
    2324#include <linux/kernel.h> /* printk() */ 
  • linux/net/ipsec/ipsec_ipip.c

    a b  
    1414 */ 
    1515 
    1616#include <linux/version.h> 
    17 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    18 #include <linux/config.h> 
     17#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     18#include <generated/autoconf.h> 
     19#else 
     20#include <linux/autoconf.h> 
    1921#endif 
    20  
    2122#define __NO_VERSION__ 
    2223#include <linux/module.h> 
    2324#include <linux/kernel.h> /* printk() */ 
  • linux/net/ipsec/ipsec_ocf.c

    a b  
    1616 */ 
    1717 
    1818#include <linux/version.h> 
    19 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    20 #include <linux/config.h> 
     19#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     20#include <generated/autoconf.h> 
     21#else 
     22#include <linux/autoconf.h> 
    2123#endif 
    22  
    2324#define __NO_VERSION__ 
    2425#include <linux/module.h> 
    2526#include <linux/kernel.h> /* printk() */ 
  • linux/net/ipsec/ipsec_ocf.h

    a b  
    1919 */ 
    2020 
    2121#include <linux/version.h> 
    22 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    23 #include <linux/config.h> 
     22#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     23#include <generated/autoconf.h> 
     24#else 
     25#include <linux/autoconf.h> 
    2426#endif 
    2527#include <linux/kernel.h> 
    2628 
  • linux/net/ipsec/ipsec_radij.c

    a b  
    1616 */ 
    1717 
    1818#include <linux/version.h> 
    19 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    20 #include <linux/config.h> 
     19#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     20#include <generated/autoconf.h> 
     21#else 
     22#include <linux/autoconf.h> 
    2123#endif 
    2224#include <linux/kernel.h> /* printk() */ 
    2325 
  • linux/net/ipsec/ipsec_rcv.c

    a b  
    2121 */ 
    2222 
    2323#include <linux/version.h> 
    24 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    25 #include <linux/config.h> 
     24#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     25#include <generated/autoconf.h> 
     26#else 
     27#include <linux/autoconf.h> 
    2628#endif 
    27  
    2829#define __NO_VERSION__ 
    2930#include <linux/module.h> 
    3031#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) && LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,26) 
  • linux/net/ipsec/ipsec_sa.c

    a b  
    1919 */ 
    2020 
    2121#include <linux/version.h> 
    22 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    23 #include <linux/config.h> 
     22#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     23#include <generated/autoconf.h> 
     24#else 
     25#include <linux/autoconf.h> 
    2426#endif 
    2527#include <linux/kernel.h> /* printk() */ 
    2628 
  • linux/net/ipsec/ipsec_snprintf.c

    a b  
    1919 */ 
    2020 
    2121#include <linux/version.h> 
    22 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    23 #include <linux/config.h> 
     22#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     23#include <generated/autoconf.h> 
     24#else 
     25#include <linux/autoconf.h> 
    2426#endif 
    2527#define __NO_VERSION__ 
    2628#include <linux/module.h> 
  • linux/net/ipsec/ipsec_tunnel.c

    a b  
    2424#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) && LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,26) 
    2525# include <linux/moduleparam.h> 
    2626#endif 
    27 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    28 #include <linux/config.h> 
     27#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     28#include <generated/autoconf.h> 
     29#else 
     30#include <linux/autoconf.h> 
    2931#endif 
    3032#include <linux/kernel.h> /* printk() */ 
    3133 
  • linux/net/ipsec/ipsec_xform.c

    a b  
    1717 */ 
    1818 
    1919#include <linux/version.h> 
    20 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    21 #include <linux/config.h> 
     20#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     21#include <generated/autoconf.h> 
     22#else 
     23#include <linux/autoconf.h> 
    2224#endif 
    2325#include <linux/kernel.h> /* printk() */ 
    2426 
  • linux/net/ipsec/pfkey_v2_ext_process.c

    a b  
    2020 */ 
    2121 
    2222#include <linux/version.h> 
    23 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    24 #include <linux/config.h> 
     23#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     24#include <generated/autoconf.h> 
     25#else 
     26#include <linux/autoconf.h> 
    2527#endif 
    2628#include <linux/kernel.h> /* printk() */ 
    2729 
  • linux/net/ipsec/pfkey_v2_parser.c

    a b  
    2323 
    2424 
    2525#include <linux/version.h> 
    26 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    27 #include <linux/config.h> 
     26#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     27#include <generated/autoconf.h> 
     28#else 
     29#include <linux/autoconf.h> 
    2830#endif 
    2931#include <linux/kernel.h> /* printk() */ 
    3032 
  • linux/net/ipsec/radij.c

    a b  
    5454 */ 
    5555 
    5656#include <linux/version.h> 
    57 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) && !defined(AUTOCONF_INCLUDED) 
    58 #include <linux/config.h> 
     57#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) 
     58#include <generated/autoconf.h> 
     59#else 
     60#include <linux/autoconf.h> 
    5961#endif 
    6062#include <linux/kernel.h> /* printk() */ 
    6163 
Note: See TracBrowser for help on using the repository browser.