summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-05-08 08:24:22 +0200
committerHans de Graaff <graaff@gentoo.org>2021-05-08 08:24:22 +0200
commit7bdd255696a36bdf6c74ad13b5bd65c91454f68a (patch)
treed25ccb8c3a1b1828af0415b0dc86a4b8b1579fb2 /dev-util
parenteclass/ruby-fakegem.eclass: fix more ruby invocations for did_you_mean (diff)
downloadgentoo-7bdd255696a36bdf6c74ad13b5bd65c91454f68a.tar.gz
gentoo-7bdd255696a36bdf6c74ad13b5bd65c91454f68a.tar.bz2
gentoo-7bdd255696a36bdf6c74ad13b5bd65c91454f68a.zip
dev-util/jenkins-bin: add 2.277.4
Package-Manager: Portage-3.0.18, 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.4.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 4a7213a08c8..7df4d28ddd5 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.277.3.war 70887043 BLAKE2B 4801be0af417044ca2bbd07f5768594d7cd3ea980ae3cde32bffd9bef1851abd3d7134dd748f9d539e4d717a146d4c53c04a2604ae4398653d83ce4e4fe011cc SHA512 e0d364e619e183b745e08e1e72531d59dc6a92927dcb3b3372d2575d6020e465673d91fd650ad8805260037675623655f0cde9de95c22988be514d6314ffc668
+DIST jenkins-bin-2.277.4.war 70918017 BLAKE2B 990222bedb5ad58e8a00f29194b0f201395545fa70af22485a88c55e0898abdd218e501222689abbdf5cc8f4f3dc32dae7e54198b43a8c46172501017018eea6 SHA512 eb635bc0767c242063e88aa6f91a6daa8fbf23f74333f2dd73535a7ff3a4e690e3a456fba2e92b44ee883378b783896f8052a1b26536dac5954d74a62a63597a
DIST jenkins-bin-2.289.war 74326992 BLAKE2B 60d8523bc0ec3022cfc152c00059bd153d3d0888640a66502385fb318c90ef1b43b3cb8fb621263f440c7852ac46f796840bac4f602e7f12b6de845af2bf9a45 SHA512 76a6785346f14e86e43f0c2e5ebf2ce2dd14ceb45c780ac650374a5a15615d5256567def6db0eed87a3ca6d853bda360f011cdd7972084fc76cc3ad3d4831c92
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.277.4.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.277.4.ebuild
new file mode 100644
index 00000000000..10778d0c4f4
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.277.4.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}-r2.init jenkins
+ newconfd "${FILESDIR}"/${PN}.confd jenkins
+
+ systemd_newunit "${FILESDIR}"/${PN}-r2.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}