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.3.8, Repoman-2.3.3
- Loading branch information
Showing
2 changed files
with
47 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,4 +1,5 @@ | ||
DIST jenkins-bin-2.73.2.war 73280014 SHA256 f6d1351beef34d980b32f8c463be505445f637e2fc62156fecd42891c53c97d3 SHA512 36fe7d2581f9a2f13b07c43ac9d5915d057bfede3522a17abc9376f19656166586c207c7516f46df7b2cef46ec67444ec44a97df0fc9af50ff41e9938465cebf WHIRLPOOL 1ab128a9e779de7b1c85283b40cf7401520123302d228462da6e77eacf30b288aa90b50b8f5576579e62287e5545cf6696f75155af1dc27cf6363e569806bc22 | ||
DIST jenkins-bin-2.73.3.war 73286753 SHA256 fcfb932a84ce03795abbf51ae7799439278155b0d42242d1d79a187034649fc8 SHA512 55e25bb9ea058b4a64517faec23ec649f77c3342f074a41d1da00901b759895d0e98fe2de9ab1babf0a0bfb165a6f438b8e5204b1edf1c280dffe2f5442285ad WHIRLPOOL e0a4335ce15e7fac4671f8d7b9f15474b270b6a8df482db7f5e77bf19496d72183ad602a4953bf05dad689f790fca8fa21da2c2da4c6db5a5c849681dbb5176f | ||
DIST jenkins-bin-2.84.war 73749405 SHA256 067bdf4a3d473a5952e541d7755d8155a6ddf03cc1363d54daeb117d55dc955f SHA512 0074b2299f72f45040b4afd087caae0e08362708d3370d17f3bda047d11240881a3fd779753a49c298961e87c509d0b278ac2712934febed23c13c7e36d6c51c WHIRLPOOL 353d5297e6b5fdbfd95e6ea5ad4e6b8ec80653316029cd5bf108c0fc11be85f4f855c5783091e70d729cac842f16602c2f99f314af7e9bd46038854c15adedbb | ||
DIST jenkins-bin-2.86.war 73796979 SHA256 207aac187882bcddf665cdee78daa2fd8642f94c02d731b9ea18fdc985640ea5 SHA512 a94abb3230c90319f6a632e56afbbc0d19591a6a67ab6ac35856c2bb99ead33d4b23ab3d19a15c1f9501dbf932b3101f569af0f557fb884cd07dadd8a1c968bf WHIRLPOOL 74f8af0451f91088ab614dae0889fce3d986d59ed3c5c518446bce9925adda4544daf18e02d83fb1f55b299fb224070ba7b9f882c8ccab8d7422b9706cdc4fb4 | ||
DIST jenkins-bin-2.87.war 74271222 SHA256 0ead9cf2ec71224a358eea5aac78fd01e6fa731ab2879dca5652641bac4dfadb SHA512 210c2e23d71c3081d4cd6f28af6bac0db7b43f3f93785ee0b53622b7ff05c25aa6dab0a847bf9ee59a2b4952263a67fbc2cb88fd47557809153e191fd95d4da9 WHIRLPOOL 91c1a90117950b9e10a50333c1fd52c3fff5d2facaa3ef68f707c2dda3fd5b8a5919bb9374324a5ed564af4bbab9adc5fa539af28417d97a7a7eee8f0b06e865 |
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,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-stable/${PV}/${PN/-bin/}.war -> ${P}.war" | ||
RESTRICT="mirror" | ||
SLOT="lts" | ||
KEYWORDS="~amd64 ~x86 ~amd64-linux" | ||
IUSE="" | ||
|
||
RDEPEND="media-fonts/dejavu | ||
media-libs/freetype | ||
!dev-util/jenkins-bin:0 | ||
>=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 | ||
} |