summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-03-30 17:24:52 +0200
committerHans de Graaff <graaff@gentoo.org>2017-03-30 17:24:52 +0200
commit0994c5b528d7fa365fa6bc6101de4c2fa8adfdcf (patch)
tree057212a99d9f5be3f162ca419defed76abc6afca /dev-util/jenkins-bin
parentwww-client/opera-developer: Old. (diff)
downloadgentoo-0994c5b528d7fa365fa6bc6101de4c2fa8adfdcf.tar.gz
gentoo-0994c5b528d7fa365fa6bc6101de4c2fa8adfdcf.tar.bz2
gentoo-0994c5b528d7fa365fa6bc6101de4c2fa8adfdcf.zip
dev-util/jenkins-bin: add 2.46.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
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.46.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 2b8bd7c4b205..871795197ffa 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -1,3 +1,4 @@
DIST jenkins-bin-2.32.2.war 69874457 SHA256 73b216449cb5eacd4fe5a6ee2e089245705e5815b448e315fbc8b6de7809e55f SHA512 4c61ad7b2ad588df6daa7ccf3b3272443fa15f8c3dfe15adff141ddb96088e9eccb0ced9d68c72bddb6f177f655035db300b7f8866b3bc211db8b04a676c96e8 WHIRLPOOL 089f3758bdb640f1c8de29c009e9f149877b5da501f495346cef71b89485608f3371f99be4c83c721e5b760f1e312e140325b079ef819fb179f5819f6bf43313
DIST jenkins-bin-2.32.3.war 69875039 SHA256 3eb599dd78ecf00e5f177ec5c4b1ba4274be4e5f63236da6ac92401a66fa91e8 SHA512 afe6b935dad970e1b89d35413982635b06a216a794d9bf3b1587f193b8edc4e369f51bcd344c9354271d40838c1d1c5178461ecdd800bceb2df07ece8d8b4bf2 WHIRLPOOL 8efb195b29627be117f73d51136bc6785d2058e3e5a4ba89c489f64d194f8933160c233fe175c0310f595bd7644292a8b3c4d2cc278e20f20a5de501b15af90a
DIST jenkins-bin-2.45.war 68649092 SHA256 0e57ee3645aec0742b8b2a0d4cd62cb80c3e6718b810200ab33851109f1f5488 SHA512 e2ec91827231efc39a1dd4b149239627e556391170d9b1b65eb8091f71787981863ecc5ee8a4b82d777672edb3ff0dbc59cd0dba68df9872af40661edcb4e615 WHIRLPOOL a0f4d3126020e8caecdfc2b54cb3f3f97d778f5f20c62722339494ec0884ce500b85938043dfc5fcfeb88853b21c871a9820900c0668e9cfbc08aafe3dbc93fc
+DIST jenkins-bin-2.46.1.war 68669812 SHA256 33a3f4d983c6188a332291e1d974afa0a2ee96a0ae3cb6dd4f2098086525f9f1 SHA512 a15beda88320c80ff149972c880627c236421c0d2363d2194f4e6c6392891f3c386d7ff0738c03a2c9de449e71f059a9f5f5ebd00f048b18aa231dd0e45ef83c WHIRLPOOL 5be3076bfe669420837529d91920508f0e661ba782c8362246a8167b3772f9301fa6a4a484f29697eb315f8097a562ba7028bb9a886808f7d359eede894144a9
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.46.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.46.1.ebuild
new file mode 100644
index 000000000000..296fff22b7a5
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.46.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit user systemd
+
+DESCRIPTION="Extensible continuous integration server"
+HOMEPAGE="http://jenkins-ci.org/"
+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.7.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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}