summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-12-15 09:51:26 +0100
committerHans de Graaff <graaff@gentoo.org>2017-12-15 09:51:26 +0100
commit99f4e715be54e34ee91286dd96502887a8e1a97a (patch)
tree20d44be70eed602dd66f59649c8bb74ca065f3a3 /dev-util
parentdev-util/jenkins-bin: cleanup lts versions (diff)
downloadgentoo-99f4e715be54e34ee91286dd96502887a8e1a97a.tar.gz
gentoo-99f4e715be54e34ee91286dd96502887a8e1a97a.tar.bz2
gentoo-99f4e715be54e34ee91286dd96502887a8e1a97a.zip
dev-util/jenkins-bin: add 2.95
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.95.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index c1739c452a5f..49a4791c1772 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -3,3 +3,4 @@ DIST jenkins-bin-2.86.war 73796979 BLAKE2B 7357659340e9314a691c25892d8f89332df2d
DIST jenkins-bin-2.87.war 74271222 BLAKE2B 54aa5215146407682e3d0f69e67bd1b911c5525cf15222c03df0648e6c4526467be15320554421a2995d9314a72945251f6e329673da64cc26935be15c443efc SHA512 210c2e23d71c3081d4cd6f28af6bac0db7b43f3f93785ee0b53622b7ff05c25aa6dab0a847bf9ee59a2b4952263a67fbc2cb88fd47557809153e191fd95d4da9
DIST jenkins-bin-2.89.2.war 74294776 BLAKE2B a163d6bd542b01cfcd5781fab524d91ec74ff0dacced3213366832e6839616554f0c42dd1ed580c55fccda693736b5f4041a6eff7bc5e66a6edf608ce3126bb3 SHA512 dfaa5ce0e3cf679fff8f3a1234db8dd88087d221cd1d0f4a84c2a41a5463f9fc2645fa9ba3bcd86f793bb07ef74a0efb3075fd28f3fdf7ccffb18904a8a69231
DIST jenkins-bin-2.90.war 74292811 BLAKE2B 0539a55c0d9e63fc6df2cb57f7acf794829f5dba47b82903e1dce0d41067a9bc1ca20fdffa65bc73b0931b47b928076047254c50aaa0fba7f63788a7b640930e SHA512 ee5b201716c02896191ca4a531abe9fe43774e79b7eb2dacf5aa64d481e3ee16b56ce3cc8f1f97c61397846d77bf7886ac6cecc560fe2dc998936c8883b5eb76
+DIST jenkins-bin-2.95.war 74275142 BLAKE2B b2865010628940f216bf39847203d786ef63ec8f18b8adabec629b7ef7b01681dbdd381738163cff9c04f75b50705cfa5c9aad9bcf038fbfb9c91abb738fc1b6 SHA512 2002953a49cacdac8a93f24335d489dc4c10c7ae3f3bc80b4f6dd524a5ac1984fc7229c570e0c79dd53c51bf609cc989193c0a6881f2e0b9d8dd49e47bad20dd
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.95.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.95.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.95.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/${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
+}