sysutils/usacloud: New port

Meta port for SAKURA cloud

Approved by:	hrs (mentor)
This commit is contained in:
Norikatsu Shigemura 2025-01-28 07:00:14 +09:00
parent bb7a304bc2
commit 0c72e57044
3 changed files with 60 additions and 0 deletions

View file

@ -1493,6 +1493,7 @@
SUBDIR += upower
SUBDIR += upsdaemon
SUBDIR += uptimed
SUBDIR += usacloud
SUBDIR += usacloud-core
SUBDIR += usb_modeswitch
SUBDIR += usbhid-dump

View file

@ -0,0 +1,35 @@
PORTNAME= usacloud
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= nork@FreeBSD.org
COMMENT= Meta port for SAKURA cloud
WWW= https://docs.usacloud.jp/usacloud/
LICENSE= APACHE20
BUILD_DEPENDS= usacloud-core>=${PKGVERSION}:sysutils/usacloud-core
RUN_DEPENDS= usacloud-core>=${PKGVERSION}:sysutils/usacloud-core
NO_ARCH= yes
NO_TEST= yes
NO_WRKSUBDIR= yes
USACLOUD_CMD= ${LOCALBASE}/bin/usacloud completion
ENTRIES= bash:etc/bash_completion.d/usacloud \
zsh:share/zsh/site-functions/_usacloud
M_LABEL= C,\:.*$$,,
M_PATH= C,^.*\:,,
PLIST_FILES= ${ENTRIES:${M_PATH}}
do-build:
cd ${BUILD_WRKSRC} && \
${MKDIR} ${ENTRIES:${M_PATH}:H} && \
${ENTRIES:@F@${USACLOUD_CMD} ${F:${M_LABEL}} > ${F:${M_PATH}};@}
do-install:
cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}
.include "${.CURDIR}/../usacloud-core/Makefile.version"
.include <bsd.port.mk>

View file

@ -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/