summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-12-10 15:41:34 +0100
committerThomas Deutschmann <whissi@gentoo.org>2018-12-10 17:44:55 +0100
commitc3eb604eae7e912202b85dec2dd5c175270d387c (patch)
tree78d4180d3ea98d28b7025d8e2aa7de9ec03add75 /dev-util/jenkins-bin
parentdev-python/awscli: bump to v1.16.72 (diff)
downloadgentoo-c3eb604eae7e912202b85dec2dd5c175270d387c.tar.gz
gentoo-c3eb604eae7e912202b85dec2dd5c175270d387c.tar.bz2
gentoo-c3eb604eae7e912202b85dec2dd5c175270d387c.zip
dev-util/jenkins-bin: bump to v2.155
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
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.155.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 07dc99a9997f..a248ee62635c 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,3 +1,4 @@
DIST jenkins-bin-2.138.4.war 75751509 BLAKE2B 2601353b630ad2d7783460a7e5af93ccb9f0e8ce6a277a4413871df73c944e733284f5621a87ca741ab2ef683554700919be767e9ff7cfe7ff7816be3fcb4202 SHA512 4492d9576dbe8364fe2d8f110ee9eff68478f64b397178a96b1d5c427e98c413a8dc1ba574c43b4ff84b3848ca99ff05a24df31d568c367849a35f6b673ba5b3
DIST jenkins-bin-2.150.1.war 75938045 BLAKE2B 363e359ef627947b2dfa30d164099c2864f2641c1ad3fa83532f9252a030bd973e4af3238fa09ba92f8ad65ab4463a21d86752b159d07049d5ccd88f8895bbdc SHA512 1158713b60923f7c1a3b90e403562a388ec3578f1a7ca267f91137a58571c26721075f63eda97b92bcf3ca360ce68d5129c9bd205b2ee138e13247d73da4e7a3
DIST jenkins-bin-2.154.war 76032730 BLAKE2B ce107d6afd617c0335f0ec13e004f72fb497ed8a9cd7859169e049f1f62cff34dbffa7bc59b536afabde3dead439a4d3e4cbb4f71107b1752b29451997ab5c77 SHA512 d86723dd0b10a26c7d8764c0717114d990de49b2ade3e8b7af163c13350b55f8ec11e479f4743641d9a6530ffc6e98903d9fac20e964ca70b4795aa26202b720
+DIST jenkins-bin-2.155.war 76037370 BLAKE2B 69ca351fe0322564899bc7866174c1d2334c1881cffe49bce06273143b4f5303d544d77d8c372ec5c5380c045bf60566c77b1b9f6be5f9e1e58744d90ff6807d SHA512 b7ce35de687094161d55d50522ccf8f80d8369e383ba97bd2de2082b5b03eea5385ae5d8aa46d80112c4f3df30584c9ba7ab2e58542c9c9c0ce7c2b2e17b481e
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.155.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.155.ebuild
new file mode 100644
index 000000000000..dfe46af57ae6
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.155.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit user systemd
+
+DESCRIPTION="Extensible continuous integration server"
+HOMEPAGE="https://jenkins.io/"
+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
+}