commit:     726f3d15b281f8e811cdebc0a325afe469b7c975
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 28 21:53:13 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Jun 28 21:53:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=726f3d15

dev-util/jenkins-bin: bump to v2.242

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-util/jenkins-bin/Manifest                 |  1 +
 dev-util/jenkins-bin/jenkins-bin-2.242.ebuild | 46 +++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 8d916eb0b68..b598a4ceb3b 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,3 +1,4 @@
 DIST jenkins-bin-2.222.4.war 66239216 BLAKE2B 
0272f91b4460ac9f9cd0235df59f55e3135f593d8098d35aae4db6571e171d3c38c6b3e0ac0ae2f7825a3ac3e56c8e76cc4e15e28743cd2aa007395921eb7100
 SHA512 
8f82d8c69807c46eb0f0638d59777f10e1017b197a1d88295882e6b8aef6376609ed9da625691eafca786ed0a7314e7ab2abb000a39dcfb6da2d250bbd5e0c76
 DIST jenkins-bin-2.228.war 66137156 BLAKE2B 
acd1414745f0ffe12ca3025149d5ef8dcdebe6415e54e18f71eb4ef05bb578279409fbf5605763d86144726a82057ba796ea8ce3b79301ea33ddfed1f03ad9f4
 SHA512 
899c5838cc46f87020c18b0863b8f160c22b0422e7adec1bfd48dce5f06264b5e33ec8411bf9133e28fa8723daeeb5d2cd14a92c261d82e2b2b804d0b1c21250
 DIST jenkins-bin-2.235.1.war 66437256 BLAKE2B 
900f5616db3e4e1913e9e07f1d40951fdb0a467e2acd93441a52fed7d9f5961103c46b34627e0add76da11a3e4787535d0a47e5eee20a474f65c14b03fefe9a4
 SHA512 
1be1f1845de87316107469b9b7c4d0e1e6b0f014f495981f2ecc2ce3acbfd820275c187c61b3f9664ad2a61312e4504171c45edf05e1711bbf61554c5f3fd653
+DIST jenkins-bin-2.242.war 67003152 BLAKE2B 
cc20efde5196ed66af3cfb0b52404e35bf3954422734278ce2c3bfad5402c0f005579a1c406e519e8e04b28e3d0f26cff2d4fb5a40c2b722dd3a93d54cf86cb4
 SHA512 
22e138d4c3291b2885b9cb9db51e5dedcca13ca93a2fb8b11bd1dc81da981e9404717ff791fa2a1d9dd4530fb806e8cf9c79931cdb968723f02177fc00321f92

diff --git a/dev-util/jenkins-bin/jenkins-bin-2.242.ebuild 
b/dev-util/jenkins-bin/jenkins-bin-2.242.ebuild
new file mode 100644
index 00000000000..e3e0cd1a4ed
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.242.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 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
+}

Reply via email to