summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-03-02 22:53:23 +0100
committerManuel Rüger <mrueg@gentoo.org>2016-03-02 22:53:23 +0100
commit12d123d46eb59ad8168a736ba625291270befea6 (patch)
tree4e1fd8bda3d2cbc860cbcd02d97766e8f1ae267a /dev-util
parentdev-ruby/prawn-table: Remove old (diff)
downloadgentoo-12d123d46eb59ad8168a736ba625291270befea6.tar.gz
gentoo-12d123d46eb59ad8168a736ba625291270befea6.tar.bz2
gentoo-12d123d46eb59ad8168a736ba625291270befea6.zip
dev-util/jenkins-bin: Version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-1.651.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index a7f744a18a29..cbe9ad2afc77 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-1.642.2.war 63668826 SHA256 024b04524f230dea62424de95f372d8c89ed942b21dbef68117b259842b96907 SHA512 9f4b06bdd72e61c732e0ae87abf3dcaad347744934e6d634be7b182a4d77aba1f41bc6c762cbd4ae804b822c52d06bad825b07a487e6424b28ecc8d90e62b280 WHIRLPOOL 30b93639b356d81ff2e7fde09336497db606b9fc4e52576a2dae7fa3f8bf221a3cba5445225bcd8c400c747ebfc7fa531e416fcd68330930167ebdda9280cb14
DIST jenkins-bin-1.650.war 64593723 SHA256 16008a85246a9d2b36eaae18405135347280898edea8818c34433acda49fd747 SHA512 cedcd11b877bfd5c10cc3a08ea2666090da02fb655d3e7d532da24458ee175468bed38e5ff74ecf7524dcaf857c103652259d9ab0d36af8bdc1f866e85bf477a WHIRLPOOL cf13574e8661a691240704b701664650d308853d0ba650506e6dccf6c1d7484295a3754b1a6a75604393b65110b25598b10e184fd19fbef0322c93ed0f67d710
+DIST jenkins-bin-1.651.war 64606932 SHA256 9fe9382e1443bb27de55dce15850bc0a0890d8aa837c3839fcf4407e1f7e4993 SHA512 9d21e6ee0ea3801e1fd72ce75fce095a358b582d634023ed2357a40b3d1311876f3bd699660175a187e03561e288981509c32ed18fb58c2a20e6edec285d68b0 WHIRLPOOL 1ed83d2579a2dccbc03c60b39e6c263e92ef10e1296cbe4c2d21e0bd64f5c57c77925e8fb7bcc1515ba184e2e63c3c8c1ea09da2157a6655a1cda16c945cc4b7
diff --git a/dev-util/jenkins-bin/jenkins-bin-1.651.ebuild b/dev-util/jenkins-bin/jenkins-bin-1.651.ebuild
new file mode 100644
index 000000000000..96dfaf75f07d
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-1.651.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+IUSE=""
+
+RDEPEND="media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:lts
+ >=virtual/jre-1.7.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
+}