summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-18 20:36:12 +0200
committerHans de Graaff <graaff@gentoo.org>2018-07-18 20:36:12 +0200
commit44cddaf33fa7694dd0656e290dffe955cb1214a9 (patch)
tree30f7c41fd37dda7f4257185a2c2145522ba6b9ba
parentdev-util/jenkins-bin: add 2.121.2 (diff)
downloadgentoo-44cddaf33fa7694dd0656e290dffe955cb1214a9.tar.gz
gentoo-44cddaf33fa7694dd0656e290dffe955cb1214a9.tar.bz2
gentoo-44cddaf33fa7694dd0656e290dffe955cb1214a9.zip
dev-util/jenkins-bin: add 2.133
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.133.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 4a7d063e356..2787b76d5eb 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -4,3 +4,4 @@ DIST jenkins-bin-2.116.war 74606954 BLAKE2B 15d1a665eeb35694bc03bc54c8b5b623fc3a
DIST jenkins-bin-2.121.1.war 74736772 BLAKE2B a5972bfd0a049065eec7f842482754de838e72db73eb846f4742273d356a0ad52adaf01dbf1c617d88d133502f78657488341b81aee42746b16e82a3250b143a SHA512 b87c8458a5db9e8a1b1a67cc8e36d224719d8460987a8b95f563619c5d662e6af8a3fc276d420f5520e541a0bee7211d2fe414caf11b4116c57ba214c687faa8
DIST jenkins-bin-2.121.2.war 74736956 BLAKE2B d63f49bad61bad216d06318c373951e99c46ff98bc0c9311fc123c9045d235131623436e3636db63bea0e95bf467040c755d0086612d69ea45b016e9dd39095a SHA512 b62b8cbb76997ded9442311204f7e43acfef57ed9949db19c05c382cb2171042ac41332d6372a45a7a5f46f295b21a6fd0533bd71e800fec7b0bf6b3e2998c8e
DIST jenkins-bin-2.121.war 74737297 BLAKE2B 20d53c5869655331036ef5e18f94f71a0bda46f651b706bc61ae24083df72db285291478575662c52c661bc15c79e00e3f10e503f430aa5d23107f251f12d338 SHA512 4df05ad4abf0dd4fc40fbcb9dd8cdad985f6c3970ac4b777aeb5766a1ae45718b70929b71288e245f5e90541aa886c31c589dfdd006623759b7c6b5326e44118
+DIST jenkins-bin-2.133.war 75341772 BLAKE2B 2e9ca1ba4cce14eb32157c0b3853b103b02d02c4ba7ab3cdc7308e1fe7b6210e70552ef52a1b92d107149d9c261de5ed8b74cbf044a6e8f09ca48b9ae7388d5c SHA512 f1fcbaa40e554d854efc59d8ebc03b9c9626ca065e79bb18fd671c0f25db5b0e1cf1e4341459eea1e4ece9f978da53f5b46425bd125453f8a7c7abc5551ad000
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.133.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.133.ebuild
new file mode 100644
index 00000000000..bd24b8ebc14
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.133.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="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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}