summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.283.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index e424982f8fdf..638c01e498dc 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -2,3 +2,4 @@ DIST jenkins-bin-2.263.3.war 67287051 BLAKE2B 376612f444d6827ad270f1121c2df3f134
DIST jenkins-bin-2.263.4.war 67287029 BLAKE2B 0e5a510fab07fccebbfae7cf5b9accb88543e5ba7a7512d120db518afb4f80e9feeb6895c3227ff52da5286440a7cd226c172a77b10a4573df2917643a1df3a3 SHA512 4f648b372a51c01b04d2057b61d2a50b2abd5d3b282b3d790eb579ebba3381cdc3fda28bcb7bad0df4ff837f66b9074e8ade66309c38b52d1f3c22f1b8d0f63e
DIST jenkins-bin-2.277.1.war 70886703 BLAKE2B f090aa2fd7ad7eb6e8ad46afe727c01cd0cb66408ae234c5f33abc5e45d3886d960e172e964443e88a3311a36cabc99e74385ff5744d6e1b920b6f911874a0c1 SHA512 4fe4076a3145b213c9e70e5b66ca9289e01d1c9bcd8587298e7cb40d4c3b0a6d647a1f055a1c6bac9b4a04068b33a83236a08bdbec81ccb823473b9df08478f9
DIST jenkins-bin-2.280.war 73385503 BLAKE2B 4322a5f9d50236a7409ce30b8d6899abada57b94bda38f7e4734e44e22a7405f30cb12218789803c0adf02ba4d6738b1f9dd2210339c4f5528ec37fc8ecd1447 SHA512 91b61b12a4cf603e923882d91767a1fa43974c023ae52422dcaa79e770bcf0feedc2dfb3627898a3179c10a3f86c1bc7846ce9ad7bc834d46552889d45fb6ccb
+DIST jenkins-bin-2.283.war 71906683 BLAKE2B bd7dbf30d0c15263207a8e024750e706f58bdb26bcb41be91e454bfab3f40e74b075ab9f6c28686f42f8c2b02c8938887a0891caf71928405399bff6c02ffd92 SHA512 44009dd243df0e704562a0e9b85f1434294f17bb9410514b42f9195a1dc07e415b29de7167991a01eef52eb853b33ead77dafcae8a064db0488d3e636d739f6c
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.283.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.283.ebuild
new file mode 100644
index 000000000000..960720966a1b
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.283.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}.init2 jenkins
+ newconfd "${FILESDIR}"/${PN}.confd jenkins
+
+ systemd_newunit "${FILESDIR}"/${PN}.service2 jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}