Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 17:59:14 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423286 - head/dns/cli53
Message-ID:  <201610041759.u94HxE5m082602@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Tue Oct  4 17:59:13 2016
New Revision: 423286
URL: https://svnweb.freebsd.org/changeset/ports/423286

Log:
  dns/cli53: 0.4.4 -> 0.8.5
  
  - Now written in go, no longer in python
  
  PR:		212625
  Changes:	https://github.com/barnybug/cli53/blob/master/CHANGELOG.md
  Submitted by:	Koichiro IWAO <meta+ports@vmeta.jp>
  Approved by:	zi (maintainer timeout)

Modified:
  head/dns/cli53/Makefile
  head/dns/cli53/distinfo
  head/dns/cli53/pkg-message

Modified: head/dns/cli53/Makefile
==============================================================================
--- head/dns/cli53/Makefile	Tue Oct  4 17:32:58 2016	(r423285)
+++ head/dns/cli53/Makefile	Tue Oct  4 17:59:13 2016	(r423286)
@@ -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>

Modified: head/dns/cli53/distinfo
==============================================================================
--- head/dns/cli53/distinfo	Tue Oct  4 17:32:58 2016	(r423285)
+++ head/dns/cli53/distinfo	Tue Oct  4 17:59:13 2016	(r423286)
@@ -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

Modified: head/dns/cli53/pkg-message
==============================================================================
--- head/dns/cli53/pkg-message	Tue Oct  4 17:32:58 2016	(r423285)
+++ head/dns/cli53/pkg-message	Tue Oct  4 17:59:13 2016	(r423286)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610041759.u94HxE5m082602>