--- py-salt-common/Makefile 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-common/Makefile 2017-08-15 12:49:44.263276000 -0600 @@ -0,0 +1,65 @@ +# Created by: Christer Edwards +# $FreeBSD: head/sysutils/py-salt-common/Makefile $ + +PORTNAME= salt +PORTVERSION= 2017.7.1 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= -common + +MAINTAINER= christer.edwards@gmail.com +COMMENT= Event driven automation platform common libraries + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 \ + ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.3:devel/py-msgpack-python \ + ${PYTHON_PKGNAMEPREFIX}libcloud>=0.14.0:net/py-libcloud \ + ${PYTHON_PKGNAMEPREFIX}botocore>0:devel/py-botocore \ + ${PYTHON_PKGNAMEPREFIX}MarkupSafe>0:textproc/py-MarkupSafe \ + ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests \ + ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34 \ + ${PYTHON_PKGNAMEPREFIX}progressbar>0:misc/py-progressbar \ + ${PYTHON_PKGNAMEPREFIX}futures>=2.0:devel/py-futures \ + ${PYTHON_PKGNAMEPREFIX}tornado>=4.2.1:www/py-tornado + +USES= cpe python:2 python:3 +CPE_VENDOR= saltstack +CPE_PRODUCT= salt +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +# we must pass these options before the target name, and python.mk has no +# early-arguments variable, so we have to manipulate the target +PYDISTUTILS_INSTALL_TARGET=\ + --salt-root-dir=/ \ + --salt-config-dir=${ETCDIR} \ + --salt-cache-dir=/var/cache/salt \ + --salt-sock-dir=/var/run/salt \ + --salt-srv-root-dir=${ETCDIR} \ + --salt-base-file-roots-dir=${ETCDIR}/states \ + --salt-base-pillar-roots-dir=${ETCDIR}/pillar \ + --salt-base-master-roots-dir=${ETCDIR}/salt-master \ + --salt-logs-dir=/var/log/salt \ + --salt-pidfile-dir=/var/run \ + install + + +post-patch: +.for file in conf/minion conf/master doc/man/salt-key.1 \ + doc/man/salt-cp.1 doc/man/salt-minion.1 doc/man/salt-syndic.1 \ + doc/man/salt-master.1 doc/man/salt-run.1 doc/man/salt.7 doc/man/salt.1 \ + doc/man/salt-call.1 \ + salt/modules/mysql.py salt/utils/parsers.py salt/modules/tls.py \ + salt/modules/postgres.py salt/utils/migrations.py + @${REINPLACE_CMD} -e 's|/etc/salt|${ETCDIR}|' \ + -e 's|/srv/salt|${ETCDIR}/states|' \ + -e 's|/srv/pillar|${ETCDIR}/pillar|' ${WRKSRC}/${file} +.endfor + @${REINPLACE_CMD} -e 's|yumpkg5|pkgng|' ${WRKSRC}/conf/minion + + +.include --- py-salt-common/distinfo 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-common/distinfo 2017-08-15 12:50:14.912194000 -0600 @@ -0,0 +1,3 @@ +TIMESTAMP = 1502823014 +SHA256 (salt-2017.7.1.tar.gz) = fe868415d0e1162157186f4c5263e9af902b0571870ad2da210e7edf5ff5331d +SIZE (salt-2017.7.1.tar.gz) = 11408839 --- py-salt-common/files/patch-setup.py 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-common/files/patch-setup.py 2017-08-01 08:48:44.044859000 -0600 @@ -0,0 +1,13 @@ +--- setup.py.orig 2016-11-22 16:50:54 UTC ++++ setup.py +@@ -988,8 +988,8 @@ class SaltDistribution(distutils.dist.Di + def _property_data_files(self): + # Data files common to all scenarios + data_files = [ +- ('share/man/man1', ['doc/man/salt-call.1', 'doc/man/salt-run.1']), +- ('share/man/man7', ['doc/man/salt.7']) ++ ('man/man1', ['doc/man/salt-call.1', 'doc/man/salt-run.1']), ++ ('man/man7', ['doc/man/salt.7']) + ] + if self.ssh_packaging or PACKAGED_FOR_SALT_SSH: + data_files[0][1].append('doc/man/salt-ssh.1') --- py-salt-common/pkg-descr 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-common/pkg-descr 2017-08-15 12:57:35.251267000 -0600 @@ -0,0 +1,8 @@ +SaltStack : Event Driven Automation Platform +============================================ + +Salt is a powerful remote execution and state manager that can be +used to administer servers in a fast and efficient way. + +WWW: https://pypi.python.org/pypi/salt +WWW: http://saltstack.org/ --- py-salt-common/pkg-plist 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-common/pkg-plist 2017-08-01 08:48:44.106688000 -0600 @@ -0,0 +1,3 @@ +%%PYTHON_SITELIBDIR%%/salt/_syspaths.py +%%PYTHON_SITELIBDIR%%/salt/_syspaths.pyc +%%PYTHON_SITELIBDIR%%/salt/_syspaths.%%PYTHON_PYOEXTENSION%% --- py-salt-tcp/Makefile 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/Makefile 2017-08-15 12:49:53.536822000 -0600 @@ -0,0 +1,41 @@ +PORTNAME= salt +PORTVERSION= 2017.7.1 +CATEGORIES= sysutils python +PKGNAMESUFFIX= -tcp +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}-zmq-* + +LICENSE= APACHE20 + +MAINTAINER= christer.edwards@gmail.com +COMMENT= Event driven automation platform TCP transport + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyzmq>=2.2.0:net/py-pyzmq + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyzmq>=2.2.0:net/py-pyzmq \ + ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto \ + ${PYTHON_PKGNAMEPREFIX}salt-common>=2017.7.0:sysutils/py-salt-common + +USES= cpe metaport python:2 python:3 +CPE_VENDOR= saltstack +CPE_PRODUCT= salt + +NO_MTREE= yes +NO_ARCH= yes + +SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} + +USE_RC_SUBR= salt_api \ + salt_master \ + salt_minion \ + salt_proxy \ + salt_syndic + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d + @${MKDIR} ${STAGEDIR}${ETCDIR}/minion.d + @${MKDIR} ${STAGEDIR}${ETCDIR}/master.d + ${INSTALL} ${FILESDIR}/transport.conf ${STAGEDIR}${ETCDIR}/minion.d/_transport.conf + ${INSTALL} ${FILESDIR}/transport.conf ${STAGEDIR}${ETCDIR}/master.d/_transport.conf + +.include --- py-salt-tcp/files/salt_api.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/files/salt_api.in 2017-08-01 08:48:44.219706000 -0600 @@ -0,0 +1,31 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-tcp/files/salt_api.in 398042 2015-09-27 14:32:04Z junovitch $ +# +# Salt API startup script +# +# PROVIDE: salt_api +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_api_enable (bool): Set to NO by default. +# Set it to YES to enable salt_api +# + +. /etc/rc.subr + +name=salt_api +rcvar=salt_api_enable + +load_rc_config ${name} + +: ${salt_api_enable:=NO} + +command="%%PREFIX%%/bin/salt-api" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" + +run_rc_command "$1" --- py-salt-tcp/files/salt_master.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/files/salt_master.in 2017-08-01 08:48:44.226402000 -0600 @@ -0,0 +1,42 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-tcp/files/salt_master.in $ +# +# Salt Master startup script +# +# PROVIDE: salt_master +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_master_enable (bool): Set to NO by default. +# Set it to YES to enable salt_master. +# salt_master_paths (string): Set to "/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin" by default. +# Default $PATH for salt_master. +# salt_master_eggcache (string): Set to "/tmp" by default. +# Allows defining egg cache directory to fix runtime on diskless systems. +# + +. /etc/rc.subr + +name=salt_master +rcvar=salt_master_enable + +load_rc_config ${name} + +: ${salt_master_enable:=NO} +: ${salt_master_paths=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin} +: ${salt_master_pidfile:=/var/run/salt-master.pid} +: ${salt_master_eggcache=/tmp} + +command="%%PREFIX%%/bin/salt-master" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" +pidfile=${salt_master_pidfile} + +export PATH="${salt_master_paths}" +export PYTHON_EGG_CACHE="${salt_master_eggcache}" + +run_rc_command "$1" --- py-salt-tcp/files/salt_minion.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/files/salt_minion.in 2017-08-01 08:48:44.234228000 -0600 @@ -0,0 +1,42 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-tcp/files/salt_minion.in $ +# +# Salt Minion startup script +# +# PROVIDE: salt_minion +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_minion_enable (bool): Set to NO by default. +# Set it to YES to enable salt_minion +# salt_minion_paths (string): Set to "/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin" by default. +# Default $PATH for salt_minion +# salt_minion_eggcache (string): Set to "/tmp" by default. +# Allows defining egg cache directory to fix runtime on diskless systems. +# + +. /etc/rc.subr + +name=salt_minion +rcvar=salt_minion_enable + +load_rc_config ${name} + +: ${salt_minion_enable:=NO} +: ${salt_minion_paths=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin} +: ${salt_minion_pidfile:=/var/run/salt-minion.pid} +: ${salt_minion_eggcache=/tmp} + +command="%%PREFIX%%/bin/salt-minion" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" +pidfile=${salt_minion_pidfile} + +export PATH="${salt_minion_paths}" +export PYTHON_EGG_CACHE="${salt_minion_eggcache}" + +run_rc_command "$1" --- py-salt-tcp/files/salt_proxy.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/files/salt_proxy.in 2017-08-01 08:48:44.240406000 -0600 @@ -0,0 +1,59 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-tcp/files/salt_proxy.in $ +# +# Salt Proxy startup script +# +# PROVIDE: salt_proxy +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_proxy_enable (bool): Set to NO by default. +# Set it to YES to enable salt_proxy. +# salt_proxy_paths (string): Set to "/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin" by default. +# Default $PATH for Salt +# salt_proxy_eggcache (string): Set to "/tmp" by default. +# Allows defining egg cache directory to fix runtime on diskless systems. +# salt_proxy_list (string): Set to "" by default. +# Space separated list of proxies. +# + +. /etc/rc.subr + +name=salt_proxy +rcvar=salt_proxy_enable + +load_rc_config ${name} + +: ${salt_proxy_enable:=NO} +: ${salt_proxy_paths=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin} +: ${salt_proxy_eggcache=/tmp} + +start_cmd=salt_proxy_start + +command="%%PREFIX%%/bin/salt-proxy" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" + +export PATH="${salt_minion_paths}" +export PYTHON_EGG_CACHE="${salt_minion_eggcache}" + +salt_proxy_start() +{ + if [ ! -n "${salt_proxy_list}" ]; then + echo "${salt_proxy_list} is undefined" + return 1 + fi + + local _proxy + + for _proxy in ${salt_proxy_list}; do + echo "Starting salt-proxy: ${_proxy}" + ${command_interpreter} ${command} --proxyid ${_proxy} ${command_args} + done +} + +run_rc_command "$1" --- py-salt-tcp/files/salt_syndic.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/files/salt_syndic.in 2017-08-01 08:48:44.246333000 -0600 @@ -0,0 +1,31 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-tcp/files/salt_syndic.in $ +# +# Salt Synic startup script +# +# PROVIDE: salt_syndic +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_syndic_enable (bool): Set to NO by default. +# Set it to YES to enable salt_syndic +# + +. /etc/rc.subr + +name=salt_syndic +rcvar=salt_syndic_enable + +load_rc_config ${name} + +: ${salt_syndic_enable:=NO} + +command="%%PREFIX%%/bin/salt-syndic" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" + +run_rc_command "$1" --- py-salt-tcp/files/transport.conf 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/files/transport.conf 2017-08-04 08:19:15.859873000 -0600 @@ -0,0 +1, @@ +transport: tcp --- py-salt-tcp/pkg-descr 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/pkg-descr 2017-08-15 12:57:23.770089000 -0600 @@ -0,0 +1,7 @@ +SaltStack : Event Driven Automation Platform +============================================ + +This port provides the TCP trasport. + +WWW: https://pypi.python.org/pypi/salt +WWW: http://saltstack.org/ --- py-salt-tcp/pkg-plist 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-tcp/pkg-plist 2017-08-06 13:24:35.915828000 -0600 @@ -0,0 +1,2 @@ +%%ETCDIR%%/master.d/_transport.conf +%%ETCDIR%%/minion.d/_transport.conf --- py-salt-zmq/Makefile 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-zmq/Makefile 2017-08-15 12:50:00.554171000 -0600 @@ -0,0 +1,37 @@ +PORTNAME= salt +PORTVERSION= 2017.7.1 +CATEGORIES= sysutils python +PKGNAMESUFFIX= -zmq +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}-tcp-* + +LICENSE= APACHE20 + +MAINTAINER= christer.edwards@gmail.com +COMMENT= Event driven automation platform 0MQ transport + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyzmq>=2.2.0:net/py-pyzmq + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyzmq>=2.2.0:net/py-pyzmq \ + ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto \ + ${PYTHON_PKGNAMEPREFIX}salt-common>=2017.7.0:sysutils/py-salt-common + +USES= cpe metaport python:2 python:3 +CPE_VENDOR= saltstack +CPE_PRODUCT= salt + +NO_MTREE= yes +NO_ARCH= yes + +SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} + +USE_RC_SUBR= salt_api \ + salt_master \ + salt_minion \ + salt_proxy \ + salt_syndic + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d + +.include --- py-salt-zmq/files/salt_api.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-zmq/files/salt_api.in 2017-08-01 08:48:44.219706000 -0600 @@ -0,0 +1,31 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-zmq/files/salt_api.in $ +# +# Salt API startup script +# +# PROVIDE: salt_api +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_api_enable (bool): Set to NO by default. +# Set it to YES to enable salt_api +# + +. /etc/rc.subr + +name=salt_api +rcvar=salt_api_enable + +load_rc_config ${name} + +: ${salt_api_enable:=NO} + +command="%%PREFIX%%/bin/salt-api" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" + +run_rc_command "$1" --- py-salt-zmq/files/salt_master.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-zmq/files/salt_master.in 2017-08-01 08:48:44.226402000 -0600 @@ -0,0 +1,42 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-zmq/files/salt_master.in $ +# +# Salt Master startup script +# +# PROVIDE: salt_master +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_master_enable (bool): Set to NO by default. +# Set it to YES to enable salt_master. +# salt_master_paths (string): Set to "/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin" by default. +# Default $PATH for salt_master. +# salt_master_eggcache (string): Set to "/tmp" by default. +# Allows defining egg cache directory to fix runtime on diskless systems. +# + +. /etc/rc.subr + +name=salt_master +rcvar=salt_master_enable + +load_rc_config ${name} + +: ${salt_master_enable:=NO} +: ${salt_master_paths=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin} +: ${salt_master_pidfile:=/var/run/salt-master.pid} +: ${salt_master_eggcache=/tmp} + +command="%%PREFIX%%/bin/salt-master" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" +pidfile=${salt_master_pidfile} + +export PATH="${salt_master_paths}" +export PYTHON_EGG_CACHE="${salt_master_eggcache}" + +run_rc_command "$1" --- py-salt-zmq/files/salt_minion.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-zmq/files/salt_minion.in 2017-08-01 08:48:44.234228000 -0600 @@ -0,0 +1,42 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-zmq/files/salt_minion.in $ +# +# Salt Minion startup script +# +# PROVIDE: salt_minion +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_minion_enable (bool): Set to NO by default. +# Set it to YES to enable salt_minion +# salt_minion_paths (string): Set to "/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin" by default. +# Default $PATH for salt_minion +# salt_minion_eggcache (string): Set to "/tmp" by default. +# Allows defining egg cache directory to fix runtime on diskless systems. +# + +. /etc/rc.subr + +name=salt_minion +rcvar=salt_minion_enable + +load_rc_config ${name} + +: ${salt_minion_enable:=NO} +: ${salt_minion_paths=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin} +: ${salt_minion_pidfile:=/var/run/salt-minion.pid} +: ${salt_minion_eggcache=/tmp} + +command="%%PREFIX%%/bin/salt-minion" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" +pidfile=${salt_minion_pidfile} + +export PATH="${salt_minion_paths}" +export PYTHON_EGG_CACHE="${salt_minion_eggcache}" + +run_rc_command "$1" --- py-salt-zmq/files/salt_proxy.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-zmq/files/salt_proxy.in 2017-08-01 08:48:44.240406000 -0600 @@ -0,0 +1,59 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-zmq/files/salt_proxy.in $ +# +# Salt Proxy startup script +# +# PROVIDE: salt_proxy +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_proxy_enable (bool): Set to NO by default. +# Set it to YES to enable salt_proxy. +# salt_proxy_paths (string): Set to "/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin" by default. +# Default $PATH for Salt +# salt_proxy_eggcache (string): Set to "/tmp" by default. +# Allows defining egg cache directory to fix runtime on diskless systems. +# salt_proxy_list (string): Set to "" by default. +# Space separated list of proxies. +# + +. /etc/rc.subr + +name=salt_proxy +rcvar=salt_proxy_enable + +load_rc_config ${name} + +: ${salt_proxy_enable:=NO} +: ${salt_proxy_paths=/sbin:/bin:/usr/sbin:/usr/bin:%%PREFIX%%/bin:%%PREFIX%%/sbin} +: ${salt_proxy_eggcache=/tmp} + +start_cmd=salt_proxy_start + +command="%%PREFIX%%/bin/salt-proxy" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" + +export PATH="${salt_minion_paths}" +export PYTHON_EGG_CACHE="${salt_minion_eggcache}" + +salt_proxy_start() +{ + if [ ! -n "${salt_proxy_list}" ]; then + echo "${salt_proxy_list} is undefined" + return 1 + fi + + local _proxy + + for _proxy in ${salt_proxy_list}; do + echo "Starting salt-proxy: ${_proxy}" + ${command_interpreter} ${command} --proxyid ${_proxy} ${command_args} + done +} + +run_rc_command "$1" --- py-salt-zmq/files/salt_syndic.in 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-zmq/files/salt_syndic.in 2017-08-01 08:48:44.246333000 -0600 @@ -0,0 +1,31 @@ +#!/bin/sh + +# $FreeBSD: head/sysutils/py-salt-zmq/files/salt_syndic.in $ +# +# Salt Synic startup script +# +# PROVIDE: salt_syndic +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# Add the following to /etc/rc.conf[.local] to enable this service +# +# salt_syndic_enable (bool): Set to NO by default. +# Set it to YES to enable salt_syndic +# + +. /etc/rc.subr + +name=salt_syndic +rcvar=salt_syndic_enable + +load_rc_config ${name} + +: ${salt_syndic_enable:=NO} + +command="%%PREFIX%%/bin/salt-syndic" +command_interpreter="%%PYTHON_CMD%%" +required_files="%%PREFIX%%/etc/salt" +command_args="-c ${required_files} -d" + +run_rc_command "$1" --- py-salt-zmq/pkg-descr 1969-12-31 17:00:00.000000000 -0700 +++ py-salt-zmq/pkg-descr 2017-08-15 12:58:25.706836000 -0600 @@ -0,0 +1,7 @@ +SaltStack : Event Driven Automation Platform +============================================ + +This port provides the 0MQ trasport. + +WWW: https://pypi.python.org/pypi/salt +WWW: http://saltstack.org/