summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-08-17 19:22:03 +0200
committerHans de Graaff <graaff@gentoo.org>2020-08-17 19:22:51 +0200
commit6a09dcd39f1f49feca60735e4b0f85aac54b8e86 (patch)
treec6057928bb0fe9ae9a2e4a767b2b2304c55f0d45
parentgames-puzzle/pingus: Drop old (diff)
downloadgentoo-6a09dcd39f1f49feca60735e4b0f85aac54b8e86.tar.gz
gentoo-6a09dcd39f1f49feca60735e4b0f85aac54b8e86.tar.bz2
gentoo-6a09dcd39f1f49feca60735e4b0f85aac54b8e86.zip
dev-util/jenkins-bin: add 2.235.5
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.235.5.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index b703a74c766..c5c487676c6 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.235.4.war 66452488 BLAKE2B 26c7dfa4ca868326d562df7a7c33db3702149067a81f82abfd40ae2b5bdf02659b02d708a52ec65090e6b140203e776d1cd9641ab3b6ec2bb8128ada87319c99 SHA512 99a7f92676f69ab7135767c25bbc66a07bb1e34abe72e85c73f0f687e90a10948f5d0b33789e0298d7238212e02131a8e78161c8b81beab97b37f4b0c1556dac
+DIST jenkins-bin-2.235.5.war 66477424 BLAKE2B d4917468af085358c98bd5cfe9c31232584a18a74d01e962d594dc2ea3db75d4efabf411dbf568837b56e8230d831f3c88ea4e54f1a965f570772265989a9be7 SHA512 2c9d720dfb87f68dc57e5b2b750d2cbeb24efe65decfee13f4e96b578d3b460e0e00e713a90ee9a32dc1e5c2976455f3598f1c023a279da50b0622284529487e
DIST jenkins-bin-2.252.war 67396384 BLAKE2B 6476b03a8dcc73f61f151c6187ebd275ed3fb8f352478e0e135406d9dcab150a360ba6b7b9a8ca82d0ed24e5294bd77755497ba7ec9df72b0487f8341eb9d9e5 SHA512 c9a0b1676155f66e0cfbc97762c663ce4d968d2be296e03aa29d4670dfcea6e432340bf424076951c268b28766fbba84efaff397b2ba50fadb9ca04f5bb52236
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.235.5.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.235.5.ebuild
new file mode 100644
index 00000000000..8ab8d5db213
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.235.5.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-stable/${PV}/${PN/-bin/}.war -> ${P}.war"
+RESTRICT="mirror"
+SLOT="lts"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:0
+ >=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
+}