summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-09-10 06:43:10 +0200
committerHans de Graaff <graaff@gentoo.org>2020-09-10 06:43:10 +0200
commit00693dce636b3acf0ea61b01b8e2446f2fd5f505 (patch)
tree4ce8969504611049acc549486c66b5a098c02f58 /dev-util/jenkins-bin
parentapp-crypt/certbot-nginx: 1.8.0 bump (diff)
downloadgentoo-00693dce636b3acf0ea61b01b8e2446f2fd5f505.tar.gz
gentoo-00693dce636b3acf0ea61b01b8e2446f2fd5f505.tar.bz2
gentoo-00693dce636b3acf0ea61b01b8e2446f2fd5f505.zip
dev-util/jenkins-bin: add 2.249.1
Package-Manager: Portage-3.0.4, Repoman-3.0.1 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.249.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index bcc246e2f42..66a1db925f6 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.235.5.war 66477424 BLAKE2B d4917468af085358c98bd5cfe9c31232584a18a74d01e962d594dc2ea3db75d4efabf411dbf568837b56e8230d831f3c88ea4e54f1a965f570772265989a9be7 SHA512 2c9d720dfb87f68dc57e5b2b750d2cbeb24efe65decfee13f4e96b578d3b460e0e00e713a90ee9a32dc1e5c2976455f3598f1c023a279da50b0622284529487e
+DIST jenkins-bin-2.249.1.war 67394283 BLAKE2B c63120bd478d6cdc772935445c37e222ef274f5108023e18a598fb131e380aa5fb17baeab7d7d1cc0d01b776cb5693d28e0f2fa1d48b253ff490e66f0131cec5 SHA512 19a7d0e496b257c9b2c0d7862cff2c9c6221fc87cfa8da6064d316c4fb81a51a10f67a4fb10d30ba645c5f97346d440d45389a8de13c7854474fc816bf23aaac
DIST jenkins-bin-2.252.war 67396384 BLAKE2B 6476b03a8dcc73f61f151c6187ebd275ed3fb8f352478e0e135406d9dcab150a360ba6b7b9a8ca82d0ed24e5294bd77755497ba7ec9df72b0487f8341eb9d9e5 SHA512 c9a0b1676155f66e0cfbc97762c663ce4d968d2be296e03aa29d4670dfcea6e432340bf424076951c268b28766fbba84efaff397b2ba50fadb9ca04f5bb52236
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.249.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.249.1.ebuild
new file mode 100644
index 00000000000..8ab8d5db213
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.249.1.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-stable/${PV}/${PN/-bin/}.war -> ${P}.war"
+RESTRICT="mirror"
+SLOT="lts"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="media-fonts/dejavu
+ media-libs/freetype
+ !dev-util/jenkins-bin:0
+ >=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
+}