mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
5d2b577a53
You shouldn't need the overhead of GRE just to add multicast
capability on a point-to-point interface (for instance, you might
want to run mDNS over IPsec transport connections, and Avahi
requires IFF_MULTICAST be set on interfaces, even point-to-point
ones).
Borrowed heavily from:
b3c9321b9e
gre: Support multicast configurable gre interfaces
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
39 lines
744 B
Makefile
39 lines
744 B
Makefile
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=xfrm
|
|
PKG_RELEASE:=3
|
|
PKG_LICENSE:=GPL-2.0
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/xfrm/Default
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
MAINTAINER:=Andre Valentin <avalentin@marcant.net>
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/xfrm
|
|
$(call Package/xfrm/Default)
|
|
TITLE:=XFRM IPsec Tunnel Interface config support
|
|
DEPENDS:=+kmod-xfrm-interface
|
|
endef
|
|
|
|
define Package/xfrm/description
|
|
XFRM IPsec Tunnel Interface config support (IPv4 and IPv6) in /etc/config/network.
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Package/xfrm/install
|
|
$(INSTALL_DIR) $(1)/lib/netifd/proto
|
|
$(INSTALL_BIN) ./files/xfrm.sh $(1)/lib/netifd/proto/xfrm.sh
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,xfrm))
|