aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ansible
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2014-12-15 08:43:13 +0800
committerolgeni <olgeni@FreeBSD.org>2014-12-15 08:43:13 +0800
commitf0660dfe260de5c642a89c9275d24fdbd2b1adca (patch)
tree6d7bc8488b34820f8469dd350730c3125faae94b /sysutils/ansible
parentc7e94f9a005caee4f147be19c2c724dfb530a28c (diff)
downloadfreebsd-ports-gnome-f0660dfe260de5c642a89c9275d24fdbd2b1adca.tar.gz
freebsd-ports-gnome-f0660dfe260de5c642a89c9275d24fdbd2b1adca.tar.zst
freebsd-ports-gnome-f0660dfe260de5c642a89c9275d24fdbd2b1adca.zip
Restore Ansible modules by switching back to release distfiles.
PR: 195936 Submitted by: maintainer
Diffstat (limited to 'sysutils/ansible')
-rw-r--r--sysutils/ansible/Makefile21
-rw-r--r--sysutils/ansible/distinfo4
2 files changed, 11 insertions, 14 deletions
diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile
index 7f4e990a244e..c1ac4ff32c84 100644
--- a/sysutils/ansible/Makefile
+++ b/sysutils/ansible/Makefile
@@ -3,7 +3,9 @@
PORTNAME= ansible
PORTVERSION= 1.8.2
+PORTREVISION= 1
CATEGORIES= sysutils python
+MASTER_SITES= http://releases.ansible.com/ansible/
MAINTAINER= lifanov@mail.lifanov.com
COMMENT= Radically simple IT automation
@@ -18,14 +20,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \
OPTIONS_DEFINE= EXAMPLES
-USE_GITHUB= yes
-GH_ACCOUNT= ${PORTNAME}
-GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= 6f568bd
-
USES= cpe python:2 shebangfix
USE_PYTHON= autoplist distutils
-SHEBANG_FILES= lib/ansible/runner/action_plugins/synchronize.py
+SHEBANG_FILES= lib/ansible/runner/action_plugins/synchronize.py \
+ 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
@@ -43,18 +44,14 @@ post-patch:
.for f in bin/ansible-galaxy docs/man/man1/ansible-galaxy.1 \
docs/man/man1/ansible-playbook.1 docs/man/man1/ansible.1 \
examples/ansible.cfg examples/hosts lib/ansible/constants.py \
- lib/ansible/module_utils/urls.py lib/ansible/playbook/__init__.py \
- lib/ansible/runner/__init__.py plugins/README.md \
- plugins/inventory/cobbler.py plugins/inventory/collins.py \
- plugins/inventory/nova.py plugins/inventory/spacewalk.py \
- v2/ansible/constants.py v2/ansible/playbook/role/definition.py
+ lib/ansible/module_utils/urls.py lib/ansible/modules/core/system/setup.py \
+ lib/ansible/playbook/__init__.py lib/ansible/runner/__init__.py
@${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 \
- v2/ansible/constants.py
@${REINPLACE_CMD} -e 's|/usr/share/ansible|${DATADIR}|' ${WRKSRC}/${f}
.endfor
diff --git a/sysutils/ansible/distinfo b/sysutils/ansible/distinfo
index ae764f3f53f8..8d82d1c28632 100644
--- a/sysutils/ansible/distinfo
+++ b/sysutils/ansible/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ansible-1.8.2.tar.gz) = 629d88f44e60b1a581a6164762447635121d4dd272bf2fd0a55f681895daa5b1
-SIZE (ansible-1.8.2.tar.gz) = 934386
+SHA256 (ansible-1.8.2.tar.gz) = 2cd01ff4d67acb410bae0a9438956f6fc36d01babd956b0dc3b700620f2372b9
+SIZE (ansible-1.8.2.tar.gz) = 754435