Date: Wednesday, October 7, 2015 @ 03:45:56 Author: fyan Revision: 143177
archrelease: copy trunk to community-any Added: jenkins/repos/community-any/LICENSE (from rev 143176, jenkins/trunk/LICENSE) jenkins/repos/community-any/PKGBUILD (from rev 143176, jenkins/trunk/PKGBUILD) jenkins/repos/community-any/jenkins.conf (from rev 143176, jenkins/trunk/jenkins.conf) jenkins/repos/community-any/jenkins.install (from rev 143176, jenkins/trunk/jenkins.install) jenkins/repos/community-any/jenkins.service (from rev 143176, jenkins/trunk/jenkins.service) jenkins/repos/community-any/jenkins.tmpfiles.d (from rev 143176, jenkins/trunk/jenkins.tmpfiles.d) Deleted: jenkins/repos/community-any/LICENSE jenkins/repos/community-any/PKGBUILD jenkins/repos/community-any/jenkins.conf jenkins/repos/community-any/jenkins.install jenkins/repos/community-any/jenkins.service jenkins/repos/community-any/jenkins.tmpfiles.d --------------------+ LICENSE | 46 ++++++++++---------- PKGBUILD | 84 ++++++++++++++++++------------------- jenkins.conf | 26 +++++------ jenkins.install | 114 +++++++++++++++++++++++++-------------------------- jenkins.service | 48 ++++++++++----------- jenkins.tmpfiles.d | 2 6 files changed, 160 insertions(+), 160 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2015-10-07 01:45:12 UTC (rev 143176) +++ LICENSE 2015-10-07 01:45:56 UTC (rev 143177) @@ -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/repos/community-any/LICENSE (from rev 143176, jenkins/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2015-10-07 01:45:56 UTC (rev 143177) @@ -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 2015-10-07 01:45:12 UTC (rev 143176) +++ PKGBUILD 2015-10-07 01:45:56 UTC (rev 143177) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: 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 -pkgver=1.631 -pkgrel=1 -pkgdesc='Extendable continuous integration server (latest)' -arch=('any') -url='http://jenkins-ci.org/' -license=('MIT') -depends=('java-runtime' 'ttf-dejavu' 'libcups') -provides=('jenkins-ci') -conflicts=('jenkins-ci') -replaces=('jenkins-ci') -backup=('etc/conf.d/jenkins') -install='jenkins.install' -noextract=('jenkins.war') -source=("jenkins-${pkgver}.war::http://mirrors.jenkins-ci.org/war/${pkgver}/jenkins.war" - # Rename to force re-download on new version - 'jenkins.conf' - 'jenkins.service' - 'jenkins.tmpfiles.d' - 'LICENSE') -sha512sums=('5450638ebe7780691fd9dc931d6b5cc35c449e67d00f35aa64794fd2266f884b98181609b86a3cdbca313e38c5ada871dd3adeadaacb29a8d96ade088d4f3372' - '3a8421cef3953d899c150609f959cf5d5dd6d08d079a5e0f48bfece4f3c80491722b9e90ef841fddb87401c226b8338297c5c4e83e55a33ef8d6e387de3048d0' - 'a336b006d3711abb75b49a2e12c09ee61cf3275a2cdbbd3676480e2f6ca8ba0fb4b9c08f3f9da193252c4fca827e9a1d5eaad847d0a889445693427ae1571fe7' - 'a845a7147be54affc586dfce9a188ec24c92e673e88dec0b62da386d2e597de6ecda103429008562abd897f179a52c37cf2188ebc65b8c636efd07d707e18f90' - '0df6479a600db395c12ad29ebda3120d00460338b9a6b15913e2245aa29212a3798c32e664ca70c8034146e2e0b573066deec9e3210198202f753994e1b83efa') - -package() { - install -Dm444 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm444 "jenkins-${pkgver}.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/repos/community-any/PKGBUILD (from rev 143176, jenkins/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-10-07 01:45:56 UTC (rev 143177) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: 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 +pkgver=1.632 +pkgrel=1 +pkgdesc='Extendable continuous integration server (latest)' +arch=('any') +url='http://jenkins-ci.org/' +license=('MIT') +depends=('java-runtime' 'ttf-dejavu' 'libcups') +provides=('jenkins-ci') +conflicts=('jenkins-ci') +replaces=('jenkins-ci') +backup=('etc/conf.d/jenkins') +install='jenkins.install' +noextract=('jenkins.war') +source=("jenkins-${pkgver}.war::http://mirrors.jenkins-ci.org/war/${pkgver}/jenkins.war" + # Rename to force re-download on new version + 'jenkins.conf' + 'jenkins.service' + 'jenkins.tmpfiles.d' + 'LICENSE') +sha512sums=('1ab60656cb195664d2fcb703cf5cde03b5ec75a257f83c1f43711dbae8b044f6cc60497b124683300848914fd22b04ca96d0df868cd419a76054d2c3a6aec94e' + '3a8421cef3953d899c150609f959cf5d5dd6d08d079a5e0f48bfece4f3c80491722b9e90ef841fddb87401c226b8338297c5c4e83e55a33ef8d6e387de3048d0' + 'a336b006d3711abb75b49a2e12c09ee61cf3275a2cdbbd3676480e2f6ca8ba0fb4b9c08f3f9da193252c4fca827e9a1d5eaad847d0a889445693427ae1571fe7' + 'a845a7147be54affc586dfce9a188ec24c92e673e88dec0b62da386d2e597de6ecda103429008562abd897f179a52c37cf2188ebc65b8c636efd07d707e18f90' + '0df6479a600db395c12ad29ebda3120d00460338b9a6b15913e2245aa29212a3798c32e664ca70c8034146e2e0b573066deec9e3210198202f753994e1b83efa') + +package() { + install -Dm444 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm444 "jenkins-${pkgver}.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.conf =================================================================== --- jenkins.conf 2015-10-07 01:45:12 UTC (rev 143176) +++ jenkins.conf 2015-10-07 01:45:56 UTC (rev 143177) @@ -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/repos/community-any/jenkins.conf (from rev 143176, jenkins/trunk/jenkins.conf) =================================================================== --- jenkins.conf (rev 0) +++ jenkins.conf 2015-10-07 01:45:56 UTC (rev 143177) @@ -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.install =================================================================== --- jenkins.install 2015-10-07 01:45:12 UTC (rev 143176) +++ jenkins.install 2015-10-07 01:45:56 UTC (rev 143177) @@ -1,57 +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" ] && /usr/bin/systemd-tmpfiles \ - --create "$_service_tmpfiles_conf" 2>/dev/null - mkdir -p /var/lib/jenkins{,/jobs} - chown jenkins:jenkins /var/lib/jenkins{,/jobs} - echo 'This installation of Jenkins uses port 8090 by default.' - return 0 -} - -post_upgrade() { - [ -n "$_service_tmpfiles_conf" ] && systemd-tmpfiles \ - --create "$_service_tmpfiles_conf" 2>/dev/null - mkdir -p /var/lib/jenkins{,/jobs} - chown -R jenkins:jenkins /var/lib/jenkins - _is_systemd_service_enabled && cat <<EOF -=> Remember to issue the following commands: - sudo systemctl --system daemon-reload - sudo systemctl restart $_service_name -EOF - return 0 -} - -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" 2>/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/repos/community-any/jenkins.install (from rev 143176, jenkins/trunk/jenkins.install) =================================================================== --- jenkins.install (rev 0) +++ jenkins.install 2015-10-07 01:45:56 UTC (rev 143177) @@ -0,0 +1,57 @@ +#!/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" ] && /usr/bin/systemd-tmpfiles \ + --create "$_service_tmpfiles_conf" 2>/dev/null + mkdir -p /var/lib/jenkins{,/jobs} + chown jenkins:jenkins /var/lib/jenkins{,/jobs} + echo 'This installation of Jenkins uses port 8090 by default.' + return 0 +} + +post_upgrade() { + [ -n "$_service_tmpfiles_conf" ] && systemd-tmpfiles \ + --create "$_service_tmpfiles_conf" 2>/dev/null + mkdir -p /var/lib/jenkins{,/jobs} + chown -R jenkins:jenkins /var/lib/jenkins + _is_systemd_service_enabled && cat <<EOF +=> Remember to issue the following commands: + sudo systemctl --system daemon-reload + sudo systemctl restart $_service_name +EOF + return 0 +} + +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" 2>/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.service =================================================================== --- jenkins.service 2015-10-07 01:45:12 UTC (rev 143176) +++ jenkins.service 2015-10-07 01:45:56 UTC (rev 143177) @@ -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/repos/community-any/jenkins.service (from rev 143176, jenkins/trunk/jenkins.service) =================================================================== --- jenkins.service (rev 0) +++ jenkins.service 2015-10-07 01:45:56 UTC (rev 143177) @@ -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 2015-10-07 01:45:12 UTC (rev 143176) +++ jenkins.tmpfiles.d 2015-10-07 01:45:56 UTC (rev 143177) @@ -1 +0,0 @@ -d /var/cache/jenkins 0755 jenkins jenkins - Copied: jenkins/repos/community-any/jenkins.tmpfiles.d (from rev 143176, jenkins/trunk/jenkins.tmpfiles.d) =================================================================== --- jenkins.tmpfiles.d (rev 0) +++ jenkins.tmpfiles.d 2015-10-07 01:45:56 UTC (rev 143177) @@ -0,0 +1 @@ +d /var/cache/jenkins 0755 jenkins jenkins -