diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-02-06 16:16:33 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-02-06 16:16:33 +0100 |
commit | 1116f63e5a986ada9db4319b5b8ce2006637d1ea (patch) | |
tree | 574369831105b4e4fa1d621f244a2b743b04be52 /dev-util/jenkins-bin | |
parent | dev-util/jenkins-bin: add myself to metadata for lts slots (diff) | |
download | gentoo-1116f63e5a986ada9db4319b5b8ce2006637d1ea.tar.gz gentoo-1116f63e5a986ada9db4319b5b8ce2006637d1ea.tar.bz2 gentoo-1116f63e5a986ada9db4319b5b8ce2006637d1ea.zip |
dev-util/jenkins-bin: add 2.7.4 lts version
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r-- | dev-util/jenkins-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-2.7.4.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest index 10c7f5ae4967..e267d9f6354c 100644 --- a/dev-util/jenkins-bin/Manifest +++ b/dev-util/jenkins-bin/Manifest @@ -12,3 +12,4 @@ DIST jenkins-bin-2.38.war 68586722 SHA256 59f587198b306a23753d7329dbff5e07eb8de3 DIST jenkins-bin-2.42.war 68626093 SHA256 f16994d00d3ce8b205c07fa537de228b57dc3517915e6577f53b1eb3143c9a9e SHA512 9586dba1f4656ee0001a20c8fac132be9274a00c2ef0b1602b449f5d1a1b1d6b8ef80287351660adbd642706b15d9cfbe1616b8a566ca12bddca97723cbe9846 WHIRLPOOL 1053659f14dfd15ef7118a826e558620aa19377da6d6d2037c8161a50a1d60687db974baa1df3511139975f060805a4a1b3d4dc7ea149471ed98832090c7da11 DIST jenkins-bin-2.5.war 68819605 SHA256 d8de143eef34d0d9d12cc314901eab57f55ddce74c5f6e567920bf4fc0571823 SHA512 7d292db6f08134e901ae23175746ad34ecd4af687d07d18a3e67c042c4964d7b9ebffaffa8596392531ecd364433dcfa6326bd6f9a866d827d53c0dc981cf6b5 WHIRLPOOL 0eda23ca1e3a8bbd2e1dd28c2272a67c98fcc6514d681507f61f9aa2dc07a535fb75302f22f28e42e789761c84f1c2d2bd7c5526bc2e979fca4d1f759bec0f7a DIST jenkins-bin-2.7.2.war 68853528 SHA256 b1ea4e1e72a7fe6ead79f7c93b76934d2b8291ab764fc212abe952fa4322a74a SHA512 21cb5885d80041134afea5472d6418e375837ad5bb5620aa8d29e28ddab82a2d4fcd5178c9f59326f5f24844858604e830a81dc1997c3bbe33ef92e7191c830e WHIRLPOOL f43b98bd60a51cd565eb86ba8b6d3e632e97456cc320c1208f1ac46505b83b08e55fbb7bcfaa72c9624134c1453fcb547901be05b735d962171ddd57cf77c877 +DIST jenkins-bin-2.7.4.war 68860495 SHA256 32e07928198e065965e598ab5a655e2d21be2407873ce2533d0edb58aa1a369a SHA512 9007370d427146c7bb08c7486114a22f6a76ddbce1a785d819b620982ce42f4ec38bf58f159f7647f374ca0089b5bdc24bd8834201da2d7df9629d1c6c58fffa WHIRLPOOL f61113ebcb63967033f0cdcde25c3649586508dabc3bd46f3efbbf161c761ea2c7b6778f27f974096df6ad4a3f767a03bc5db118da5f320dd52812099088217b diff --git a/dev-util/jenkins-bin/jenkins-bin-2.7.4.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.7.4.ebuild new file mode 100644 index 000000000000..5e42d631a5d6 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.7.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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-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 +} |