Bug 187182

Summary: [maintainer] [update] [patch] sysutils/ansible 1.5
Product: Ports & Packages Reporter: Nikolai Lifanov <lifanov>
Component: Individual Port(s)Assignee: Ruslan Makhmatkhanov <rm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ansible.diff none

Description Nikolai Lifanov 2014-03-01 21:50:02 UTC
	Update sysutils/ansible to 1.5. This is a major version.
	Changelog: https://raw.github.com/ansible/ansible/v1.5.0/CHANGELOG.md

	Port changes:
	* clarify how to use sysutils/ansible port to control non-FreeBSD systems in pkg-message
	* remove man3 man pages: they are gone in the upsteream distribution
	* convert to PLIST_FILES
	
	Important:
	* this supersedes ports/187175
	* please update UPDATING file: some previously-deprecated syntax has been removed
	Advise that the user reads the changelog:
        - when_foo: use "when" instead
        - only_if: use "when" instead
        - include + with_items: use "with_nested / with_together" instead

How-To-Repeat: 	Apply this patch.
Comment 1 Ruslan Makhmatkhanov freebsd_committer 2014-03-02 17:53:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 2 dfilter service freebsd_committer 2014-03-02 19:10:58 UTC
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
_______________________________________________
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 Ruslan Makhmatkhanov freebsd_committer 2014-03-02 19:11:12 UTC
State Changed
From-To: open->closed

Committed, thank you!