mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04:00
rclone: Update to 1.57.0
- Disabled unused plugins and re-enabled CGO. - Fixed test script Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
committed by
Rosen Penev
parent
cb54cef066
commit
f712dc311e
22
net/rclone/patches/010-disable-plugins.patch
Normal file
22
net/rclone/patches/010-disable-plugins.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
--- a/librclone/librclone.go
|
||||
+++ b/librclone/librclone.go
|
||||
@@ -37,7 +37,7 @@ import (
|
||||
_ "github.com/rclone/rclone/backend/all" // import all backends
|
||||
_ "github.com/rclone/rclone/fs/operations" // import operations/* rc commands
|
||||
_ "github.com/rclone/rclone/fs/sync" // import sync/*
|
||||
- _ "github.com/rclone/rclone/lib/plugin" // import plugins
|
||||
+ // _ "github.com/rclone/rclone/lib/plugin" // import plugins
|
||||
)
|
||||
|
||||
// RcloneInitialize initializes rclone as a library
|
||||
--- a/rclone.go
|
||||
+++ b/rclone.go
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
_ "github.com/rclone/rclone/backend/all" // import all backends
|
||||
"github.com/rclone/rclone/cmd"
|
||||
_ "github.com/rclone/rclone/cmd/all" // import all commands
|
||||
- _ "github.com/rclone/rclone/lib/plugin" // import plugins
|
||||
+ // _ "github.com/rclone/rclone/lib/plugin" // import plugins
|
||||
)
|
||||
|
||||
func main() {
|
||||
Reference in New Issue
Block a user