diff options
Diffstat (limited to 'system/jenkins/jenkins.SlackBuild')
-rw-r--r-- | system/jenkins/jenkins.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/system/jenkins/jenkins.SlackBuild b/system/jenkins/jenkins.SlackBuild index e29ddc7b43..d3a9e1fabb 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 |