summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-10-08 02:18:02 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-10-08 02:18:02 +0200
commitd14c094470314538b0449e58b1d4a63791ce3b05 (patch)
tree9708dc6d42fdcd0b4381809be9ef1f1a06a81e68 /dev-util/jenkins-bin
parentdev-util/jenkins-bin: bump to v2.249.2 (diff)
downloadgentoo-d14c094470314538b0449e58b1d4a63791ce3b05.tar.gz
gentoo-d14c094470314538b0449e58b1d4a63791ce3b05.tar.bz2
gentoo-d14c094470314538b0449e58b1d4a63791ce3b05.zip
dev-util/jenkins-bin: bump to v2.260
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@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.260.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 7c7923ada54a..2f4e2138fedd 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -2,3 +2,4 @@ DIST jenkins-bin-2.235.5.war 66477424 BLAKE2B d4917468af085358c98bd5cfe9c3123258
DIST jenkins-bin-2.249.1.war 67394283 BLAKE2B c63120bd478d6cdc772935445c37e222ef274f5108023e18a598fb131e380aa5fb17baeab7d7d1cc0d01b776cb5693d28e0f2fa1d48b253ff490e66f0131cec5 SHA512 19a7d0e496b257c9b2c0d7862cff2c9c6221fc87cfa8da6064d316c4fb81a51a10f67a4fb10d30ba645c5f97346d440d45389a8de13c7854474fc816bf23aaac
DIST jenkins-bin-2.249.2.war 67399569 BLAKE2B df3d954988370a47d90363a01de97f17a92cb4d93049ceacea80f7d2a92195cd1e95b1f3780521efa166aee1058949f0e8861b887d6da5b0f0126a2579d22595 SHA512 0300369b3c427420a9c41ee17f3e098c77f14b25597059d740fdbea03f3679ce56d9e154d7765601274cd9dc866939595f7728bc2b8b8a0ef3ea131378648a98
DIST jenkins-bin-2.252.war 67396384 BLAKE2B 6476b03a8dcc73f61f151c6187ebd275ed3fb8f352478e0e135406d9dcab150a360ba6b7b9a8ca82d0ed24e5294bd77755497ba7ec9df72b0487f8341eb9d9e5 SHA512 c9a0b1676155f66e0cfbc97762c663ce4d968d2be296e03aa29d4670dfcea6e432340bf424076951c268b28766fbba84efaff397b2ba50fadb9ca04f5bb52236
+DIST jenkins-bin-2.260.war 67242153 BLAKE2B 3d454bb987b39a3e214ff3dc61648d0533724766bf0eb7a40b5d6b208d0e2baa4f083a559a51b468f920d352b52d55a614eb8551d148bdadd9c3efaf73be8205 SHA512 38da0ddae2dde6e4d26a7a49f952073838574282d68169f5d2d0359a9c906f5d294cf58dfe930cac2585018b5e89dfbd59c7525d396b2a88c26bbb8485275353
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.260.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.260.ebuild
new file mode 100644
index 000000000000..231d58c8748f
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.260.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit user 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"
+RESTRICT="mirror"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:lts
+ >=virtual/jre-1.8.0"
+
+S=${WORKDIR}
+
+JENKINS_DIR=/var/lib/jenkins
+
+pkg_setup() {
+ enewgroup jenkins
+ enewuser jenkins -1 -1 ${JENKINS_DIR} jenkins
+}
+
+src_install() {
+ 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
+}