diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2014-10-22 14:02:29 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2014-10-22 14:02:29 +0000 |
commit | d61793fd7e48d3be5f0a8cdf7615aa8f4539c4e3 (patch) | |
tree | 6645c3a64de2e5a920bcc91a84ad273bb4765e3b /dev-util/jenkins-bin | |
parent | Ensure build against at least one Qt version wrt bug #526472. (diff) | |
download | gentoo-2-d61793fd7e48d3be5f0a8cdf7615aa8f4539c4e3.tar.gz gentoo-2-d61793fd7e48d3be5f0a8cdf7615aa8f4539c4e3.tar.bz2 gentoo-2-d61793fd7e48d3be5f0a8cdf7615aa8f4539c4e3.zip |
Version bump. Add JENKINS_DIR as requested by Joakim Tjernlund.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r-- | dev-util/jenkins-bin/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-1.585.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-util/jenkins-bin/ChangeLog b/dev-util/jenkins-bin/ChangeLog index 0578fb01d43a..a51d5724137c 100644 --- a/dev-util/jenkins-bin/ChangeLog +++ b/dev-util/jenkins-bin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/jenkins-bin # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/jenkins-bin/ChangeLog,v 1.3 2014/10/21 08:38:20 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/jenkins-bin/ChangeLog,v 1.4 2014/10/22 14:02:29 mrueg Exp $ + +*jenkins-bin-1.585 (22 Oct 2014) + + 22 Oct 2014; Manuel Rüger <mrueg@gentoo.org> +jenkins-bin-1.585.ebuild: + Version bump. Add JENKINS_DIR as requested by Joakim Tjernlund. *jenkins-bin-1.584-r1 (21 Oct 2014) diff --git a/dev-util/jenkins-bin/jenkins-bin-1.585.ebuild b/dev-util/jenkins-bin/jenkins-bin-1.585.ebuild new file mode 100644 index 000000000000..839d244b9814 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-1.585.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 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.585.ebuild,v 1.1 2014/10/22 14:02:29 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="" + +DEPEND="media-fonts/dejavu" +RDEPEND="${DEPEND} + >=virtual/jdk-1.5" + +S=${WORKDIR} + +JENKINS_DIR=/var/lib/jenkins + +pkg_setup() { + enewgroup jenkins + enewuser jenkins -1 /sbin/nologin ${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}.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 +} |