summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-02-14 21:39:53 +0100
committerHans de Graaff <graaff@gentoo.org>2018-02-14 21:40:50 +0100
commit188cfeb039e9475e80e9b1faadca4e9b1873781b (patch)
tree4c52f60f62c3618f8d28b147a5ecedb86505685b /dev-util
parentdev-util/jenkins-bin: add 2.89.4 (diff)
downloadgentoo-188cfeb039e9475e80e9b1faadca4e9b1873781b.tar.gz
gentoo-188cfeb039e9475e80e9b1faadca4e9b1873781b.tar.bz2
gentoo-188cfeb039e9475e80e9b1faadca4e9b1873781b.zip
dev-util/jenkins-bin: add 2.107
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.107.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 8864bedca7a1..596d49e4a385 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,3 +1,4 @@
+DIST jenkins-bin-2.107.war 74518540 BLAKE2B 13aaab2968afdc3d8e2f13086bb480f0a798b736f0b8ce2c80537858cbba5b62efe12806beb22342daad5500f4f81cdcdc00b14e29f9e2ca0e7b5fc1f1c2c406 SHA512 9739e7d63ac7996f731abf43ae91a248697771974fac2763cc8b3838ec52b2c25b609e73d6a58b650994576e7d27c856e30dfbe08b16f597c1be80a9a2579745
DIST jenkins-bin-2.89.2.war 74294776 BLAKE2B a163d6bd542b01cfcd5781fab524d91ec74ff0dacced3213366832e6839616554f0c42dd1ed580c55fccda693736b5f4041a6eff7bc5e66a6edf608ce3126bb3 SHA512 dfaa5ce0e3cf679fff8f3a1234db8dd88087d221cd1d0f4a84c2a41a5463f9fc2645fa9ba3bcd86f793bb07ef74a0efb3075fd28f3fdf7ccffb18904a8a69231
DIST jenkins-bin-2.89.3.war 74292096 BLAKE2B 63df34eef6786ae81ed8e6d486b77e13125fb3b74ed6db03ea45d2c57d9f49c6648e2ffcd4b042261de287cd60a13a43a7e93f151b32b113c8847221ce4594ad SHA512 777b4d7cf1420cbc6bc7da22a0ede75fc07d5d66af500f6e7ebde75475c7046051da6c18f695bdfd4dd238b57355828a5d5b43775a8b4eb3bd84db35d18a9874
DIST jenkins-bin-2.89.4.war 74297875 BLAKE2B 05e243ac84e6a9a377dff3962d3e2f4f729d390bac9d5de27a19641babb24ab95b5e8cbcf127df7170928a902e267b0d4e497ba08ea99080f610bb4d5c7b12d4 SHA512 eba6d7ee6f2cd452d805ef97c15fc794424039efb4f1d8b7c0cc463c21c856c02455187cc24360847fd7ac06e816f37964b9a4d99fd306def6c713ed0339e2f7
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.107.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.107.ebuild
new file mode 100644
index 000000000000..4f30f3987712
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.107.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="Extensible continuous integration server"
+HOMEPAGE="http://jenkins-ci.org/"
+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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}