diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-02 14:56:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-02 14:56:29 +0000 |
commit | cc2c9e975285d6fb1be1b71d18ba4cca7991b921 (patch) | |
tree | 9b90516b35ff9055066e5b8f2e4a2ce3b6a71b38 /dev-util/jenkins-bin/jenkins-bin-2.375.ebuild | |
parent | 5a1e5a6812ca9c9555657cce48fe09d2ffa44401 (diff) |
gentoo auto-resync : 02:12:2022 - 14:56:29
Diffstat (limited to 'dev-util/jenkins-bin/jenkins-bin-2.375.ebuild')
-rw-r--r-- | dev-util/jenkins-bin/jenkins-bin-2.375.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.375.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.375.ebuild new file mode 100644 index 000000000000..76690ca69050 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.375.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="Extensible continuous integration server" +HOMEPAGE="https://jenkins.io/" +LICENSE="MIT" +SRC_URI="http://mirrors.jenkins-ci.org/war/${PV}/${PN/-bin/}.war -> ${P}.war" +SLOT="0" +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:lts + || ( 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}-r2.logrotate ${PN/-bin/} + + newinitd "${FILESDIR}"/${PN}-r3.init jenkins + newconfd "${FILESDIR}"/${PN}-r1.confd jenkins + + systemd_newunit "${FILESDIR}"/${PN}-r4.service jenkins.service + + fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup +} |