summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-05-13 17:23:29 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-05-13 17:25:07 +0200
commitb29baa36296e0ac6273a69d71663cf62c161b624 (patch)
tree102d9c8edafe7ace5e650c234336719100fc63e6 /dev-util
parentapp-arch/xz-utils: add ~x64-cygwin keyword (diff)
downloadgentoo-b29baa36296e0ac6273a69d71663cf62c161b624.tar.gz
gentoo-b29baa36296e0ac6273a69d71663cf62c161b624.tar.bz2
gentoo-b29baa36296e0ac6273a69d71663cf62c161b624.zip
dev-util/jenkins-bin: bump to v2.177
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.177.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index caf2e8142f5..4f77a8722e5 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -3,3 +3,4 @@ DIST jenkins-bin-2.164.2.war 77330993 BLAKE2B 28312c88444b35eb6e64d2c3c7ae0bbead
DIST jenkins-bin-2.164.3.war 77335220 BLAKE2B 0f2a84419268e9831620fd3be1e7648470f2b6568fddf8bdb76494fd53fcb5a81c52f44110809cd6700cbfe34251f5e6c48114de95d388296c2d98ae70cb9923 SHA512 de9303dc89e80ec084862c1f4a8a3638826ae3a514bb9591e46bc0acbe511912daa228d85e25b0b53d051e8ec293ae57e229a5d8ead5b9a80d8d6ce26eb6995f
DIST jenkins-bin-2.167.war 77246248 BLAKE2B 58cb64cec5f63bc147557098740bcc02a131fd8ed7f935763130f037800aa7886e4c544d47ac595077d490037035d9d83976da4c62e5b7582a6366ab863654da SHA512 55d760aad38d64201cf806e8dcff7b07da8e1eabad279909f6dc342a5312f8f162b584e6fb0e77fb4c2db95424a0004b571c883245c01c0d8352291e33c2a0e4
DIST jenkins-bin-2.172.war 77330556 BLAKE2B be3d7c82f263b53ccbfab6a069f336bc81120afc8f405c60ee4a3a8db08215e75d362dd66197d020eb5b860b1f910859dbe2602690272653f53b9288b4472a17 SHA512 a6dfd08fcbee88e3655233a7c27ab102707d2b9634106dd1feac131754edda86aea703f28886cca4c9c7ac0765c16f3dbca7b6e4047dac5f7a250c20d47f8bc5
+DIST jenkins-bin-2.177.war 77352458 BLAKE2B 45564839dbfbd0579b7f54215838df8205433f4e7040179629b020141aafb1e51264e7ecb4c5c8aa1cd938674bbfeb05b578027ea5cb74ea0d49c75239e9cd3a SHA512 060431fc2e5022911160c9cfe34353342dffb5a1dbc9b8a21140b90220812224a99fe7d26c1faa58e2830764d7a29836962b058f00ee097381455a0d6ff22085
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.177.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.177.ebuild
new file mode 100644
index 00000000000..7d232cbccac
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.177.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit user systemd
+
+DESCRIPTION="Extensible continuous integration server"
+HOMEPAGE="https://jenkins.io/"
+LICENSE="MIT"
+SRC_URI="http://mirrors.jenkins-ci.org/war/${PV}/${PN/-bin/}.war -> ${P}.war"
+RESTRICT="mirror"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:lts
+ >=virtual/jre-1.8.0"
+
+S=${WORKDIR}
+
+JENKINS_DIR=/var/lib/jenkins
+
+pkg_setup() {
+ enewgroup jenkins
+ enewuser jenkins -1 -1 ${JENKINS_DIR} jenkins
+}
+
+src_install() {
+ keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home
+
+ insinto /opt/jenkins
+ newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}-r1.logrotate ${PN/-bin/}
+
+ newinitd "${FILESDIR}"/${PN}.init2 jenkins
+ newconfd "${FILESDIR}"/${PN}.confd jenkins
+
+ systemd_newunit "${FILESDIR}"/${PN}.service2 jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}