-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge from vendor branch FIX_VENDOR:
Import Jenkins, community fork of Hudson, looks ok to sthen@
- Loading branch information
Showing
7 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# $OpenBSD: Makefile,v 1.1.1.1 2011/03/25 19:40:39 ian Exp $ | ||
|
||
COMMENT = continuous integration server | ||
|
||
VERSION = 1.401 | ||
DISTNAME = jenkins | ||
PKGNAME = jenkins-${VERSION} | ||
DIST_SUBDIR = jenkins-${VERSION} | ||
|
||
CATEGORIES = devel | ||
|
||
HOMEPAGE = http://jenkins-ci.org/ | ||
|
||
MAINTAINER= Ian Darwin <[email protected]> | ||
|
||
# Code under MIT license, Artwork under Creative Commons | ||
PERMIT_PACKAGE_CDROM = Yes | ||
PERMIT_PACKAGE_FTP = Yes | ||
PERMIT_DISTFILES_CDROM =Yes | ||
PERMIT_DISTFILES_FTP = Yes | ||
|
||
MASTER_SITES = http://mirrors.jenkins-ci.org/war/${VERSION}/ | ||
EXTRACT_ONLY = | ||
EXTRACT_SUFX = .war | ||
|
||
MODULES = java | ||
MODJAVA_VER = 1.6+ | ||
MODJAVA_JRE = yes | ||
|
||
RUN_DEPENDS = java/javaPathHelper | ||
|
||
NO_BUILD = Yes | ||
NO_REGRESS = Yes | ||
|
||
HOMEDIR = /var/jenkins | ||
WARDIR = ${PREFIX}/share/jenkins | ||
BINDIR = ${PREFIX}/bin | ||
|
||
SUBST_VARS += HOMEDIR | ||
|
||
do-install: | ||
${INSTALL_DATA_DIR} ${WARDIR} | ||
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/jenkins.war ${WARDIR} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
MD5 (jenkins-1.401/jenkins.war) = QbLrYN3yMbuLRbpS8cCxDw== | ||
RMD160 (jenkins-1.401/jenkins.war) = fkUbnznYHBuJezZPQG7kfG/RLwE= | ||
SHA1 (jenkins-1.401/jenkins.war) = I8cdtlcniajhaDMpuEr1vFOayT4= | ||
SHA256 (jenkins-1.401/jenkins.war) = ZJpOqGvyYRa1e/aK4OwDVThZzIgy7+J82Xm7yMfAx6c= | ||
SIZE (jenkins-1.401/jenkins.war) = 36652345 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Jenkins is a community continuation of Hudson, the continuous | ||
integration (CI) server (for information on CI see | ||
http://www.martinfowler.com/articles/continuousIntegration.html). | ||
Written in Java and with a web-based configuration interface, Jenkins | ||
can be run standalone (contains its own tiny web server) or in any | ||
standard Java-capable web server or application server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/25 19:40:39 ian Exp $ | ||
@conflict hudson-* | ||
@newgroup _jenkins:666 | ||
@newuser _jenkins:666:_jenkins:daemon:Jenkins Account:${HOMEDIR}:/sbin/nologin | ||
@extraunexec rm -rf ${HOMEDIR} | ||
@owner _jenkins | ||
@group _jenkins | ||
@sample ${HOMEDIR}/ | ||
@owner | ||
@group | ||
share/doc/pkg-readmes/${FULLPKGNAME} | ||
share/jenkins/ | ||
share/jenkins/jenkins.war | ||
@rcscript ${RCDIR}/jenkins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
$OpenBSD: README,v 1.1.1.1 2011/03/25 19:40:39 ian Exp $ | ||
|
||
Running Jenkins on OpenBSD. | ||
|
||
To arrange for the standalone Jenkins server to run automatically | ||
on reboot, add "jenkins" to "rc_scripts" in /etc/rc.conf.local, e.g.: | ||
|
||
rc_scripts="${rc_scripts} jenkins" | ||
|
||
NOTE: This script runs Jenkins on port 8000, not 8080, since most | ||
Java application servers run on port 8080. | ||
|
||
To run Jenkins in another Java web/application server, copy the war | ||
file from ${TRUEPREFIX}/share/jenkins to your server's deploy | ||
directory, or read more at ${HOMEPAGE}. | ||
|
||
To use the email notifications, you will have to configure a valid | ||
sending address (and SMTP server, if not localhost) under | ||
Manage Jenkins -> Email Configuration. | ||
|
||
The Jenkins data files are in the home directory (/var/jenkins), | ||
under the "hidden" directory ".jenkins". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Jenkins runs external processes such as CVS, Ant, Make and so on, | ||
whose path is configurable from the web menu system. | ||
|
||
Please make very sure to enable login restriction under Manage | ||
Jenkins -> Enable Security if your server is reachable from any | ||
(untrusted) network! If you only run it on localhost, be sure to | ||
block access to the HTTP port using pf(8). | ||
|
||
Take these steps before you start the server the first time! | ||
|
||
See more information at | ||
http://wiki.jenkins-ci.org/display/JENKINS/Securing+Jenkins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
JENKINS_HOME=/var/jenkins | ||
PORT=8000 | ||
|
||
daemon=$(${TRUEPREFIX}/bin/javaPathHelper -c jenkins) | ||
daemon_flags="-jar ${TRUEPREFIX}/share/jenkins/jenkins.war --httpPort=${PORT}" | ||
daemon_user="_jenkins" | ||
|
||
. /etc/rc.d/rc.subr | ||
|
||
rc_bg=YES | ||
rc_reload=NO | ||
|
||
rc_cmd $1 |