summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-03-28 07:29:20 +0100
committerHans de Graaff <graaff@gentoo.org>2020-03-28 08:05:34 +0100
commit56d47c94fb1e1f399a0d435b0cb655a890efa9d8 (patch)
tree9309a22e6e376a53671040434c5d9f0acf79b945 /dev-util/jenkins-bin
parentsci-biology/foldingathome: revbump due to RDEPEND change (diff)
downloadgentoo-56d47c94fb1e1f399a0d435b0cb655a890efa9d8.tar.gz
gentoo-56d47c94fb1e1f399a0d435b0cb655a890efa9d8.tar.bz2
gentoo-56d47c94fb1e1f399a0d435b0cb655a890efa9d8.zip
dev-util/jenkins-bin: add 2.222.1
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.222.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 725811f2dd9..3942becdb76 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.204.6.war 63478210 BLAKE2B afbe2a9c0f54a006f372549db448c66a07e6d1ab6e07f0795abf730cb0c6e4ef478c6a7f1091d61720fe5f543a06abfc0861d16bd5442f3eb3410a9a5f1c8e34 SHA512 640c75b9346e5eb28ac24c7def72eba69c0b664a14bb04fc3fb55d307e63b1edbd8375e6ee1fe002b1773b1aa62d926eb658d4c34bd6dfa815254c8d5dd23ac2
+DIST jenkins-bin-2.222.1.war 66288019 BLAKE2B 53d8c1edfc9670d6690af881cfa422baba1ba7ebff9f378370eda85655d3d08b109ef02cf5207991f9c2c825f46658325bb3d936addcfb0a43be5b1780cfd282 SHA512 3db18c6cbe903f09a743058f63c372a9daa7b9193e6693240ad0b3b573df4572ca88fb28040be6e5af38e888132ada0d333dde65c74a56ed615ee4fc41d25d99
DIST jenkins-bin-2.228.war 66137156 BLAKE2B acd1414745f0ffe12ca3025149d5ef8dcdebe6415e54e18f71eb4ef05bb578279409fbf5605763d86144726a82057ba796ea8ce3b79301ea33ddfed1f03ad9f4 SHA512 899c5838cc46f87020c18b0863b8f160c22b0422e7adec1bfd48dce5f06264b5e33ec8411bf9133e28fa8723daeeb5d2cd14a92c261d82e2b2b804d0b1c21250
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.222.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.222.1.ebuild
new file mode 100644
index 00000000000..8ab8d5db213
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.222.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
+}