Import Jenkins, community fork of Hudson, looks ok to sthen@
This commit is contained in:
parent
f2c970dee9
commit
d889fab5e6
45
devel/jenkins/Makefile
Normal file
45
devel/jenkins/Makefile
Normal file
@ -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 <ian@openbsd.org>
|
||||
|
||||
# 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>
|
5
devel/jenkins/distinfo
Normal file
5
devel/jenkins/distinfo
Normal file
@ -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
|
6
devel/jenkins/pkg/DESCR
Normal file
6
devel/jenkins/pkg/DESCR
Normal file
@ -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.
|
14
devel/jenkins/pkg/PLIST
Normal file
14
devel/jenkins/pkg/PLIST
Normal file
@ -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
|
22
devel/jenkins/pkg/README
Normal file
22
devel/jenkins/pkg/README
Normal file
@ -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".
|
12
devel/jenkins/pkg/SECURITY
Normal file
12
devel/jenkins/pkg/SECURITY
Normal file
@ -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
|
15
devel/jenkins/pkg/jenkins.rc
Normal file
15
devel/jenkins/pkg/jenkins.rc
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user