- Security fixes to check that hostnames match certificates with https urls (CVE-2015-3908) - get_url and uri modules - url and etcd lookup plugins - Security fixes to the zone (Solaris containers), jail (bsd containers), and chroot connection plugins. For a full list of changes see: https://github.com/ansible/ansible/blob/v1.9.2-1/CHANGELOG.md OK aja@
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.43 2015/07/01 21:26:38 rpe Exp $
|
|
|
|
COMMENT = ssh based config management framework
|
|
|
|
MODPY_EGG_VERSION = 1.9.2
|
|
DISTNAME = ansible-${MODPY_EGG_VERSION}
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
HOMEPAGE = http://www.ansible.com/
|
|
|
|
MAINTAINER = Robert Peichaer <rpe@openbsd.org>
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MASTER_SITES = http://releases.ansible.com/ansible/
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
RUN_DEPENDS = security/py-crypto \
|
|
security/py-keyczar \
|
|
security/py-paramiko \
|
|
textproc/py-yaml \
|
|
www/py-httplib2 \
|
|
www/py-jinja2
|
|
|
|
NO_TEST = Yes
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/ansible
|
|
EXDIR = ${PREFIX}/share/examples/ansible
|
|
MANDIR = ${PREFIX}/man
|
|
PLUGINDIR = ${PREFIX}/share/ansible_plugins
|
|
|
|
pre-configure:
|
|
@perl -pi -e "s,/usr/share,${TRUEPREFIX}/share,g;" \
|
|
-e "s,/usr/share/ansible_plugins,${PLUGINDIR},g" \
|
|
${WRKSRC}/lib/ansible/constants.py \
|
|
${WRKSRC}/examples/ansible.cfg \
|
|
${WRKSRC}/docs/man/man1/*.1
|
|
|
|
pre-install:
|
|
@find ${WRKSRC} \( -name '*.orig' -o -name '.git*' \
|
|
-o -name '.travis.yml' \) -type f -exec rm {} +
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${EXDIR} ${DOCDIR} ${MANDIR}
|
|
@cp -R ${WRKSRC}/examples/* ${EXDIR}/
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${EXDIR}
|
|
${SUBST_CMD} ${EXDIR}/hosts
|
|
@rm ${EXDIR}/hosts.beforesubst
|
|
${INSTALL_DATA} ${WRKSRC}/docs/man/man1/*.1 ${MANDIR}/man1
|
|
${INSTALL_DATA} ${WRKSRC}/{COPYING,README.md} ${DOCDIR}/
|
|
|
|
.include <bsd.port.mk>
|