[dev-util/jenkins-bin] rm, in tree

This commit is contained in:
Robert Förster 2014-10-27 21:48:15 +01:00
parent 30b0392a56
commit 59768c49ed
5 changed files with 0 additions and 176 deletions

View File

@ -1 +0,0 @@
DIST jenkins-bin-1.565.3.war 67867391 SHA256 a7d6f7dfc39374490861499589d5b4dfff2538f663a4f50a69f22601bf5bba7f SHA512 cef127050b39b294f7fe7f3eb627adabac9b5469af0c9fd016064ce8ab7ef51c387b9b0b618d91cd9231a38ddffcf42e0599201a6627a7601a183d9c0b2fe1d0 WHIRLPOOL 8fdebc5704099335e6d55f8831e57eab7454abc2b16e8701dfd52e414f60b8f8c796d1f65f2c39b0d5e4adc7f7a14981c18acc8a5402a651d5bb58e9ba5d592a

View File

@ -1,62 +0,0 @@
# 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"

View File

@ -1,52 +0,0 @@
#!/sbin/runscript
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 $?
}

View File

@ -1,17 +0,0 @@
/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 ] && source /etc/conf.d/jenkins
if [ -s /var/run/jenkins/jenkins.pid ]; then
JPID=`cat /var/run/jenkins/jenkins.pid`
test -n "`find /proc/$JPID -maxdepth 0 -user ${RUN_AS:-jenkins} 2>/dev/null`" && kill -s ALRM $JPID || :
fi
endscript
}

View File

@ -1,44 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/jenkins-bin/jenkins-bin-1.585.ebuild,v 1.2 2014/10/24 10:42:46 chainsaw Exp $
EAPI=5
inherit user
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="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-fonts/dejavu"
RDEPEND="${DEPEND}
>=virtual/jdk-1.5"
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}.logrotate ${PN/-bin/}
newinitd "${FILESDIR}"/${PN}.init2 jenkins
newconfd "${FILESDIR}"/${PN}.confd jenkins
fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
}