From 00f7774186991bae315402e9aab5a3a681ce7c57 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 12 Jun 2019 06:56:55 +0200 Subject: [PATCH] dev-util/jenkins-bin: add 2.180 Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- dev-util/jenkins-bin/Manifest | 1 + dev-util/jenkins-bin/jenkins-bin-2.180.ebuild | 46 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-util/jenkins-bin/jenkins-bin-2.180.ebuild diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest index fc9e2ed8acd6..8e6128a2d54e 100644 --- a/dev-util/jenkins-bin/Manifest +++ b/dev-util/jenkins-bin/Manifest @@ -1,3 +1,4 @@ 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 +DIST jenkins-bin-2.180.war 77259066 BLAKE2B 87e981aaafddd863aebaf63b2f5e851db3aab4916ac2131cc9f4a3ae3fb6cc16ccae77a4b53b7728480e4388a8b766b57bfbba7cc6a017cf89be3b3e634871df SHA512 ab626311695528e2970b3faecde7e5ec07dc12cce88b3861a5d74980349d4d409a476c38f0bdc3c0e9b443e8d2881eb77b7503eec2844e4abd8e5e149367b0d3 diff --git a/dev-util/jenkins-bin/jenkins-bin-2.180.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.180.ebuild new file mode 100644 index 000000000000..7d232cbccacd --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.180.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/${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}.service2 jenkins.service + + fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup +} -- 2.26.2