mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
f34eeeeb9a
The package hash does not match the one of the package found on the
mirrors and which is generated when I do the git clone.
Fixes: 4856fa30a6
("nat46: import for routing, add myself as maintainer")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
36 lines
946 B
Makefile
36 lines
946 B
Makefile
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=nat46
|
|
|
|
PKG_MIRROR_HASH:=3f5ef0a56e9b02c3ec10ec95f3f81c0ed04b983b2d857c16304c379106d6beb6
|
|
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))
|