aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2016-03-21 17:30:31 +0000
committerRomain Tartière <romain@FreeBSD.org>2016-03-21 17:30:31 +0000
commit2a876b636bac136f814ef43b31d9160b4906c23a (patch)
tree6a6698ea259dac8df466f80cc83c8719875b82ba
parente54e754eebca355f8778c86f7a9a6840e5c57689 (diff)
downloadports-2a876b636bac136f814ef43b31d9160b4906c23a.tar.gz
ports-2a876b636bac136f814ef43b31d9160b4906c23a.zip
Add mcollective-service-common 3.1.3, MCollective common files to manage
the OS Services.
Notes
Notes: svn path=/head/; revision=411577
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/mcollective-service-common/Makefile34
-rw-r--r--sysutils/mcollective-service-common/distinfo2
-rw-r--r--sysutils/mcollective-service-common/pkg-descr4
4 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9ceff10ff689..51219e8fdd05 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -547,6 +547,7 @@
SUBDIR += mcollective-nettest-common
SUBDIR += mcollective-nrpe-agent
SUBDIR += mcollective-puppet-agent
+ SUBDIR += mcollective-service-common
SUBDIR += mcollective-shell-agent
SUBDIR += mcollective-shell-client
SUBDIR += mcron
diff --git a/sysutils/mcollective-service-common/Makefile b/sysutils/mcollective-service-common/Makefile
new file mode 100644
index 000000000000..6070d4bc8991
--- /dev/null
+++ b/sysutils/mcollective-service-common/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME?= mcollective-service-common
+PORTVERSION= 3.1.3
+CATEGORIES= sysutils
+
+MAINTAINER= romain@FreeBSD.org
+COMMENT?= MCollective common files to manage the OS Services
+
+LICENSE= APACHE20
+
+RUN_DEPENDS?= mcollective>=2:${PORTSDIR}/sysutils/mcollective
+
+USE_GITHUB= yes
+GH_ACCOUNT= puppetlabs
+GH_PROJECT= mcollective-service-agent
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES?= share/mcollective/agent/service.ddl \
+ share/mcollective/data/service_data.ddl \
+ share/mcollective/data/service_data.rb \
+ share/mcollective/util/service/base.rb \
+ share/mcollective/util/service/puppetservice.rb \
+ share/mcollective/validator/service_name.ddl \
+ share/mcollective/validator/service_name.rb
+
+.if !target(do-install)
+do-install:
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "agent/*.ddl data util validator" ${STAGEDIR}${PREFIX}/share/mcollective
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/mcollective-service-common/distinfo b/sysutils/mcollective-service-common/distinfo
new file mode 100644
index 000000000000..899c463780ed
--- /dev/null
+++ b/sysutils/mcollective-service-common/distinfo
@@ -0,0 +1,2 @@
+SHA256 (puppetlabs-mcollective-service-agent-3.1.3_GH0.tar.gz) = 93d70958fc160d7951bdd1e3b5a8f8729c914ce1026e4e6f090db0f3a36c6dda
+SIZE (puppetlabs-mcollective-service-agent-3.1.3_GH0.tar.gz) = 12483
diff --git a/sysutils/mcollective-service-common/pkg-descr b/sysutils/mcollective-service-common/pkg-descr
new file mode 100644
index 000000000000..58ba471780a5
--- /dev/null
+++ b/sysutils/mcollective-service-common/pkg-descr
@@ -0,0 +1,4 @@
+The mcollective service agent lets you stop, start, restart and query the
+statuses of services via MCollective.
+
+WWW: https://github.com/puppetlabs/mcollective-service-agent