aboutsummaryrefslogtreecommitdiff
path: root/system/jenkins/jenkins.SlackBuild
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2012-07-28 23:02:12 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-07-28 23:02:12 -0500
commit22e45a74065bbc2cfaa790890ff09ad59ef374cf (patch)
tree75281d2278fb01da7005fa6597ec51a85089a1f2 /system/jenkins/jenkins.SlackBuild
parent0661cd016bcd4c889920bc13d2cb652886b222cb (diff)
system/jenkins: Updated for version 1.474.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/jenkins/jenkins.SlackBuild')
-rw-r--r--system/jenkins/jenkins.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/jenkins/jenkins.SlackBuild b/system/jenkins/jenkins.SlackBuild
index e29ddc7b43d77..d3a9e1fabb683 100644
--- a/system/jenkins/jenkins.SlackBuild
+++ b/system/jenkins/jenkins.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jenkins
-# Copyright 2008-2011 Giorgio Peron
+# Copyright 2012 Giorgio Peron Campodarsego, PD, Italy giorgio.peron@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jenkins
-VERSION=${VERSION:-1.421}
+VERSION=${VERSION:-1.474}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,7 @@ cp $CWD/files/logrotate.$PRGNAM $PKG/etc/logrotate.d/$PRGNAM.new
mkdir -p $PKG/etc/rc.d
cp $CWD/files/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-mkdir -p $PKG/var/lib/$PRGNAM
+mkdir -p $PKG/var/lib/$PRGNAM/apps
chown jenkins.jenkins $PKG/var/lib/jenkins
mkdir -p $PKG/var/log/$PRGNAM
@@ -78,6 +78,9 @@ touch $PKG/var/log/jenkins/jenkins.log.new
touch $PKG/var/log/jenkins/jenkins_console.log.new
chown -R jenkins.jenkins $PKG/var/log/jenkins
+# We can't depend on this directory persisting across reboots, since /var/run
+# is often on tmpfs (or even linked to /run), so we'll create this in the
+# init script's start() function too... --rworkman
mkdir -p $PKG/var/run/jenkins
chown jenkins:jenkins $PKG/var/run/jenkins