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.
Package-Manager: portage-2.2.23
- 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.1.war 62885582 SHA256 e5134146d398f00712c19c69bc84a594509505eec2ba6930f8df41689debfbcb SHA512 b05710ffe195476fa22ca2dd226148755310ee17527c0294a0251414bbb085860fd40ec485ce53a4446d36bfaa908f3a4b828e1772d590433120ec3668c239d9 WHIRLPOOL df9dcfa58c2f166929e0c0e22f6daab95d4f42549509943459fbcad70349c9885673db27ee8262421989b69f0503f8e9805d9a889181ab71c6a98f0de5e44245 | ||
DIST jenkins-bin-1.633.war 63242255 SHA256 15d930888bfb31ea231bf617bf88aeb281a5f0488385f555d34c439d308cb2e8 SHA512 517735a4d707d77d979bcbb2f3631b5a527da9824eb91d1bb3741ddb4685f81b15cad6c4a20cb482eaad6f02863b9195d366968c00d63c44690cc426df107c29 WHIRLPOOL 7331d0e4258537cc721b532f70612f1b945d0c5b456781dd6a9fcc2c0fcf75d9960cf7be8b97ae52a6df3a58d728184f608c5b8fb13ee9dc376797c77e1ec96c | ||
DIST jenkins-bin-1.634.war 63310617 SHA256 47f9bd9dd3ee400c62905173a9d65605653a10a339e1d593f0b2e0f7456b1d9a SHA512 b736f04cd211b4a3cf56bc5dbd504997319e6d05b4cd6d5629710f69ac6080409923b733109d241debc6737ad4780026e4a67a673aae561ddb40900205da9c56 WHIRLPOOL 396239893cd511b9f21dc6d5f2b17a9dc6bfd7a708401d649a3eb0cadbd34334e726146caf02cb3963caaaf2dbc3aee6277d26b570c835195cb84fd2252a896d | ||
DIST jenkins-bin-1.635.war 63529765 SHA256 6ec3487a56cbb319a8c47cb5986adef5fa2748ebd2ef5752159f47057c4c048f SHA512 b2200c30715c254a87ef7628835eaf6f1b606c8a9da1e15d6264b84d848ff7f7b4de1dcfb0a5b5a905c6c34e1483f393e53c31f00fe76860c5855651ceb05182 WHIRLPOOL 0e5e6769c3712be772ff20af5f0f861dc2ffb665352bff7514c8ab6bd3a97b084a8716c43fa00b2ba0e9f72d09658704852a00b87087555fa4c3f01f6b5773d5 |
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 | ||
} |