aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-09-07 17:51:35 +0000
committerSteve Wills <swills@FreeBSD.org>2012-09-07 17:51:35 +0000
commit6cf8a3c5bfa17d769374f9b9fe5d9fdb35eec4b7 (patch)
treedaf20ab01e59d4e271ab0e1f6c03e6899345ae9f /sysutils
parent1e9d1c6483b0fa3d05f09d814382fca42d796482 (diff)
downloadports-6cf8a3c5bfa17d769374f9b9fe5d9fdb35eec4b7.tar.gz
ports-6cf8a3c5bfa17d769374f9b9fe5d9fdb35eec4b7.zip
Salt Cloud is a generic cloud provisioning tool which can hook into
existing cloud management systems. WWW: http://saltstack.org PR: ports/171225 Submitted by: christer.edwards@gmail.com
Notes
Notes: svn path=/head/; revision=303813
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/salt-cloud/Makefile37
-rw-r--r--sysutils/salt-cloud/distinfo2
-rw-r--r--sysutils/salt-cloud/files/patch-setup.py14
-rw-r--r--sysutils/salt-cloud/pkg-descr4
-rw-r--r--sysutils/salt-cloud/pkg-plist56
6 files changed, 114 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 4857bb1b2171..d2ff8fc63fe7 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -827,6 +827,7 @@
SUBDIR += safe-rm
SUBDIR += safecat
SUBDIR += salt
+ SUBDIR += salt-cloud
SUBDIR += samefile
SUBDIR += samesame
SUBDIR += sarah
diff --git a/sysutils/salt-cloud/Makefile b/sysutils/salt-cloud/Makefile
new file mode 100644
index 000000000000..61a6f879a6a0
--- /dev/null
+++ b/sysutils/salt-cloud/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: salt-cloud
+# Date created: 2012-07-16
+# Whom: Christer Edwards <christer.edwards@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= salt-cloud
+PORTVERSION= 0.7.0
+CATEGORIES= sysutils python
+MASTER_SITES= https://github.com/downloads/saltstack/salt-cloud/
+
+MAINTAINER= christer.edwards@gmail.com
+COMMENT= Provisioning salted minions to various cloud providers
+
+LICENSE= AL2
+
+FETCH_ARGS= -pRr
+USE_PYTHON= 2.6-2.7
+USE_PYDISTUTILS= yes
+
+SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
+
+MAN1= salt-cloud.1
+MAN7= salt-cloud.7
+
+BUILD_DEPENDS+= salt:${PORTSDIR}/sysutils/salt \
+ ${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml \
+ ${PYTHON_PKGNAMEPREFIX}libcloud>=0:${PORTSDIR}/net/py-libcloud \
+ ${PYTHON_PKGNAMEPREFIX}paramiko>=0:${PORTSDIR}/security/py-paramiko \
+
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/sysutils/salt-cloud/distinfo b/sysutils/salt-cloud/distinfo
new file mode 100644
index 000000000000..8b70f5ce50e4
--- /dev/null
+++ b/sysutils/salt-cloud/distinfo
@@ -0,0 +1,2 @@
+SHA256 (salt-cloud-0.7.0.tar.gz) = 506bebdead9d0482204236dd546909493a12607fd5b40245de797cf602ea1827
+SIZE (salt-cloud-0.7.0.tar.gz) = 28272
diff --git a/sysutils/salt-cloud/files/patch-setup.py b/sysutils/salt-cloud/files/patch-setup.py
new file mode 100644
index 000000000000..a4175ea24a54
--- /dev/null
+++ b/sysutils/salt-cloud/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- work/salt-cloud-0.6.0/setup.py 2012-07-13 11:50:56.000000000 -0600
++++ setup.py 2012-07-16 13:07:15.901865171 -0600
+@@ -45,9 +45,9 @@
+ package_data={
+ 'saltcloud': ['deploy/*'],
+ },
+- data_files=[('share/man/man1',
++ data_files=[('man/man1',
+ ['doc/man/salt-cloud.1']),
+- ('share/man/man7',
++ ('man/man7',
+ ['doc/man/salt-cloud.7'])],
+ scripts=['scripts/salt-cloud'],
+ )
diff --git a/sysutils/salt-cloud/pkg-descr b/sysutils/salt-cloud/pkg-descr
new file mode 100644
index 000000000000..a146e5e28ab1
--- /dev/null
+++ b/sysutils/salt-cloud/pkg-descr
@@ -0,0 +1,4 @@
+Salt Cloud is a generic cloud provisioning tool which can hook into
+existing cloud management systems.
+
+WWW: http://saltstack.org
diff --git a/sysutils/salt-cloud/pkg-plist b/sysutils/salt-cloud/pkg-plist
new file mode 100644
index 000000000000..7bc649a4353d
--- /dev/null
+++ b/sysutils/salt-cloud/pkg-plist
@@ -0,0 +1,56 @@
+bin/salt-cloud
+%%PYTHON_SITELIBDIR%%/saltcloud/__init__.py
+%%PYTHON_SITELIBDIR%%/saltcloud/__init__.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/__init__.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/cli.py
+%%PYTHON_SITELIBDIR%%/saltcloud/cli.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/cli.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/cloud.py
+%%PYTHON_SITELIBDIR%%/saltcloud/cloud.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/cloud.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/__init__.py
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/__init__.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/__init__.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/aws.py
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/aws.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/aws.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/gogrid.py
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/gogrid.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/gogrid.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/joyent.py
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/joyent.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/joyent.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/linode.py
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/linode.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/linode.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/rackspace.py
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/rackspace.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/clouds/rackspace.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/config.py
+%%PYTHON_SITELIBDIR%%/saltcloud/config.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/config.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/deploy/Arch.sh
+%%PYTHON_SITELIBDIR%%/saltcloud/deploy/Fedora.sh
+%%PYTHON_SITELIBDIR%%/saltcloud/deploy/None.sh
+%%PYTHON_SITELIBDIR%%/saltcloud/deploy/RHEL5.sh
+%%PYTHON_SITELIBDIR%%/saltcloud/deploy/RHEL6.sh
+%%PYTHON_SITELIBDIR%%/saltcloud/deploy/Ubuntu.sh
+%%PYTHON_SITELIBDIR%%/saltcloud/libcloudfuncs.py
+%%PYTHON_SITELIBDIR%%/saltcloud/libcloudfuncs.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/libcloudfuncs.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/loader.py
+%%PYTHON_SITELIBDIR%%/saltcloud/loader.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/loader.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/output.py
+%%PYTHON_SITELIBDIR%%/saltcloud/output.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/output.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/utils/__init__.py
+%%PYTHON_SITELIBDIR%%/saltcloud/utils/__init__.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/utils/__init__.pyo
+%%PYTHON_SITELIBDIR%%/saltcloud/version.py
+%%PYTHON_SITELIBDIR%%/saltcloud/version.pyc
+%%PYTHON_SITELIBDIR%%/saltcloud/version.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/saltcloud/clouds
+@dirrm %%PYTHON_SITELIBDIR%%/saltcloud/deploy
+@dirrm %%PYTHON_SITELIBDIR%%/saltcloud/utils
+@dirrm %%PYTHON_SITELIBDIR%%/saltcloud