summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-06-23 07:56:13 +0200
committerHans de Graaff <graaff@gentoo.org>2022-06-23 07:59:52 +0200
commit68854c5ff0f9fc50efa94270ee706ef29586ed85 (patch)
tree2ec2dece96d85f6132df064bf8338516e13fc6c7 /dev-util/jenkins-bin
parentdev-util/jenkins-bin: cleanup (diff)
downloadgentoo-68854c5ff0f9fc50efa94270ee706ef29586ed85.tar.gz
gentoo-68854c5ff0f9fc50efa94270ee706ef29586ed85.tar.bz2
gentoo-68854c5ff0f9fc50efa94270ee706ef29586ed85.zip
dev-util/jenkins-bin: add 2.332.4
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.332.4.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 435daa38971c..3a1c9981ad2a 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.332.3.war 94928325 BLAKE2B 2e93756ad898761fa5a139cff75e68f130dc5a47fbf9f39c5cb0f02848595a29f84a6ba567ad78a248fc658e1811baa8ea89841f1b632aff3974865aacdda64d SHA512 62bc639e7bed7f6cb194781761735dbf07b4e7b38a38b43a798c386e7000d589b3f6202ba8789a685d3b2ac18cb1554b19d4208362b945e4866e8a810be84e57
+DIST jenkins-bin-2.332.4.war 94930441 BLAKE2B 9502d7fd91d0ffc6871ff0613061883bef98442cf69469ef6bd1cc23fb1849d0b8e70aacf27e2807281a575889c34c574a84caae0226c8fd922fea0bdf334485 SHA512 e187804f8ab1454b56e88b89b258ee57e1c4c2069ef33d87e78e2797252498817edbed15208ec3644a77d51d51afebc0c12e226cb24068bb21a415f21d9727bb
DIST jenkins-bin-2.334.war 94653863 BLAKE2B 83c237384723dac7c850be45b1d61cd3a9fbae91d1286bf1de3613badc311ad57619dddfa1cea935f4a1cb378948c41194a762de44b8b356b00cb744f976586d SHA512 bed2b70efab177f8c56ff3f9eb4af8821038b1b4a3f996772d07233335494cc9a335e97f24182f9467f5363b31c46127a393cfcc48eed52368773836a06b82e0
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.332.4.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.332.4.ebuild
new file mode 100644
index 000000000000..8e851381fe5b
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.332.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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:11"
+
+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
+}