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.
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,5 +1,6 @@ | ||
DIST jenkins-bin-1.651.2.war 64673620 SHA256 1e239db19071beaac3f2db3ec6a568346bbeb9087f5f0fcf19adf6ae62cbcc2b SHA512 f4c8abebb3d2943314af7995d5854a709adef3bfd84fe5160cce6138c440ea113ab5de30974d73f5abcb9928e6c8ff8706649952b52cedb8c315086b1f0c65d9 WHIRLPOOL 6ad8f3a40cefafbd63d0b38b82e9211cb4d8c09f86ed0a55757c0c1551a6f7fff84455a542347a34ec82f52772b852227968122fe2591c65aff7c4634029f501 | ||
DIST jenkins-bin-2.11.war 68824538 SHA256 45f89868e66e53160cda5f367eb9c1026ac086794214e18304c51c6d320f6680 SHA512 d045175692a9d8407bda696cf3453a36944bf72fe11a4297dc523800f104088b0328c5400869e38cb44e86f232e95d9ac90e9a3ea4b956abfcbadb36ad8d456f WHIRLPOOL 0d696e8d126066b20acd74d00125f953845b2083ff82895f0e13473e8e2ab0cf53dd8fde6ea2e5ab200d223aebf7ebb3df297ae9f7ca5535ace82a6c94e6d152 | ||
DIST jenkins-bin-2.17.war 69523163 SHA256 af040100d91c7f9af416446a4a1c35fd8b7a5d8838872ab63dc01526233a8300 SHA512 0bdd07d546a7719be5aa6bd61d82b32d1c5caa3cd4f636f49a059e12cd2f9d7a6465a456b857d6575671d3d6c37ccf48b701030ff67e933b96ac1ad10caa5a36 WHIRLPOOL 11f399268f728af4fcadd653b8a059651124bff901edc21f4b7319cee93b64ce7fbc0b68085d758eb00f95a7dd244bd3c76012e8b1aa4342f8164b7603329346 | ||
DIST jenkins-bin-2.22.war 69766765 SHA256 e6406099792b631b968968194020ac7095113b68bb9ae7922fcc9a777eece1cc SHA512 7f6ddbceea9e30012e0cf06543c7fa2387f5f89a3ee21d9c1d957546501a520fe8a10b30409c09623f899b7e987992ff0984b018d50c7c4f0ec7d6c6bee89136 WHIRLPOOL d9d510cf70e881441090f60ec615beccae8d4675eece5892d10e94d7acbe24f03a68653ec172391919e843054a46f44a9f20b2412e72f62076f5966161f6c2ce | ||
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 |
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-2016 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/${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.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 | ||
} |