mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-14 01:13:09 +00:00
* feat: update awg tools * feat: update kmod-awg * feat: update luci awg * feat: update build-module.yml * feat: update amneziawg-install.sh * feat: update README.md * fix: fix paths * fix: fix adding packages * fix: fix regexp * fix: fix feeds install * chore: disable run-release.yml * feat: add rus lang package * fix: install python3-pyelftools in build job * feat: add manual start for build * chore: remove build to all snapshots
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=amneziawg-tools
|
|
PKG_VERSION:=1.0.20250903
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/amnezia-vpn/amneziawg-tools.git
|
|
# Version: latest stable release tag
|
|
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
|
|
|
|
PKG_LICENSE:=GPL-2.0
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
MAKE_PATH:=src
|
|
MAKE_VARS += PLATFORM=linux
|
|
|
|
define Package/amneziawg-tools
|
|
CATEGORY:=Network
|
|
SUBMENU:=VPN
|
|
URL:=https://amnezia.org/
|
|
MAINTAINER:=Amnezia Admin <admin@amnezia.org>
|
|
TITLE:=AmneziaWG userspace control program (awg)
|
|
DEPENDS:= \
|
|
+@BUSYBOX_CONFIG_IP \
|
|
+@BUSYBOX_CONFIG_FEATURE_IP_LINK
|
|
endef
|
|
|
|
define Package/amneziawg-tools/description
|
|
Amnezia VPN — simple and free app to run a self-hosted VPN with
|
|
high privacy requirements.
|
|
|
|
This package provides the userspace control program for AmneziaWG,
|
|
`awg`, a netifd protocol helper, and a re-resolve watchdog script.
|
|
endef
|
|
|
|
define Package/amneziawg-tools/install
|
|
$(INSTALL_DIR) $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wg $(1)/usr/bin/awg
|
|
$(INSTALL_BIN) ./files/amneziawg_watchdog $(1)/usr/bin/
|
|
$(INSTALL_DIR) $(1)/lib/netifd/proto/
|
|
$(INSTALL_BIN) ./files/amneziawg.sh $(1)/lib/netifd/proto/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,amneziawg-tools))
|