summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-11 11:22:44 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-11 11:22:44 +0200
commit866246d28fb8ca978519104f9cd0c606b1b49c39 (patch)
tree3f2628116a0df08d6ee5e0bd203b959734aee447
parentmedia-sound/jack-audio-connection-kit: add zita support (diff)
downloadgentoo-866246d28fb8ca978519104f9cd0c606b1b49c39.tar.gz
gentoo-866246d28fb8ca978519104f9cd0c606b1b49c39.tar.bz2
gentoo-866246d28fb8ca978519104f9cd0c606b1b49c39.zip
dev-util/jenkins-bin: bump to v2.251
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.251.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 0a3f54437d5f..e33e8af3477c 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -3,3 +3,4 @@ DIST jenkins-bin-2.235.2.war 66458792 BLAKE2B 1d06fb3bed60c7bcfdbbc1e0fc507143b5
DIST jenkins-bin-2.235.3.war 66451796 BLAKE2B 7587d64d3e1ebd88684b549891c7ef42fe567ef0e8573358eaeec9a2877b5e90da263d55ebf5e8afa83745f1216a16bdda45d3bbe2ab84460d5ad7183bc765c9 SHA512 a0c7aeb3ece86f9c09ec9dd0b988b8ed63d5baaa3fddbf090b3ade8aaea16e01c1b353f67a8cdd7c92009b189ffc170be54597d98e5bd17bfb0bf949c5a31eb3
DIST jenkins-bin-2.242.war 67003152 BLAKE2B cc20efde5196ed66af3cfb0b52404e35bf3954422734278ce2c3bfad5402c0f005579a1c406e519e8e04b28e3d0f26cff2d4fb5a40c2b722dd3a93d54cf86cb4 SHA512 22e138d4c3291b2885b9cb9db51e5dedcca13ca93a2fb8b11bd1dc81da981e9404717ff791fa2a1d9dd4530fb806e8cf9c79931cdb968723f02177fc00321f92
DIST jenkins-bin-2.245.war 67169055 BLAKE2B 25578c24c0957af95dbdc4b9e723d70b0d0af7d48128b77bf695c73563f924ccdda9acd71a407ed5066cbeb4d3cbbe2d2e7b3a5d4feca059560b1e223c56b7dc SHA512 9f6d0fc155924b8ae7160b9520c379fa57afd0a77075557e2f921bf25f36995db1c916ebfaf6a76f5049c89cb69a6997ac5795289d1b1d122d75a904089163cb
+DIST jenkins-bin-2.251.war 67396691 BLAKE2B 91523c3d9717c3b4c999827caf21230625494d1644915797932534dc0e1f077037fd499ede74ff8df92d202d662348fcab729cde9af0e75c5f39eebcd19a23e8 SHA512 836aa87e20a90c4e383d979f703979bcb7b42846b24289b9d9818e03b09c36fb007ad47322bb2bf343ca73570d5a3b83718bf453c44eabefd3cbb25c33cb6ca2
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.251.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.251.ebuild
new file mode 100644
index 000000000000..e3e0cd1a4eda
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.251.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
+}