diff options
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL')
-rw-r--r-- | obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL/control | 9 | ||||
-rwxr-xr-x | obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL/rules | 32 |
2 files changed, 41 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL/control b/obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL/control new file mode 100644 index 000000000..957732b16 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL/control @@ -0,0 +1,9 @@ +Package: kmod-ipt6 +Architecture: mipsel +Version: 2.4.20-1 +Section: kernel +Priority: optional +Maintainer: Sebastien NOEL <me@twolife.org> +Source: Embedded in the main OpenWrt buildroot +Depends: kmod-ipv6, ip6tables +Description: ip6tables kernel modules diff --git a/obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL/rules b/obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL/rules new file mode 100755 index 000000000..82afed80a --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/kmod-ipt6/CONTROL/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +ifeq ($(strip $(TOPDIR)),) +TOPDIR := $(shell pwd)/../../../.. +endif + + +PACKAGE := kmod-ipt6 + +MY_INSTALL_DIR := /tmp/$(PACKAGE) + + +build: + + +install: + rm -rf $(MY_INSTALL_DIR) + install -m0755 -d $(MY_INSTALL_DIR)/lib/ + bzcat $(TOPDIR)/openwrt-kmodules.tar.bz2 | tar -C $(MY_INSTALL_DIR)/lib/ -xvf - \ + modules/2.4.20/kernel/net/ipv6/netfilter/*.o \ + + install -m0755 -d $(MY_INSTALL_DIR)/lib/modules/2.4.20/ipt6 + mv -f \ + $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/net/ipv6/netfilter/*.o \ + $(MY_INSTALL_DIR)/lib/modules/2.4.20/ipt6/ + + rm -rf \ + $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel + + +clean: + |