summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-27 06:41:17 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-27 06:41:17 +0200
commit0b1f8547c2261e5d2ae37f73f0780d2f14113ac6 (patch)
tree0403b1ede5e47cfc3c7741fd6d06fad9f171d952 /dev-util/jenkins-bin
parentdev-util/jenkins-bin: add 2.190.1 (diff)
downloadgentoo-0b1f8547c2261e5d2ae37f73f0780d2f14113ac6.tar.gz
gentoo-0b1f8547c2261e5d2ae37f73f0780d2f14113ac6.tar.bz2
gentoo-0b1f8547c2261e5d2ae37f73f0780d2f14113ac6.zip
dev-util/jenkins-bin: add 2.197
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.197.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
index 14b30dbac82b..2ea920b97a01 100644
--- a/dev-util/jenkins-bin/Manifest
+++ b/dev-util/jenkins-bin/Manifest
@@ -2,3 +2,4 @@ DIST jenkins-bin-2.176.3.war 77364728 BLAKE2B c80f54999faac0a740a4030498785f5caa
DIST jenkins-bin-2.176.4.war 77368917 BLAKE2B d997e8fe0faa693830447046f23aa528e3265caaa813283aef474ed667c06d4cbaa009e6171c34fac05e91f811ad998ca28dd32bc7b7811e3c618a06b0c9eeed SHA512 43eebdd25571a2fb100f98e52e4fc77009bf6e8254aea724c9917ad6a775bf40ca07339b5379d3932fcdcd8700b94f45a8428d54da7b8154bb7351cd14dbfca1
DIST jenkins-bin-2.190.1.war 78245883 BLAKE2B 6c80eaebc6fe34e2c889c78a34dfc3e105a9bd9b92d79d8a9cfe76bfdf66a851afca2a5a2b7373b437deed663fde3cfeac1646f317a9c052d2d09d01d82aeccb SHA512 db27957452b5e57666a1bbce43547e8cfd8f95cc557b43e5162a033779f0cd68d8fd1fc880b563000927f3a71e79385f583d18c21ad06575b192e4d8e47a8c8d
DIST jenkins-bin-2.192.war 78257602 BLAKE2B 09f9df5f0394fc5a8d45b4b11a53b7b110d99275ce8e2ba7a984592bb2f883fbf8f1da45903a28fa20c18ab285a6a3200077784436716cab7a5f47ef7f3cba09 SHA512 f60fd5a74cd05a755dd85ee2be13f9f473a9fcbf3d3400df17b840fe88025b8311cee2d5e9e6c6dafcc8d268fac245a519078911e600d9af5580d228bba773d9
+DIST jenkins-bin-2.197.war 78309466 BLAKE2B c3d34c6fc40a82148eafa978c8787375ece6522d0d936b42f0296ee13cd084669bfa31975c0ad27816bdd4c1266cb066c0909774199a1373661a7ec524c06e91 SHA512 3b6a00dee5aeb8a94c8f75323c2469b54fe96d90bf8371898e41dc5bdecaa472f112bff1466481c66c9c7a07b22cbe799a08e45ac486d68fd5bdc7c20d43d722
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.197.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.197.ebuild
new file mode 100644
index 000000000000..7d232cbccacd
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.197.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/${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
+}