summaryrefslogtreecommitdiff
path: root/dev-util/jenkins-bin
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/jenkins-bin')
-rw-r--r--dev-util/jenkins-bin/Manifest23
-rw-r--r--dev-util/jenkins-bin/files/jenkins-bin-r1.logrotate17
-rw-r--r--dev-util/jenkins-bin/files/jenkins-bin.confd62
-rw-r--r--dev-util/jenkins-bin/files/jenkins-bin.init252
-rw-r--r--dev-util/jenkins-bin/files/jenkins-bin.service10
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.57.ebuild46
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.60.3.ebuild46
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.67.ebuild46
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.71.ebuild46
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.73.1.ebuild46
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.78.ebuild46
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.80.ebuild46
-rw-r--r--dev-util/jenkins-bin/jenkins-bin-2.81.ebuild46
-rw-r--r--dev-util/jenkins-bin/metadata.xml13
14 files changed, 545 insertions, 0 deletions
diff --git a/dev-util/jenkins-bin/Manifest b/dev-util/jenkins-bin/Manifest
new file mode 100644
index 000000000000..e1f743775424
--- /dev/null
+++ b/dev-util/jenkins-bin/Manifest
@@ -0,0 +1,23 @@
+AUX jenkins-bin-r1.logrotate 483 SHA256 8bc2cb9759a54f2674abb1264dca452c295295554f76080c77d29586c1a8fa0c SHA512 74423d3c66e2312eb3a1590e0582ccd82fc01b410d3bfc0627bef56fe6f4e7f4ea01a7a2d92a7a0c4870a1a1c48e911fe7eab3073e14db4910b52158182e5856 WHIRLPOOL 9477206b581ca1d48a9460c1c53ff2fa7d30b3c7fd4daac4fd2aef13374eb999301f62fda7e865f4605b3e5e018e1cfa2cf3b82247f4c4bd40ca3c6c09c7bc76
+AUX jenkins-bin.confd 998 SHA256 8cd3e217ae11f47b73f8a3f28beb2f94b14e24da4e822f7209b19a2f14dccb3b SHA512 465ade6325efa05b4a150234f847ad19b9824f667fdc8f783af3d9842afc2815ee3d20dfd9566348701102bf28e1e0627af27ae43d055a9a6279ed638d8ece8b WHIRLPOOL 5c0dee7d648c22c65fcad7ec678ac839d1ab2d61aa52c8e54dccb6a9d58bcda5cca9685e570f0fe5b5f0fd6dd6ce0a47acc616cb9c5f6568758f92125a38f8c8
+AUX jenkins-bin.init2 1782 SHA256 3ff6ee9428744f616b32db1a7a6da9b99cd78573d2a6c9da90a2e70c1d54875b SHA512 e0fd85f653bbf5ac80dc929cb265ac86a08047f9102d57f2ac6194cd31794310a3c062824423552a3ee65e298506332436fca037f96963358dc511982f900be8 WHIRLPOOL 35d6ea0b7b317dbc76222460c4a2219ee7f9a969e88ad04c34e4855b6144abd29c24447ba68012ce511690b0d245c41995e60a68683278b5ee4538153fb04875
+AUX jenkins-bin.service 499 SHA256 51de27d125003a65ff9f8680e741e5f92ccd56e0a2f8a95a4fd0050204f2c3ba SHA512 4ede5e0d55bf9d53239a1b8c152d1a3e38510982d6ff01c9c4288d63b8312ab7412979e0af3466638c7ef2803b711d49344692c14e72baa85d8eb4caa15f7506 WHIRLPOOL 684d39cd7a2fb9b8e9c1efd29fc6b30ffc1f65b045ec271743c9eeba06a267b4a9e0d54154024308917f0fcbde6d070bd9f68a6437d9de1e592147b650a2d1b7
+DIST jenkins-bin-2.57.war 70476328 SHA256 5d7a66864d0941629e1fb8ef82ed98a38e54da39f4a9f3ca31561d573e18b2a5 SHA512 8207174bff1395b017b78b9d99e26b612a138977e75a2e01f59bb17fd42ac4470b7ab3b0b4fa305741bf5bf22987a2e51d61b907cb69c7ccce1697edaf331f76 WHIRLPOOL 17267b5df3ca296f42f711d73070b2a0a54e1a5ec293200bc1fd312a5bfc32abe4dfd63d97e9bd0834640bd28c9d625520e5e221cdde6b48c40fad5e0ba87435
+DIST jenkins-bin-2.60.3.war 70620203 SHA256 2d71b8f87c8417f9303a73d52901a59678ee6c0eefcf7325efed6035ff39372a SHA512 314a66a6745a164a8cd94afe83331246f46a93b1bd0304b5efe4523225ac96a4bd37ce3313b694a0a682d0bfd941ced957216dd1d53aa5e63aa6cea44eec31d2 WHIRLPOOL 0e34d9a4a0afbef823744afdfe6969e603b523a0f8f2a076a27fa111d874ee0102262cdc2f609b4d61117ce0e3ffa9f37cafaf59666597044d55455b5465bddc
+DIST jenkins-bin-2.67.war 71617234 SHA256 2def7deae23ffdcfece481548b3f6d7083d50a2696c91cfb5a9c5e84afcdf704 SHA512 c4b9af585888d2d1dd672569aeb92d2458dba808aa3cd664af31310cf847a7625afe7aad133f709c24598646b6e96d504bd53e54cf14490fbe756273b8494041 WHIRLPOOL b68d78f8e0dfddd3ffae89f2797b62b5a0480581b618f73dbeeff992eb961c52ef2da3de93170f3c97761dd4cf9f743d250cfc13e9fe99d92ea44e47659e8f1c
+DIST jenkins-bin-2.71.war 72956752 SHA256 14727da24054e956dc8b8514998e19001c99efce637891f544d2a9b3d9ea752c SHA512 d5718c70c7a1569f7389a8da2618382abe8799abb98faf87f4b25519b9336af904f32d72c8b30b2ca0f33e72c37d7984b901d4b26179c742333a538152c05b3b WHIRLPOOL bd592e4fe99ce66c6b659b8c28c3f29a2e8b7eb4b953bd1f5920998ff06519492504c525c17ad38d56cb257ad78e7e9e70a897dd43abf6ffc0f557f44e0de807
+DIST jenkins-bin-2.73.1.war 72954406 SHA256 171c6b3d819fb0240ccd06831b4b493bc7d1eb37ca2632c94f907f15b3aedf7f SHA512 82287ecb00c2638afd7f865b1e84da64fb1203c7d93926b7eb1b6dc46b44344d3ae020442d900264e525c3a5d25209a5aaa1c5ee253689ea4acd50ee906a9638 WHIRLPOOL 182c4615b33d818d6758b7da1ca1059926b06a0c1d11655c68538af6d19dbf2d8f299c7820aa52fd016be1396607b06006cbbef69f2887cc3327b0fd459b7380
+DIST jenkins-bin-2.78.war 73240530 SHA256 9d8ce9653d7a1ada2071ad9688ba7938e1e0672586e893e578dbfecdff725df6 SHA512 444c566c96c6d333319bf03629f58a05060628511326cd4fc02252fa55e70950c7901315318e9acd44ee33b51ab911da5f716fc3073b88fb10e3c0ed5977251e WHIRLPOOL 89e0a5ddad12e7f455546189fb878fef8b6d112832079f9ef96f4a298b7d1abd2b670d9b29a2fe22ef277a871b5986d91c967b1cdd0e72be3397ddb6c0cc5752
+DIST jenkins-bin-2.80.war 73094442 SHA256 69a84b894ad03518a66ffef6f63e289476a35a15e0ff186f0ab70f17b87a2a88 SHA512 3e39a4be9e4d977003db72fbdee77824eb9e65a62730a489bc8fcc45941f659d0d766e80d8d1913a2027bbbf8f356b9db18872f03ce1627467e3be373c781ab1 WHIRLPOOL d8fd4140944e44f84704f4eb4bdfca3dd865e3ce21b54a43c0d571a3ab95d95137d35e5ca856c2d41797765f30b9548bfb404e4674b8e338399737ab80a7e10b
+DIST jenkins-bin-2.81.war 73097494 SHA256 6cdb8912f63b19bad5f87e9200babb8926ab1a1a480998b1f54d4a215c354338 SHA512 94b250119441f19996672bd5df216d86034c1188f0293beea8833bf77ad59706dbb8082a8540aa70c0ddc96cb5e1cf57f30c87ee5bda3e7794040a6df436e5de WHIRLPOOL 0b6e2804526e739953c3a004d8d0918f2fcc13fa0a8ec125dca04240f77582c9c85ddca5d1bd359cbd1594c823e6e4bf47b02a7d1fced55f2468147b2bc954d8
+EBUILD jenkins-bin-2.57.ebuild 1103 SHA256 a10ef477b20d8beb35f4c698b35d2fe56bec72c7ce2729250a61e97750466cea SHA512 1744e21e9e5110d1efe3886d216e2b89c9c2fe64e167bbe2611c4fbdb0583e341aea4c31a14baa81411227cbb5678c9ad642be1c48c3e5100bb564e056a9aac6 WHIRLPOOL 97b669904d0d1e086af7d12d0faec6d786cfa5f917a973667cd41a00a233d89604e26b3c1d867535b68b610854d63da798e39a5bface8c8cb8ea20dd119c299f
+EBUILD jenkins-bin-2.60.3.ebuild 1110 SHA256 30f40c8b134a22249e4d8949439c683ad89963eec88afba48fb856fb9c44c320 SHA512 7e51e0a6eade5438b25cd1f66220b865a99f7aff7ed4e6615ec8763fe9767a2caabd68eeb71f543c88d5ffddbe57af0e7623b86b693542930fcdd0ff2f9ccd26 WHIRLPOOL 43f029505b191dbdf4b829fa1aae04d2a50176e74333bca916f6092d352a8e57e8ddbc2b378155dfeb0f3c300c7ce99a5e7d3d884f86a202848e8004367ab494
+EBUILD jenkins-bin-2.67.ebuild 1103 SHA256 a10ef477b20d8beb35f4c698b35d2fe56bec72c7ce2729250a61e97750466cea SHA512 1744e21e9e5110d1efe3886d216e2b89c9c2fe64e167bbe2611c4fbdb0583e341aea4c31a14baa81411227cbb5678c9ad642be1c48c3e5100bb564e056a9aac6 WHIRLPOOL 97b669904d0d1e086af7d12d0faec6d786cfa5f917a973667cd41a00a233d89604e26b3c1d867535b68b610854d63da798e39a5bface8c8cb8ea20dd119c299f
+EBUILD jenkins-bin-2.71.ebuild 1103 SHA256 a10ef477b20d8beb35f4c698b35d2fe56bec72c7ce2729250a61e97750466cea SHA512 1744e21e9e5110d1efe3886d216e2b89c9c2fe64e167bbe2611c4fbdb0583e341aea4c31a14baa81411227cbb5678c9ad642be1c48c3e5100bb564e056a9aac6 WHIRLPOOL 97b669904d0d1e086af7d12d0faec6d786cfa5f917a973667cd41a00a233d89604e26b3c1d867535b68b610854d63da798e39a5bface8c8cb8ea20dd119c299f
+EBUILD jenkins-bin-2.73.1.ebuild 1110 SHA256 30f40c8b134a22249e4d8949439c683ad89963eec88afba48fb856fb9c44c320 SHA512 7e51e0a6eade5438b25cd1f66220b865a99f7aff7ed4e6615ec8763fe9767a2caabd68eeb71f543c88d5ffddbe57af0e7623b86b693542930fcdd0ff2f9ccd26 WHIRLPOOL 43f029505b191dbdf4b829fa1aae04d2a50176e74333bca916f6092d352a8e57e8ddbc2b378155dfeb0f3c300c7ce99a5e7d3d884f86a202848e8004367ab494
+EBUILD jenkins-bin-2.78.ebuild 1103 SHA256 a10ef477b20d8beb35f4c698b35d2fe56bec72c7ce2729250a61e97750466cea SHA512 1744e21e9e5110d1efe3886d216e2b89c9c2fe64e167bbe2611c4fbdb0583e341aea4c31a14baa81411227cbb5678c9ad642be1c48c3e5100bb564e056a9aac6 WHIRLPOOL 97b669904d0d1e086af7d12d0faec6d786cfa5f917a973667cd41a00a233d89604e26b3c1d867535b68b610854d63da798e39a5bface8c8cb8ea20dd119c299f
+EBUILD jenkins-bin-2.80.ebuild 1103 SHA256 a10ef477b20d8beb35f4c698b35d2fe56bec72c7ce2729250a61e97750466cea SHA512 1744e21e9e5110d1efe3886d216e2b89c9c2fe64e167bbe2611c4fbdb0583e341aea4c31a14baa81411227cbb5678c9ad642be1c48c3e5100bb564e056a9aac6 WHIRLPOOL 97b669904d0d1e086af7d12d0faec6d786cfa5f917a973667cd41a00a233d89604e26b3c1d867535b68b610854d63da798e39a5bface8c8cb8ea20dd119c299f
+EBUILD jenkins-bin-2.81.ebuild 1103 SHA256 a10ef477b20d8beb35f4c698b35d2fe56bec72c7ce2729250a61e97750466cea SHA512 1744e21e9e5110d1efe3886d216e2b89c9c2fe64e167bbe2611c4fbdb0583e341aea4c31a14baa81411227cbb5678c9ad642be1c48c3e5100bb564e056a9aac6 WHIRLPOOL 97b669904d0d1e086af7d12d0faec6d786cfa5f917a973667cd41a00a233d89604e26b3c1d867535b68b610854d63da798e39a5bface8c8cb8ea20dd119c299f
+MISC ChangeLog 17147 SHA256 cedd72ff5b9bf786d1428289ac9ac8579ad33145dfb8404deef944cdf1665e67 SHA512 022d5ac33a69933bb466ee8276cc03191402ac9c20c361beb5bcfc73abf1ab72b96b507da444a31b524a9d764ab96ee91640a5713c2534460a562e23fabe2632 WHIRLPOOL ac693d36948f784cd45016c37a7b242fd7f0697157f818656754512bf907f8e06754179bed804cfc8c27b5662317b9bd0c3f983e34da51831cdf7edef16601a7
+MISC ChangeLog-2015 7461 SHA256 e48db67fcc69ca6960feec378328abd2bf810336a50541e6415fb0b3761fa32b SHA512 63f46144cb8712c22700d70fcdafc26c8113cb314781e6b351ca5254bc5196d86ff53b48e3eb0d722d8e6788e5f9b3a68f7767dc4d24724312844c14b8a476c8 WHIRLPOOL 58fe8bb9da5b4439fcef35aaed534ff6b78822287b4e328dc993580a4c970e8ff3b63d925405b48fe4c47a869f196f2ff59a439743b4a1b27acdbaa0ece4a7a6
+MISC metadata.xml 397 SHA256 f748bd402594de6903f7182113715c4ab3a9b0b382350ff52a3671ed7b11bd0b SHA512 4087fd799f4019f09103fb32d7f120e74d94715205bcc66858d11b9457774acaed37f3ad97ca0328f4ec28230a409dcfb0cbaceec142eb0a5fd3241ca35f8810 WHIRLPOOL 63fdb75a201da6f1a0d1ca73ed6167a0bbf438b568f0d2d68a620eae559ed3aac5e1d8f5e9f57557c5310dd38bcf459d512027c49928c5d82c7e99609c2dca49
diff --git a/dev-util/jenkins-bin/files/jenkins-bin-r1.logrotate b/dev-util/jenkins-bin/files/jenkins-bin-r1.logrotate
new file mode 100644
index 000000000000..33b16600452e
--- /dev/null
+++ b/dev-util/jenkins-bin/files/jenkins-bin-r1.logrotate
@@ -0,0 +1,17 @@
+/var/log/jenkins/jenkins.log /var/log/jenkins/access_log {
+ compress
+ dateext
+ maxage 365
+ rotate 99
+ size=+4096k
+ notifempty
+ missingok
+ create 644
+ postrotate
+ [ -r /etc/conf.d/jenkins ] && . /etc/conf.d/jenkins
+ if [ -s /var/run/jenkins.pid ]; then
+ JPID=$(cat /var/run/jenkins.pid)
+ test -n "$(find /proc/$JPID -maxdepth 0 -user ${RUN_AS:-jenkins} 2>/dev/null)" && kill -s ALRM $JPID || :
+ fi
+ endscript
+}
diff --git a/dev-util/jenkins-bin/files/jenkins-bin.confd b/dev-util/jenkins-bin/files/jenkins-bin.confd
new file mode 100644
index 000000000000..f84e3463e359
--- /dev/null
+++ b/dev-util/jenkins-bin/files/jenkins-bin.confd
@@ -0,0 +1,62 @@
+# Config file for /etc/init.d/jenkins
+
+#
+# Directory where Jenkins store its configuration and working
+# files (checkouts, build reports, artifacts, ...).
+#
+JENKINS_HOME="/var/lib/jenkins/home"
+
+#
+# Options to pass to java when running Jenkins.
+#
+JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true"
+
+#
+# Port Jenkins is listening on.
+#
+JENKINS_PORT="8080"
+
+#
+# Debug level for logs -- the higher the value, the more verbose.
+# 5 is INFO.
+#
+JENKINS_DEBUG_LEVEL="5"
+
+#
+# Whether to enable access logging or not.
+#
+JENKINS_ENABLE_ACCESS_LOG="no"
+
+#
+# Maximum number of HTTP worker threads.
+#
+JENKINS_HANDLER_MAX="100"
+
+#
+# Maximum number of idle HTTP worker threads.
+#
+JENKINS_HANDLER_IDLE="20"
+
+#
+# Pass arbitrary arguments to Jenkins.
+# Eg.: --httpListenAddress=127.0.0.1 --prefix=/jenkins
+# Full option list: java -jar jenkins.war --help
+#
+JENKINS_ARGS=""
+
+#
+# User
+#
+JENKINS_USER=jenkins
+
+
+
+#
+# Pid File
+#
+JENKINS_PIDFILE="/var/run/jenkins.pid"
+
+#
+# War File
+#
+JENKINS_WAR="/opt/jenkins/jenkins.war"
diff --git a/dev-util/jenkins-bin/files/jenkins-bin.init2 b/dev-util/jenkins-bin/files/jenkins-bin.init2
new file mode 100644
index 000000000000..93d4d5f7e687
--- /dev/null
+++ b/dev-util/jenkins-bin/files/jenkins-bin.init2
@@ -0,0 +1,52 @@
+#!/sbin/openrc-run
+
+depend() {
+ need net
+ use dns logger mysql postgresql
+}
+
+checkconfig() {
+ if [ ! -n "$JENKINS_HOME" ] ; then
+ eerror "JENKINS_HOME not configured"
+ return 1
+ fi
+ if [ ! -d "$JENKINS_HOME" ] ; then
+ checkpath -q -d -o jenkins:jenkins -m 0755 "$JENKINS_HOME" || return 1
+ fi
+ return 0
+}
+
+start() {
+ checkconfig || return 1
+
+ JAVA_HOME=`java-config --jre-home`
+ COMMAND=$JAVA_HOME/bin/java
+
+ JAVA_PARAMS="$JENKINS_JAVA_OPTIONS -DJENKINS_HOME=$JENKINS_HOME -jar $JENKINS_WAR"
+
+ # Don't use --daemon here, because in this case stop will not work
+ PARAMS="--logfile=/var/log/jenkins/jenkins.log"
+ [ -n "$JENKINS_PORT" ] && PARAMS="$PARAMS --httpPort=$JENKINS_PORT"
+ [ -n "$JENKINS_DEBUG_LEVEL" ] && PARAMS="$PARAMS --debug=$JENKINS_DEBUG_LEVEL"
+ [ -n "$JENKINS_HANDLER_STARTUP" ] && PARAMS="$PARAMS --handlerCountStartup=$JENKINS_HANDLER_STARTUP"
+ [ -n "$JENKINS_HANDLER_MAX" ] && PARAMS="$PARAMS --handlerCountMax=$JENKINS_HANDLER_MAX"
+ [ -n "$JENKINS_HANDLER_IDLE" ] && PARAMS="$PARAMS --handlerCountMaxIdle=$JENKINS_HANDLER_IDLE"
+ [ -n "$JENKINS_ARGS" ] && PARAMS="$PARAMS $JENKINS_ARGS"
+
+ if [ "$JENKINS_ENABLE_ACCESS_LOG" = "yes" ]; then
+ PARAMS="$PARAMS --accessLoggerClassName=winstone.accesslog.SimpleAccessLogger --simpleAccessLogger.format=combined --simpleAccessLogger.file=/var/log/jenkins/access_log"
+ fi
+
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --quiet --background \
+ --make-pidfile --pidfile $JENKINS_PIDFILE \
+ --user ${JENKINS_USER} \
+ --exec "${COMMAND}" -- $JAVA_PARAMS $PARAMS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --quiet --pidfile $JENKINS_PIDFILE
+ eend $?
+}
diff --git a/dev-util/jenkins-bin/files/jenkins-bin.service b/dev-util/jenkins-bin/files/jenkins-bin.service
new file mode 100644
index 000000000000..5edaac7da40a
--- /dev/null
+++ b/dev-util/jenkins-bin/files/jenkins-bin.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Jenkins Daemon
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/java -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins/home -jar /opt/jenkins/jenkins.war --daemon --logfile=/var/log/jenkins/jenkins.log --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 --accessLoggerClassName=winstone.accesslog.SimpleAccessLogger --simpleAccessLogger.format=combined --simpleAccessLogger.file=/var/log/jenkins/access_log
+User=jenkins
+
+[Install]
+WantedBy=multi-user.target
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.57.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.57.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.57.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/${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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.60.3.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.60.3.ebuild
new file mode 100644
index 000000000000..fb976b69a9ff
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.60.3.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.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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.67.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.67.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.67.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/${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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.71.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.71.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.71.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/${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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.73.1.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.73.1.ebuild
new file mode 100644
index 000000000000..fb976b69a9ff
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.73.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.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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.78.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.78.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.78.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/${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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.80.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.80.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.80.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/${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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}
diff --git a/dev-util/jenkins-bin/jenkins-bin-2.81.ebuild b/dev-util/jenkins-bin/jenkins-bin-2.81.ebuild
new file mode 100644
index 000000000000..2101948a704e
--- /dev/null
+++ b/dev-util/jenkins-bin/jenkins-bin-2.81.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/${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}.service jenkins.service
+
+ fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
+}
diff --git a/dev-util/jenkins-bin/metadata.xml b/dev-util/jenkins-bin/metadata.xml
new file mode 100644
index 000000000000..26b75d373ed4
--- /dev/null
+++ b/dev-util/jenkins-bin/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>graaff@gentoo.org</email>
+ <name>Hans de Graaff</name>
+ <description>lts versions</description>
+ </maintainer>
+</pkgmetadata>