summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-24 07:20:42 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-24 07:20:42 +0200
commit83676ed6b2038493aff6ef4d4a650d9fc9ddd734 (patch)
tree89c241d28f20c31d240f5ea88bff42db2df1d1d2 /dev-util/jenkins-bin
parentdev-util/jenkins-bin: drop 2.401.1, 2.401.2, 2.401.2-r1, 2.410, 2.414 (diff)
downloadgentoo-83676ed6b2038493aff6ef4d4a650d9fc9ddd734.tar.gz
gentoo-83676ed6b2038493aff6ef4d4a650d9fc9ddd734.tar.bz2
gentoo-83676ed6b2038493aff6ef4d4a650d9fc9ddd734.zip
dev-util/jenkins-bin: add 2.414.1
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.414.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 234c2cfac32b..7d7d38efc288 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.401.3.war 98398119 BLAKE2B 249f7ace9dde2db5243aa041d5afc854cb3064c7044aa95a3f2bae6ec96c0fe2a9ed06917f3bdd9c8a3b9178ab795d5d5de1b3a45e28bac70b5fc096b888c1a0 SHA512 b634bea063dfbcfd24998af920324fd63c394da4d0e34c619ad5f2447ecf16c4142ab531e96d6b53572e9dd698804126c6ff8adfeff3bc7fa7b5192157346708
+DIST jenkins-bin-2.414.1.war 89532544 BLAKE2B 2da7c1d79b8e5421ded90f44697807d1c76e04c6652229d0cbdb73569116b7f78cb0887e8df8bda18248766f2b49b3d3e51ed553df488e1716b1370c0dd8df76 SHA512 4d9bcadc4296c43336ed90e5aa27feb271ff074793f2ea8e15513c77c9dd9e8f47409382ce1299ec21a05ca1d5a02b9dde40dab03952cc3c77109a17048739d7
DIST jenkins-bin-2.416.war 89541474 BLAKE2B 69f72593facf686631172e81c653df688da3e15f168c2757b9b320d9535b8c4d5a493596f1b9dc7a830bcf35a080e30a981a0a9d028dcbdb755425f3ea48977f SHA512 b8546e48e1c0cbb4b05ed233da60d62d00d117ec21c18a16cd16eee69a6c06ab71392781359de0667c570578d5c49147dea6decb19758c2c4faf05d17003bdc6
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.414.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.414.1.ebuild
new file mode 100644
index 000000000000..e8b333002f60
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.414.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="The leading open source automation server"
+HOMEPAGE="https://jenkins.io/"
+LICENSE="MIT"
+SRC_URI="https://get.jenkins.io/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:17 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}-r3.logrotate ${PN/-bin/}
+
+ newinitd "${FILESDIR}"/${PN}-r3.init jenkins
+ newconfd "${FILESDIR}"/${PN}-r1.confd jenkins
+
+ systemd_newunit "${FILESDIR}"/${PN}-r5.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}