diff options
Diffstat (limited to 'dns')
-rw-r--r-- | dns/cli53/Makefile | 19 | ||||
-rw-r--r-- | dns/cli53/distinfo | 5 | ||||
-rw-r--r-- | dns/cli53/pkg-message | 16 |
3 files changed, 27 insertions, 13 deletions
diff --git a/dns/cli53/Makefile b/dns/cli53/Makefile index ce9918980a07..de1cb2924d86 100644 --- a/dns/cli53/Makefile +++ b/dns/cli53/Makefile @@ -2,19 +2,26 @@ # $FreeBSD$ PORTNAME= cli53 -PORTVERSION= 0.4.4 +PORTVERSION= 0.8.5 CATEGORIES= dns MAINTAINER= zi@FreeBSD.org COMMENT= Command line management of Route53 domains -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto \ - ${PYTHON_PKGNAMEPREFIX}argparse>0:devel/py-argparse \ - ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython +LICENSE= MIT -USES= python -USE_PYTHON= distutils autoplist +BUILD_DEPENDS= go>=1.5:lang/go + +USES= go USE_GITHUB= yes GH_ACCOUNT= barnybug +WRKSRC_SUBDIR= cmd/cli53 +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}/cmd/cli53 +PLIST_FILES= bin/cli53 + +post-extract: + @${MKDIR} ${GO_WRKSRC:H:H:H} + @${LN} -sf ${WRKSRC:H:H} ${GO_WRKSRC:H:H} + .include <bsd.port.mk> diff --git a/dns/cli53/distinfo b/dns/cli53/distinfo index 7babe78c837e..1f59e28ac7f8 100644 --- a/dns/cli53/distinfo +++ b/dns/cli53/distinfo @@ -1,2 +1,3 @@ -SHA256 (barnybug-cli53-0.4.4_GH0.tar.gz) = a6aff40f917febadd467e754b755d0cfa94e6329b7eee9ffb4df0c132fc1a5af -SIZE (barnybug-cli53-0.4.4_GH0.tar.gz) = 15868 +TIMESTAMP = 1475566013 +SHA256 (barnybug-cli53-0.8.5_GH0.tar.gz) = 4da0c3210ce86768d9be50be94c65c17bdfc4c2af980d04939e404f87ce006fe +SIZE (barnybug-cli53-0.8.5_GH0.tar.gz) = 4369719 diff --git a/dns/cli53/pkg-message b/dns/cli53/pkg-message index 98dddf4d81b9..bd48b2ebc3b8 100644 --- a/dns/cli53/pkg-message +++ b/dns/cli53/pkg-message @@ -1,13 +1,19 @@ Please configure your AWS credentials, either through environment variables or -~/.boto config file. +~/.aws/credentials config file. For example: export AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXX export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX -or in ~/.boto (make sure you chmod 600 ~/.boto): +or in ~/.aws/credentials (make sure you chmod 600 ~/.aws/credentials): -[Credentials] -aws_access_key_id = XXXXXXXXXXXXXX -aws_secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXX +[default] +aws_access_key_id = AKID1234567890 +aws_secret_access_key = MY-SECRET-KEY + +You can switch between different sets in the credentials file by passing +--profile to any command, or setting the environment variable AWS_PROFILE. + +For example: + cli53 list --profile my_profile |