summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-06-03 07:22:41 +0200
committerHans de Graaff <graaff@gentoo.org>2021-06-03 07:50:33 +0200
commita99382544572edae10d4389a3d461b2ca86528c8 (patch)
tree27ad275f84b83fee6a52528f24c3901bd113262c /dev-util
parentdev-ruby/mixlib-shellout: add ruby30 (diff)
downloadgentoo-a99382544572edae10d4389a3d461b2ca86528c8.tar.gz
gentoo-a99382544572edae10d4389a3d461b2ca86528c8.tar.bz2
gentoo-a99382544572edae10d4389a3d461b2ca86528c8.zip
dev-util/jenkins-bin: add 2.289.1
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.289.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 03d8c1bccaa4..43cdbee032bd 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.277.4.war 70918017 BLAKE2B 990222bedb5ad58e8a00f29194b0f201395545fa70af22485a88c55e0898abdd218e501222689abbdf5cc8f4f3dc32dae7e54198b43a8c46172501017018eea6 SHA512 eb635bc0767c242063e88aa6f91a6daa8fbf23f74333f2dd73535a7ff3a4e690e3a456fba2e92b44ee883378b783896f8052a1b26536dac5954d74a62a63597a
+DIST jenkins-bin-2.289.1.war 74253062 BLAKE2B 142ef28f6d0e0a5445de3d758137b7a46e35e347cfaefdf88e3140afbdadd0499f4b900f16ebee9632ad0d66c0895f7e0905abeb997c1c4467839b53cc9f4027 SHA512 4d17cc0b5099231f4468a2160b8d174f9602930be9c8bf59a0a0ababf6bf0cf6ddf7e727add19f2dc04a5a6a538f53761a97d250745cb8c787c11a347c1908a6
DIST jenkins-bin-2.293.war 71937427 BLAKE2B 26d4bef9860df513d95900404909a3342183ee0c131a9319fb8a637f2a59be5867737ba476d156fb092cdd8c97f07328bb4a13e2f0bde700cae00d755a8851ab SHA512 bba17be80e8cbd9cd81b08e6df1fc142b7c944ea3998014211c6f0a2f6bb10e56278e2ecc2c800f0a0455b352026f7405f956545c78258d8ae225abb35fd0787
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.289.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.289.1.ebuild
new file mode 100644
index 000000000000..10778d0c4f4a
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.289.1.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}-r1.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
+}