Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2017 20:52:15 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r450168 - head/sysutils/ansible
Message-ID:  <201709192052.v8JKqFKW044836@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lifanov
Date: Tue Sep 19 20:52:14 2017
New Revision: 450168
URL: https://svnweb.freebsd.org/changeset/ports/450168

Log:
  update sysutils/ansible to 2.4.0.0
  
  This is a major feature release.
  Changes: https://github.com/ansible/ansible/blob/v2.4.0.0-1/CHANGELOG.md

Modified:
  head/sysutils/ansible/Makefile
  head/sysutils/ansible/distinfo

Modified: head/sysutils/ansible/Makefile
==============================================================================
--- head/sysutils/ansible/Makefile	Tue Sep 19 20:50:30 2017	(r450167)
+++ head/sysutils/ansible/Makefile	Tue Sep 19 20:52:14 2017	(r450168)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ansible
-PORTVERSION?=	2.3.2.0
+PORTVERSION?=	2.4.0.0
 PORTREVISION?=	0
 CATEGORIES=	sysutils python
 MASTER_SITES=	http://releases.ansible.com/ansible/
@@ -30,9 +30,11 @@ CPE_VENDOR=	ansibleworks
 SUB_FILES=	pkg-message
 SUB_LIST+=	PYTHON_CMD=${PYTHON_CMD}
 
-PLIST_FILES?=	man/man1/ansible-console.1.gz \
+PLIST_FILES?=	man/man1/ansible-config.1.gz \
+		man/man1/ansible-console.1.gz \
 		man/man1/ansible-doc.1.gz \
 		man/man1/ansible-galaxy.1.gz \
+		man/man1/ansible-inventory.1.gz \
 		man/man1/ansible-playbook.1.gz \
 		man/man1/ansible-pull.1.gz \
 		man/man1/ansible-vault.1.gz \
@@ -43,14 +45,10 @@ PORTEXAMPLES=	ansible.cfg hosts
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
 post-patch:
-.for f in bin/ansible docs/man/man1/* examples/* lib/ansible/*.py \
-	lib/ansible/*/*.py lib/ansible/*/*/*.py lib/ansible/*/*/*/*.py
-	@${REINPLACE_CMD} -e 's|/etc/ansible|${ETCDIR}|' ${WRKSRC}/${f}
-.endfor
-
-.for f in docs/man/man1/* examples/* lib/ansible/*.py lib/ansible/*/*.py
-	@${REINPLACE_CMD} -e 's|/usr/share/ansible|${DATADIR}|' ${WRKSRC}/${f}
-.endfor
+	${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \
+		-e 's|/usr/bin/python|${PYTHON_CMD}|'
+		-e 's|/etc/ansible|${ETCDIR}|' \
+		-e 's|/usr/share/ansible|${DATADIR}|'
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1

Modified: head/sysutils/ansible/distinfo
==============================================================================
--- head/sysutils/ansible/distinfo	Tue Sep 19 20:50:30 2017	(r450167)
+++ head/sysutils/ansible/distinfo	Tue Sep 19 20:52:14 2017	(r450168)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1502726252
-SHA256 (ansible-2.3.2.0.tar.gz) = 0563b425279422487f12616ef719f6e558373b258dcf47e548d119be8d3168eb
-SIZE (ansible-2.3.2.0.tar.gz) = 4319664
+TIMESTAMP = 1505849561
+SHA256 (ansible-2.4.0.0.tar.gz) = 1a276fee7f72d4e6601a7994879e8467edb763dacc3e215258cfe71350b77c76
+SIZE (ansible-2.4.0.0.tar.gz) = 6623856



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