mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 18:41:15 +08:00
🎄 Sync 2026-06-05 00:32:16
This commit is contained in:
parent
0b47a9df10
commit
db76dc4f17
@ -1955,7 +1955,7 @@ input[type="radio"]::before {
|
||||
}
|
||||
|
||||
.cbi-radio:hover input[type="radio"]::before,
|
||||
label:hover > input[type="radio"]::before,
|
||||
label:hover>input[type="radio"]::before,
|
||||
input[type="radio"]:hover::before,
|
||||
input[type="radio"]:focus::before {
|
||||
box-shadow: 0 0 0 7px color-mix(in srgb, var(--text-color-high) 10%, transparent);
|
||||
@ -2345,18 +2345,28 @@ body.sidebar-open header {
|
||||
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
height: auto;
|
||||
height: calc(100vh - var(--material3-header-height));
|
||||
height: calc(100dvh - var(--material3-header-height));
|
||||
float: none;
|
||||
margin-bottom: 0;
|
||||
transform: translateX(-100%);
|
||||
z-index: 900;
|
||||
border-radius: 0 1rem 1rem 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar.active {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.sidebar>.nav {
|
||||
height: 100%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.sidebar-overlay {
|
||||
z-index: 800;
|
||||
}
|
||||
@ -4851,4 +4861,4 @@ body[data-page^="admin-services-dockerman"] #view a[href*="/dockerman/"] strong[
|
||||
|
||||
body[data-page^="admin-services-dockerman"] #view a[href*="/dockerman/"] strong[style*="color: #28a745"] {
|
||||
color: var(--success-color-high) !important;
|
||||
}
|
||||
}
|
||||
@ -1,65 +1,41 @@
|
||||
#
|
||||
# Copyright (C) 2024 sbwml <admin@cooluc.com>
|
||||
# Copyright (c) 2025-2026 sirpdboy <herboy2008@gmail.com>
|
||||
#
|
||||
# This is free software, licensed under the GPL-3.0 License.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=ookla-speedtest
|
||||
PKG_VERSION:=1.2.0
|
||||
PKG_RELEASE:=7
|
||||
PKG_RELEASE:=8
|
||||
PKG_MAINTAINER:=Konstantine Shevlakov <shevlakov@132lan.ru>
|
||||
|
||||
ifeq ($(ARCH),aarch64)
|
||||
PKG_ARCH_SUFFIX:=aarch64
|
||||
PKG_HASH:=skip
|
||||
else ifeq ($(ARCH),arm)
|
||||
ARM_CPU_FEATURES:=$(word 2,$(subst +,$(space),$(call qstrip,$(CONFIG_CPU_TYPE))))
|
||||
ifeq ($(ARM_CPU_FEATURES),)
|
||||
PKG_ARCH_SUFFIX:=armel
|
||||
PKG_HASH:=skip
|
||||
else
|
||||
PKG_ARCH_SUFFIX:=armhf
|
||||
PKG_HASH:=skip
|
||||
endif
|
||||
else ifeq ($(ARCH),i386)
|
||||
PKG_ARCH_SUFFIX:=i386
|
||||
PKG_HASH:=skip
|
||||
else ifeq ($(ARCH),x86_64)
|
||||
PKG_ARCH_SUFFIX:=x86_64
|
||||
PKG_HASH:=skip
|
||||
endif
|
||||
|
||||
PKG_SOURCE:=ookla-speedtest-$(PKG_VERSION)-linux-$(PKG_ARCH_SUFFIX).tgz
|
||||
PKG_SOURCE_URL:=https://install.speedtest.net/app/cli
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(PKG_ARCH_SUFFIX)
|
||||
|
||||
PKG_MAINTAINER:=sbwml <admin@cooluc.com>
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=Speed Test
|
||||
TITLE:=Speedtest CLI by Ookla
|
||||
URL:=https://www.speedtest.net/
|
||||
DEPENDS:=@(aarch64||arm||i386||x86_64) +ca-certificates
|
||||
URL:=https://www.speedtest.net/
|
||||
TITLE:=Speedtest from Ookla
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
endef
|
||||
|
||||
ifeq ($(ARCH),x86_64)
|
||||
BIN_PATH:=./files/x86_64
|
||||
endif
|
||||
ifeq ($(ARCH),i386)
|
||||
BIN_PATH:=./files/i386
|
||||
endif
|
||||
ifeq ($(ARCH),arm)
|
||||
BIN_PATH:=./files/armhf
|
||||
endif
|
||||
ifeq ($(ARCH),aarch64)
|
||||
BIN_PATH:=./files/aarch64
|
||||
endif
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
Speedtest CLI by Ookla is the official command line client
|
||||
for testing internet bandwidth using speedtest.net servers.
|
||||
Speedtest CLI brings the trusted technology and global server network behind Speedtest to the command line.
|
||||
Built for software developers, system administrators and computer enthusiasts alike,
|
||||
Speedtest CLI is the first official Linux-native Speedtest application backed by Ookla®.
|
||||
endef
|
||||
|
||||
|
||||
define Build/Prepare
|
||||
( \
|
||||
pushd $(PKG_BUILD_DIR) ; \
|
||||
$(TAR) -zxf $(DL_DIR)/ookla-speedtest-$(PKG_VERSION)-linux-$(PKG_ARCH_SUFFIX).tgz -C . ; \
|
||||
popd ; \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
@ -67,7 +43,9 @@ endef
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/speedtest $(1)/usr/bin/ookla-speedtest
|
||||
$(CP) $(BIN_PATH)/speedtest $(1)/usr/bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
ifeq ($(ARCH),$(filter $(ARCH), x86_64 i386 arm aarch64))
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
endif
|
||||
|
||||
BIN
ookla-speedtest/files/aarch64/speedtest
Executable file
BIN
ookla-speedtest/files/aarch64/speedtest
Executable file
Binary file not shown.
BIN
ookla-speedtest/files/armhf/speedtest
Executable file
BIN
ookla-speedtest/files/armhf/speedtest
Executable file
Binary file not shown.
BIN
ookla-speedtest/files/i386/speedtest
Executable file
BIN
ookla-speedtest/files/i386/speedtest
Executable file
Binary file not shown.
BIN
ookla-speedtest/files/x86_64/speedtest
Executable file
BIN
ookla-speedtest/files/x86_64/speedtest
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user