dev-util/jenkins-bin: add 2.180
authorHans de Graaff <graaff@gentoo.org>
Wed, 12 Jun 2019 04:56:55 +0000 (06:56 +0200)
committerHans de Graaff <graaff@gentoo.org>
Wed, 12 Jun 2019 04:56:55 +0000 (06:56 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-util/jenkins-bin/Manifest
dev-util/jenkins-bin/jenkins-bin-2.180.ebuild [new file with mode: 0644]

index fc9e2ed8acd6fc71b57d024318e3a1a691b22c5e..8e6128a2d54e14e3572675d612debb68567912b0 100644 (file)
@@ -1,3 +1,4 @@
 DIST jenkins-bin-2.164.3.war 77335220 BLAKE2B 0f2a84419268e9831620fd3be1e7648470f2b6568fddf8bdb76494fd53fcb5a81c52f44110809cd6700cbfe34251f5e6c48114de95d388296c2d98ae70cb9923 SHA512 de9303dc89e80ec084862c1f4a8a3638826ae3a514bb9591e46bc0acbe511912daa228d85e25b0b53d051e8ec293ae57e229a5d8ead5b9a80d8d6ce26eb6995f
 DIST jenkins-bin-2.176.1.war 77272319 BLAKE2B 2aa3f263163e4b9f6290fa0322a5d43c6a6ce196abb9f5aea21a7fab9d7f9ec5e3851ccbeca8291891ec5b18f619dabf2f204529c7ec0bc61172e0679fce7f37 SHA512 39caa250c71473da40d86160247fc0ec450df86d2b7453932c49c17c2b8d4307cccc579e9ff690119ad806fc4f67ab4cc65857000f451f31b0eb945b83b1408b
 DIST jenkins-bin-2.177.war 77352458 BLAKE2B 45564839dbfbd0579b7f54215838df8205433f4e7040179629b020141aafb1e51264e7ecb4c5c8aa1cd938674bbfeb05b578027ea5cb74ea0d49c75239e9cd3a SHA512 060431fc2e5022911160c9cfe34353342dffb5a1dbc9b8a21140b90220812224a99fe7d26c1faa58e2830764d7a29836962b058f00ee097381455a0d6ff22085
+DIST jenkins-bin-2.180.war 77259066 BLAKE2B 87e981aaafddd863aebaf63b2f5e851db3aab4916ac2131cc9f4a3ae3fb6cc16ccae77a4b53b7728480e4388a8b766b57bfbba7cc6a017cf89be3b3e634871df SHA512 ab626311695528e2970b3faecde7e5ec07dc12cce88b3861a5d74980349d4d409a476c38f0bdc3c0e9b443e8d2881eb77b7503eec2844e4abd8e5e149367b0d3
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.180.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.180.ebuild
new file mode 100644 (file)
index 0000000..7d232cb
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 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 ~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
+}