diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-06-12 06:55:27 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-06-12 06:55:27 +0200 |
commit | 97af1102e5a874d20339d10d6315fa54164f597b (patch) | |
tree | fcc1157d91fe153f816ef4e8f6cc8df20b70afe3 /dev-util/jenkins-bin | |
parent | dev-ruby/arel-helpers: add 2.9.1 (diff) | |
download | gentoo-97af1102e5a874d20339d10d6315fa54164f597b.tar.gz gentoo-97af1102e5a874d20339d10d6315fa54164f597b.tar.bz2 gentoo-97af1102e5a874d20339d10d6315fa54164f597b.zip |
dev-util/jenkins-bin: add 2.176.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r-- | dev-util/jenkins-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-2.176.1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest index a6601db353fc..fc9e2ed8acd6 100644 --- a/dev-util/jenkins-bin/Manifest +++ b/dev-util/jenkins-bin/Manifest @@ -1,2 +1,3 @@ DIST jenkins-bin-2.164.3.war 77335220 BLAKE2B 0f2a84419268e9831620fd3be1e7648470f2b6568fddf8bdb76494fd53fcb5a81c52f44110809cd6700cbfe34251f5e6c48114de95d388296c2d98ae70cb9923 SHA512 de9303dc89e80ec084862c1f4a8a3638826ae3a514bb9591e46bc0acbe511912daa228d85e25b0b53d051e8ec293ae57e229a5d8ead5b9a80d8d6ce26eb6995f +DIST jenkins-bin-2.176.1.war 77272319 BLAKE2B 2aa3f263163e4b9f6290fa0322a5d43c6a6ce196abb9f5aea21a7fab9d7f9ec5e3851ccbeca8291891ec5b18f619dabf2f204529c7ec0bc61172e0679fce7f37 SHA512 39caa250c71473da40d86160247fc0ec450df86d2b7453932c49c17c2b8d4307cccc579e9ff690119ad806fc4f67ab4cc65857000f451f31b0eb945b83b1408b DIST jenkins-bin-2.177.war 77352458 BLAKE2B 45564839dbfbd0579b7f54215838df8205433f4e7040179629b020141aafb1e51264e7ecb4c5c8aa1cd938674bbfeb05b578027ea5cb74ea0d49c75239e9cd3a SHA512 060431fc2e5022911160c9cfe34353342dffb5a1dbc9b8a21140b90220812224a99fe7d26c1faa58e2830764d7a29836962b058f00ee097381455a0d6ff22085 diff --git a/dev-util/jenkins-bin/jenkins-bin-2.176.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.176.1.ebuild new file mode 100644 index 000000000000..323b88955105 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.176.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 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-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}.service2 jenkins.service + + fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup +} |