summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-29 06:21:43 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-29 06:41:01 +0200
commit0a2364dd2157a02e8d81389e72f59682bfc283ef (patch)
treefb39a1baeb1d6a41e722d0f3acc33b9e3ca37b70 /dev-util/jenkins-bin
parentapp-eselect/eselect-rust: fix whitespace (diff)
downloadgentoo-0a2364dd2157a02e8d81389e72f59682bfc283ef.tar.gz
gentoo-0a2364dd2157a02e8d81389e72f59682bfc283ef.tar.bz2
gentoo-0a2364dd2157a02e8d81389e72f59682bfc283ef.zip
dev-util/jenkins-bin: add 2.289.3
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@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.289.3.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index a6e8803d908b..0e8f3b004b4a 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.289.2.war 74258848 BLAKE2B d217375b2846093430822392ec58fa0a44b1c2c0a311c8b1f057053911f0050c69df74d3a972c3ba84915a34ed999a8220318b2e8a22540234f89cc3d2e69194 SHA512 b1e82bd3297c2cc1c40dbe076d57eaaeb73102389ea5cdbbbe599644b92e107cdd8d8b2604125683ac986db0eaaa8a33dcc769bea8ce56cf9b292e6dff0e5c95
+DIST jenkins-bin-2.289.3.war 74258876 BLAKE2B 0964ce0e85a2db33c4f66ac6fee241732900dbfc00a11ddf0038fc8c97eb0c7b4bf52f2d620bfb3e99f476e14041798f163443390fd8b02269fb5818842ab5e4 SHA512 290cd54afe27298f1f4d665bfb5fdcac4247bb5bbc6ca6f1e0e722b7bd6a4a207cb5cc644e9b10c21eaa91f91a6142342312d486f54609dee041e517bababf7c
DIST jenkins-bin-2.300.war 71017525 BLAKE2B 26fab2a5f26a59a2e137f8a3eb1b84e17a14c48cf7ce8171176ad60c66acf939a73cd397266abd3d779f1fc293acbae96076bd506e53cde2ba5a4b7630f0a75d SHA512 fc9903d3e280af3ab68a3926950cefda13d77a03c1366f3a88c2681163da668793a79104ec6de153df76d32f655253a327e85e468449de81897658da4184eece
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.289.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.289.3.ebuild
new file mode 100644
index 000000000000..4f917fe82dac
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.289.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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"
+SLOT="lts"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="acct-group/jenkins
+ acct-user/jenkins"
+
+RDEPEND="acct-group/jenkins
+ acct-user/jenkins
+ media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:0
+ >=virtual/jre-1.8.0"
+
+S="${WORKDIR}"
+
+src_install() {
+ local JENKINS_DIR=/var/lib/jenkins
+
+ 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}-r2.logrotate ${PN/-bin/}
+
+ newinitd "${FILESDIR}"/${PN}-r2.init jenkins
+ newconfd "${FILESDIR}"/${PN}.confd jenkins
+
+ systemd_newunit "${FILESDIR}"/${PN}-r2.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}