Bug 184277 - net/py-ec2-cli-tools: run dependency on bash is missing
Summary: net/py-ec2-cli-tools: run dependency on bash is missing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 09:00 UTC by Koichiro Iwao
Modified: 2013-12-20 16:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Koichiro Iwao freebsd_committer freebsd_triage 2013-11-25 09:00:00 UTC
net/py-ec2-cli-tools installs a few bash scripts but no run time dependency on bash is declared.
Their shebangs also need to be fixed.

bin/ec2getsnaps has /bin/bash shebangs but works with /bin/sh as it is simple.
bin/ec2hostcache requires bash.
bin/ec2ssh requires bash, possibly.

How-To-Repeat: #  make run-depends-list
/usr/ports/devel/py-boto
/usr/ports/devel/py-distribute
/usr/ports/lang/python
/usr/ports/lang/python27


# portmaster net/py-ec2-cli-tools
# ec2ssh
-bash: /usr/local/bin/ec2ssh: /bin/bash: bad interpreter: No such file or directory
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-25 09:00:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-20 16:08:44 UTC
Author: swills
Date: Fri Dec 20 16:08:37 2013
New Revision: 337030
URL: http://svnweb.freebsd.org/changeset/ports/337030

Log:
  - Add bash dependency [1]
  - Fix shebang on bash files [1]
  - Staging seems to work fine, go ahead and enable it
  - Bump PORTREVISION for package change
  
  PR:		ports/184277 [1]
  Reported by:	Koichiro IWAO <meta+ports@vmeta.jp> [1]

Modified:
  head/net/py-ec2-cli-tools/Makefile

Modified: head/net/py-ec2-cli-tools/Makefile
==============================================================================
--- head/net/py-ec2-cli-tools/Makefile	Fri Dec 20 16:05:51 2013	(r337029)
+++ head/net/py-ec2-cli-tools/Makefile	Fri Dec 20 16:08:37 2013	(r337030)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ec2-cli-tools
 PORTVERSION=	1.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,12 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Helpful CLI utilities for querying and connecting to EC2 instances
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto>=1.0:${PORTSDIR}/devel/py-boto
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto>=1.0:${PORTSDIR}/devel/py-boto \
+		bash>=0:${PORTSDIR}/shells/bash
 
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
+USES=			shebangfix
+SHEBANG_FILES=		bin/ec2getsnaps bin/ec2hostcache bin/ec2ssh
 
-NO_STAGE=	yes
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-12-20 16:11:00 UTC
Author: swills
Date: Fri Dec 20 16:10:52 2013
New Revision: 337032
URL: http://svnweb.freebsd.org/changeset/ports/337032

Log:
  MFH: r337030
  
  - Add bash dependency [1]
  - Fix shebang on bash files [1]
  - Staging seems to work fine, go ahead and enable it
  - Bump PORTREVISION for package change
  
  PR:		ports/184277 [1]
  Reported by:	Koichiro IWAO <meta+ports@vmeta.jp> [1]
  Approved by:	portmgr-lurkers (mat)

Modified:
  branches/2014Q1/net/py-ec2-cli-tools/Makefile
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/net/py-ec2-cli-tools/Makefile
==============================================================================
--- branches/2014Q1/net/py-ec2-cli-tools/Makefile	Fri Dec 20 16:10:00 2013	(r337031)
+++ branches/2014Q1/net/py-ec2-cli-tools/Makefile	Fri Dec 20 16:10:52 2013	(r337032)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ec2-cli-tools
 PORTVERSION=	1.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +11,12 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Helpful CLI utilities for querying and connecting to EC2 instances
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto>=1.0:${PORTSDIR}/devel/py-boto
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}boto>=1.0:${PORTSDIR}/devel/py-boto \
+		bash>=0:${PORTSDIR}/shells/bash
 
 USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
+USES=			shebangfix
+SHEBANG_FILES=		bin/ec2getsnaps bin/ec2hostcache bin/ec2ssh
 
-NO_STAGE=	yes
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Steve Wills freebsd_committer freebsd_triage 2013-12-20 16:11:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!