summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-03-23 08:16:56 +0100
committerHans de Graaff <graaff@gentoo.org>2023-03-23 08:17:04 +0100
commit79387bdddb576e8675c0bcbdb0f0419bf7de622f (patch)
tree8d0739aeaac4d19da414d3c43304895762f7d6cd /dev-util/jenkins-bin
parentdev-util/jenkins-bin: fix logrotate for 2.387.x (diff)
downloadgentoo-79387bdddb576e8675c0bcbdb0f0419bf7de622f.tar.gz
gentoo-79387bdddb576e8675c0bcbdb0f0419bf7de622f.tar.bz2
gentoo-79387bdddb576e8675c0bcbdb0f0419bf7de622f.zip
dev-util/jenkins-bin: add 2.396
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.396.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 7f503bd76548..129b348ed2be 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,3 +1,4 @@
DIST jenkins-bin-2.375.4.war 94246705 BLAKE2B bff619c8cba8cb75ffa11b967176394be63d5d74f16f76487fc1e7e47f7843bded4b2005a37be5add38bb48a9ea622a3f3a8778f15f9aaea537d53f38263260b SHA512 0df55e83885583313829e9d6e4664c2e3811fe5c6bbf39fa264b39d856365a4b6740491dbe9e708e96cd429543d038b09cf2b09da014994f6482f27eba120231
DIST jenkins-bin-2.387.1.war 98336194 BLAKE2B 928961b9cb64a03ca85eb7867b8976629470082130d076dc97be1b5181aec694634dc0a4778c4281f4993696090637e42adc81526215268f3bf8ba9bde38f6c4 SHA512 51d42be9f0c6a63b3163a0b95d579eb1b33c6e3ee1451f4f0782143bdba7cefac3e378949173dbe0d9adb3a11f295f1efe5b334654a4b7601bc2ffdd4b086c3d
DIST jenkins-bin-2.394.war 98409457 BLAKE2B b118281ec50b0e4f92fa1996ab1c6d8dc8f98a2aafff9f430c5f359b53bd58081754ec72d982e432e783ba912923607306f9217de15a03de6875291cf0c1a1d8 SHA512 4f41e654eadb8459750bd69030e35186cd4677f2e24c0c422df9a5536b000f51e3c960b2b5396605c3e928e0909a719673d08b70424b314ad6ae9777d42df035
+DIST jenkins-bin-2.396.war 98338848 BLAKE2B 5c51085f3a677a46d216c9f1acdef2a6b59145a9ce557b301878b610daf85c9395588376427c05427d1791cf356f3f96643d6c83298cdafe9dd7995ba563ff72 SHA512 70c8c61c6715f5f9b90775ea35ae51ae9bcfb2f9908ad99e1b04237e8a27c03bf97c4474fcbbb1ad660350c3524ff796ad44e64e56a7791a363e45bc30457b5e
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.396.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.396.ebuild
new file mode 100644
index 000000000000..45f6ff742f49
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.396.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="Extensible continuous integration server"
+HOMEPAGE="https://jenkins.io/"
+LICENSE="MIT"
+SRC_URI="http://mirrors.jenkins-ci.org/war/${PV}/${PN/-bin/}.war -> ${P}.war"
+SLOT="0"
+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:lts
+ || ( 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}-r4.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}