summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-03-11 08:27:33 +0100
committerHans de Graaff <graaff@gentoo.org>2021-03-11 08:27:42 +0100
commitf2c3d450ab05293b56edaa5243934b786945c356 (patch)
treefb4d99ddaa28d4017cb48a2469472cb5bd0b5970 /dev-util
parentsys-fs/dmraid: amd64 stable wrt bug #775188 (diff)
downloadgentoo-f2c3d450ab05293b56edaa5243934b786945c356.tar.gz
gentoo-f2c3d450ab05293b56edaa5243934b786945c356.tar.bz2
gentoo-f2c3d450ab05293b56edaa5243934b786945c356.zip
dev-util/jenkins-bin: add 2.277.1
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.277.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 4b63a7c3470d..e424982f8fdf 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.277.1.war 70886703 BLAKE2B f090aa2fd7ad7eb6e8ad46afe727c01cd0cb66408ae234c5f33abc5e45d3886d960e172e964443e88a3311a36cabc99e74385ff5744d6e1b920b6f911874a0c1 SHA512 4fe4076a3145b213c9e70e5b66ca9289e01d1c9bcd8587298e7cb40d4c3b0a6d647a1f055a1c6bac9b4a04068b33a83236a08bdbec81ccb823473b9df08478f9
DIST jenkins-bin-2.280.war 73385503 BLAKE2B 4322a5f9d50236a7409ce30b8d6899abada57b94bda38f7e4734e44e22a7405f30cb12218789803c0adf02ba4d6738b1f9dd2210339c4f5528ec37fc8ecd1447 SHA512 91b61b12a4cf603e923882d91767a1fa43974c023ae52422dcaa79e770bcf0feedc2dfb3627898a3179c10a3f86c1bc7846ce9ad7bc834d46552889d45fb6ccb
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.277.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.277.1.ebuild
new file mode 100644
index 000000000000..d60a4fb1e670
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.277.1.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-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-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
+}