Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 19:10:50 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346791 - in head: . sysutils/ansible sysutils/ansible/files
Message-ID:  <201403021910.s22JAo0A023368@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sun Mar  2 19:10:50 2014
New Revision: 346791
URL: http://svnweb.freebsd.org/changeset/ports/346791
QAT: https://qat.redports.org/buildarchive/r346791/

Log:
  sysutils/ansible: update to 1.5
  
  - update to 1.5
  - clarify how to use sysutils/ansible port to control non-FreeBSD systems
    in pkg-message
  - remove man3 man pages: they are gone in the upstream distribution
  - convert to PLIST_FILES
  - remove NO_ARCH, while here - it has no practical value here
  - add UPDATING entry, because some changes are not backward compatible
  
  Changelog: https://raw.github.com/ansible/ansible/v1.5.0/CHANGELOG.md
  
  PR:		187182
  Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)

Deleted:
  head/sysutils/ansible/pkg-plist
Modified:
  head/UPDATING
  head/sysutils/ansible/Makefile
  head/sysutils/ansible/distinfo
  head/sysutils/ansible/files/pkg-message.in

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sun Mar  2 19:09:00 2014	(r346790)
+++ head/UPDATING	Sun Mar  2 19:10:50 2014	(r346791)
@@ -5,6 +5,14 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20140302:
+  AFFECTS: users of sysutils/ansible
+  AUTHOR: rm@FreeBSD.org
+
+  This is an major update and changes were introduced in ansible 1.5, that
+  are not backward compatible. Please refer changelog there before update:
+  https://raw.github.com/ansible/ansible/v1.5.0/CHANGELOG.md
+
 20140223:
   AFFECTS: users of net-mgmt/mk-livestatus
   AUTHOR: ohauer@FreeBSD.org

Modified: head/sysutils/ansible/Makefile
==============================================================================
--- head/sysutils/ansible/Makefile	Sun Mar  2 19:09:00 2014	(r346790)
+++ head/sysutils/ansible/Makefile	Sun Mar  2 19:10:50 2014	(r346791)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	ansible
-PORTVERSION=	1.4.5
+PORTVERSION=	1.5
 CATEGORIES=	sysutils python
 MASTER_SITES=	http://releases.ansible.com/ansible/
 
@@ -14,8 +14,6 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml
 		${PYTHON_PKGNAMEPREFIX}paramiko>0:${PORTSDIR}/security/py-paramiko \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>0:${PORTSDIR}/devel/py-Jinja2
 
-NO_ARCH=	yes
-
 OPTIONS_DEFINE=		ACCELERATE EXAMPLES
 OPTIONS_DEFAULT=	ACCELERATE
 
@@ -32,6 +30,10 @@ SHEBANG_FILES=	library/*/* \
 		lib/ansible/runner/action_plugins/synchronize.py
 
 SUB_FILES=	pkg-message
+PLIST_FILES+=	man/man1/ansible-doc.1.gz \
+		man/man1/ansible-playbook.1.gz \
+		man/man1/ansible-pull.1.gz \
+		man/man1/ansible.1.gz
 
 PORTEXAMPLES=	ansible.cfg hosts
 
@@ -59,11 +61,8 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/docs/man/man1/*.1 \
 		${STAGEDIR}${MAN1PREFIX}/man/man1
-	@${MKDIR} ${STAGEDIR}${MAN3PREFIX}/man/man3
-	${INSTALL_MAN} ${WRKSRC}/docs/man/man3/*.3 \
-		${STAGEDIR}${MAN3PREFIX}/man/man3
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${CP} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR}
-	${CP} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/sysutils/ansible/distinfo
==============================================================================
--- head/sysutils/ansible/distinfo	Sun Mar  2 19:09:00 2014	(r346790)
+++ head/sysutils/ansible/distinfo	Sun Mar  2 19:10:50 2014	(r346791)
@@ -1,2 +1,2 @@
-SHA256 (ansible-1.4.5.tar.gz) = faa6c1f1b801de3639c8375a4f5ab36c75d8cdb5c69bde2a21532430d6c8b4a9
-SIZE (ansible-1.4.5.tar.gz) = 579173
+SHA256 (ansible-1.5.tar.gz) = 37c46b84a5525ad027e3828cd862089a20783944603c504630d0c9c84e62df45
+SIZE (ansible-1.5.tar.gz) = 533821

Modified: head/sysutils/ansible/files/pkg-message.in
==============================================================================
--- head/sysutils/ansible/files/pkg-message.in	Sun Mar  2 19:09:00 2014	(r346790)
+++ head/sysutils/ansible/files/pkg-message.in	Sun Mar  2 19:10:50 2014	(r346791)
@@ -6,3 +6,17 @@ host database and a sample configuration
   %%EXAMPLESDIR%%/hosts
   %%EXAMPLESDIR%%/ansible.cfg
 
+To use Ansible to control systems other than FreeBSD,
+set the Python interpreter in the host database for
+that system. Example:
+
+  [freebsd]
+  host1
+  host2
+
+  [centos]
+  host3
+  host4
+
+  [centos:var]
+  ansible_python_interpreter=/usr/bin/python



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