summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-27 06:35:29 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-27 06:35:29 +0200
commitcf86e5893d5e8151d889766b0d4e1d31703713d9 (patch)
tree289f4a339a114d622048e44ce0604a50087d1148 /dev-util/jenkins-bin
parentdev-util/jenkins-bin: cleanup (diff)
downloadgentoo-cf86e5893d5e8151d889766b0d4e1d31703713d9.tar.gz
gentoo-cf86e5893d5e8151d889766b0d4e1d31703713d9.tar.bz2
gentoo-cf86e5893d5e8151d889766b0d4e1d31703713d9.zip
dev-util/jenkins-bin: add 2.176.4
Package-Manager: Portage-2.3.69, Repoman-2.3.16 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.176.4.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 65dfd903e2c8..66e8134bf934 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.176.3.war 77364728 BLAKE2B c80f54999faac0a740a4030498785f5caaaf9dbbd077258a767f2b23fefdcb32892865d256a46ca9afa015a5c035ae05605ecaf031017d350684e3b199f11517 SHA512 dc01c28abe624165c8fa63534a6beb8489ed73152dcdbb1cdb0bbb2e66492583eefe3b62f7e804089febc017de61535c336aa26835501759090f9cfcbd6f2e91
+DIST jenkins-bin-2.176.4.war 77368917 BLAKE2B d997e8fe0faa693830447046f23aa528e3265caaa813283aef474ed667c06d4cbaa009e6171c34fac05e91f811ad998ca28dd32bc7b7811e3c618a06b0c9eeed SHA512 43eebdd25571a2fb100f98e52e4fc77009bf6e8254aea724c9917ad6a775bf40ca07339b5379d3932fcdcd8700b94f45a8428d54da7b8154bb7351cd14dbfca1
DIST jenkins-bin-2.192.war 78257602 BLAKE2B 09f9df5f0394fc5a8d45b4b11a53b7b110d99275ce8e2ba7a984592bb2f883fbf8f1da45903a28fa20c18ab285a6a3200077784436716cab7a5f47ef7f3cba09 SHA512 f60fd5a74cd05a755dd85ee2be13f9f473a9fcbf3d3400df17b840fe88025b8311cee2d5e9e6c6dafcc8d268fac245a519078911e600d9af5580d228bba773d9
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.176.4.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.176.4.ebuild
new file mode 100644
index 000000000000..323b88955105
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.176.4.ebuild
@@ -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-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
+}