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-1.625.2.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 42e16b77d523..f14702a31b98 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,4 +1,5 @@
DIST jenkins-bin-1.625.1.war 62885582 SHA256 e5134146d398f00712c19c69bc84a594509505eec2ba6930f8df41689debfbcb SHA512 b05710ffe195476fa22ca2dd226148755310ee17527c0294a0251414bbb085860fd40ec485ce53a4446d36bfaa908f3a4b828e1772d590433120ec3668c239d9 WHIRLPOOL df9dcfa58c2f166929e0c0e22f6daab95d4f42549509943459fbcad70349c9885673db27ee8262421989b69f0503f8e9805d9a889181ab71c6a98f0de5e44245
+DIST jenkins-bin-1.625.2.war 63305884 SHA256 ea061e63dc2970d37d5eab13aefe93f7d983a94729a8e9a89576dfa3bfed01d4 SHA512 61370041af2ad0dc5140c59fba6163695c48fda2352b6d02b2366bb3b53b131d62f3c0d7be47b75eaa86ef000bff1021f3480f5719a069db7804a2b9042087ef WHIRLPOOL c3e02ac4076cdbd1af99f8ed0bec5dc973b282cc289c4bae8f885700354b6ae71f7c57c36ed515c92caf863f3d0982ef90e79c507da04a775cfdb90e530fe470
DIST jenkins-bin-1.636.war 63531046 SHA256 7374cfecf603a9403affe2644c6fe9bc6b157fa67e38dfcb9bf6e9776df9dcc8 SHA512 7ef5a7e72d0da79542ecf4ea6160d21ce256bf153aa8246fd8ea6658adff520f23c93a20977086a5729df634e008907bd52af352dc3cde9589ebcc6a2e11902c WHIRLPOOL 08f040d7906a3667796c0c3292125d056df8a78ea19a406d3ca499447904b1a20ab0ca0acb3448dc33c926736ab27a88804b536482524db061949adbf7b6e740
DIST jenkins-bin-1.637.war 63532267 SHA256 cb29a5ab6a6682984372499fd1ebc02f004b21fb124132b0e5cf94bc5e18a289 SHA512 6e0a0e798a8296116a34428c674ca03ca19cea1b4eaead8e516b36ff473c3eb73935963825b91848e63a5ab90839b3655ed42e1c46153a8c98ad3dcbe515b948 WHIRLPOOL 44cbcb00dda00f72af6f2fa314e5344d24e23e1ffc04e11fcc64bf4d4240ca176bbdf302c70fa0a35d1ade650adca85cc40244b8bcac96214288b2a52ff5e9c5
DIST jenkins-bin-1.638.war 63586592 SHA256 08d60e5f7db3cb4cb650a647dea60d4e1cb285a379bf3d3de0f62309854d7dcd SHA512 1ec10ffe2e89ead95213493b17c2f48e166734f369979cf6b758b096fadebb820ea0502e2e2fe5127e67c60dee1b93a2ea78487761710e598eac5b7620dc28b4 WHIRLPOOL a3a211adff1c7a35532c28aa2612ff1cabf9f06d229f71105fcde78e29b9eaa78662f032ab193f78570408e8a6986b742af731cb380fc73426f2060476831412
diff --git a/dev-util/jenkins-bin/jenkins-bin-1.625.2.ebuild b/dev-util/jenkins-bin/jenkins-bin-1.625.2.ebuild
new file mode 100644
index 000000000000..49fa34a8423c
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-1.625.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 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-stable/${PV}/${PN/-bin/}.war -> ${P}.war"
+RESTRICT="mirror"
+SLOT="lts"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:0
+ >=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
+}