diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-01-27 13:06:40 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-01-27 18:29:52 +0100 |
commit | 4856fa30a6c6b6fca5e036a226e3e4658105d9c7 (patch) | |
tree | 89cc953adefda4e3244e67e43556177c461724cb | |
parent | 9c01273e5e7b3929ad46d974685ec29de207a8de (diff) | |
download | upstream-4856fa30a6c6b6fca5e036a226e3e4658105d9c7.tar.gz upstream-4856fa30a6c6b6fca5e036a226e3e4658105d9c7.tar.bz2 upstream-4856fa30a6c6b6fca5e036a226e3e4658105d9c7.zip |
nat46: import for routing, add myself as maintainer
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r-- | package/kernel/nat46/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/kernel/nat46/Makefile b/package/kernel/nat46/Makefile new file mode 100644 index 0000000000..b8caa2447b --- /dev/null +++ b/package/kernel/nat46/Makefile @@ -0,0 +1,35 @@ +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=nat46 + +PKG_MIRROR_HASH:=18b36fcb30c6c56e39c20f3363f806f909d08bb21041ac5c930c9216b6d3e2aa +PKG_SOURCE_URL:=https://github.com/ayourtch/nat46.git +PKG_SOURCE_DATE:=2017-05-12 +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=683fbd2b765506332a1af141545652bf58f03166 + +PKG_MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com> +PKG_LICENSE:=GPL-2.0 + +include $(INCLUDE_DIR)/package.mk + +define KernelPackage/nat46 + DEPENDS:=@IPV6 + TITLE:=Stateless NAT46 translation kernel module + SECTION:=kernel + SUBMENU:=Network Support + FILES:=$(PKG_BUILD_DIR)/nat46/modules/nat46.ko + AUTOLOAD:=$(call AutoLoad,33,nat46) +endef + +include $(INCLUDE_DIR)/kernel-defaults.mk + +define Build/Compile + $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)/nat46/modules" \ + MODFLAGS="-DMODULE -mlong-calls" \ + EXTRA_CFLAGS="-DNAT46_VERSION=\\\"$(PKG_SOURCE_VERSION)\\\"" \ + modules +endef + +$(eval $(call KernelPackage,nat46)) |