1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Tue, 4 Dec 2018 22:53:21 +0100
Subject: Disable FTP server of rclone
---
cmd/serve/ftp/ftp.go | 2 +-
cmd/serve/ftp/ftp_test.go | 2 +-
cmd/serve/ftp/ftp_unsupported.go | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/cmd/serve/ftp/ftp.go b/cmd/serve/ftp/ftp.go
index 1789b06..5ad590b 100644
--- a/cmd/serve/ftp/ftp.go
+++ b/cmd/serve/ftp/ftp.go
@@ -1,6 +1,6 @@
// Package ftp implements an FTP server for rclone
-//+build !plan9
+//+build ignore
package ftp
diff --git a/cmd/serve/ftp/ftp_test.go b/cmd/serve/ftp/ftp_test.go
index 7f3514f..f6bf435 100644
--- a/cmd/serve/ftp/ftp_test.go
+++ b/cmd/serve/ftp/ftp_test.go
@@ -3,7 +3,7 @@
//
// We skip tests on platforms with troublesome character mappings
-//+build !windows,!darwin,!plan9
+//+build ignore
package ftp
diff --git a/cmd/serve/ftp/ftp_unsupported.go b/cmd/serve/ftp/ftp_unsupported.go
index 76b4b2e..9d2b936 100644
--- a/cmd/serve/ftp/ftp_unsupported.go
+++ b/cmd/serve/ftp/ftp_unsupported.go
@@ -1,7 +1,6 @@
// Build for unsupported platforms to stop go complaining
// about "no buildable Go source files "
-// +build plan9
package ftp
|