diff options
-rw-r--r-- | dev-util/jenkins-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-2.387.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest index 0e397cebb506..7f503bd76548 100644 --- a/dev-util/jenkins-bin/Manifest +++ b/dev-util/jenkins-bin/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-util/jenkins-bin/jenkins-bin-2.387.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.387.1.ebuild new file mode 100644 index 000000000000..43828c85c5e8 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.387.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="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: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}-r2.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 +} |