dev-util/jenkins-bin: add 2.222.3
authorHans de Graaff <graaff@gentoo.org>
Sun, 26 Apr 2020 05:16:31 +0000 (07:16 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sun, 26 Apr 2020 05:25:12 +0000 (07:25 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-util/jenkins-bin/Manifest
dev-util/jenkins-bin/jenkins-bin-2.222.3.ebuild [new file with mode: 0644]

index 3942becdb76329ad509c53712e6439df9b31a7e7..32d85088ca072bdffe282f325a3ab3508a89f36a 100644 (file)
@@ -1,3 +1,4 @@
 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.222.3.war 66241734 BLAKE2B fa84737feee7b54d444640c8c1784260d1791c353b30bc81ee17ba855161c92dd3adf202febab521439b59e6fc2e6f8fdaddff62f78daa8b268b5e0503c0952e SHA512 1f0c34bf438d8646085151b0ac4f436d52b8d4f5001490ff79c2ea36379a3911702f993f897cceb782eb854a529d7edeaf642de17806b6f8679a188c97c96f3e
 DIST jenkins-bin-2.228.war 66137156 BLAKE2B acd1414745f0ffe12ca3025149d5ef8dcdebe6415e54e18f71eb4ef05bb578279409fbf5605763d86144726a82057ba796ea8ce3b79301ea33ddfed1f03ad9f4 SHA512 899c5838cc46f87020c18b0863b8f160c22b0422e7adec1bfd48dce5f06264b5e33ec8411bf9133e28fa8723daeeb5d2cd14a92c261d82e2b2b804d0b1c21250
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.222.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.222.3.ebuild
new file mode 100644 (file)
index 0000000..8ab8d5d
--- /dev/null
@@ -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
+}