forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-util/jenkins-bin: Version bump to 1.641
Package-Manager: portage-2.2.26
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST jenkins-bin-1.625.2.war 63305884 SHA256 ea061e63dc2970d37d5eab13aefe93f7d983a94729a8e9a89576dfa3bfed01d4 SHA512 61370041af2ad0dc5140c59fba6163695c48fda2352b6d02b2366bb3b53b131d62f3c0d7be47b75eaa86ef000bff1021f3480f5719a069db7804a2b9042087ef WHIRLPOOL c3e02ac4076cdbd1af99f8ed0bec5dc973b282cc289c4bae8f885700354b6ae71f7c57c36ed515c92caf863f3d0982ef90e79c507da04a775cfdb90e530fe470 | ||
DIST jenkins-bin-1.638.war 63586592 SHA256 08d60e5f7db3cb4cb650a647dea60d4e1cb285a379bf3d3de0f62309854d7dcd SHA512 1ec10ffe2e89ead95213493b17c2f48e166734f369979cf6b758b096fadebb820ea0502e2e2fe5127e67c60dee1b93a2ea78487761710e598eac5b7620dc28b4 WHIRLPOOL a3a211adff1c7a35532c28aa2612ff1cabf9f06d229f71105fcde78e29b9eaa78662f032ab193f78570408e8a6986b742af731cb380fc73426f2060476831412 | ||
DIST jenkins-bin-1.639.war 63602201 SHA256 96d16bd30172afda64c49a03447f89813fa5f0dad6a8ce98af4384d61b7ebdc4 SHA512 267e44167db09c5c724548e7b14ac49340a8b3c37da5b53569c977b234c0d3bf5627d2132ef9267e464acfb59ea30672baa5e5094d84ea9f18e0781c213daf32 WHIRLPOOL d971cb7c8b878cfb985df74198c749cc2d4fa65fac4e866585be541b850648d70966c591acd5b55ab51d71ad39c25b6b804124ac1385260dcfbe79f6410b407a | ||
DIST jenkins-bin-1.641.war 63662610 SHA256 f7656c38fe4e3c11b58ab506512655dd6dd3c69275de61442cfc9f9c3ebf5b93 SHA512 f8929496d9d4081ff87f26a60965b1a3d5eb93e8c04d76a219541ddeb2d3da7fef7f39fa94199b4436c6759ed2ba5d516c32cc3825605aced2c7c1db90b1fe67 WHIRLPOOL 30caf6eba8dc8dcd5a534e1e27fbf54c0a3973c6d61997352015524d7d688569ebff6fdfafa06e12a210727b8c3278af9375c10fca2ab3cd2ab05428e8a200cf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/${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 | ||
} |