mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 13:05:13 +08:00
🎄 Sync 2026-06-05 00:32:16
This commit is contained in:
1 parent
3b242cdbee
commit
aadb287f5b
6 files changed
+41
-53
No files matched your search
@@ -1955,7 +1955,7 @@ input[type="radio"]::before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cbi-radio:hover 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"]:hover::before,
|
||||||
input[type="radio"]:focus::before {
|
input[type="radio"]:focus::before {
|
||||||
box-shadow: 0 0 0 7px color-mix(in srgb, var(--text-color-high) 10%, transparent);
|
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 {
|
.sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
height: auto;
|
height: calc(100vh - var(--material3-header-height));
|
||||||
|
height: calc(100dvh - var(--material3-header-height));
|
||||||
float: none;
|
float: none;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
z-index: 900;
|
z-index: 900;
|
||||||
border-radius: 0 1rem 1rem 0;
|
border-radius: 0 1rem 1rem 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar.active {
|
.sidebar.active {
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar>.nav {
|
||||||
|
height: 100%;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
overscroll-behavior: contain;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
|
}
|
||||||
|
|
||||||
.sidebar-overlay {
|
.sidebar-overlay {
|
||||||
z-index: 800;
|
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"] {
|
body[data-page^="admin-services-dockerman"] #view a[href*="/dockerman/"] strong[style*="color: #28a745"] {
|
||||||
color: var(--success-color-high) !important;
|
color: var(--success-color-high) !important;
|
||||||
}
|
}
|
||||||
+28
-50
@@ -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
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ookla-speedtest
|
PKG_NAME:=ookla-speedtest
|
||||||
PKG_VERSION:=1.2.0
|
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
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/$(PKG_NAME)
|
define Package/$(PKG_NAME)
|
||||||
SECTION:=net
|
TITLE:=Speedtest from Ookla
|
||||||
CATEGORY:=Network
|
SECTION:=net
|
||||||
SUBMENU:=Speed Test
|
CATEGORY:=Network
|
||||||
TITLE:=Speedtest CLI by Ookla
|
|
||||||
URL:=https://www.speedtest.net/
|
|
||||||
DEPENDS:=@(aarch64||arm||i386||x86_64) +ca-certificates
|
|
||||||
URL:=https://www.speedtest.net/
|
|
||||||
endef
|
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
|
define Package/$(PKG_NAME)/description
|
||||||
Speedtest CLI by Ookla is the official command line client
|
Speedtest CLI brings the trusted technology and global server network behind Speedtest to the command line.
|
||||||
for testing internet bandwidth using speedtest.net servers.
|
Built for software developers, system administrators and computer enthusiasts alike,
|
||||||
|
Speedtest CLI is the first official Linux-native Speedtest application backed by Ookla®.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
( \
|
endef
|
||||||
pushd $(PKG_BUILD_DIR) ; \
|
|
||||||
$(TAR) -zxf $(DL_DIR)/ookla-speedtest-$(PKG_VERSION)-linux-$(PKG_ARCH_SUFFIX).tgz -C . ; \
|
define Build/Configure
|
||||||
popd ; \
|
|
||||||
)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
@@ -67,7 +43,9 @@ endef
|
|||||||
|
|
||||||
define Package/$(PKG_NAME)/install
|
define Package/$(PKG_NAME)/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/speedtest $(1)/usr/bin/ookla-speedtest
|
$(CP) $(BIN_PATH)/speedtest $(1)/usr/bin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
ifeq ($(ARCH),$(filter $(ARCH), x86_64 i386 arm aarch64))
|
||||||
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||||
|
endif
|
||||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Reference in new issue
Block a user