Date: Thursday, August 8, 2013 @ 12:50:03 Author: arodseth Revision: 95264
archrelease: copy trunk to community-any Added: jenkins-ci/repos/community-any/LICENSE (from rev 95263, jenkins-ci/trunk/LICENSE) jenkins-ci/repos/community-any/PKGBUILD (from rev 95263, jenkins-ci/trunk/PKGBUILD) jenkins-ci/repos/community-any/jenkins-ci.install (from rev 95263, jenkins-ci/trunk/jenkins-ci.install) jenkins-ci/repos/community-any/jenkins.conf (from rev 95263, jenkins-ci/trunk/jenkins.conf) jenkins-ci/repos/community-any/jenkins.service (from rev 95263, jenkins-ci/trunk/jenkins.service) jenkins-ci/repos/community-any/jenkins.tmpfiles.d (from rev 95263, jenkins-ci/trunk/jenkins.tmpfiles.d) Deleted: jenkins-ci/repos/community-any/LICENSE jenkins-ci/repos/community-any/PKGBUILD jenkins-ci/repos/community-any/jenkins-ci.install jenkins-ci/repos/community-any/jenkins.conf jenkins-ci/repos/community-any/jenkins.service jenkins-ci/repos/community-any/jenkins.tmpfiles.d --------------------+ LICENSE | 46 +++++++++++------------ PKGBUILD | 84 +++++++++++++++++++++--------------------- jenkins-ci.install | 102 +++++++++++++++++++++++++-------------------------- jenkins.conf | 26 ++++++------- jenkins.service | 48 ++++++++++++------------ jenkins.tmpfiles.d | 4 +- 6 files changed, 155 insertions(+), 155 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2013-08-08 10:49:53 UTC (rev 95263) +++ LICENSE 2013-08-08 10:50:03 UTC (rev 95264) @@ -1,23 +0,0 @@ -The MIT License - -Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - Copied: jenkins-ci/repos/community-any/LICENSE (from rev 95263, jenkins-ci/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2013-08-08 10:50:03 UTC (rev 95264) @@ -0,0 +1,23 @@ +The MIT License + +Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-08-08 10:49:53 UTC (rev 95263) +++ PKGBUILD 2013-08-08 10:50:03 UTC (rev 95264) @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 73557 2012-07-09 19:15:21Z arodseth $ -# Maintainer: Alexander Rødseth <rods...@gmail.com> -# Contributor: Marcel Huber <marcelhuberfoo at gmail dott com> -# Contributor: Illarion Kovalchuk <illarion.kovalchuk at gmail dot com> - -pkgname=jenkins-ci -pkgver=1.525 -pkgrel=2 -pkgdesc='Extendable continuous integration server' -arch=('any') -url='http://jenkins-ci.org/' -license=('MIT') -depends=('java-runtime' 'ttf-dejavu' 'libcups') -provides=('jenkins') -conflicts=('jenkins') -replaces=('jenkins') -backup=('etc/conf.d/jenkins') -install="$pkgname.install" -noextract=('jenkins.war') -source=("http://mirrors.jenkins-ci.org/war/$pkgver/jenkins.war" - 'jenkins.conf' - 'jenkins.service' - 'jenkins.tmpfiles.d' - 'LICENSE') -sha256sums=('675d660cfbf4e1786d4c9e7567e9812c69d4d2c0af92097c2a48334cbbdb3325' - '13b6e06de1dedff96bdb8e43f6830bbd954dc58df9d4ed5583693d2a6f8427f4' - '23b748ae4c418bd1b98e33dd6bb55ad0d578803aecd26176998b759689b82e73' - '0ccff16308b01b02f2699ea64a73b8dce1e1990ee1c656aa8d6119dee510262e' - 'd9f107920982cb61d807e349b4eaf190b2d593047e55d3f3ad286c7afe06cf55') - -package() { - cd "$srcdir" - - install -Dm444 LICENSE "$pkgdir/usr/share/licenses/jenkins-ci/LICENSE" - install -Dm444 jenkins.war "$pkgdir/usr/share/java/jenkins/jenkins.war" - install -Dm644 jenkins.service \ - "$pkgdir/usr/lib/systemd/system/jenkins.service" - install -Dm644 jenkins.tmpfiles.d "$pkgdir/usr/lib/tmpfiles.d/jenkins.conf" - install -Dm644 jenkins.conf "$pkgdir/etc/conf.d/jenkins" -} - -# vim:set ts=2 sw=2 et: Copied: jenkins-ci/repos/community-any/PKGBUILD (from rev 95263, jenkins-ci/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-08-08 10:50:03 UTC (rev 95264) @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 73557 2012-07-09 19:15:21Z arodseth $ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Marcel Huber <marcelhuberfoo at gmail dott com> +# Contributor: Illarion Kovalchuk <illarion.kovalchuk at gmail dot com> + +pkgname=jenkins-ci +pkgver=1.509.2 +pkgrel=1 +pkgdesc='Extendable continuous integration server (LTS)' +arch=('any') +url='http://jenkins-ci.org/' +license=('MIT') +depends=('java-runtime' 'ttf-dejavu' 'libcups') +provides=('jenkins') +conflicts=('jenkins') +replaces=('jenkins') +backup=('etc/conf.d/jenkins') +install="$pkgname.install" +noextract=('jenkins.war') +source=("http://mirrors.jenkins-ci.org/war-stable/latest/jenkins.war" + 'jenkins.conf' + 'jenkins.service' + 'jenkins.tmpfiles.d' + 'LICENSE') +sha256sums=('552da3e10fe938a24a4581cc9385eb4a054d52cf73ff73e4ff62105dc82774b2' + '13b6e06de1dedff96bdb8e43f6830bbd954dc58df9d4ed5583693d2a6f8427f4' + '23b748ae4c418bd1b98e33dd6bb55ad0d578803aecd26176998b759689b82e73' + '0ccff16308b01b02f2699ea64a73b8dce1e1990ee1c656aa8d6119dee510262e' + 'd9f107920982cb61d807e349b4eaf190b2d593047e55d3f3ad286c7afe06cf55') + +package() { + cd "$srcdir" + + install -Dm444 LICENSE "$pkgdir/usr/share/licenses/jenkins-ci/LICENSE" + install -Dm444 jenkins.war "$pkgdir/usr/share/java/jenkins/jenkins.war" + install -Dm644 jenkins.service \ + "$pkgdir/usr/lib/systemd/system/jenkins.service" + install -Dm644 jenkins.tmpfiles.d "$pkgdir/usr/lib/tmpfiles.d/jenkins.conf" + install -Dm644 jenkins.conf "$pkgdir/etc/conf.d/jenkins" +} + +# vim:set ts=2 sw=2 et: Deleted: jenkins-ci.install =================================================================== --- jenkins-ci.install 2013-08-08 10:49:53 UTC (rev 95263) +++ jenkins-ci.install 2013-08-08 10:50:03 UTC (rev 95264) @@ -1,51 +0,0 @@ -#!/bin/sh - -_service_name=jenkins.service -_service_username=jenkins -_service_groupname="$_service_username" -_service_home_dir=/var/lib/jenkins -_service_tmpfiles_conf="$_service_username.conf" - -_is_systemd_service_enabled() { - /usr/bin/systemctl is-enabled --quiet "$_service_name" 2>/dev/null -} - -post_install() { - getent passwd "$_service_username" > /dev/null || /usr/sbin/useradd \ - --system --user-group --home-dir "$_service_home_dir" --create-home \ - --shell '/bin/bash' --skel /dev/null "$_service_username" &> /dev/null - [ -n "$_service_tmpfiles_conf" ] && \ - systemd-tmpfiles --create "$_service_tmpfiles_conf" - echo 'This installation of Jenkins uses port 8090 by default.' -} - -post_upgrade() { - [ -n "$_service_tmpfiles_conf" ] && systemd-tmpfiles \ - --create "$_service_tmpfiles_conf" - _is_systemd_service_enabled && cat <<EOF -=> Remember to issue the following commands: - sudo systemctl --system daemon-reload - sudo systemctl restart $_service_name -EOF -} - -pre_remove() { - /usr/bin/systemctl stop $_service_name 2>/dev/null - _is_systemd_service_enabled && \ - /usr/bin/systemctl disable $_service_name 2>/dev/null - [ -n "$_service_tmpfiles_conf" ] && systemd-tmpfiles \ - --remove "$_service_tmpfiles_conf" - return 0 -} - -post_remove() { - getent passwd "$_service_username" > /dev/null && \ - /usr/sbin/userdel "$_service_username" &>/dev/null - for dir in "$_service_home_dir"; do - [ -n "$dir" -a -d "$dir" ] && \ - echo "=> directory $dir needs to be removed manually" - done - return 0 -} - -# vim:set ts=2 sw=2 et: Copied: jenkins-ci/repos/community-any/jenkins-ci.install (from rev 95263, jenkins-ci/trunk/jenkins-ci.install) =================================================================== --- jenkins-ci.install (rev 0) +++ jenkins-ci.install 2013-08-08 10:50:03 UTC (rev 95264) @@ -0,0 +1,51 @@ +#!/bin/sh + +_service_name=jenkins.service +_service_username=jenkins +_service_groupname="$_service_username" +_service_home_dir=/var/lib/jenkins +_service_tmpfiles_conf="$_service_username.conf" + +_is_systemd_service_enabled() { + /usr/bin/systemctl is-enabled --quiet "$_service_name" 2>/dev/null +} + +post_install() { + getent passwd "$_service_username" > /dev/null || /usr/sbin/useradd \ + --system --user-group --home-dir "$_service_home_dir" --create-home \ + --shell '/bin/bash' --skel /dev/null "$_service_username" &> /dev/null + [ -n "$_service_tmpfiles_conf" ] && \ + systemd-tmpfiles --create "$_service_tmpfiles_conf" + echo 'This installation of Jenkins uses port 8090 by default.' +} + +post_upgrade() { + [ -n "$_service_tmpfiles_conf" ] && systemd-tmpfiles \ + --create "$_service_tmpfiles_conf" + _is_systemd_service_enabled && cat <<EOF +=> Remember to issue the following commands: + sudo systemctl --system daemon-reload + sudo systemctl restart $_service_name +EOF +} + +pre_remove() { + /usr/bin/systemctl stop $_service_name 2>/dev/null + _is_systemd_service_enabled && \ + /usr/bin/systemctl disable $_service_name 2>/dev/null + [ -n "$_service_tmpfiles_conf" ] && systemd-tmpfiles \ + --remove "$_service_tmpfiles_conf" + return 0 +} + +post_remove() { + getent passwd "$_service_username" > /dev/null && \ + /usr/sbin/userdel "$_service_username" &>/dev/null + for dir in "$_service_home_dir"; do + [ -n "$dir" -a -d "$dir" ] && \ + echo "=> directory $dir needs to be removed manually" + done + return 0 +} + +# vim:set ts=2 sw=2 et: Deleted: jenkins.conf =================================================================== --- jenkins.conf 2013-08-08 10:49:53 UTC (rev 95263) +++ jenkins.conf 2013-08-08 10:50:03 UTC (rev 95264) @@ -1,13 +0,0 @@ -JAVA=/usr/bin/java -JAVA_ARGS=-Xmx512m -JAVA_OPTS= -JENKINS_USER=jenkins -JENKINS_HOME=/var/lib/jenkins -JENKINS_WAR=/usr/share/java/jenkins/jenkins.war -JENKINS_WEBROOT=--webroot=/var/cache/jenkins -JENKINS_PORT=--httpPort=8090 -JENKINS_AJPPORT=--ajp13Port=-1 -JENKINS_OPTS= -JENKINS_COMMAND_LINE="$JAVA $JAVA_ARGS $JAVA_OPTS -jar $JENKINS_WAR $JENKINS_WEBROOT $JENKINS_PORT $JENKINS_AJPPORT $JENKINS_OPTS" - -# vim:set ts=2 sw=2 et: Copied: jenkins-ci/repos/community-any/jenkins.conf (from rev 95263, jenkins-ci/trunk/jenkins.conf) =================================================================== --- jenkins.conf (rev 0) +++ jenkins.conf 2013-08-08 10:50:03 UTC (rev 95264) @@ -0,0 +1,13 @@ +JAVA=/usr/bin/java +JAVA_ARGS=-Xmx512m +JAVA_OPTS= +JENKINS_USER=jenkins +JENKINS_HOME=/var/lib/jenkins +JENKINS_WAR=/usr/share/java/jenkins/jenkins.war +JENKINS_WEBROOT=--webroot=/var/cache/jenkins +JENKINS_PORT=--httpPort=8090 +JENKINS_AJPPORT=--ajp13Port=-1 +JENKINS_OPTS= +JENKINS_COMMAND_LINE="$JAVA $JAVA_ARGS $JAVA_OPTS -jar $JENKINS_WAR $JENKINS_WEBROOT $JENKINS_PORT $JENKINS_AJPPORT $JENKINS_OPTS" + +# vim:set ts=2 sw=2 et: Deleted: jenkins.service =================================================================== --- jenkins.service 2013-08-08 10:49:53 UTC (rev 95263) +++ jenkins.service 2013-08-08 10:50:03 UTC (rev 95264) @@ -1,24 +0,0 @@ -[Unit] -Description=Extendable continuous integration server -After=network.target - -[Service] -User=jenkins -Type=simple -EnvironmentFile=/etc/conf.d/jenkins -StandardOutput=syslog -StandardError=syslog -SyslogIdentifier=jenkins -ExecStart=/bin/sh -c 'eval $JENKINS_COMMAND_LINE' -#MemoryLimit=768M -OOMScoreAdjust=-1000 -LimitCPU=infinity -LimitFSIZE=infinity -LimitDATA=infinity -LimitCORE=0 -LimitAS=infinity -LimitLOCKS=infinity - -[Install] -WantedBy=multi-user.target - Copied: jenkins-ci/repos/community-any/jenkins.service (from rev 95263, jenkins-ci/trunk/jenkins.service) =================================================================== --- jenkins.service (rev 0) +++ jenkins.service 2013-08-08 10:50:03 UTC (rev 95264) @@ -0,0 +1,24 @@ +[Unit] +Description=Extendable continuous integration server +After=network.target + +[Service] +User=jenkins +Type=simple +EnvironmentFile=/etc/conf.d/jenkins +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=jenkins +ExecStart=/bin/sh -c 'eval $JENKINS_COMMAND_LINE' +#MemoryLimit=768M +OOMScoreAdjust=-1000 +LimitCPU=infinity +LimitFSIZE=infinity +LimitDATA=infinity +LimitCORE=0 +LimitAS=infinity +LimitLOCKS=infinity + +[Install] +WantedBy=multi-user.target + Deleted: jenkins.tmpfiles.d =================================================================== --- jenkins.tmpfiles.d 2013-08-08 10:49:53 UTC (rev 95263) +++ jenkins.tmpfiles.d 2013-08-08 10:50:03 UTC (rev 95264) @@ -1,2 +0,0 @@ -D /var/cache/jenkins 0755 jenkins jenkins - -R /var/cache/jenkins Copied: jenkins-ci/repos/community-any/jenkins.tmpfiles.d (from rev 95263, jenkins-ci/trunk/jenkins.tmpfiles.d) =================================================================== --- jenkins.tmpfiles.d (rev 0) +++ jenkins.tmpfiles.d 2013-08-08 10:50:03 UTC (rev 95264) @@ -0,0 +1,2 @@ +D /var/cache/jenkins 0755 jenkins jenkins - +R /var/cache/jenkins