Changeset b8b126f in freewrt


Ignore:
Timestamp:
May 15, 2007, 10:05:40 AM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Children:
61df64e
Parents:
5963d7d
Message:

unbreak build, this is just a hack and needs to be reworked, to be more modular, any volunteer?

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2516 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/iptables
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package/iptables/Config.in

    r5963d7d rb8b126f  
    2020          http://www.iptables.org/
    2121
    22 config FWRT_PACKAGE_IPTABLES_MOD_CONNTRACK
    23         prompt   "iptables-mod-conntrack.......... Iptables extensions for connection tracking"
    24         tristate
    25         default n
    26         depends FWRT_PACKAGE_IPTABLES
    27         help
    28           Iptables (IPv4) extensions for connection tracking
    29 
    30           Includes:
    31             * libipt_conntrack
    32             * libipt_helper
    33             * libipt_connmark/CONNMARK
    34 
    35 config FWRT_PACKAGE_IPTABLES_MOD_FILTER
    36         prompt   "iptables-mod-filter............. Iptables extension for packet content inspection"
    37         tristate
    38         default n
    39         depends FWRT_PACKAGE_IPTABLES
    40         help
    41           Iptables (IPv4) extension for packet content inspection
    42 
    43           Includes:
    44             * libipt_ipp2p
    45             * libipt_layer7
    46 
    47 config FWRT_PACKAGE_IPTABLES_MOD_IMQ
    48         prompt "iptables-mod-imq................ Iptables extensions for Intermediate Queuing Device QoS-support"
    49         tristate
    50         default n
    51         depends FWRT_PACKAGE_IPTABLES
    52         help
    53           Iptables (IPv4) extensions for Intermediate Queuing Device QoS-support
    54 
    55           Includes:
    56             * libipt_IMQ
    57 
    58 config FWRT_PACKAGE_IPTABLES_MOD_IPOPT
    59         prompt   "iptables-mod-ipopt.............. Iptables extensions for matching/changing IP packet options"
    60         tristate
    61         default n
    62         depends FWRT_PACKAGE_IPTABLES
    63         help
    64           Extra Iptables (IPv4) extensions for matching/changing IP packet options
    65 
    66           Includes:
    67             * libipt_CLASSIFY
    68             * libipt_dscp/DSCP
    69             * libipt_ecn/ECN
    70             * libipt_length
    71             * libipt_mac
    72             * libipt_NETMAP
    73             * libipt_tcpmms
    74             * libipt_time
    75             * libipt_tos/TOS
    76             * libipt_ttl/TTL
    77             * libipt_unclean
    78 
    79 config FWRT_PACKAGE_IPTABLES_MOD_IPSEC
    80         prompt   "iptables-mod-ipsec.............. Iptables extensions for matching special IPsec packets"
    81         tristate
    82         default n
    83         depends FWRT_PACKAGE_IPTABLES
    84         help
    85           Iptables (IPv4) extensions for matching special IPsec packets
    86 
    87           Includes:
    88             * libipt_ah
    89             * libipt_esp
    90 
    91 config FWRT_PACKAGE_IPTABLES_MOD_NAT
    92         prompt   "iptables-mod-nat................ Iptables extensions for different NAT targets"
    93         tristate
    94         default n
    95         depends FWRT_PACKAGE_IPTABLES
    96         help
    97           Iptables (IPv4) extensions for different NAT targets
    98 
    99           Includes:
    100             * libipt_REDIRECT
    101 
    102 config FWRT_PACKAGE_IPTABLES_MOD_ULOG
    103         prompt   "iptables-mod-ulog............... Iptables extensions for user-space packet logging"
    104         tristate
    105         default n
    106         depends FWRT_PACKAGE_IPTABLES
    107         help
    108           Iptables (IPv4) extensions for user-space packet logging
    109 
    110           Includes:
    111             * libipt_ULOG
    112 
    113 config FWRT_PACKAGE_IPTABLES_MOD_EXTRA
    114         prompt   "iptables-mod-extra.............. Other extra Iptables extensions"
    115         tristate
    116         default n
    117         depends FWRT_PACKAGE_IPTABLES
    118         help
    119           Other extra Iptables (IPv4) extensions
    120 
    121           Includes:
    122             * libipt_limit
    123             * libipt_owner
    124             * libipt_physdev
    125             * libipt_pkttype
    126             * libipt_recent
    127 
    12822config FWRT_PACKAGE_IPTABLES_UTILS
    12923        prompt   "iptables-utils.................. Save and restore utilities"
  • package/iptables/Makefile

    r5963d7d rb8b126f  
    99PKG_NAME:=              iptables
    1010PKG_VERSION:=           1.3.7
    11 PKG_RELEASE:=           3
     11PKG_RELEASE:=           4
    1212PKG_MD5SUM:=            dd965bdacbb86ce2a6498829fddda6b7
    1313PKG_SOURCE_URL:=        http://www.netfilter.org/projects/iptables/files \
     
    2020include ${LINUX_DIR}/.config
    2121
    22 define IPKG_plugin_template
    23 
    24 SUB_INSTALL-$${FWRT_PACKAGE_${1}}+=     ${1}-install
    25 ifneq ($$(strip ${3}),)
    26 SUB_INSTALL-$${FWRT_PACKAGE_${1}}+=     ${3}
    27 endif
    28 
    29 ${1}-install:
    30         $${INSTALL_DIR} $${IDIR_${1}}/usr/lib/iptables
    31         for m in $${patsubst xt_%,ipt_%,$${notdir ${2}}}; do \
    32                 $${CP} $${WRKINST}/usr/lib/iptables/lib$$$${m}.so $${IDIR_${1}}/usr/lib/iptables/ ; \
    33         done
    34 endef
    35 
    3622$(eval $(call PKG_template,IPTABLES,iptables,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    3723$(eval $(call PKG_template,IPTABLES_UTILS,iptables-utils,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    3824$(eval $(call PKG_template,IP6TABLES,ip6tables,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    39 
    40 $(eval $(call PKG_template,IPTABLES_MOD_CONNTRACK,iptables-mod-conntrack,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    41 $(eval $(call PKG_template,IPTABLES_MOD_EXTRA,iptables-mod-extra,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    42 $(eval $(call PKG_template,IPTABLES_MOD_FILTER,iptables-mod-filter,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    43 $(eval $(call PKG_template,IPTABLES_MOD_IMQ,iptables-mod-imq,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    44 $(eval $(call PKG_template,IPTABLES_MOD_IPOPT,iptables-mod-ipopt,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    45 $(eval $(call PKG_template,IPTABLES_MOD_IPSEC,iptables-mod-ipsec,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    46 $(eval $(call PKG_template,IPTABLES_MOD_NAT,iptables-mod-nat,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    47 $(eval $(call PKG_template,IPTABLES_MOD_ULOG,iptables-mod-ulog,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    48 
    49 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_CONNTRACK,${IPT_CONNTRACK-m}))
    50 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_EXTRA,${IPT_EXTRA-m}))
    51 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_FILTER,${IPT_FILTER-m},layer7-install))
    52 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_IMQ,${IPT_IMQ-m}))
    53 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_IPOPT,${IPT_IPOPT-m}))
    54 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_IPSEC,${IPT_IPSEC-m}))
    55 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_NAT,${IPT_NAT-m}))
    56 $(eval $(call IPKG_plugin_template,IPTABLES_MOD_ULOG,${IPT_ULOG-m}))
    5725
    5826BUILD_STYLE:=           auto
     
    7543        ${INSTALL_BIN} ${WRKINST}/usr/sbin/iptables ${IDIR_IPTABLES}/usr/sbin/
    7644        (cd ${WRKINST}/usr/lib/iptables ; \
    77                 ${INSTALL_DATA} ${patsubst %,lib%.so,${patsubst xt_%,ipt_%,${notdir ${IPT_BUILTIN}}}} ${IDIR_IPTABLES}/usr/lib/iptables/ \
     45                ${INSTALL_DATA} libipt_*.so ${IDIR_IP6TABLES}/usr/lib/iptables/ \
    7846        )
    7947
Note: See TracChangeset for help on using the changeset viewer.