svn commit: r369418 - in head/sysutils: . rubygem-smart_proxy_salt rubygem-smart_proxy_salt/files

Steve Wills swills at FreeBSD.org
Sat Sep 27 20:05:15 UTC 2014


Author: swills
Date: Sat Sep 27 20:05:12 2014
New Revision: 369418
URL: http://svnweb.freebsd.org/changeset/ports/369418
QAT: https://qat.redports.org/buildarchive/r369418/

Log:
  sysutils/rubygem-smart_proxy_salt: create port
  
  This plug-in adds support for SaltStack to Foreman's Smart Proxy.
  
  WWW: https://github.com/theforeman/smart_proxy_salt
  
  PR:		193976
  Submitted by:	Michael Moll <kvedulv at kvedulv.de>

Added:
  head/sysutils/rubygem-smart_proxy_salt/
  head/sysutils/rubygem-smart_proxy_salt/Makefile   (contents, props changed)
  head/sysutils/rubygem-smart_proxy_salt/distinfo   (contents, props changed)
  head/sysutils/rubygem-smart_proxy_salt/files/
  head/sysutils/rubygem-smart_proxy_salt/files/salt.rb   (contents, props changed)
  head/sysutils/rubygem-smart_proxy_salt/files/salt.yml.sample   (contents, props changed)
  head/sysutils/rubygem-smart_proxy_salt/pkg-descr   (contents, props changed)
  head/sysutils/rubygem-smart_proxy_salt/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sat Sep 27 19:37:55 2014	(r369417)
+++ head/sysutils/Makefile	Sat Sep 27 20:05:12 2014	(r369418)
@@ -813,6 +813,7 @@
     SUBDIR += rubygem-ohai
     SUBDIR += rubygem-parallel
     SUBDIR += rubygem-rubyipmi
+    SUBDIR += rubygem-smart_proxy_salt
     SUBDIR += rubygem-sys-admin
     SUBDIR += rubygem-sys-cpu
     SUBDIR += rubygem-sys-filesystem

Added: head/sysutils/rubygem-smart_proxy_salt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-smart_proxy_salt/Makefile	Sat Sep 27 20:05:12 2014	(r369418)
@@ -0,0 +1,31 @@
+# Created by: Michael Moll <kvedulv at kvedulv.de>
+# $FreeBSD$
+
+PORTNAME=	smart_proxy_salt
+PORTVERSION=	0.0.2
+CATEGORIES=	sysutils ruby
+MASTER_SITES=	RG
+
+MAINTAINER=	kvedulv at kvedulv.de
+COMMENT=	SaltStack Plug-In for Foreman's Smart Proxy
+
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	foreman-proxy>=1.6.0:${PORTSDIR}/net/foreman-proxy \
+		${PYTHON_PKGNAMEPREFIX}salt:${PORTSDIR}/sysutils/py-salt
+
+USE_RUBY=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+.include <bsd.port.pre.mk>
+
+post-install:
+		${MKDIR} ${STAGEDIR}${PREFIX}/etc/foreman-proxy
+		${MKDIR} ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.d
+		${INSTALL_DATA} ${FILESDIR}/salt.yml.sample ${STAGEDIR}${PREFIX}/etc/foreman-proxy/settings.d/salt.yml.sample
+		${MKDIR} ${STAGEDIR}${PREFIX}/share/foreman-proxy
+		${MKDIR} ${STAGEDIR}${PREFIX}/share/foreman-proxy/bundler.d
+		${INSTALL_DATA} ${FILESDIR}/salt.rb ${STAGEDIR}${PREFIX}/share/foreman-proxy/bundler.d/salt.rb
+
+.include <bsd.port.post.mk>

Added: head/sysutils/rubygem-smart_proxy_salt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-smart_proxy_salt/distinfo	Sat Sep 27 20:05:12 2014	(r369418)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/smart_proxy_salt-0.0.2.gem) = 7b3ea0eb67a9a0fd05ab9179e3f45b59968407d13720dbdd92e70b78cb601f73
+SIZE (rubygem/smart_proxy_salt-0.0.2.gem) = 20992

Added: head/sysutils/rubygem-smart_proxy_salt/files/salt.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-smart_proxy_salt/files/salt.rb	Sat Sep 27 20:05:12 2014	(r369418)
@@ -0,0 +1 @@
+gem 'smart_proxy_salt', '0.0.2'

Added: head/sysutils/rubygem-smart_proxy_salt/files/salt.yml.sample
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-smart_proxy_salt/files/salt.yml.sample	Sat Sep 27 20:05:12 2014	(r369418)
@@ -0,0 +1,4 @@
+---
+:enabled: true
+:autosign_file: /usr/local/etc/salt/autosign.conf
+:salt_command_user: root

Added: head/sysutils/rubygem-smart_proxy_salt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-smart_proxy_salt/pkg-descr	Sat Sep 27 20:05:12 2014	(r369418)
@@ -0,0 +1,3 @@
+This plug-in adds support for SaltStack to Foreman's Smart Proxy.
+
+WWW: https://github.com/theforeman/smart_proxy_salt

Added: head/sysutils/rubygem-smart_proxy_salt/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-smart_proxy_salt/pkg-plist	Sat Sep 27 20:05:12 2014	(r369418)
@@ -0,0 +1,3 @@
+bin/foreman-node
+share/foreman-proxy/bundler.d/salt.rb
+ at sample etc/foreman-proxy/settings.d/salt.yml.sample


More information about the svn-ports-head mailing list