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.223.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 84fe0aef8296..954f523056c9 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -3,3 +3,4 @@ DIST jenkins-bin-2.204.2.war 63422555 BLAKE2B b39c46c81bfc1f6cfbf930fef0125d7a33
DIST jenkins-bin-2.204.3.war 64109613 BLAKE2B 906567943eba1e437fd5c71509d9bb0a2273b8c5118d2654c21546fafc8d044cb9d7eb1503bd2a36ac8037a16143a6b2617ed32bb7b4c4ffc8b3dbf218120be1 SHA512 2d6f51cee820afc4722721a7222c728accbb5a494b1e2d7c1f33a394e6551804c22540d21c05887d748c50acea3cda53c1197f83ec1f5afb2631081a7d7850a8
DIST jenkins-bin-2.205.war 62738246 BLAKE2B de350469e3a6e0d93f6d05c38f7669ce630f01a0284db83a0ba002e15ef712b4dddca6dcac804ab45c898f5c73cdac99bfe9b9bb99f6534c1446d8f4545660ec SHA512 1c0b12cdf7dadaba8d81ede769f76b059c7869732610353658cc928dd8c4943f8cf8beb15498a0dd4e064688cfdb7f88faaa9165c6da97c20d5e99080a12f413
DIST jenkins-bin-2.219.war 66378696 BLAKE2B 82fd19d4dc00d81d1b9798c795ab4ce9f0d3c6d36f1e048edd1aae41d9e239a260aa56f116e478dc13abbdc59e1c72e4f3072628e17e0d0280ddc7bd0efca919 SHA512 f3cd84fa3e99c291d0af0b80de0f43e41d762b1b1a2133dcd589694fa6e1a2a13a5d82992c06fce7a41952db2f8b553a822cac79f7ee9f7e646c9640a428d753
+DIST jenkins-bin-2.223.war 66257287 BLAKE2B 4e9b2b142526c3e6bf524fda3ebe09391222e0777e05f3b98b92681f4d7345d005c75c36562a734479425488d869d2cb57c8afee37b38e14059153c030876e08 SHA512 0a87732e158aec2a01ca8e4bd1eaf1565a741657e9026b639e6011bfcf0222c0c00c6b1f415446487bf54ffbbba9bf5b7f545637a9d4dbbee54c72331c30e71b
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.223.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.223.ebuild
new file mode 100644
index 000000000000..e3e0cd1a4eda
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.223.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit user 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"
+RESTRICT="mirror"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:lts
+ >=virtual/jre-1.8.0"
+
+S=${WORKDIR}
+
+JENKINS_DIR=/var/lib/jenkins
+
+pkg_setup() {
+ enewgroup jenkins
+ enewuser jenkins -1 -1 ${JENKINS_DIR} jenkins
+}
+
+src_install() {
+ 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
+}