summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-05-14 00:18:25 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-05-14 00:18:25 +0200
commit6fdbb231b45f78c61f29aa39155224365cb59d46 (patch)
tree207fc87cacc5fb047dfc7a6e67b706b46658afb7 /dev-util
parentapp-crypt/pgpdump: Version bump to 0.31 (diff)
downloadgentoo-6fdbb231b45f78c61f29aa39155224365cb59d46.tar.gz
gentoo-6fdbb231b45f78c61f29aa39155224365cb59d46.tar.bz2
gentoo-6fdbb231b45f78c61f29aa39155224365cb59d46.zip
dev-util/jenkins-bin: Version bump to 2.3
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.3.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 435d19065932..c6442943b536 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -2,3 +2,4 @@ DIST jenkins-bin-1.651.1.war 64608161 SHA256 863533451e49ec480f010ac5815421d3970
DIST jenkins-bin-1.656.war 64685657 SHA256 97085359725b16aca0f419486e5c1809399e33dbe6d906cd55ef82fad76fb30d SHA512 84750a70377fc09ed6a75909dd652ccd24999e1ec5f584ee7d36f9e5af02bb280b53f22b8fa47cf371a8a547a916bc9a87a93884fe176a822cc67dd69fd43d69 WHIRLPOOL 784edac54bf12bb0a2476f9a81a9f439a2a888746e4b191edbc57917c1a3cd3cc1973d123affe168f5363a13c01e8b308cff4f09a6a3fc1735f82d085c975436
DIST jenkins-bin-2.0.war 66519999 SHA256 c883c58ba57a70371f60c44c74341e0d511f330e84c13a2499368a02ae11dd97 SHA512 8c91974b687089b5ead2709afaa8a14b43f0401e5142794453beb9f1f3d81c21f5ddbdc02e69c5af575c27010f72c7c83d0de0291c627da06d1d73c5e9f94139 WHIRLPOOL 58b14e2a5daa9e0fae4d604f5b6d75154944e258424d00f96bf615e9b40e2a8a900db7d566aca84da9195d02d315d00f6d1d1cae28810795e2163a6303c0962b
DIST jenkins-bin-2.1.war 66546336 SHA256 064d91c5a813c3b2b65174a3ad46d76c46a30f7cb5e50f16ef22157f9d7a1045 SHA512 c72704729e6fd119dffc1cfbea63b9a200b2784bb7962f6637efe328ead02ee242c2c5cf327606ddb2ef8b589b5640d4cbf134dbf60c17ae9fb288464e1bad82 WHIRLPOOL 1ec76b7677270ceb934909dfe63cdeeb6bef2c505d47268821677a3a55e96b5ca8d2cc90b9b3196c6aaf028aa74a9cb61e3278a93d20f98d0c1110166c8fd9e0
+DIST jenkins-bin-2.3.war 66587456 SHA256 e1a17311776daee38cb1c3a5e687140f39b8dc922d142f4b9c457803f76aa974 SHA512 c51544768d1667ab1727c0f979593935cd8cb99dc1aa238d0f3ac7dfee61de3329ec5bc43479f77df6a325646474b37e979f4101ea3b382731328263820a50f3 WHIRLPOOL 131548501e28fcf4252a0b1ebab405f78eb8422a0b01928041863179b1045e5d1a8d341ea58ce77d456f4f37ef1b80af4fef2bd7db03840613ba7da507820118
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.3.ebuild
new file mode 100644
index 000000000000..96dfaf75f07d
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.3.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
+}