DIST jenkins-bin-1.609.3.war 69019876 SHA256 d5017fc3db8ac118dcd28c33e8414bd036ed236d8011276f683a074422a4c4d0 SHA512 94518086d10a3edc6b3f2e9969cd21a1bdc98cf1ba4bd9bc5fd972afa0ce6aa77831a825e6fd9d6888dada5775b95c0f8a52c72bde34d4c8369434c0f0fb0e59 WHIRLPOOL 7d4164af81cf9c6707b2482cd08eec309f5e5087eb10b42acc5c83ede38eb15818b99c8997e87272ac76fb97f5497d23ced92f65ca62cf4eda5272dd60dcee4a
DIST jenkins-bin-1.627.war 63251728 SHA256 9fc74aea24d806fb8810e2573793cc280bdcef8c3ac6f0e76dc242290d7773ad SHA512 bf588377ae8910b5cc9db42bc177aaf4d714c9433b851cb8daef3e592844dd8f17ecfbc9f9e6e989d9033feacaaaf05ead3537bf61163335e25001499acfe6d1 WHIRLPOOL 156c9c713a24c373bd5857e68a275a5bb671844181fb62b389a2a0e787a7bd3a1489f3b4b0328bfb6c2b3c040a35068beed389c964c60dcec0ed958de54858bf
DIST jenkins-bin-1.628.war 63208813 SHA256 e11227ad247ad3a938219cd2653adfb266ad54618d1839e63fd0e0e54852d6c7 SHA512 573585a085d9b2aab3eb2f2a8333deba31f6706ba1b7a8ba249c7b8eec76881908f8302cf6766d4243b380da8e093c577c9251113424c77251e73bae73bf6e20 WHIRLPOOL 3af13e26624a70714dd75d1d65654d05bc9f8ebba9b21688e955e1375cb38608fe1454d09ceaa138ff5b0298bf245ce9dba043add9e57909baf661cb5cb5ef59
+DIST jenkins-bin-1.629.war 63209042 SHA256 b74b1cd5b8873f0605106893e063dd2407afdcd1fd516e7034314385ac67605c SHA512 0a39dbaa4d9772c4e109b4689208829108c1c0aeff9d637c837f69e5be0ee78cbdb77b09b9fc0aa6a71d82dcdbe4f3b20ecf479ffe7b8ad82d0546d7d28900ed WHIRLPOOL c365023f3d935740e12f017987bd8e9ad98febf9e9cc89094c803a0c730eaa0ab94bd9c9f134ec19b5b232ce75651046beae9441577d0479e6c0a0a3c79ee554
--- /dev/null
+# 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
+}