From owner-svn-ports-head@freebsd.org Wed Apr 12 15:51:14 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF946D3BEA0; Wed, 12 Apr 2017 15:51:14 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A360DCFC; Wed, 12 Apr 2017 15:51:14 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3CFpDNT006333; Wed, 12 Apr 2017 15:51:13 GMT (envelope-from lifanov@FreeBSD.org) Received: (from lifanov@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3CFpDNx006328; Wed, 12 Apr 2017 15:51:13 GMT (envelope-from lifanov@FreeBSD.org) Message-Id: <201704121551.v3CFpDNx006328@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lifanov set sender to lifanov@FreeBSD.org using -f From: Nikolai Lifanov Date: Wed, 12 Apr 2017 15:51:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438364 - in head: . sysutils/ansible sysutils/ansible/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 15:51:15 -0000 Author: lifanov Date: Wed Apr 12 15:51:13 2017 New Revision: 438364 URL: https://svnweb.freebsd.org/changeset/ports/438364 Log: update sysutils/ansible to 2.3.0.0 This is a major release! https://raw.githubusercontent.com/ansible/ansible/v2.3.0.0-1/CHANGELOG.md o stop "fixing" default interpreter of /usr/bin/python o remove NETADDR option and depend on py-netaddr unconditionally Differential Revision: https://reviews.freebsd.org/D10165 Modified: head/UPDATING head/sysutils/ansible/Makefile head/sysutils/ansible/distinfo head/sysutils/ansible/files/pkg-message.in Modified: head/UPDATING ============================================================================== --- head/UPDATING Wed Apr 12 15:51:08 2017 (r438363) +++ head/UPDATING Wed Apr 12 15:51:13 2017 (r438364) @@ -5,6 +5,20 @@ 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. +20170412: + AFFECTS: users of sysutils/ansible + AUTHOR: lifanov@FreeBSD.org + + The default value for ansible_python_interpreter has been changed + to match the upstream /usr/bin/python. If managing FreeBSD systems, + adjust the hosts database to explicitly set a valid python interpreter: + + [freebsd] + host1 + + [freebsd_vars] + ansible_python_interpreter=/usr/local/bin/python2.7 + 20170411: AFFECTS: users of security/libressl AUTHOR: brnrd@FreeBSD.org Modified: head/sysutils/ansible/Makefile ============================================================================== --- head/sysutils/ansible/Makefile Wed Apr 12 15:51:08 2017 (r438363) +++ head/sysutils/ansible/Makefile Wed Apr 12 15:51:13 2017 (r438364) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ansible -PORTVERSION?= 2.2.2.0 +PORTVERSION?= 2.3.0.0 PORTREVISION?= 0 CATEGORIES= sysutils python MASTER_SITES= http://releases.ansible.com/ansible/ @@ -16,21 +16,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto \ ${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 + ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \ + ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr NO_ARCH= yes -USES?= cpe python shebangfix +USES?= cpe python USE_PYTHON= autoplist distutils -python_CMD= ${LOCALBASE}/bin/python -SHEBANG_FILES+= lib/ansible/modules/core/*/*.py \ - lib/ansible/modules/core/*/*/*.py \ - lib/ansible/modules/extras/*/*.py \ - lib/ansible/modules/extras/*/*/*.py CPE_VENDOR= ansibleworks SUB_FILES= pkg-message +SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} -PLIST_FILES+= man/man1/ansible-doc.1.gz \ +PLIST_FILES+= man/man1/ansible-console.1.gz \ + man/man1/ansible-doc.1.gz \ man/man1/ansible-galaxy.1.gz \ man/man1/ansible-playbook.1.gz \ man/man1/ansible-pull.1.gz \ @@ -39,11 +37,7 @@ PLIST_FILES+= man/man1/ansible-doc.1.gz PORTEXAMPLES= ansible.cfg hosts -OPTIONS_DEFINE= DOCS EXAMPLES NETADDR -OPTIONS_DEFAULT=NETADDR - -NETADDR_DESC= Dependency on py-netaddr for ipaddr() filter -NETADDR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: .for f in bin/ansible docs/man/man1/* examples/* lib/ansible/*.py \ Modified: head/sysutils/ansible/distinfo ============================================================================== --- head/sysutils/ansible/distinfo Wed Apr 12 15:51:08 2017 (r438363) +++ head/sysutils/ansible/distinfo Wed Apr 12 15:51:13 2017 (r438364) @@ -1,3 +1,3 @@ -TIMESTAMP = 1490707549 -SHA256 (ansible-2.2.2.0.tar.gz) = efd9c574168ac1916dd57f7c88d4dd2e13ef816af0ee49a8d34c77567886e4c2 -SIZE (ansible-2.2.2.0.tar.gz) = 2510182 +TIMESTAMP = 1492010911 +SHA256 (ansible-2.3.0.0.tar.gz) = 299f3907cd566a20e163942fa82b6afc86ef89c2726ba503b90c1a651e82a458 +SIZE (ansible-2.3.0.0.tar.gz) = 4251730 Modified: head/sysutils/ansible/files/pkg-message.in ============================================================================== --- head/sysutils/ansible/files/pkg-message.in Wed Apr 12 15:51:08 2017 (r438363) +++ head/sysutils/ansible/files/pkg-message.in Wed Apr 12 15:51:13 2017 (r438364) @@ -8,22 +8,15 @@ host database and a sample configuration %%EXAMPLESDIR%%/ansible.cfg To use Ansible to control FreeBSD hosts, you need to -install the lang/python package on remote machines. - -To use Ansible to control systems other than FreeBSD, -set the Python interpreter in the host database for -that system. Example: +install the lang/python package on remote machines +and set up a path to the python interpreter. Example: [freebsd] host1 host2 - [centos] - host3 - host4 - - [centos:vars] - ansible_python_interpreter=/usr/bin/python + [freebsd:vars] + ansible_python_interpreter=%%PYTHON_CMD%% Python notes: