Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

5
sysutils/ansible2/DESCR Normal file
View File

@@ -0,0 +1,5 @@
Ansible is a radically simple model-driven configuration management,
multi-node deployment, and remote task execution system. Ansible works
over SSH and does not require any software or daemons to be installed
on remote nodes. Extension modules can be written in any language and
are transferred to managed machines automatically.

View File

@@ -0,0 +1,63 @@
# $NetBSD: Makefile,v 1.1 2016/06/08 14:16:25 jperkin Exp $
DISTNAME= ansible-2.1.0.0
CATEGORIES= python sysutils
MASTER_SITES= http://releases.ansible.com/ansible/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ansible.com/
COMMENT= SSH-based configuration management, deployment, and task execution
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
DEPENDS+= ${PYPKGPREFIX}-paramiko-[0-9]*:../../security/py-paramiko
DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-crypto>=2.6:../../security/py-crypto
USE_TOOLS+= gmake
PKG_SYSCONFSUBDIR= ansible
EGDIR= ${PREFIX}/share/examples/ansible
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths+= contrib/inventory/*.py
SUBST_FILES.paths+= docs/man/man1/*.1
SUBST_FILES.paths+= examples/ansible.cfg examples/hosts
SUBST_FILES.paths+= lib/ansible/*.py lib/ansible/*/*.py lib/ansible/*/*/*.py
SUBST_FILES.paths+= lib/ansible/*/*/*/*.py
SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_SED.paths= -e "s,/usr/share/ansible,${PREFIX}/share/ansible,g"
SUBST_SED.paths+= -e "s,/etc/ansible,${PKG_SYSCONFDIR},g"
SUBST_CLASSES+= pybin
SUBST_STAGE.pybin= pre-configure
SUBST_FILES.pybin= Makefile
SUBST_MESSAGE.pybin= Fixing path to PYTHONBIN.
SUBST_SED.pybin= -e "s,PYTHON=python,PYTHON=${PYTHONBIN},"
REPLACE_PYTHON= lib/ansible/*/*.py lib/ansible/*/*/*.py
REPLACE_PYTHON+= lib/ansible/*/*/*/*.py lib/ansible/*/*/*/*/*.py
REPLACE_PYTHON+= lib/ansible/*/*/*/*/*/*.py lib/ansible/*/*/*/*/*/*/*.py
MANPAGES= ansible-doc.1 ansible-galaxy.1 ansible-playbook.1 \
ansible-pull.1 ansible-vault.1 ansible.1
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKG_SYSCONFDIR} ${EGDIR}
OWN_DIRS= ${PREFIX}/share/ansible
CONF_FILES= ${EGDIR}/ansible.cfg ${PKG_SYSCONFDIR}/ansible.cfg
CONF_FILES+= ${EGDIR}/hosts ${PKG_SYSCONFDIR}/hosts
post-install:
.for f in ${MANPAGES}
${INSTALL_MAN} ${WRKSRC}/docs/man/man1/${f} \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.endfor
.for f in ansible.cfg hosts
${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}/${EGDIR}
.endfor
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

2844
sysutils/ansible2/PLIST Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2016/06/08 14:16:25 jperkin Exp $
SHA1 (ansible-2.1.0.0.tar.gz) = 319023b215344c843e26ccfd8716127ed903ad43
RMD160 (ansible-2.1.0.0.tar.gz) = 3fd1e1d3a9cd90b14c420a5d46852c2007a70adc
SHA512 (ansible-2.1.0.0.tar.gz) = 8601325098b70469cf908ce09c075334952774519a4331f109b6aa0568fc718bb347ea4d06389277e41ce54270b19dca01815f46071d8e638e0cd751957f20c7
Size (ansible-2.1.0.0.tar.gz) = 1877209 bytes