commit:     d87c9f6779a179aa87ef5f72c1d7aacb27498574
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  7 06:58:12 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Sep  7 08:29:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87c9f67

dev-util/jenkins-bin: add 2.462.2

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-util/jenkins-bin/Manifest                   |  1 +
 dev-util/jenkins-bin/jenkins-bin-2.462.2.ebuild | 44 +++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 03cb42af3d21..cfbd621ef52d 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,3 +1,4 @@
 DIST jenkins-bin-2.452.4.war 93409695 BLAKE2B 
8ae062e00049f0eb2d0a8941919ef4ab23171e8e0bd2535c73518c03655092ae116ef8f4538bce54e1e5e689cabec52c8ebf2af630579f1b1a49deef577222db
 SHA512 
6d96e73bd12d6815e4713d31e0e2983104f4b5d1a7fb2cc7575c540c2c0d6e41717c826553afa9cbbe43bce6e95d792b26c8b250c3e5616da1e7be5813c6e097
 DIST jenkins-bin-2.462.1.war 93287150 BLAKE2B 
f23f4cf808be5de753ec301b3c49717f0a49cc69335f00df5b3a8f1c1b9b8a42fce30b315a2cf59965ab2ccf79512f16f63997ac58ccc3e86124aa2f21716ef2
 SHA512 
ffc0adba34a0ca646630c65c8dc61cbea2dc0c633dbfe8b9d1b80b484e3a315840a488c4b8f1e2d6e171491ff48835b755d80b3a7151efd5b48eac85eac17941
+DIST jenkins-bin-2.462.2.war 93344579 BLAKE2B 
e27067d12935c25ff76b7767c317a617061ae660cbb28a033bf4eb36bf71cba6a9a979e8f0cbccc167f794fb73f518596bc341be85cfdf52b0d36766675e4357
 SHA512 
a4a8e2948c83d97cc0ee1f7d02983e557c2e288c5a081e1b15ba89a4567c4d2879b96a63227881f34e47b5173b06cb6666aff9a8cf248a21a55b13b4cd6f66dc
 DIST jenkins-bin-2.471.war 98790731 BLAKE2B 
2d0ea306c5bd3e05433f1d2262044892bfc5b82534cebc9dc8f5c4067ac14b8bae078e28380bfe68ecd49a4cf114a6ad3354e17f9ca3aad0680754ebca5103cd
 SHA512 
8261fd4169bc163e9ce8e6e2a368c7ce6ae8a1f410f613c0f7a467f86ed9eb2db2edfb279aa4b960db5f1f22ac0a10e1f06574fdc9f515a5815929a8dd15c809

diff --git a/dev-util/jenkins-bin/jenkins-bin-2.462.2.ebuild 
b/dev-util/jenkins-bin/jenkins-bin-2.462.2.ebuild
new file mode 100644
index 000000000000..f23cc6f84ea2
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.462.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 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/";
+SRC_URI="https://get.jenkins.io/war-stable/${PV}/${PN/-bin/}.war -> ${P}.war"
+S="${WORKDIR}"
+LICENSE="MIT"
+SLOT="lts"
+
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux"
+
+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 )"
+
+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
+}

Reply via email to