git: bb7a304bc228 - main - sysutils/usacloud-core: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Jan 2025 22:01:54 UTC
The branch main has been updated by nork:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bb7a304bc22893e7ebe0f68ad5286ffb7ae08885
commit bb7a304bc22893e7ebe0f68ad5286ffb7ae08885
Author: Norikatsu Shigemura <nork@FreeBSD.org>
AuthorDate: 2025-01-27 21:58:03 +0000
Commit: Norikatsu Shigemura <nork@FreeBSD.org>
CommitDate: 2025-01-27 22:01:31 +0000
sysutils/usacloud-core: New port
CLI client for SAKURA cloud
Approved by: hrs (mentor)
---
sysutils/Makefile | 1 +
sysutils/usacloud-core/Makefile | 21 +++++++++++++++++++++
sysutils/usacloud-core/Makefile.version | 3 +++
sysutils/usacloud-core/distinfo | 5 +++++
sysutils/usacloud-core/pkg-descr | 24 ++++++++++++++++++++++++
5 files changed, 54 insertions(+)
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 86a1f25ea593..4beb30c2a693 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1493,6 +1493,7 @@
SUBDIR += upower
SUBDIR += upsdaemon
SUBDIR += uptimed
+ SUBDIR += usacloud-core
SUBDIR += usb_modeswitch
SUBDIR += usbhid-dump
SUBDIR += usbtop
diff --git a/sysutils/usacloud-core/Makefile b/sysutils/usacloud-core/Makefile
new file mode 100644
index 000000000000..e2ef0ca7f40a
--- /dev/null
+++ b/sysutils/usacloud-core/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= usacloud
+#PORTREVISION= Use PORTREVISION in Makefile.version instead
+CATEGORIES= sysutils
+PKGNAMESUFFIX= -core
+
+MAINTAINER= nork@FreeBSD.org
+COMMENT= CLI client for SAKURA cloud
+WWW= https://docs.usacloud.jp/usacloud/
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= go:modules
+
+GO_MODULE= github.com/sacloud/usacloud
+GO_TARGET= main.go:usacloud
+
+PLIST_FILES= bin/usacloud
+
+.include "Makefile.version"
+.include <bsd.port.mk>
diff --git a/sysutils/usacloud-core/Makefile.version b/sysutils/usacloud-core/Makefile.version
new file mode 100644
index 000000000000..9a53cc74f0da
--- /dev/null
+++ b/sysutils/usacloud-core/Makefile.version
@@ -0,0 +1,3 @@
+PORTVERSION= 1.14.1
+DISTVERSIONPREFIX= v
+PORTREVISION= 0
diff --git a/sysutils/usacloud-core/distinfo b/sysutils/usacloud-core/distinfo
new file mode 100644
index 000000000000..47f6fa969402
--- /dev/null
+++ b/sysutils/usacloud-core/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1737221126
+SHA256 (go/sysutils_usacloud-core/usacloud-v1.14.1/v1.14.1.mod) = fc1c0e253d2486f15bf0190ce716987c01feb7acc6c564f2a628ccf953ae7362
+SIZE (go/sysutils_usacloud-core/usacloud-v1.14.1/v1.14.1.mod) = 3254
+SHA256 (go/sysutils_usacloud-core/usacloud-v1.14.1/v1.14.1.zip) = 4d6c065e341af41c202da611e70161da510192d35c4cc27a6028f77264628025
+SIZE (go/sysutils_usacloud-core/usacloud-v1.14.1/v1.14.1.zip) = 1242835
diff --git a/sysutils/usacloud-core/pkg-descr b/sysutils/usacloud-core/pkg-descr
new file mode 100644
index 000000000000..b0c9b52a7eff
--- /dev/null
+++ b/sysutils/usacloud-core/pkg-descr
@@ -0,0 +1,24 @@
+usacloud is the official CLI client for SAKURA cloud which is provided by
+SAKURA internet Inc. in Japan.
+
+The following feactures are available to SARKUA cloud users via RESTful APIs:
+
+- Configuration
+- Authentication
+- Computing / Storage / Networking
+- Appliance / Networking
+- Secure Mobile
+- Common service items
+- Billing
+- Lab
+- WebAccelerator
+- Region/Zone information
+- Service/Product information
+- Other services / commands
+
+SEE ALSO following manuals:
+https://docs.usacloud.jp/usacloud/installation/start_guide/
+https://docs.usacloud.jp/usacloud/guides/basic_usage/
+https://docs.usacloud.jp/usacloud/references/global/
+https://docs.usacloud.jp/usacloud/references/profile/
+https://docs.usacloud.jp/usacloud/references/env/