summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-08-27 10:27:43 +0200
committerHans de Graaff <graaff@gentoo.org>2021-08-27 10:27:49 +0200
commitd5a449d59df5ee85abcf4ae19c65e206fc9e24c1 (patch)
tree658563922f4797ec14748fbb6c5fa8025337924b /dev-util
parentdev-lang/ghc: sync 8.10.6 from ::haskell (no keywords) (diff)
downloadgentoo-d5a449d59df5ee85abcf4ae19c65e206fc9e24c1.tar.gz
gentoo-d5a449d59df5ee85abcf4ae19c65e206fc9e24c1.tar.bz2
gentoo-d5a449d59df5ee85abcf4ae19c65e206fc9e24c1.zip
dev-util/jenkins-bin: allow java 11 and add 2.308
Closes: https://bugs.gentoo.org/810616 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.303.1-r1.ebuild45
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.308.ebuild45
3 files changed, 91 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 6f83a3688019..308ce08771c0 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -3,3 +3,4 @@ DIST jenkins-bin-2.289.3.war 74258876 BLAKE2B 0964ce0e85a2db33c4f66ac6fee2417329
DIST jenkins-bin-2.300.war 71017525 BLAKE2B 26fab2a5f26a59a2e137f8a3eb1b84e17a14c48cf7ce8171176ad60c66acf939a73cd397266abd3d779f1fc293acbae96076bd506e53cde2ba5a4b7630f0a75d SHA512 fc9903d3e280af3ab68a3926950cefda13d77a03c1366f3a88c2681163da668793a79104ec6de153df76d32f655253a327e85e468449de81897658da4184eece
DIST jenkins-bin-2.303.1.war 72292947 BLAKE2B a2d04203cad85ec6ec7f1cc93a2bab90f0a614fef227b7dd3dbf26f5e31e0ecf0540527dfd23fe060505a8d90b92d0f82501fa3406a099641ea3ec84642a8ab0 SHA512 6ff8a93ecd8a61a800908193ccaff580ce07713b413edaea6433616422adb9e2c0e0cc2d1db4f435a19684ff8ea287275204c787598d94586ad47ea6971fb682
DIST jenkins-bin-2.304.war 72319365 BLAKE2B 44b6b96db50351bd50960e3c6f247d811e2f66f0bedddf103a6884e682f2d9258a348b2bb7239227034cd29451ad38ff7d7b9c6a2886ba6e0470a5500da646ee SHA512 36e4b9b0f0eacdb103ef1400bdc8b94f21108499a2cee2ea3536c27f347c5cdccb37407dea441f6a4dade827cf9f0121b84fe8fd42bc3afa5b3e9e4012588a45
+DIST jenkins-bin-2.308.war 72116636 BLAKE2B 403fa7c157af52edde7bd08c970c39fd5207f0c20201aa0e186b7904e401776df3d9c77f363a0e65cdf8d611671e8ebbb149eb04a94a20ea9c5d9da8f39c1dbc SHA512 ee995fcde3f34f6dadb637fdb45fa1acc85e62311a3d616709acb86a1850205ce6cf7660e8948af419a663c39f5f924e3d121a4f0cb3a0b0d151c3d686ea08f9
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.303.1-r1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.303.1-r1.ebuild
new file mode 100644
index 000000000000..ad97440c6bbb
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.303.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 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:1.8 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}-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
+}
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.308.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.308.ebuild
new file mode 100644
index 000000000000..efecbbe7a113
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.308.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 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:1.8 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}-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
+}