|
|
@ -8,13 +8,13 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=fastd |
|
|
|
PKG_VERSION:=17 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_VERSION:=18 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
PKG_MAINTAINER:=Matthias Schiffer <mschiffer@universe-factory.net> |
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
|
PKG_SOURCE_URL:=https://projects.universe-factory.net/attachments/download/81 |
|
|
|
PKG_MD5SUM:=bad4f1948702f418b799578f83a0edb8 |
|
|
|
PKG_SOURCE_URL:=https://projects.universe-factory.net/attachments/download/86 |
|
|
|
PKG_MD5SUM:=e53236d3049f64f7955ad9556da099eb |
|
|
|
|
|
|
|
PKG_LICENSE:=BSD-2-Clause |
|
|
|
PKG_LICENSE_FILES:=COPYRIGHT |
|
|
@ -34,6 +34,7 @@ PKG_CONFIG_DEPENDS:=\ |
|
|
|
CONFIG_FASTD_ENABLE_CIPHER_SALSA2012 \
|
|
|
|
CONFIG_FASTD_ENABLE_MAC_GHASH \
|
|
|
|
CONFIG_FASTD_ENABLE_MAC_UHASH \
|
|
|
|
CONFIG_FASTD_WITH_CAPABILITIES \
|
|
|
|
CONFIG_FASTD_WITH_CMDLINE_USER \
|
|
|
|
CONFIG_FASTD_WITH_CMDLINE_LOGGING \
|
|
|
|
CONFIG_FASTD_WITH_CMDLINE_OPERATION \
|
|
|
@ -50,7 +51,7 @@ include $(INCLUDE_DIR)/cmake.mk |
|
|
|
define Package/fastd |
|
|
|
SECTION:=net |
|
|
|
CATEGORY:=Network |
|
|
|
DEPENDS:=+kmod-tun +librt +libpthread +FASTD_WITH_STATUS_SOCKET:libjson-c |
|
|
|
DEPENDS:=+kmod-tun +librt +libpthread +FASTD_WITH_STATUS_SOCKET:libjson-c +FASTD_WITH_CAPABILITIES:libcap |
|
|
|
TITLE:=Fast and Secure Tunneling Daemon |
|
|
|
URL:=https://projects.universe-factory.net/projects/fastd |
|
|
|
SUBMENU:=VPN |
|
|
@ -79,13 +80,13 @@ CMAKE_OPTIONS += \ |
|
|
|
-DWITH_CIPHER_SALSA2012:BOOL=FALSE \
|
|
|
|
-DWITH_MAC_GHASH:BOOL=FALSE \
|
|
|
|
-DWITH_MAC_UHASH:BOOL=FALSE \
|
|
|
|
-DWITH_CAPABILITIES:BOOL=FALSE \
|
|
|
|
-DWITH_CMDLINE_USER:BOOL=FALSE \
|
|
|
|
-DWITH_CMDLINE_LOGGING:BOOL=FALSE \
|
|
|
|
-DWITH_CMDLINE_OPERATION:BOOL=FALSE \
|
|
|
|
-DWITH_CMDLINE_COMMANDS:BOOL=FALSE \
|
|
|
|
-DWITH_DYNAMIC_PEERS:BOOL=FALSE \
|
|
|
|
-DWITH_STATUS_SOCKET:BOOL=FALSE \
|
|
|
|
-DWITH_CAPABILITIES:BOOL=FALSE \
|
|
|
|
-DENABLE_SYSTEMD:BOOL=FALSE \
|
|
|
|
-DENABLE_LIBSODIUM:BOOL=FALSE \
|
|
|
|
-DENABLE_LTO:BOOL=TRUE |
|
|
@ -150,6 +151,11 @@ CMAKE_OPTIONS += -DWITH_MAC_UHASH:BOOL=TRUE |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_FASTD_WITH_CAPABILITIES),y) |
|
|
|
CMAKE_OPTIONS += -DWITH_CAPABILITIES:BOOL=TRUE |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_FASTD_WITH_CMDLINE_USER),y) |
|
|
|
CMAKE_OPTIONS += -DWITH_CMDLINE_USER:BOOL=TRUE |
|
|
|
endif |
|
|
|