- switch to pkg-readmes

ok ian@ (MAINTAINER)
This commit is contained in:
jasper 2010-11-09 21:39:57 +00:00
parent dd2211a462
commit 81afd07e22
5 changed files with 25 additions and 19 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.7 2010/07/12 01:17:11 ian Exp $
# $OpenBSD: Makefile,v 1.8 2010/11/09 21:39:57 jasper Exp $
COMMENT = continuous integration server
VERSION = 1.365
DISTNAME = hudson # nonsensical versioning, alas.
REVISION = 0
PKGNAME = hudson-${VERSION}
DIST_SUBDIR = hudson-${VERSION}
@ -42,7 +43,6 @@ SUBST_VARS += HOMEDIR
do-install:
${INSTALL_DATA_DIR} ${WARDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/hudson.war ${WARDIR}
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD ${WARDIR}
${INSTALL_DATA} ${FILESDIR}/hudson ${WRKDIST}
${SUBST_CMD} ${WRKDIST}/hudson
${INSTALL_SCRIPT} ${WRKDIST}/hudson ${BINDIR}

View File

@ -1,2 +0,0 @@
The Hudson data files are in this directory (/var/hudson), under the
"hidden" directory ".hudson".

View File

@ -1,13 +0,0 @@
To arrange for the standalone Hudson server to run automatically
on reboot, add the following to /etc/rc.local:
if [ -d ${PREFIX}/share/hudson ]; then
sudo -u _hudson ${PREFIX}/bin/hudson >/tmp/hudson.log 2>&1 &
fi
NOTE: This script runs Hudson on port 8000, not 8080, since most
Java application servers run on port 8080.
To run Hudson in an existing Java server, copy or link the war file
from ${PREFIX}/share/hudson to your server's deploy directory, or read
more at ${HOMEPAGE}.

View File

@ -1,9 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/07/25 00:05:31 ian Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/11/09 21:39:57 jasper Exp $
@newgroup _hudson:605
@newuser _hudson:605:_hudson:daemon:Hudson Account:${HOMEDIR}:/sbin/nologin
bin/hudson
share/doc/pkg-readmes/${FULLPKGNAME}
share/hudson/
share/hudson/README.OpenBSD
share/hudson/hudson.war
@extraunexec rm -rf ${HOMEDIR}
@owner _hudson

21
devel/hudson/pkg/README Normal file
View File

@ -0,0 +1,21 @@
$OpenBSD: README,v 1.1 2010/11/09 21:39:57 jasper Exp $
Running Hudson on OpenBSD.
To arrange for the standalone Hudson server to run automatically
on reboot, add the following to /etc/rc.local:
if [ -d ${TRUEPREFIX}/share/hudson ]; then
sudo -u _hudson ${TRUEPREFIX}/bin/hudson >/tmp/hudson.log 2>&1 &
fi
NOTE: This script runs Hudson on port 8000, not 8080, since most
Java application servers run on port 8080.
To run Hudson in an existing Java server, copy or link the war file
from ${TRUEPREFIX}/share/hudson to your server's deploy directory, or read
more at ${HOMEPAGE}.
The Hudson data files are in this directory (/var/hudson), under the
"hidden" directory ".hudson".