Index: head/dns/cli53/Makefile =================================================================== --- head/dns/cli53/Makefile (revision 423285) +++ head/dns/cli53/Makefile (revision 423286) @@ -1,20 +1,27 @@ # Created by: Ryan Steinmetz # $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 Index: head/dns/cli53/distinfo =================================================================== --- head/dns/cli53/distinfo (revision 423285) +++ head/dns/cli53/distinfo (revision 423286) @@ -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 Index: head/dns/cli53/pkg-message =================================================================== --- head/dns/cli53/pkg-message (revision 423285) +++ head/dns/cli53/pkg-message (revision 423286) @@ -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