From 2a4d717b69879b526e4a364a798f8a08b2536ee5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 25 Aug 2026 23:46:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Sync=202026-08-25=2023:46:06?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- transmission-web-control/Makefile | 40 +++++++++++++++++++ .../patches/001-remove-ui-original-link.patch | 24 +++++++++++ 2 files changed, 64 insertions(+) create mode 100644 transmission-web-control/Makefile create mode 100644 transmission-web-control/patches/001-remove-ui-original-link.patch diff --git a/transmission-web-control/Makefile b/transmission-web-control/Makefile new file mode 100644 index 000000000..cf3ba232c --- /dev/null +++ b/transmission-web-control/Makefile @@ -0,0 +1,40 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=transmission-web-control +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/ronggang/transmission-web-control +PKG_SOURCE_DATE:=2024-04-08 +PKG_SOURCE_VERSION:=054e2edf7ee1ec859cec3ee5661a550481321a27 +PKG_MIRROR_HASH:=skip + +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=Richard Yu + +include $(INCLUDE_DIR)/package.mk + +define Package/transmission-web-control + SECTION:=net + CATEGORY:=Network + SUBMENU:=BitTorrent + DEPENDS:=+transmission-daemon + TITLE:=A custom web UI for Transmission + URL:=https://github.com/ronggang/transmission-web-control + PKGARCH:=all +endef + +define Package/transmission-web-control/description + Transmission Web Control is a custom Web UI for Transmission. +endef + +define Build/Compile +endef + +define Package/transmission-web-control/install + $(INSTALL_DIR) $(1)/usr/share/transmission/public_html + $(CP) $(PKG_BUILD_DIR)/src/* $(1)/usr/share/transmission/public_html +endef + +$(eval $(call BuildPackage,transmission-web-control)) diff --git a/transmission-web-control/patches/001-remove-ui-original-link.patch b/transmission-web-control/patches/001-remove-ui-original-link.patch new file mode 100644 index 000000000..a88549852 --- /dev/null +++ b/transmission-web-control/patches/001-remove-ui-original-link.patch @@ -0,0 +1,24 @@ +--- a/src/index.html ++++ b/src/index.html +@@ -66,11 +66,6 @@ + data-options="iconCls:'icon-mobile',plain:true" system-tip-lang="toolbar.tip['ui-mobile']"> + | +- +- +- | + + +
  • UI
  • +
  • +-
  • + +