diff options
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 +} |