Build packages / CI (push) Blocked by required conditions
Build packages / Version (push) Waiting to run
CI / Web (format, types, tests, bundles) (push) Blocked by required conditions
CI / ShellCheck (push) Blocked by required conditions
CI / ucode static checks (push) Blocked by required conditions
CI / ucode compiles and tests pass (OpenWrt 24.10) (push) Blocked by required conditions
CI / ucode compiles and tests pass (OpenWrt 25.12) (push) Blocked by required conditions
- The device menu (⋯) is an iOS-style menu on frosted glass: the copy actions show the address they copy, Rename, Reconnect and Remove sit under them, and one highlight glides from row to row - The language picker shows flags; pick a language with a click, or press the pill and slide onto one. The flag and the code change in place - The page's QR code opens as a small card under its button, with Copy link and Share - All dropdowns look and behave the same: frosted glass, one open at a time, and a press outside, Escape or the button again closes them - Setting a device up: when it can't finish connecting or connects but passes no data, the sheet keeps just the status and what it means. No data now says the router drops its traffic because the address doesn't match, and the device's card says "Connected, but no data" right away instead of "Connected" - Setting a phone up from another device: Download and Copy for the connection sit on its row, next to the arrow - On iPhone and iPad the caret shows as soon as a field is focused, the page no longer zooms on a pinch or a double tap, and sheets and their animations run smoother - A press near the edge of a button or a card always counts, even as it shrinks under the pointer - Animations settle without a jump at the end - New green, orange and red - The focus ring shows only while moving around with the keyboard
62 lines
2.4 KiB
Makefile
62 lines
2.4 KiB
Makefile
# SPDX-License-Identifier: MIT
|
|
#
|
|
# Dawnline — AmneziaWG access server for OpenWrt with a LuCI admin UI and a
|
|
# personal self-service portal.
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-dawnline
|
|
PKG_VERSION:=0.15.0
|
|
PKG_RELEASE:=1
|
|
PKG_LICENSE:=MIT
|
|
# po/<lang>/dawnline.po becomes luci-i18n-dawnline-<lang> (luci.mk), released
|
|
# with the app and at its version (luci.mk would take a git revision otherwise).
|
|
PKG_PO_VERSION:=$(PKG_VERSION)-r$(PKG_RELEASE)
|
|
|
|
LUCI_TITLE:=Dawnline - AmneziaWG access server
|
|
# AmneziaWG itself (kmod-amneziawg, amneziawg-tools, luci-proto-amneziawg) is not
|
|
# in the OpenWrt feeds: install.sh and the Components page install a build made for
|
|
# the router's firmware. The portal's HTTPS needs any libustream TLS module and
|
|
# openssl-util; Settings offers to install them when the portal is turned on.
|
|
# Runtime dependencies only (control file Depends): the package ships scripts
|
|
# and web files, so the SDK has nothing to build for them, and as build
|
|
# dependencies ip-full (iproute2) and kmod-veth would pull in the whole kernel.
|
|
# OpenWrt 25.12's luci.mk wants a version on each; (>=0) means any.
|
|
LUCI_EXTRA_DEPENDS:=luci-base (>=0), rpcd-mod-ucode (>=0), ucode (>=0), ucode-mod-fs (>=0), ucode-mod-uci (>=0), \
|
|
ucode-mod-ubus (>=0), ucode-mod-uloop (>=0), ip-full (>=0), kmod-veth (>=0), uhttpd (>=0)
|
|
LUCI_PKGARCH:=all
|
|
# The web bundles are already minified by esbuild (LuCI's jsmin cannot parse modern JS).
|
|
LUCI_MINIFY_JS:=0
|
|
LUCI_MINIFY_CSS:=0
|
|
|
|
PKG_MAINTAINER:=tickcount
|
|
LUCI_MAINTAINER:=tickcount
|
|
LUCI_URL:=https://github.com/tickcount/luci-app-dawnline
|
|
|
|
define Package/luci-app-dawnline/conffiles
|
|
/etc/config/dawnline
|
|
endef
|
|
|
|
# /etc/dawnline (keys, backups, usage, history) survives a sysupgrade too:
|
|
# root/lib/upgrade/keep.d/dawnline-data (the package's own keep.d file is
|
|
# generated from conffiles).
|
|
|
|
define Package/luci-app-dawnline/prerm
|
|
#!/bin/sh
|
|
[ -n "$${IPKG_INSTROOT}" ] && exit 0
|
|
# An upgrade keeps everything running; only a removal tears down.
|
|
[ "$$1" = "upgrade" ] && exit 0
|
|
/etc/init.d/dawnline stop 2>/dev/null
|
|
/usr/bin/dawnline teardown 2>/dev/null
|
|
# The heartbeat check would point at a removed file.
|
|
grep -qs /usr/libexec/dawnline/ /etc/crontabs/root && {
|
|
sed -i '\#/usr/libexec/dawnline/#d' /etc/crontabs/root
|
|
/etc/init.d/cron restart 2>/dev/null
|
|
}
|
|
exit 0
|
|
endef
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
# call BuildPackage - OpenWrt buildroot signature
|