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.609.3.war 69019876 SHA256 d5017fc3db8ac118dcd28c33e8414bd036ed236d8011276f683a074422a4c4d0 SHA512 94518086d10a3edc6b3f2e9969cd21a1bdc98cf1ba4bd9bc5fd972afa0ce6aa77831a825e6fd9d6888dada5775b95c0f8a52c72bde34d4c8369434c0f0fb0e59 WHIRLPOOL 7d4164af81cf9c6707b2482cd08eec309f5e5087eb10b42acc5c83ede38eb15818b99c8997e87272ac76fb97f5497d23ced92f65ca62cf4eda5272dd60dcee4a | ||
DIST jenkins-bin-1.630.war 63209465 SHA256 0b0bb7bb928987a8104c5d6079bff71590a368bab5c17597d66e7a2c113cb618 SHA512 a9922a959a17daf88b0530d92f7a1d3480024f6e4503813cdc29214650a871cccc079ff171b882dc30e3b1fbe3fd39ce106adee46956a8aa8a2fe08146dfeedc WHIRLPOOL 878a281a64398e1d333ed7eb822c65716b4a2bbb29b49d0ab90ada486e6b733e0e4c3b23238ea6009fb67d1ae9c840df4f724049903c8857d625b917a63a1f10 | ||
DIST jenkins-bin-1.631.war 63209930 SHA256 e8eae4caad8f48b5e38480c2a4b0c9acfdbf93eb1218e3fee42a4d3ff62bd02d SHA512 5450638ebe7780691fd9dc931d6b5cc35c449e67d00f35aa64794fd2266f884b98181609b86a3cdbca313e38c5ada871dd3adeadaacb29a8d96ade088d4f3372 WHIRLPOOL 4ccf9f59f7690db9134958952bab187cc4fdc213f345315453e0646a2b7926f64478d198ccf7ea349a5970bec004b3622196f904ebc7899f830e83a6f4d6f990 | ||
DIST jenkins-bin-1.633.war 63242255 SHA256 15d930888bfb31ea231bf617bf88aeb281a5f0488385f555d34c439d308cb2e8 SHA512 517735a4d707d77d979bcbb2f3631b5a527da9824eb91d1bb3741ddb4685f81b15cad6c4a20cb482eaad6f02863b9195d366968c00d63c44690cc426df107c29 WHIRLPOOL 7331d0e4258537cc721b532f70612f1b945d0c5b456781dd6a9fcc2c0fcf75d9960cf7be8b97ae52a6df3a58d728184f608c5b8fb13ee9dc376797c77e1ec96c |
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 | ||
} |