summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.289.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 5bf245073695..9c01dbf10d6d 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,3 +1,4 @@
DIST jenkins-bin-2.277.2.war 70887351 BLAKE2B e415752c220d75b33229a7ce93ec294d39e8ed88af160ab56d30a8df487739191e32a53b485c37deca1bb2be755ba7dd2e640537308ea9f758e6a1426c23f933 SHA512 c5b6665fcec457dfd96c6c3cfad09fe65e781e9b09ca8a79cb8b274dcaae9eba518607baa5a0f0d9a1eb297c276d4636fead6c96d4a5a8c3368dab8f88db3627
DIST jenkins-bin-2.277.3.war 70887043 BLAKE2B 4801be0af417044ca2bbd07f5768594d7cd3ea980ae3cde32bffd9bef1851abd3d7134dd748f9d539e4d717a146d4c53c04a2604ae4398653d83ce4e4fe011cc SHA512 e0d364e619e183b745e08e1e72531d59dc6a92927dcb3b3372d2575d6020e465673d91fd650ad8805260037675623655f0cde9de95c22988be514d6314ffc668
DIST jenkins-bin-2.287.war 74382482 BLAKE2B 90b8b765db7324b47a1d68b2e3dfb475271ccc695a60c8830ede731172592ac622e911bc64d14c4cbda58cd0e82cdcab7850c76783703281c4ded948e25bce32 SHA512 03c64fa595bd2b9b8463fcd47cdb2ccbe46cd820bcfdc2b2f0a9ae406d2dd32e6a5c8f51ddb8bdbc20498ae27672fb0b6e6f3e3f894f00bbc3f8e80dd627faf1
+DIST jenkins-bin-2.289.war 74326992 BLAKE2B 60d8523bc0ec3022cfc152c00059bd153d3d0888640a66502385fb318c90ef1b43b3cb8fb621263f440c7852ac46f796840bac4f602e7f12b6de845af2bf9a45 SHA512 76a6785346f14e86e43f0c2e5ebf2ce2dd14ceb45c780ac650374a5a15615d5256567def6db0eed87a3ca6d853bda360f011cdd7972084fc76cc3ad3d4831c92
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.289.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.289.ebuild
new file mode 100644
index 000000000000..6272140cb584
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.289.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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-1.8.0"
+
+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}-r1.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
+}