From 81afd07e22ebb37d8dbb49d7ec3dca338799015a Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 9 Nov 2010 21:39:57 +0000 Subject: [PATCH] - switch to pkg-readmes ok ian@ (MAINTAINER) --- devel/hudson/Makefile | 4 ++-- devel/hudson/files/README.OpenBSD | 2 -- devel/hudson/pkg/MESSAGE | 13 ------------- devel/hudson/pkg/PLIST | 4 ++-- devel/hudson/pkg/README | 21 +++++++++++++++++++++ 5 files changed, 25 insertions(+), 19 deletions(-) delete mode 100644 devel/hudson/files/README.OpenBSD delete mode 100644 devel/hudson/pkg/MESSAGE create mode 100644 devel/hudson/pkg/README diff --git a/devel/hudson/Makefile b/devel/hudson/Makefile index 637fce2a7a3..e97717b8de6 100644 --- a/devel/hudson/Makefile +++ b/devel/hudson/Makefile @@ -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} diff --git a/devel/hudson/files/README.OpenBSD b/devel/hudson/files/README.OpenBSD deleted file mode 100644 index 9385e56e3a8..00000000000 --- a/devel/hudson/files/README.OpenBSD +++ /dev/null @@ -1,2 +0,0 @@ -The Hudson data files are in this directory (/var/hudson), under the -"hidden" directory ".hudson". diff --git a/devel/hudson/pkg/MESSAGE b/devel/hudson/pkg/MESSAGE deleted file mode 100644 index 869ae633d44..00000000000 --- a/devel/hudson/pkg/MESSAGE +++ /dev/null @@ -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}. diff --git a/devel/hudson/pkg/PLIST b/devel/hudson/pkg/PLIST index 671d0b9eb44..c9723a7864f 100644 --- a/devel/hudson/pkg/PLIST +++ b/devel/hudson/pkg/PLIST @@ -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 diff --git a/devel/hudson/pkg/README b/devel/hudson/pkg/README new file mode 100644 index 00000000000..dfcd6b115e1 --- /dev/null +++ b/devel/hudson/pkg/README @@ -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".