Bug 188209 - [maintainer] [update] [patch] sysutils/ansible 1.5.4
Summary: [maintainer] [update] [patch] sysutils/ansible 1.5.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-03 00:30 UTC by Nikolai Lifanov
Modified: 2014-04-10 17:00 UTC (History)
0 users

See Also:


Attachments
ansible-1.5.4.diff (1.25 KB, patch)
2014-04-03 00:30 UTC, Nikolai Lifanov
no flags Details | Diff
ansible.diff (4.89 KB, patch)
2014-04-10 15:59 UTC, Nikolai Lifanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Lifanov 2014-04-03 00:30:00 UTC
	Please update sysutils/ansible to 1.5.4.
	This is a bugfix release.

	Changelog: https://raw.githubusercontent.com/ansible/ansible/v1.5.4/CHANGELOG.md

How-To-Repeat: 	Apply this patch.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-03 00:30:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

nemysis@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Nikolai Lifanov 2014-04-10 15:59:31 UTC
Please use this patch instead, improved by nemysis@.

Notable port changes: more efficient replace/install use, added
previously-missing man pages, and added desktop integration.

- Nikolai Lifanov
Comment 3 Rusmir Dusko freebsd_committer freebsd_triage 2014-04-10 16:41:44 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-04-10 16:50:41 UTC
Author: nemysis
Date: Thu Apr 10 15:50:37 2014
New Revision: 350818
URL: http://svnweb.freebsd.org/changeset/ports/350818
QAT: https://qat.redports.org/buildarchive/r350818/

Log:
  - Update to 1.5.4, announce message is here:
  
    - Security fix for safe_eval, which further hardens the checking of
      the evaluation function.
    - Changing order of variable precendence for system facts, to ensure
      that inventory variables take precedence over any facts that may be
      set on a host.
  
  - Change Makefile header, add Created by
  - Change master sites, add icon
  - Simplify REINPLACE
  - Add Desktop entry file
  
  PR:		ports/188209
  Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com>

Added:
  head/sysutils/ansible/files/ansible.desktop   (contents, props changed)
Modified:
  head/sysutils/ansible/Makefile
  head/sysutils/ansible/distinfo
  head/sysutils/ansible/files/pkg-message.in

Modified: head/sysutils/ansible/Makefile
==============================================================================
--- head/sysutils/ansible/Makefile	Thu Apr 10 15:45:03 2014	(r350817)
+++ head/sysutils/ansible/Makefile	Thu Apr 10 15:50:37 2014	(r350818)
@@ -1,8 +1,13 @@
+# Created by: Nikolai Lifanov <lifanov@mail.lifanov.com>
 # $FreeBSD$
 
 PORTNAME=	ansible
-PORTVERSION=	1.5.3
+PORTVERSION=	1.5.4
 CATEGORIES=	sysutils python
+MASTER_SITES=	SF/lifanov-ports-distfiles/sysutils/${PORTNAME}/:icons
+DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	lifanov@mail.lifanov.com
 COMMENT=	Simple ssh-based configuration management and orchestration system
@@ -21,9 +26,10 @@ ACCELERATE_RUN_DEPENDS=	${PYTHON_PKGNAME
 			${PYTHON_PKGNAMEPREFIX}keyczar>0:${PORTSDIR}/security/py-keyczar
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	ansible
-GH_TAGNAME=	v${DISTVERSION}
-GH_COMMIT=	6ae58a9
+GH_ACCOUNT=	${PORTNAME}
+GH_PROJECT=	${PORTNAME}
+GH_TAGNAME=	${GH_COMMIT}
+GH_COMMIT=	036c819
 
 USE_PYTHON=		2
 USE_PYDISTUTILS=	yes
@@ -34,32 +40,32 @@ 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-galaxy.1.gz \
 		man/man1/ansible-playbook.1.gz \
 		man/man1/ansible-pull.1.gz \
-		man/man1/ansible.1.gz
+		man/man1/ansible-vault.1.gz \
+		man/man1/ansible.1.gz \
+		${DESKTOPDIR}/${PORTNAME}.desktop \
+		share/pixmaps/${PORTNAME}.png
 
 PORTEXAMPLES=	ansible.cfg hosts
 
 post-patch:
-	@${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 \
-		${WRKSRC}/examples/hosts \
-		${WRKSRC}/lib/ansible/constants.py \
-		${WRKSRC}/lib/ansible/playbook/__init__.py \
-		${WRKSRC}/lib/ansible/runner/__init__.py \
-		${WRKSRC}/library/system/setup
-	@${REINPLACE_CMD} -i -e "s|/usr/share/ansible|${DATADIR}|" \
-		${WRKSRC}/docs/man/man1/ansible-playbook.1 \
-		${WRKSRC}/docs/man/man1/ansible.1 \
-		${WRKSRC}/examples/ansible.cfg \
-		${WRKSRC}/lib/ansible/constants.py \
-		${WRKSRC}/lib/ansible/playbook/__init__.py \
-		${WRKSRC}/lib/ansible/runner/__init__.py
-	@${RM}	${WRKSRC}/library/system/setup-e
+.for f in bin/ansible-galaxy docs/man/man1/ansible-playbook.1 \
+	docs/man/man1/ansible.1 examples/ansible.cfg \
+	examples/hosts lib/ansible/constants.py \
+	lib/ansible/playbook/__init__.py lib/ansible/runner/__init__.py \
+	library/system/setup
+	@${REINPLACE_CMD} -e 's|/etc/ansible|${ETCDIR}|' ${WRKSRC}/${f}
+.endfor
+
+.for f in docs/man/man1/ansible-playbook.1 docs/man/man1/ansible.1 \
+	examples/ansible.cfg lib/ansible/constants.py \
+	lib/ansible/playbook/__init__.py lib/ansible/runner/__init__.py
+	@${REINPLACE_CMD} -e 's|/usr/share/ansible|${DATADIR}|' ${WRKSRC}/${f}
+.endfor
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
@@ -68,5 +74,9 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/ansible.cfg ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/hosts ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+		${STAGEDIR}${PREFIX}/share/pixmaps/
+	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \
+		${STAGEDIR}${DESKTOPDIR}
 
 .include <bsd.port.mk>

Modified: head/sysutils/ansible/distinfo
==============================================================================
--- head/sysutils/ansible/distinfo	Thu Apr 10 15:45:03 2014	(r350817)
+++ head/sysutils/ansible/distinfo	Thu Apr 10 15:50:37 2014	(r350818)
@@ -1,2 +1,4 @@
-SHA256 (ansible-1.5.3.tar.gz) = 3b3f5a0410124ad5a432b1e8125fcd27118597af429f05e58e712ae2a9212539
-SIZE (ansible-1.5.3.tar.gz) = 1035170
+SHA256 (ansible-1.5.4.tar.gz) = 71cbe162ead87b044696166d6f74bf675f2f13246fba213ace3c6d93b40dffe0
+SIZE (ansible-1.5.4.tar.gz) = 1141916
+SHA256 (ansible.png) = 9bf68abd2c95db4dc8dfc091c0e0e0a9716891f28d157e3f04e541d96e1c6850
+SIZE (ansible.png) = 1160

Added: head/sysutils/ansible/files/ansible.desktop
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ansible/files/ansible.desktop	Thu Apr 10 15:50:37 2014	(r350818)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=ansible
+GenericName=ansible
+Comment=Simple ssh-based configuration management and orchestration system
+Icon=ansible
+Exec=ansible
+Categories=System;ConsoleOnly;
+Terminal=true

Modified: head/sysutils/ansible/files/pkg-message.in
==============================================================================
--- head/sysutils/ansible/files/pkg-message.in	Thu Apr 10 15:45:03 2014	(r350817)
+++ head/sysutils/ansible/files/pkg-message.in	Thu Apr 10 15:50:37 2014	(r350818)
@@ -1,3 +1,4 @@
+===============================================================================
 
 To use Ansible, you need at least a host database.
 If you installed examples, you will have a sample
@@ -20,3 +21,5 @@ that system. Example:
 
   [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"