summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-15 09:42:03 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-15 09:42:03 +0100
commit90530d454e1339cf80ada206526c06cf5de3ebd4 (patch)
tree1b87d63f75741633bfe872acd48a74ea1818c592 /dev-util
parentmedia-fonts/font-xfree86-type1: clean up old. (diff)
downloadgentoo-90530d454e1339cf80ada206526c06cf5de3ebd4.tar.gz
gentoo-90530d454e1339cf80ada206526c06cf5de3ebd4.tar.bz2
gentoo-90530d454e1339cf80ada206526c06cf5de3ebd4.zip
dev-util/jenkins-bin: add 2.89.2
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.89.2.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 68af93c3d61c..152087dc8fbf 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -3,4 +3,5 @@ DIST jenkins-bin-2.84.war 73749405 BLAKE2B 89f2e54e51a9f5086d4bf017a99c50cee680b
DIST jenkins-bin-2.86.war 73796979 BLAKE2B 7357659340e9314a691c25892d8f89332df2d29adbc2f0f53ee73c0e2ff825eba9ec26c13cbcb3b973fd7ef66d821f897556335c217f11f0f6690e8d1fc4b5be SHA512 a94abb3230c90319f6a632e56afbbc0d19591a6a67ab6ac35856c2bb99ead33d4b23ab3d19a15c1f9501dbf932b3101f569af0f557fb884cd07dadd8a1c968bf
DIST jenkins-bin-2.87.war 74271222 BLAKE2B 54aa5215146407682e3d0f69e67bd1b911c5525cf15222c03df0648e6c4526467be15320554421a2995d9314a72945251f6e329673da64cc26935be15c443efc SHA512 210c2e23d71c3081d4cd6f28af6bac0db7b43f3f93785ee0b53622b7ff05c25aa6dab0a847bf9ee59a2b4952263a67fbc2cb88fd47557809153e191fd95d4da9
DIST jenkins-bin-2.89.1.war 74286103 BLAKE2B 019cf6318ad0a92a22efc2f0e5feea5386ae60aaa4f48e368c81de62522dd1bf6b0e0ddd3b495fc87f7782f45c40203aa7273c23667342f1ac9da08ae4612d09 SHA512 906d4ab8d6d6aaf56c1d9b9ee731449845fc2cda25008a4b83e87cb2f32569946414361e10275f25dcdfd846368d267a2df4cc7900383f5f63ff5768fd09a9b8
+DIST jenkins-bin-2.89.2.war 74294776 BLAKE2B a163d6bd542b01cfcd5781fab524d91ec74ff0dacced3213366832e6839616554f0c42dd1ed580c55fccda693736b5f4041a6eff7bc5e66a6edf608ce3126bb3 SHA512 dfaa5ce0e3cf679fff8f3a1234db8dd88087d221cd1d0f4a84c2a41a5463f9fc2645fa9ba3bcd86f793bb07ef74a0efb3075fd28f3fdf7ccffb18904a8a69231
DIST jenkins-bin-2.90.war 74292811 BLAKE2B 0539a55c0d9e63fc6df2cb57f7acf794829f5dba47b82903e1dce0d41067a9bc1ca20fdffa65bc73b0931b47b928076047254c50aaa0fba7f63788a7b640930e SHA512 ee5b201716c02896191ca4a531abe9fe43774e79b7eb2dacf5aa64d481e3ee16b56ce3cc8f1f97c61397846d77bf7886ac6cecc560fe2dc998936c8883b5eb76
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.89.2.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.89.2.ebuild
new file mode 100644
index 000000000000..fb976b69a9ff
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.89.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 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-stable/${PV}/${PN/-bin/}.war -> ${P}.war"
+RESTRICT="mirror"
+SLOT="lts"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:0
+ >=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
+}