summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-07-19 16:22:38 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-07-19 16:23:18 +0200
commit68c7540586f83c9c9b01011370b8fb2a03167e20 (patch)
treeed53c8ac33cda871ec07faa16bb4da0057347a9b
parentdev-util/jenkins-bin: bump to v2.176.2 (diff)
downloadgentoo-68c7540586f83c9c9b01011370b8fb2a03167e20.tar.gz
gentoo-68c7540586f83c9c9b01011370b8fb2a03167e20.tar.bz2
gentoo-68c7540586f83c9c9b01011370b8fb2a03167e20.zip
dev-util/jenkins-bin: bump to v2.186
Security update. Link: https://jenkins.io/security/advisory/2019-07-17/ Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.186.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index b1c075961af0..6a2956497e2c 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -3,3 +3,4 @@ DIST jenkins-bin-2.176.1.war 77272319 BLAKE2B 2aa3f263163e4b9f6290fa0322a5d43c6a
DIST jenkins-bin-2.176.2.war 77379386 BLAKE2B feb66ad7042ab38ecd75c31e11587efe32d06c799e6f7fd46453969faa5edc241f99d844184e8f53dbde3bd05aeda676622baf2440eccd6c721300d877acb3e6 SHA512 8e53637a10942e7cb5907a669b72bd200369c65b47a8c3a050f356887cc65e8e2a0bab7b7a56d78735e5a2da77395268f4fbf4f6d5b219f9052dff72a96c6f05
DIST jenkins-bin-2.177.war 77352458 BLAKE2B 45564839dbfbd0579b7f54215838df8205433f4e7040179629b020141aafb1e51264e7ecb4c5c8aa1cd938674bbfeb05b578027ea5cb74ea0d49c75239e9cd3a SHA512 060431fc2e5022911160c9cfe34353342dffb5a1dbc9b8a21140b90220812224a99fe7d26c1faa58e2830764d7a29836962b058f00ee097381455a0d6ff22085
DIST jenkins-bin-2.180.war 77259066 BLAKE2B 87e981aaafddd863aebaf63b2f5e851db3aab4916ac2131cc9f4a3ae3fb6cc16ccae77a4b53b7728480e4388a8b766b57bfbba7cc6a017cf89be3b3e634871df SHA512 ab626311695528e2970b3faecde7e5ec07dc12cce88b3861a5d74980349d4d409a476c38f0bdc3c0e9b443e8d2881eb77b7503eec2844e4abd8e5e149367b0d3
+DIST jenkins-bin-2.186.war 77649944 BLAKE2B 8247cae6d25c6b24cb7b874c3e9335cfe8b82d54406a3b37a909a2cde7178f38da8312ce89b63d4e6833d7c5a5369350c97ea5a785412b4acd5ebc5e40898be6 SHA512 70140e5bb199ca1b801763ca1440d41a96dfbf3f1df0d0aa04d00e81be42616464626ed808205e7353e476dc4aa7d320c85b141ec07448b0ba2251449d0c0c28
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.186.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.186.ebuild
new file mode 100644
index 000000000000..7d232cbccacd
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.186.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
+}