tunneldigger-broker: update to v0.4.0
authorPerry Melange <isprotejesvalkata@gmail.com>
Sun, 6 Aug 2023 15:05:41 +0000 (17:05 +0200)
committerNick Hainke <vincent@systemli.org>
Sun, 20 Aug 2023 00:25:27 +0000 (02:25 +0200)
Include new hook script to build

Signed-off-by: Perry Melange <isprotejesvalkata@gmail.com>
net/tunneldigger-broker/Makefile

index 42605406e4d7bef6f415a516a90870053de79117..44f69fdffa55cf8e20ca74a4e65a0ca1c6b50e88 100644 (file)
@@ -5,15 +5,13 @@ PKG_RELEASE:=1
 
 PKG_SOURCE_URL:=https://github.com/wlanslovenija/tunneldigger.git
 PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=4f72b30578ac3dbc5482f4a54054bf870355bdf5
-PKG_MIRROR_HASH:=e93b986b60475c16b0022ba4f5da981929cc3d6992c632f41264804912825473
+PKG_SOURCE_VERSION:=v0.4.0
+PKG_MIRROR_HASH:=c67a0e626cec571823085a7a28bc72fcaa077669cac52c441b0dde02d676e16c
 
 PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
 PKG_LICENSE:=AGPL-3.0
 PKG_LICENSE_FILES:=COPYING
 
-PKG_BUILD_DEPENDS:=python-cffi/host
-
 include ../../lang/python/pypi.mk
 include $(INCLUDE_DIR)/package.mk
 include ../../lang/python/python3-package.mk
@@ -22,22 +20,18 @@ define Package/tunneldigger-broker
   SECTION:=net
   CATEGORY:=Network
   DEPENDS:= \
-       +ip-full \
+       +ip \
        +kmod-l2tp \
-       +kmod-l2tp-ip \
        +kmod-l2tp-eth \
        +kmod-sched \
-       +libnetfilter-conntrack \
        +libnfnetlink \
        +libnl-tiny \
        +libpthread \
        +librt \
-       +python3-cffi \
        +python3-ctypes \
        +python3-light \
        +python3-logging \
-       +python3-six \
-       +tc-full
+       +tc-tiny
   TITLE:=Broker for L2TPv3 tunnels using tunneldigger
   URL:=https://github.com/wlanslovenija/tunneldigger
 endef
@@ -48,7 +42,7 @@ support for L2TPv3 tunnels over UDP. This package contains the broker.
 endef
 
 PYTHON3_PKG_SETUP_DIR:=broker
-PYTHON3_PKG_WHEEL_VERSION:=0.4.0.dev1
+PYTHON3_PKG_WHEEL_VERSION:=0.4.0
 
 define Py3Package/tunneldigger-broker/install
        $(INSTALL_DIR) $(1)/lib/functions
@@ -57,6 +51,7 @@ define Py3Package/tunneldigger-broker/install
        $(INSTALL_BIN) ./files/hook-setup $(1)/usr/lib/tunneldigger-broker/hooks/setup
        $(INSTALL_BIN) ./files/hook-teardown $(1)/usr/lib/tunneldigger-broker/hooks/teardown
        $(INSTALL_BIN) ./files/hook-mtu-changed $(1)/usr/lib/tunneldigger-broker/hooks/mtu-changed
+       $(INSTALL_BIN) ./files/hook-connection-rate-limit $(1)/usr/lib/tunneldigger-broker/hooks/connection-rate-limit
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/tunneldigger-broker.init $(1)/etc/init.d/tunneldigger-broker
        $(INSTALL_DIR) $(1)/etc/config