summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-02-14 21:35:49 +0100
committerHans de Graaff <graaff@gentoo.org>2018-02-14 21:40:47 +0100
commitae82d500c668ec58a74a968466d71a28a2ed4cd7 (patch)
treed008f04a9b1e490598da49645fc07ecce8ad0690 /dev-util
parentsys-fs/zfs: make modprobe optional for systemd unit files (diff)
downloadgentoo-ae82d500c668ec58a74a968466d71a28a2ed4cd7.tar.gz
gentoo-ae82d500c668ec58a74a968466d71a28a2ed4cd7.tar.bz2
gentoo-ae82d500c668ec58a74a968466d71a28a2ed4cd7.zip
dev-util/jenkins-bin: add 2.89.4
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.89.4.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 4bbeb2037352..8864bedca7a1 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,4 +1,5 @@
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
DIST jenkins-bin-2.95.war 74275142 BLAKE2B b2865010628940f216bf39847203d786ef63ec8f18b8adabec629b7ef7b01681dbdd381738163cff9c04f75b50705cfa5c9aad9bcf038fbfb9c91abb738fc1b6 SHA512 2002953a49cacdac8a93f24335d489dc4c10c7ae3f3bc80b4f6dd524a5ac1984fc7229c570e0c79dd53c51bf609cc989193c0a6881f2e0b9d8dd49e47bad20dd
DIST jenkins-bin-2.97.war 74297213 BLAKE2B 374266b466736d8e6b6abdef13718e132336525926f28c6ced413dd1a091568bae81900133efc5a0efa96e41847e17b483e8842884c3efa7457c59cdb4bd32f6 SHA512 e784e35136c079caaae12788afa093830cd4d1d4f657b2f11571db5b7a3fa3271d2cd50a8793097905bc0ba67b8ad0bf78b94db00d86ab722453f4c0a41f647e
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.89.4.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.89.4.ebuild
new file mode 100644
index 000000000000..95d08ad47b24
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.89.4.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-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
+}