summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2017-10-28 06:10:58 +0000
committerPatrick Lauer <patrick@gentoo.org>2017-10-28 06:10:58 +0000
commitc846e5c540a7155bd2de0278b96945f94b874ad5 (patch)
treeae6844c38a604235e4fb1d2ef0ef26104530d886 /dev-util/jenkins-bin
parentsys-process/tiptop: Bump (diff)
downloadgentoo-c846e5c540a7155bd2de0278b96945f94b874ad5.tar.gz
gentoo-c846e5c540a7155bd2de0278b96945f94b874ad5.tar.bz2
gentoo-c846e5c540a7155bd2de0278b96945f94b874ad5.zip
dev-util/jenkins-bin: Bump
Package-Manager: Portage-2.3.12, Repoman-2.3.4
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.86.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 0ffb4ba81503..3f730298e6bb 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.73.2.war 73280014 SHA256 f6d1351beef34d980b32f8c463be505445f637e2fc62156fecd42891c53c97d3 SHA512 36fe7d2581f9a2f13b07c43ac9d5915d057bfede3522a17abc9376f19656166586c207c7516f46df7b2cef46ec67444ec44a97df0fc9af50ff41e9938465cebf WHIRLPOOL 1ab128a9e779de7b1c85283b40cf7401520123302d228462da6e77eacf30b288aa90b50b8f5576579e62287e5545cf6696f75155af1dc27cf6363e569806bc22
DIST jenkins-bin-2.84.war 73749405 SHA256 067bdf4a3d473a5952e541d7755d8155a6ddf03cc1363d54daeb117d55dc955f SHA512 0074b2299f72f45040b4afd087caae0e08362708d3370d17f3bda047d11240881a3fd779753a49c298961e87c509d0b278ac2712934febed23c13c7e36d6c51c WHIRLPOOL 353d5297e6b5fdbfd95e6ea5ad4e6b8ec80653316029cd5bf108c0fc11be85f4f855c5783091e70d729cac842f16602c2f99f314af7e9bd46038854c15adedbb
+DIST jenkins-bin-2.86.war 73796979 SHA256 207aac187882bcddf665cdee78daa2fd8642f94c02d731b9ea18fdc985640ea5 SHA512 a94abb3230c90319f6a632e56afbbc0d19591a6a67ab6ac35856c2bb99ead33d4b23ab3d19a15c1f9501dbf932b3101f569af0f557fb884cd07dadd8a1c968bf WHIRLPOOL 74f8af0451f91088ab614dae0889fce3d986d59ed3c5c518446bce9925adda4544daf18e02d83fb1f55b299fb224070ba7b9f882c8ccab8d7422b9706cdc4fb4
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.86.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.86.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.86.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 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/${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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}