From 29df3559dfa14deb44bad44bb7f76ff18101523a Mon Sep 17 00:00:00 2001 From: Andrew Wiley Date: Sun, 8 Sep 2013 12:02:36 -0500 Subject: [PATCH 1/2] add NAT support to linux-kirkwood-dt --- core/linux-kirkwood-dt/config | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/core/linux-kirkwood-dt/config b/core/linux-kirkwood-dt/config index a6156e17f..daf83b2c1 100644 --- a/core/linux-kirkwood-dt/config +++ b/core/linux-kirkwood-dt/config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 3.9.0-1 Kernel Configuration +# Linux/arm 3.9.0-3 Kernel Configuration # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y @@ -615,6 +615,16 @@ CONFIG_NF_CONNTRACK_TFTP=m CONFIG_NF_CT_NETLINK=m # CONFIG_NF_CT_NETLINK_TIMEOUT is not set # CONFIG_NETFILTER_NETLINK_QUEUE_CT is not set +CONFIG_NF_NAT=m +CONFIG_NF_NAT_NEEDED=y +CONFIG_NF_NAT_PROTO_DCCP=m +CONFIG_NF_NAT_PROTO_UDPLITE=m +CONFIG_NF_NAT_PROTO_SCTP=m +CONFIG_NF_NAT_AMANDA=m +CONFIG_NF_NAT_FTP=m +CONFIG_NF_NAT_IRC=m +CONFIG_NF_NAT_SIP=m +CONFIG_NF_NAT_TFTP=m CONFIG_NETFILTER_TPROXY=m CONFIG_NETFILTER_XTABLES=m @@ -639,10 +649,12 @@ CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m CONFIG_NETFILTER_XT_TARGET_LED=m # CONFIG_NETFILTER_XT_TARGET_LOG is not set CONFIG_NETFILTER_XT_TARGET_MARK=m +CONFIG_NETFILTER_XT_TARGET_NETMAP=m CONFIG_NETFILTER_XT_TARGET_NFLOG=m CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m # CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set CONFIG_NETFILTER_XT_TARGET_RATEEST=m +CONFIG_NETFILTER_XT_TARGET_REDIRECT=m CONFIG_NETFILTER_XT_TARGET_TEE=m CONFIG_NETFILTER_XT_TARGET_TPROXY=m CONFIG_NETFILTER_XT_TARGET_TRACE=m @@ -712,7 +724,13 @@ CONFIG_IP_NF_MATCH_TTL=m CONFIG_IP_NF_FILTER=m CONFIG_IP_NF_TARGET_REJECT=m CONFIG_IP_NF_TARGET_ULOG=m -# CONFIG_NF_NAT_IPV4 is not set +CONFIG_NF_NAT_IPV4=m +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_NF_NAT_PROTO_GRE=m +CONFIG_NF_NAT_PPTP=m +CONFIG_NF_NAT_H323=m CONFIG_IP_NF_MANGLE=m # CONFIG_IP_NF_TARGET_CLUSTERIP is not set CONFIG_IP_NF_TARGET_ECN=m @@ -744,7 +762,9 @@ CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_MANGLE=m CONFIG_IP6_NF_RAW=m # CONFIG_IP6_NF_SECURITY is not set -# CONFIG_NF_NAT_IPV6 is not set +CONFIG_NF_NAT_IPV6=m +CONFIG_IP6_NF_TARGET_MASQUERADE=m +CONFIG_IP6_NF_TARGET_NPT=m CONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m CONFIG_BRIDGE_EBT_T_FILTER=m From 9ad30fc24030b3e6a9b97a7ecdae27fee4667b4f Mon Sep 17 00:00:00 2001 From: Andrew Wiley Date: Sun, 8 Sep 2013 12:18:07 -0500 Subject: [PATCH 2/2] add checksum update for kernel config change --- core/linux-kirkwood-dt/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/linux-kirkwood-dt/PKGBUILD b/core/linux-kirkwood-dt/PKGBUILD index 20ee1e12c..a6d0264bc 100644 --- a/core/linux-kirkwood-dt/PKGBUILD +++ b/core/linux-kirkwood-dt/PKGBUILD @@ -26,7 +26,7 @@ source=('support.patch' "http://algo.ing.unimo.it/people/paolo/disk_sched/patches/3.8.0-v6/0002-block-introduce-the-BFQ-v6-I-O-sched-for-3.8.patch") md5sums=('f5d3635da03cb45904bedd69b47133de' - '721dcb06f49973b678a8bb7a27fc3ccd' + '22606bb1a818cfa81b635b03eda3311f' 'd00814b57448895e65fbbc800e8a58ba' 'c38fa5f5065be065282887e0a3e2dc63' 'd5c4e024aa5843d645faba0ac256f782' @@ -83,7 +83,7 @@ build() { # load configuration # Configure the kernel. Replace the line below with one of your choice. #make menuconfig # CLI menu for configuration - #make nconfig # new CLI menu for configuration + make nconfig # new CLI menu for configuration #make xconfig # X-based configuration #make oldconfig # using old config from previous kernel version # ... or manually edit .config @@ -94,8 +94,8 @@ build() { #################### # stop here # this is useful to configure the kernel - #msg "Stopping build" - #return 1 + msg "Stopping build" + return 1 #################### #yes "" | make config