Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2013 15:04:11 -0500 (EST)
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/185009: [maintainer] [patch] sysutils/ansible
Message-ID:  <20131219200411.CA7D11A7675@mail.lifanov.com>
Resent-Message-ID: <201312192010.rBJKA1NO086542@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185009
>Category:       ports
>Synopsis:       [maintainer] [patch] sysutils/ansible
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 19 20:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nikolai Lifanov
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD mail.lifanov.com 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	Improve port quality:
	 * un-hardcode help text in the newly-added  ansible-galaxy binary
	 * fix shebang replacement in synchronize.py
	 * remove stray setup-e file created by shebangfix

>How-To-Repeat:
	Please apply this patch.

>Fix:

--- patch.txt begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 336950)
+++ Makefile	(working copy)
@@ -2,6 +2,7 @@
 
 PORTNAME=	ansible
 PORTVERSION=	1.4.2
+PORTREVISION=	1
 CATEGORIES=	sysutils python
 MASTER_SITES=	http://ansibleworks.com/releases/
 
@@ -29,7 +30,7 @@
 
 USES=		shebangfix
 SHEBANG_FILES=	${WRKSRC}/library/*/* \
-		lib/ansible/runner/action_plugins/synchronize.py
+		${WRKSRC}/lib/ansible/runner/action_plugins/synchronize.py
 
 SUB_FILES=	pkg-message
 
@@ -37,6 +38,7 @@
 
 post-patch-script:
 	@${REINPLACE_CMD} -i -e "s|/etc/ansible|${ETCDIR}|" \
+		${WRKSRC}/bin/ansible-galaxy \
 		${WRKSRC}/docs/man/man1/ansible-playbook.1 \
 		${WRKSRC}/docs/man/man1/ansible.1 \
 		${WRKSRC}/examples/ansible.cfg \
@@ -52,6 +54,7 @@
 		${WRKSRC}/lib/ansible/constants.py \
 		${WRKSRC}/lib/ansible/playbook/__init__.py \
 		${WRKSRC}/lib/ansible/runner/__init__.py
+	@${RM}	${WRKSRC}/library/system/setup-e
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
--- patch.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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