summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-08-29 09:02:18 +0200
committerHans de Graaff <graaff@gentoo.org>2019-08-29 09:02:18 +0200
commit244378e7c2f06e8925a928fe165f4de6753e7ce6 (patch)
tree4b8a04b987ad9d787fa069813ec0b0130937001d /dev-util/jenkins-bin
parentdev-ada/libgpr: stable 2019, fix MissingUseDepDefault (diff)
downloadgentoo-244378e7c2f06e8925a928fe165f4de6753e7ce6.tar.gz
gentoo-244378e7c2f06e8925a928fe165f4de6753e7ce6.tar.bz2
gentoo-244378e7c2f06e8925a928fe165f4de6753e7ce6.zip
dev-util/jenkins-bin: add 2.176.3
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.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 507ab47d98e9..cdb99d0d0d39 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,2 +1,3 @@
DIST jenkins-bin-2.176.2.war 77379386 BLAKE2B feb66ad7042ab38ecd75c31e11587efe32d06c799e6f7fd46453969faa5edc241f99d844184e8f53dbde3bd05aeda676622baf2440eccd6c721300d877acb3e6 SHA512 8e53637a10942e7cb5907a669b72bd200369c65b47a8c3a050f356887cc65e8e2a0bab7b7a56d78735e5a2da77395268f4fbf4f6d5b219f9052dff72a96c6f05
+DIST jenkins-bin-2.176.3.war 77364728 BLAKE2B c80f54999faac0a740a4030498785f5caaaf9dbbd077258a767f2b23fefdcb32892865d256a46ca9afa015a5c035ae05605ecaf031017d350684e3b199f11517 SHA512 dc01c28abe624165c8fa63534a6beb8489ed73152dcdbb1cdb0bbb2e66492583eefe3b62f7e804089febc017de61535c336aa26835501759090f9cfcbd6f2e91
DIST jenkins-bin-2.186.war 77649944 BLAKE2B 8247cae6d25c6b24cb7b874c3e9335cfe8b82d54406a3b37a909a2cde7178f38da8312ce89b63d4e6833d7c5a5369350c97ea5a785412b4acd5ebc5e40898be6 SHA512 70140e5bb199ca1b801763ca1440d41a96dfbf3f1df0d0aa04d00e81be42616464626ed808205e7353e476dc4aa7d320c85b141ec07448b0ba2251449d0c0c28
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.176.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.176.3.ebuild
new file mode 100644
index 000000000000..323b88955105
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.176.3.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
+}