diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-05-22 22:23:47 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-05-22 22:23:47 +0000 |
commit | 121eea121eebedea525120c72074844a0a5435f2 (patch) | |
tree | d236c4ec6e3a19c22601b058387a83686b522124 /dev-util/jenkins-bin/jenkins-bin-1.614.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-121eea121eebedea525120c72074844a0a5435f2.tar.gz gentoo-2-121eea121eebedea525120c72074844a0a5435f2.tar.bz2 gentoo-2-121eea121eebedea525120c72074844a0a5435f2.zip |
Version bump. Remove old.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-util/jenkins-bin/jenkins-bin-1.614.ebuild')
-rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-1.614.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/jenkins-bin-1.614.ebuild b/dev-util/jenkins-bin/jenkins-bin-1.614.ebuild new file mode 100644 index 000000000000..b12c8bc132f6 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-1.614.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/jenkins-bin/jenkins-bin-1.614.ebuild,v 1.1 2015/05/22 22:23:47 mrueg Exp $ + +EAPI=5 + +inherit user + +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 + + fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup +} |