summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-04-27 07:20:15 +0200
committerHans de Graaff <graaff@gentoo.org>2017-04-27 07:20:15 +0200
commit35cef2047af0b226a23fec4e392a6e93f50350c7 (patch)
treeee999b34c0e7d7f6c2581f7e0664f059aff051b5 /dev-util
parentdev-util/jenkins-bin: add 2.46.2 (diff)
downloadgentoo-35cef2047af0b226a23fec4e392a6e93f50350c7.tar.gz
gentoo-35cef2047af0b226a23fec4e392a6e93f50350c7.tar.bz2
gentoo-35cef2047af0b226a23fec4e392a6e93f50350c7.zip
dev-util/jenkins-bin: add 2.57
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.57.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 6fe7e459f0c9..cf5a30073384 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -3,3 +3,4 @@ DIST jenkins-bin-2.32.3.war 69875039 SHA256 3eb599dd78ecf00e5f177ec5c4b1ba4274be
DIST jenkins-bin-2.45.war 68649092 SHA256 0e57ee3645aec0742b8b2a0d4cd62cb80c3e6718b810200ab33851109f1f5488 SHA512 e2ec91827231efc39a1dd4b149239627e556391170d9b1b65eb8091f71787981863ecc5ee8a4b82d777672edb3ff0dbc59cd0dba68df9872af40661edcb4e615 WHIRLPOOL a0f4d3126020e8caecdfc2b54cb3f3f97d778f5f20c62722339494ec0884ce500b85938043dfc5fcfeb88853b21c871a9820900c0668e9cfbc08aafe3dbc93fc
DIST jenkins-bin-2.46.1.war 68669812 SHA256 33a3f4d983c6188a332291e1d974afa0a2ee96a0ae3cb6dd4f2098086525f9f1 SHA512 a15beda88320c80ff149972c880627c236421c0d2363d2194f4e6c6392891f3c386d7ff0738c03a2c9de449e71f059a9f5f5ebd00f048b18aa231dd0e45ef83c WHIRLPOOL 5be3076bfe669420837529d91920508f0e661ba782c8362246a8167b3772f9301fa6a4a484f29697eb315f8097a562ba7028bb9a886808f7d359eede894144a9
DIST jenkins-bin-2.46.2.war 70342163 SHA256 aa7f243a4c84d3d6cfb99a218950b8f7b926af7aa2570b0e1707279d464472c7 SHA512 6d998ff8b9da54817ef7b21038b4921cee77cb76011a5c7cca949f63c68eb318e21f6108c962e2b55ba7f9901da89fbab95c7cfd32ac6933658511040595f61a WHIRLPOOL 2eb04831f682be0b8dd2e58cb01a4442a7c0123524dd5ce2c7a9130f90bd415aef57300c7bf33e2812589bb4ecb72af4375a1222dc04f5fd88a9a7f102dc374f
+DIST jenkins-bin-2.57.war 70476328 SHA256 5d7a66864d0941629e1fb8ef82ed98a38e54da39f4a9f3ca31561d573e18b2a5 SHA512 8207174bff1395b017b78b9d99e26b612a138977e75a2e01f59bb17fd42ac4470b7ab3b0b4fa305741bf5bf22987a2e51d61b907cb69c7ccce1697edaf331f76 WHIRLPOOL 17267b5df3ca296f42f711d73070b2a0a54e1a5ec293200bc1fd312a5bfc32abe4dfd63d97e9bd0834640bd28c9d625520e5e221cdde6b48c40fad5e0ba87435
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.57.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.57.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.57.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
+}