summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-11 17:51:26 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-11 17:51:26 +0100
commit39f57da21e3e86f2c7e54e94c0cffdebc1aa4a5b (patch)
tree3ba8cc61b8137775f54f77f28617f2c0a22774b7 /dev-util/jenkins-bin
parentdev-util/jenkins-bin: cleanup (diff)
downloadgentoo-39f57da21e3e86f2c7e54e94c0cffdebc1aa4a5b.tar.gz
gentoo-39f57da21e3e86f2c7e54e94c0cffdebc1aa4a5b.tar.bz2
gentoo-39f57da21e3e86f2c7e54e94c0cffdebc1aa4a5b.zip
dev-util/jenkins-bin: add 2.89.1
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.89.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 78933c4a0995..68af93c3d61c 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -2,4 +2,5 @@ DIST jenkins-bin-2.73.3.war 73286753 BLAKE2B b9421b62ac1859d31b3954c551d04ca6f79
DIST jenkins-bin-2.84.war 73749405 BLAKE2B 89f2e54e51a9f5086d4bf017a99c50cee680b18ebe16bd7076fb0db7c98640355c8b7da4da18312295d331c88d229c8e1fe3e166d9f9b435ae3c8747c18e4163 SHA512 0074b2299f72f45040b4afd087caae0e08362708d3370d17f3bda047d11240881a3fd779753a49c298961e87c509d0b278ac2712934febed23c13c7e36d6c51c
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.90.war 74292811 BLAKE2B 0539a55c0d9e63fc6df2cb57f7acf794829f5dba47b82903e1dce0d41067a9bc1ca20fdffa65bc73b0931b47b928076047254c50aaa0fba7f63788a7b640930e SHA512 ee5b201716c02896191ca4a531abe9fe43774e79b7eb2dacf5aa64d481e3ee16b56ce3cc8f1f97c61397846d77bf7886ac6cecc560fe2dc998936c8883b5eb76
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.89.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.89.1.ebuild
new file mode 100644
index 000000000000..fb976b69a9ff
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.89.1.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
+}