FreeBSD Bugzilla – Attachment 146780 Details for
Bug 191562
[new port] sysutils/rundeck Rundeck - remote node orchestration server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
rundeck.patch
rundeck.patch (text/plain), 7.16 KB, created by
Volodymyr Kostyrko
on 2014-09-04 11:44:12 UTC
(
hide
)
Description:
rundeck.patch
Filename:
MIME Type:
Creator:
Volodymyr Kostyrko
Created:
2014-09-04 11:44:12 UTC
Size:
7.16 KB
patch
obsolete
>Index: UIDs >=================================================================== >--- UIDs (revision 367239) >+++ UIDs (working copy) >@@ -216,6 +216,7 @@ > puppet:*:814:814::0:0:Puppet Daemon:/nonexistent:/usr/sbin/nologin > btsync:*:817:817::0:0:BitTorrent Sync Daemon:/nonexistent:/usr/sbin/nologin > jenkins:*:818:818::0:0:Jenkins CI:/usr/local/jenkins:/bin/sh >+rundeck:*:819:819::0:0:Rundeck:/usr/local/rundeck:/bin/sh > openacs:*:820:820::0:0:OpenACS Daemon User:/nonexistent:/usr/sbin/nologin > dotlrn:*:821:821::0:0:.LRN Daemon User:/nonexistent:/usr/sbin/nologin > polw:*:825:825::0:0:Policyd-weight Cache Owner:/nonexistent:/sbin/nologin >Index: GIDs >=================================================================== >--- GIDs (revision 367239) >+++ GIDs (working copy) >@@ -212,6 +212,7 @@ > puppet:*:814: > btsync:*:817: > jenkins:*:818: >+rundeck:*:819: > openacs:*:820: > dotlrn:*:821: > polw:*:825: >Index: sysutils/rundeck/Makefile >=================================================================== >--- sysutils/rundeck/Makefile (revision 0) >+++ sysutils/rundeck/Makefile (working copy) >@@ -0,0 +1,42 @@ >+# $FreeBSD$ >+ >+PORTNAME= rundeck >+PORTVERSION= 2.1.3 >+CATEGORIES= sysutils java >+MASTER_SITES= http://download.rundeck.org/jar/ >+DISTNAME= ${PORTNAME}-launcher-${PORTVERSION} >+EXTRACT_SUFX= .jar >+ >+MAINTAINER= c.kworr@gmail.com >+COMMENT= Web-accessible console for dispatching commands and scripts to your nodes >+ >+LICENSE= APACHE20 >+ >+USE_JAVA= yes >+JAVA_VERSION= 1.6+ >+ >+NO_BUILD= yes >+ >+USE_RC_SUBR= rundeck >+ >+RUNDECK_HOME?= ${PREFIX}/rundeck >+RUNDECK_USER?= rundeck >+RUNDECK_GROUP?= rundeck >+RUNDECK_LOG_FILE?= /var/log/rundeck.log >+ >+.if ${RUNDECK_USER} == "rundeck" >+USERS= rundeck >+.endif >+.if ${RUNDECK_GROUP} == "rundeck" >+GROUPS= rundeck >+.endif >+ >+SUB_LIST+= RUNDECK_HOME=${RUNDECK_HOME} RUNDECK_USER=${RUNDECK_USER} RUNDECK_GROUP=${RUNDECK_GROUP} JAVA_HOME=${JAVA_HOME} RUNDECK_LOG_FILE=${RUNDECK_LOG_FILE} >+ >+.include <bsd.port.pre.mk> >+ >+do-install: >+ ${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${RUNDECK_HOME}/server/lib >+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${DATADIR}/${PORTNAME}-launcher${EXTRACT_SUFX} >+ >+.include <bsd.port.post.mk> > >Property changes on: sysutils/rundeck/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Index: sysutils/rundeck/distinfo >=================================================================== >--- sysutils/rundeck/distinfo (revision 0) >+++ sysutils/rundeck/distinfo (working copy) >@@ -0,0 +1,2 @@ >+SHA256 (rundeck-launcher-2.1.3.jar) = 21dd520b7b84091e1c390395d95b38d86385afe6ff0c2b8f786d8d356e4ecb9b >+SIZE (rundeck-launcher-2.1.3.jar) = 56731833 > >Property changes on: sysutils/rundeck/distinfo >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: sysutils/rundeck/files/rundeck.in >=================================================================== >--- sysutils/rundeck/files/rundeck.in (revision 0) >+++ sysutils/rundeck/files/rundeck.in (working copy) >@@ -0,0 +1,84 @@ >+#!/bin/sh >+ >+# PROVIDE: rundeck >+# REQUIRE: LOGIN >+# KEYWORD: shutdown >+ >+# >+# Configuration settings for rundeck in /etc/rc.conf: >+# >+# rundeck_enable (bool): >+# Set to "NO" by default. >+# Set it to "YES" to enable rundeck >+# >+# rundeck_args (str): >+# Extra arguments passed to start command >+# >+# rundeck_home (str) >+# Set to "%%RUNDECK_HOME%%" by default. >+# Set the RUNDECK_HOME variable for rundeck process >+# >+# rundeck_java_home (str): >+# Set to "%%JAVA_HOME%%" by default. >+# Set the Java virtual machine to run rundeck >+# >+# rundeck_java_opts (str): >+# Set to "" by default. >+# Java VM args to use. >+# >+# rundeck_user (str): >+# Set to "%%RUNDECK_USER%%" by default. >+# User to run rundeck as. >+# >+# rundeck_group (str): >+# Set to "%%RUNDECK_GROUP%%" by default. >+# Group for data file ownership. >+# >+# rundeck_log_file (str): >+# Set to "%%RUNDECK_LOG_FILE%%" by default. >+# Log file location. >+# >+ >+. /etc/rc.subr >+ >+name="rundeck" >+rcvar=rundeck_enable >+ >+load_rc_config "${name}" >+ >+: ${rundeck_args="-b %%RUNDECK_HOME%%"} >+: ${rundeck_enable="NO"} >+: ${rundeck_home="%%RUNDECK_HOME%%"} >+: ${rundeck_java_home="%%JAVA_HOME%%"} >+: ${rundeck_user="%%RUNDECK_USER%%"} >+: ${rundeck_group="%%RUNDECK_GROUP%%"} >+: ${rundeck_log_file="%%RUNDECK_LOG_FILE%%"} >+ >+pidfile="/var/run/rundeck/rundeck.pid" >+command="/usr/sbin/daemon" >+java_cmd="${rundeck_java_home}/bin/java" >+procname="${java_cmd}" >+command_args="-p ${pidfile} ${java_cmd} ${rundeck_java_opts} -jar %%DATADIR%%/rundeck-launcher.jar ${rundeck_args} > ${rundeck_log_file} 2>&1" >+required_files="${java_cmd}" >+ >+start_precmd="rundeck_prestart" >+start_cmd="rundeck_start" >+ >+rundeck_prestart() { >+ if [ ! -f "${rundeck_log_file}" ]; then >+ touch "${rundeck_log_file}" >+ chown "${rundeck_user}:${rundeck_group}" "${rundeck_log_file}" >+ chmod 640 "${rundeck_log_file}" >+ fi >+ if [ ! -d "/var/run/rundeck" ]; then >+ install -d -o "${rundeck_user}" -g "${rundeck_group}" -m 750 "/var/run/rundeck" >+ fi >+} >+ >+rundeck_start() >+{ >+ check_startmsgs && echo "Starting ${name}." >+ su -l ${rundeck_user} -c "exec ${command} ${command_args} ${rc_arg}" >+} >+ >+run_rc_command "$1" > >Property changes on: sysutils/rundeck/files/rundeck.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: sysutils/rundeck/pkg-descr >=================================================================== >--- sysutils/rundeck/pkg-descr (revision 0) >+++ sysutils/rundeck/pkg-descr (working copy) >@@ -0,0 +1,5 @@ >+In a nutshell Jenkins CI is the leading open-source continuous integration >+server. Built with Java, it provides over 300 plugins to support building >+and testing virtually any project. >+ >+WWW: http://jenkins-ci.org/ > >Property changes on: sysutils/rundeck/pkg-descr >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Index: sysutils/rundeck/pkg-plist >=================================================================== >--- sysutils/rundeck/pkg-plist (revision 0) >+++ sysutils/rundeck/pkg-plist (working copy) >@@ -0,0 +1,4 @@ >+etc/rc.d/rundeck >+%%DATADIR%%/rundeck-launcher.jar >+@dirrmtry rundeck >+@dirrmtry %%DATADIR%% > >Property changes on: sysutils/rundeck/pkg-plist >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191562
:
144343
|
146780
|
146787
|
146788
|
146789