firmware/src/packages/fff/fff-ra/Makefile
Fabian Blaese 30818f0ab1 packages/fff: Add fff-ra package
This Package adds a router advertisement daemon and
appropriate Freifunk Franken specific configuration for it.

The ra_default option is set to '2' to force the default flag,
even if no default route for ipv6 is present.
This is necessary, because otherwise fc00::/7 targets would be
unreachable, since odhcpd is unable to send specific routes inside a RA.
This won't affect clients ability to reach hosts which have a dual stack
connection, typical network stacks prefer IPv4 over IPv6 ULA when no
public IPv6 address is available.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
2019-01-29 22:25:27 +01:00

41 lines
770 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-ra
PKG_VERSION:=1
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-ra
include $(INCLUDE_DIR)/package.mk
define Package/fff-ra
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken Router Advertisements
URL:=https://www.freifunk-franken.de
DEPENDS:=+odhcpd
endef
define Package/fff-ra/description
This is the fff-ra for the Freifunk Franken Firmware
It is used to configure odhcpd to send Router Advertisements for use as gateway.
endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile
# nothing
endef
define Package/fff-ra/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fff-ra))