summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.107.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 5a8ce97de36f..cdfa04416fcc 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.107.2.war 74568464 BLAKE2B b506199d2e56c3f88bdd295dd88b8644869c59e93689768376752b1bd54a5f5ccb8a56b32d9556a592b5567dc884cfa6d0049810f6a23304f5c1fa9026b31804 SHA512 c5abc515ac646904c44d06a31e253c5824096abb40af415357f47610354a793bd571310fed9e5596103c399a495a7b229a731509873a99795471459410db6411
+DIST jenkins-bin-2.107.3.war 74576216 BLAKE2B 2791f6fce3c6c331c47e55b72777c90c2323e6c53629ee92ccd6987c4557a713759f1a2fe2f6e882cec5536c6e1783c1fb9b740174e1ab3f89d56e97460ad4ef SHA512 29209b7359439f55c27127a946dbfcdc318407ee21de447b8f4864209e2076f0a16083dd501e3ead054b086af78f319e25979b7fd25847135d76deeb10a99fad
DIST jenkins-bin-2.116.war 74606954 BLAKE2B 15d1a665eeb35694bc03bc54c8b5b623fc3ad40c492c5e8541a271396fb48fe9a67eefaa25665a2658dff0f3ce1bea51de23902a3f7297dc0621750c7c7d5f8f SHA512 ab2a41f848dae9bfcb3fc3a8dea2da4957cb919aa1cf0609bea238ef6670a973226e5da817f582e8d718700cd8e57c05384f6ef6cf9ad80e94c87813a5199373
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.107.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.107.3.ebuild
new file mode 100644
index 000000000000..95d08ad47b24
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.107.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="Extensible continuous integration server"
+HOMEPAGE="http://jenkins-ci.org/"
+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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}