summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-11-03 07:59:47 +0100
committerHans de Graaff <graaff@gentoo.org>2022-11-03 08:00:09 +0100
commit88f971494b2508ff9555d363eb92375dfecc1477 (patch)
tree037194b4be28e17f488cc446431e74a6f53cdfa0 /dev-util/jenkins-bin
parentmedia-libs/lcms: Stabilize 2.13.1-r1 sparc, #879263 (diff)
downloadgentoo-88f971494b2508ff9555d363eb92375dfecc1477.tar.gz
gentoo-88f971494b2508ff9555d363eb92375dfecc1477.tar.bz2
gentoo-88f971494b2508ff9555d363eb92375dfecc1477.zip
dev-util/jenkins-bin: add 2.361.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r--dev-util/jenkins-bin/Manifest1
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.361.3.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 2923a8413679..e4729f826a5a 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,3 +1,4 @@
DIST jenkins-bin-2.361.1.war 93504273 BLAKE2B dc5592c20401c19ca86a620335bb2dde803cfc786b912996308654e4db28351a2417e7a504f383b3127d46676ac43671872b1f306f38f40256b14c41945a8e03 SHA512 4feecd554aeedd94c5693f5e685ff31c882ff34c875a28d9d2d639c1d5f897dc893ee6dcfc037b457d385dbb3f62f7ab3842343711def5e01837cc5744e236b5
DIST jenkins-bin-2.361.2.war 93504834 BLAKE2B d5e74022b83a0ee2775a01c2840ebb67212cede7cb27be980353527c522d7feb91b0b70823126f8101429381d2419834b0493da8566f8dbba8d88c60e862c90d SHA512 dc04b13ca2e1afe5f0d1c967558cbfb9720a47f93b62167c4ed4422b7a43b2ac8b806e75ac12e58dc66d85f7e34800948d857aaeb573d923c7fd61a415b8d148
+DIST jenkins-bin-2.361.3.war 93501786 BLAKE2B 36c5bafd70689603b84ad5ca86b407778b1bf686ea57d4d96566d5dcd22fa7e23f47d9f38048ec6cdf192e839f7588108c221625a94da687d8e74c079cbd1cc4 SHA512 3d0d9ad8c38a514789a8e074f3055e2ba6c8781cf333b95dd74f861011acd8d49ef3c4151f3c2646aba9007d6475304e31a85b39daaa7bb4c955beb2373c64f8
DIST jenkins-bin-2.363.war 93462629 BLAKE2B 7c35594bc03dfd97e93f75b7e05389919ee1634ec2e3a1a4934a2f6215de2420652aaed79ebcde5e7ce9a5e2d8ed7d9495e36f3ee77bcbf6a6d996c2a767c7bb SHA512 4b6207fbd166f6c336181ff224b717b154fbd97a4899e86b94b8e5f3b26d53bb2e3742086a839774edbf6fd56a1d037b14e455474fca7d6f189bb9591b42168c
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.361.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.361.3.ebuild
new file mode 100644
index 000000000000..aad8d1e6aa4c
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.361.3.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-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}-r2.logrotate ${PN/-bin/}
+
+ newinitd "${FILESDIR}"/${PN}-r2.init jenkins
+ newconfd "${FILESDIR}"/${PN}.confd jenkins
+
+ systemd_newunit "${FILESDIR}"/${PN}-r3.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}