ports/185009: [maintainer] [patch] sysutils/ansible
Nikolai Lifanov
lifanov at mail.lifanov.com
Thu Dec 19 20:10:02 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list