Return to Makefile CVS log | Up to [cvs.NetBSD.org] / pkgsrc / sysutils / salt |
File: [cvs.NetBSD.org] / pkgsrc / sysutils / salt / Makefile (download)
Revision 1.13, Sat May 11 18:26:19 2013 UTC (10 years, 10 months ago) by imil
Updated to version 0.15.1 This release fixes a serious security issue found in the way that RSA keys were being generated. It recommended that existing Salt keys be regenerated once 0.15.1 has been deployed on the master and all minions. A 'key_regen' routine has been added to 0.15.1 to make this transition easier. The following sequence is a convenient way to regenerate all keys in an environment: salt-run manage.key_regen You will be prompted to restart the master. Once completed, all keys in the environment will have been regenerated and you will need to accept the new keys using the following command: salt-key -A |
# $NetBSD: Makefile,v 1.13 2013/05/11 18:26:19 imil Exp $ # DISTNAME= salt-0.15.1 CATEGORIES= sysutils MASTER_SITES= http://pypi.python.org/packages/source/s/salt/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://saltstack.org/ COMMENT= Remote execution and configuration management system LICENSE= apache-2.0 SUBST_CLASSES+= fix-paths SUBST_STAGE.fix-paths= post-patch SUBST_MESSAGE.fix-paths=Fixing directory paths. SUBST_FILES.fix-paths+= conf/* SUBST_FILES.fix-paths+= doc/man/* SUBST_FILES.fix-paths+= salt/client.py SUBST_FILES.fix-paths+= salt/config.py SUBST_FILES.fix-paths+= salt/modules/mysql.py SUBST_FILES.fix-paths+= salt/modules/postgres.py SUBST_FILES.fix-paths+= salt/modules/tls.py SUBST_FILES.fix-paths+= salt/utils/parsers.py SUBST_FILES.fix-paths+= salt/utils/migrations.py SUBST_SED.fix-paths+= -e "s|/etc/salt|${PKG_SYSCONFDIR}|g" REPLACE_PYTHON+= salt/modules/munin.py REPLACE_PYTHON+= salt/returners/sentry_return.py RCD_SCRIPTS+= salt_master salt_minion FILES_SUBST+= PYTHON=${PYTHONBIN:Q} PKG_SYSCONFSUBDIR= salt EGDIR= ${PREFIX}/share/examples/salt INSTALLATION_DIRS+= ${EGDIR} CONF_FILES+= ${EGDIR}/master ${PKG_SYSCONFDIR}/master CONF_FILES+= ${EGDIR}/minion ${PKG_SYSCONFDIR}/minion post-install: ${INSTALL_DATA} ${WRKSRC}/conf/master ${DESTDIR}${EGDIR}/ ${INSTALL_DATA} ${WRKSRC}/conf/minion ${DESTDIR}${EGDIR}/ # Dependencies are documented at # http://docs.saltstack.org/en/latest/topics/installation/index.html#dependencies # Jinja2 is documented as an optional dependency, but it's small so we # include it unconditionally. # # There's also an optional dependency on gcc, for Cython support, but # we don't bother with that here. # .include "../../lang/python/application.mk" .include "../../lang/python/distutils.mk" DEPENDS+= zeromq>=2.1.9:../../net/zeromq DEPENDS+= ${PYPKGPREFIX}-zmq>=2.1.9:../../net/py-zmq DEPENDS+= ${PYPKGPREFIX}-m2crypto-[0-9]*:../../security/py-m2crypto DEPENDS+= ${PYPKGPREFIX}-crypto-[0-9]*:../../security/py-crypto DEPENDS+= ${PYPKGPREFIX}-msgpack-[0-9]*:../../devel/py-msgpack DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 .include "../../mk/bsd.pkg.mk"