# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-salt VERSION= 3001 REVISION= 2 KEYWORDS= python sysutils VARIANTS= py37 SDESC[py37]= Remote execution and config mgmt system (PY 37) HOMEPAGE= http://saltstack.org/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= PYPI/s/salt DISTFILE[1]= salt-3001.tar.gz:main DF_INDEX= 1 SPKGS[py37]= single OPTIONS_AVAILABLE= PY37 OPTIONS_STANDARD= none VOPTS[py37]= PY37=ON USES= cpe DISTNAME= salt-3001 LICENSE= APACHE20:single LICENSE_TERMS= single:{{WRKSRC}}/LICENSE LICENSE_FILE= APACHE20:stock LICENSE_SCHEME= solo CPE_PRODUCT= salt CPE_VENDOR= saltstack FPC_EQUIVALENT= sysutils/py-salt PYD_INSTALL_TARGET= --salt-root-dir=/ --salt-config-dir={{PREFIX}}/etc/salt --salt-cache-dir=/var/cache/salt --salt-sock-dir=/var/run/salt --salt-srv-root-dir={{PREFIX}}/etc/salt --salt-base-file-roots-dir={{PREFIX}}/etc/salt/states --salt-base-pillar-roots-dir={{PREFIX}}/etc/salt/pillar --salt-base-master-roots-dir={{PREFIX}}/etc/salt/salt-master --salt-logs-dir=/var/log/salt --salt-pidfile-dir=/var/run install RC_SUBR= salt_api:single salt_master:single salt_minion:single salt_proxy:single salt_syndic:single SUB_FILES= pkg-message-single SUB_LIST= PYTHON_CMD={{PYTHON_CMD}} [PY37].BUILDRUN_DEPENDS_ON= python-Jinja2:single:py37 python-msgpack:single:py37 python-PyYAML:single:py37 python-MarkupSafe:single:py37 python-requests:single:py37 python-pyzmq:single:py37 [PY37].RUN_DEPENDS_ON= python-pycryptodomex:single:py37 python-distro:single:py37 [PY37].USES_ON= python:py37 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|${PREFIX}/etc/salt|' \ -e 's|/srv/salt|${PREFIX}/etc/salt/states|' \ -e 's|/srv/pillar|${PREFIX}/etc/salt/pillar|' ${WRKSRC}/${file} .endfor ${REINPLACE_CMD} -e 's|yumpkg5|pkg|' ${WRKSRC}/conf/minion ${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|' ${WRKSRC}/salt/utils/rsax931.py post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/salt ${INSTALL_DATA} ${WRKSRC}/conf/master \ ${STAGEDIR}${PREFIX}/etc/salt/master.sample ${INSTALL_DATA} ${WRKSRC}/conf/minion \ ${STAGEDIR}${PREFIX}/etc/salt/minion.sample [FILE:405:descriptions/desc.single] SaltStack takes a new approach to infrastructure management by developing software that is easy enough to get running in seconds, scalable enough to manage tens of thousands of servers, and fast enough to control and communicate with them in milliseconds. SaltStack delivers a dynamic infrastructure communication bus used for orchestration, remote execution, configuration management and much more. [FILE:95:distinfo] 5ca60d1b2cc8e63db50995bd8b117914eeaf57c48ce2b3a3731ee57163adf154 14448043 salt-3001.tar.gz [FILE:62:manifests/plist.single] @sample etc/salt/master.sample @sample etc/salt/minion.sample [FILE:241:patches/patch-requirements_base.txt] --- requirements/base.txt.orig 2020-07-06 21:44:48.782573000 +0200 +++ requirements/base.txt 2020-07-06 21:45:00.625021000 +0200 @@ -1,5 +1,5 @@ Jinja2 -msgpack>=0.5,!=0.5.5,<1.0.0 +msgpack>=0.5,!=0.5.5 PyYAML MarkupSafe requests>=1.0.0 [FILE:392:patches/patch-requirements_static_py3.7_freebsd.txt] --- requirements/static/py3.7/freebsd.txt.orig 2020-07-06 21:46:16.968941000 +0200 +++ requirements/static/py3.7/freebsd.txt 2020-07-06 21:47:19.941674000 +0200 @@ -62,7 +62,7 @@ mock==3.0.5 more-itertools==5.0.0 moto==1.3.7 -msgpack==0.5.6 +msgpack==1.0.0 ncclient==0.6.4 # via junos-eznc netaddr==0.7.19 # via junos-eznc ntc-templates==1.4.0 # via junos-eznc [FILE:2290:patches/patch-requirements_static_py3.7_linux.txt] --- requirements/static/py3.7/linux.txt.orig 2020-07-06 21:50:50.930137000 +0200 +++ requirements/static/py3.7/linux.txt 2020-07-06 21:51:03.337836000 +0200 @@ -148,7 +148,7 @@ mock==3.0.5 more-itertools==5.0.0 moto==1.3.7 -msgpack==0.5.6 +msgpack==1.0.0 msrest==0.6.14 # via azure-applicationinsights, azure-eventgrid, azure-keyvault, azure-loganalytics, azure-mgmt-cdn, azure-mgmt-compute, azure-mgmt-containerinstance, azure-mgmt-containerregistry, azure-mgmt-containerservice, azure-mgmt-dns, azure-mgmt-eventhub, azure-mgmt-keyvault, azure-mgmt-media, azure-mgmt-network, azure-mgmt-rdbms, azure-mgmt-resource, azure-mgmt-servicebus, azure-mgmt-servicefabric, azure-mgmt-signalr, azure-servicefabric, msrestazure msrestazure==0.6.3 # via azure-batch, azure-eventgrid, azure-graphrbac, azure-keyvault, azure-mgmt-advisor, azure-mgmt-applicationinsights, azure-mgmt-authorization, azure-mgmt-batch, azure-mgmt-batchai, azure-mgmt-billing, azure-mgmt-cdn, azure-mgmt-cognitiveservices, azure-mgmt-commerce, azure-mgmt-compute, azure-mgmt-consumption, azure-mgmt-containerinstance, azure-mgmt-containerregistry, azure-mgmt-containerservice, azure-mgmt-cosmosdb, azure-mgmt-datafactory, azure-mgmt-datalake-analytics, azure-mgmt-datalake-store, azure-mgmt-datamigration, azure-mgmt-devspaces, azure-mgmt-devtestlabs, azure-mgmt-dns, azure-mgmt-eventgrid, azure-mgmt-eventhub, azure-mgmt-hanaonazure, azure-mgmt-iotcentral, azure-mgmt-iothub, azure-mgmt-iothubprovisioningservices, azure-mgmt-keyvault, azure-mgmt-loganalytics, azure-mgmt-logic, azure-mgmt-machinelearningcompute, azure-mgmt-managementgroups, azure-mgmt-managementpartner, azure-mgmt-maps, azure-mgmt-marketplaceordering, azure-mgmt-media, azure-mgmt-monitor, azure-mgmt-msi, azure-mgmt-network, azure-mgmt-notificationhubs, azure-mgmt-policyinsights, azure-mgmt-powerbiembedded, azure-mgmt-rdbms, azure-mgmt-recoveryservices, azure-mgmt-recoveryservicesbackup, azure-mgmt-redis, azure-mgmt-relay, azure-mgmt-reservations, azure-mgmt-resource, azure-mgmt-scheduler, azure-mgmt-search, azure-mgmt-servicebus, azure-mgmt-servicefabric, azure-mgmt-signalr, azure-mgmt-sql, azure-mgmt-storage, azure-mgmt-subscription, azure-mgmt-trafficmanager, azure-mgmt-web ncclient==0.6.4 # via junos-eznc [FILE:679:patches/patch-salt_utils_rsax931.py] --- salt/utils/rsax931.py.orig 2020-06-18 09:31:44.611887000 +0200 +++ salt/utils/rsax931.py 2020-06-18 09:34:12.705293000 +0200 @@ -43,7 +43,8 @@ # This could be /opt/tools/lib (Global Zone) or # /opt/local/lib (non-Global Zone), thus the two checks # below - lib = glob.glob("/opt/local/lib/libcrypto.so*") + lib = glob.glob('__PREFIX__/lib/libcrypto.so*') + lib = lib or glob.glob("/opt/local/lib/libcrypto.so*") lib = lib or glob.glob("/opt/tools/lib/libcrypto.so*") lib = lib[0] if lib else None elif salt.utils.platform.is_aix(): [FILE:1520:files/pkg-message-single.in] =================================================================================================== To configure a Salt Master, do the following: o Copy %%PREFIX%%/etc/salt/master.sample to %%PREFIX%%/etc/salt/master o Update to meet your needs o sysrc salt_master_enable="YES" --------------------------------------------------------------------------------------------------- To configure a Salt Minion, do the following: o Copy %%PREFIX%%/etc/salt/minion.sample to %%PREFIX%%/etc/salt/minion o Update 'master: salt' to point to your Salt Master's hostname or IP o sysrc salt_minion_enable="YES" --------------------------------------------------------------------------------------------------- To configure a Salt Proxy Minion, do the following: o sysrc salt_proxy_enable="YES" o sysrc salt_proxy_list="" o Update the salt_proxy_list with the proxy minion name(s) --------------------------------------------------------------------------------------------------- To change the Transport method from the default option of Zeromq to either TCP or RAET: o Re-build the port with the desired options enabled to install the correct runtime dependencies o Ensure the master and minions all have salt installed with these same options and dependencies o Add the line 'transport: [tcp|raet]' to both the master and minion configuration files o Restart salt on the master and minions =================================================================================================== [FILE:546:files/salt_api.in] #!/bin/sh # 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" [FILE:1164:files/salt_master.in] #!/bin/sh # 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" [FILE:1162:files/salt_minion.in] #!/bin/sh # 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" [FILE:1530:files/salt_proxy.in] #!/bin/sh # 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" [FILE:566:files/salt_syndic.in] #!/bin/sh # 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"