diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-06 08:09:57 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-06 08:09:57 +0200 |
commit | e29e8001c77154548fa27634d1596eb2bd4e958b (patch) | |
tree | fd11c44df6a5c43b08256e14d8e44c8f92355f0d /dev-util/jenkins-bin/jenkins-bin-2.401.3.ebuild | |
parent | app-admin/puppet-lint: drop 2.5.2 (diff) | |
download | gentoo-e29e8001c77154548fa27634d1596eb2bd4e958b.tar.gz gentoo-e29e8001c77154548fa27634d1596eb2bd4e958b.tar.bz2 gentoo-e29e8001c77154548fa27634d1596eb2bd4e958b.zip |
dev-util/jenkins-bin: add 2.401.3, 2.416
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util/jenkins-bin/jenkins-bin-2.401.3.ebuild')
-rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-2.401.3.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.401.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.401.3.ebuild new file mode 100644 index 000000000000..e8b333002f60 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.401.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="The leading open source automation server" +HOMEPAGE="https://jenkins.io/" +LICENSE="MIT" +SRC_URI="https://get.jenkins.io/war-stable/${PV}/${PN/-bin/}.war -> ${P}.war" +SLOT="lts" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND="acct-group/jenkins + acct-user/jenkins" + +RDEPEND="acct-group/jenkins + acct-user/jenkins + media-fonts/dejavu + media-libs/freetype + !dev-util/jenkins-bin:0 + || ( virtual/jre:17 virtual/jre:11 )" + +S="${WORKDIR}" + +src_install() { + local JENKINS_DIR=/var/lib/jenkins + + 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}-r3.logrotate ${PN/-bin/} + + newinitd "${FILESDIR}"/${PN}-r3.init jenkins + newconfd "${FILESDIR}"/${PN}-r1.confd jenkins + + systemd_newunit "${FILESDIR}"/${PN}-r5.service jenkins.service + + fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup +} |