commit: f8222f190802408e39563a82a7aacef009674edc Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Feb 21 10:43:32 2021 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Feb 21 10:43:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8222f19
dev-util/jenkins-bin: add 2.280, bug 771618 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-util/jenkins-bin/Manifest | 1 + dev-util/jenkins-bin/jenkins-bin-2.280.ebuild | 45 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest index 4d92241fabe..0f65088a0fa 100644 --- a/dev-util/jenkins-bin/Manifest +++ b/dev-util/jenkins-bin/Manifest @@ -1,3 +1,4 @@ DIST jenkins-bin-2.263.3.war 67287051 BLAKE2B 376612f444d6827ad270f1121c2df3f134893eb9a501b919e2c1b506f0536b506a1158152541c46a211f55ecc62b39930024bf3457e2e550900e5aa98f368f39 SHA512 c8badbb4704ad60ede50d32b9df36ca8f78da7e4238e9277a26eaa90a16bd27106bf7e04497cf2bf2ef086befc8cfdb64db9af7f4ceccb1dc22d4e21e5898e68 DIST jenkins-bin-2.263.4.war 67287029 BLAKE2B 0e5a510fab07fccebbfae7cf5b9accb88543e5ba7a7512d120db518afb4f80e9feeb6895c3227ff52da5286440a7cd226c172a77b10a4573df2917643a1df3a3 SHA512 4f648b372a51c01b04d2057b61d2a50b2abd5d3b282b3d790eb579ebba3381cdc3fda28bcb7bad0df4ff837f66b9074e8ade66309c38b52d1f3c22f1b8d0f63e DIST jenkins-bin-2.279.war 73234774 BLAKE2B eeb1b70b111f86e6f295d69d5681e5683c890f2b482c7a4566738e6250e7124f3d8838c8b1411a054e61f8e75758ed23c7d0cdbf41b930418f2b27bb145df2a9 SHA512 c833efe6fe711e5d3a2ab0c13e598c3533e132cd7127c17842746e05b5172f2d9f58b1b9be09be238a7ab62c0dc9c23f2f646c72d0f4103624b2adf546348a5f +DIST jenkins-bin-2.280.war 73385503 BLAKE2B 4322a5f9d50236a7409ce30b8d6899abada57b94bda38f7e4734e44e22a7405f30cb12218789803c0adf02ba4d6738b1f9dd2210339c4f5528ec37fc8ecd1447 SHA512 91b61b12a4cf603e923882d91767a1fa43974c023ae52422dcaa79e770bcf0feedc2dfb3627898a3179c10a3f86c1bc7846ce9ad7bc834d46552889d45fb6ccb diff --git a/dev-util/jenkins-bin/jenkins-bin-2.280.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.280.ebuild new file mode 100644 index 00000000000..960720966a1 --- /dev/null +++ b/dev-util/jenkins-bin/jenkins-bin-2.280.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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-1.8.0" + +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}-r1.logrotate ${PN/-bin/} + + newinitd "${FILESDIR}"/${PN}.init2 jenkins + newconfd "${FILESDIR}"/${PN}.confd jenkins + + systemd_newunit "${FILESDIR}"/${PN}.service2 jenkins.service + + fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup +}