[arch-commits] Commit in jenkins/repos/community-any (7 files)

Felix Yan felixonmars at archlinux.org
Thu Jun 20 18:19:35 UTC 2019


    Date: Thursday, June 20, 2019 @ 18:19:35
  Author: felixonmars
Revision: 482522

fix pkgrelease

Added:
  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.sysusers
  jenkins/repos/community-any/jenkins.tmpfiles

------------------+
 LICENSE          |   23 +++++++++++++++++++++++
 PKGBUILD         |   44 ++++++++++++++++++++++++++++++++++++++++++++
 jenkins.conf     |   13 +++++++++++++
 jenkins.install  |    7 +++++++
 jenkins.service  |   24 ++++++++++++++++++++++++
 jenkins.sysusers |    2 ++
 jenkins.tmpfiles |    1 +
 7 files changed, 114 insertions(+)

Added: LICENSE
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2019-06-20 18:19:35 UTC (rev 482522)
@@ -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.
+
+

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-20 18:19:35 UTC (rev 482522)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Marcel Huber <marcelhuberfoo at gmail dott com>
+# Contributor: Illarion Kovalchuk <illarion.kovalchuk at gmail dot com>
+
+pkgname=jenkins
+pkgver=2.181
+pkgrel=1
+pkgdesc='Extendable continuous integration server (latest)'
+arch=('any')
+url='https://jenkins.io'
+license=('MIT')
+depends=('java-runtime=8' 'ttf-dejavu' 'libcups')
+provides=('jenkins-ci')
+conflicts=('jenkins-ci')
+replaces=('jenkins-ci')
+backup=('etc/conf.d/jenkins')
+install='jenkins.install'
+noextract=("jenkins-${pkgver}.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'
+        'jenkins.sysusers'
+        'LICENSE')
+sha512sums=('c3929456b3d80bf1925a458c2505166056e9f06207d7256c084a7c5614d6869785575394fbb8002a36722bde7bf827ec5067c7e71ba93e668dcb66c7dd8df14b'
+            '3a8421cef3953d899c150609f959cf5d5dd6d08d079a5e0f48bfece4f3c80491722b9e90ef841fddb87401c226b8338297c5c4e83e55a33ef8d6e387de3048d0'
+            'a336b006d3711abb75b49a2e12c09ee61cf3275a2cdbbd3676480e2f6ca8ba0fb4b9c08f3f9da193252c4fca827e9a1d5eaad847d0a889445693427ae1571fe7'
+            'a845a7147be54affc586dfce9a188ec24c92e673e88dec0b62da386d2e597de6ecda103429008562abd897f179a52c37cf2188ebc65b8c636efd07d707e18f90'
+            '896cbc64eadb2f3bb9fa7fc26dbfc527b1823d8bff3158be7f1936cc250f55eeafe89079e1ceb8f3d269041662573ccbbb36248140b4ba24144a564366f8847a'
+            '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 "$pkgdir/usr/lib/tmpfiles.d/jenkins.conf"
+  install -Dm644 jenkins.sysusers "$pkgdir/usr/lib/sysusers.d/jenkins.conf"
+  install -Dm644 jenkins.conf "$pkgdir/etc/conf.d/jenkins"
+}
+
+# vim:set ts=2 sw=2 et:

Added: jenkins.conf
===================================================================
--- jenkins.conf	                        (rev 0)
+++ jenkins.conf	2019-06-20 18:19:35 UTC (rev 482522)
@@ -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:

Added: jenkins.install
===================================================================
--- jenkins.install	                        (rev 0)
+++ jenkins.install	2019-06-20 18:19:35 UTC (rev 482522)
@@ -0,0 +1,7 @@
+post_install() {
+  # We need to know uid and gid to create /var/lib/jenkins with proper
+  # permissions. So keep systemd-sysusers invocation here despite having
+  # pacman hooks.
+  systemd-sysusers jenkins.conf
+  [[ -d var/lib/jenkins ]] || install -dm 750 -o jenkins -g jenkins var/lib/jenkins
+}

Added: jenkins.service
===================================================================
--- jenkins.service	                        (rev 0)
+++ jenkins.service	2019-06-20 18:19:35 UTC (rev 482522)
@@ -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
+

Added: jenkins.sysusers
===================================================================
--- jenkins.sysusers	                        (rev 0)
+++ jenkins.sysusers	2019-06-20 18:19:35 UTC (rev 482522)
@@ -0,0 +1,2 @@
+u jenkins - "Jenkins CI" /var/lib/jenkins
+g jenkins -

Added: jenkins.tmpfiles
===================================================================
--- jenkins.tmpfiles	                        (rev 0)
+++ jenkins.tmpfiles	2019-06-20 18:19:35 UTC (rev 482522)
@@ -0,0 +1 @@
+d /var/cache/jenkins 0755 jenkins jenkins -


More information about the arch-commits mailing list