Bug 179456 - [PATCH] devel/jenkins: update to 1.517
[PATCH] devel/jenkins: update to 1.517
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Li-Wen Hsu
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-10 17:30 UTC by Steven Kreuzer
Modified: 2013-07-05 20:20 UTC (History)
1 user (show)

See Also:


Attachments
jenkins-1.517.patch (795 bytes, patch)
2013-06-10 17:30 UTC, Steven Kreuzer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Kreuzer freebsd_committer 2013-06-10 17:30:00 UTC
- Update to 1.517

Port maintainer (lwhsu@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99.7_1 (mode: update, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer 2013-06-10 17:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lwhsu

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2013-07-05 20:16:01 UTC
Author: lwhsu
Date: Fri Jul  5 19:15:48 2013
New Revision: 322350
URL: http://svnweb.freebsd.org/changeset/ports/322350

Log:
  - Update to 1.521 [1] [2]
  - Improve rc script,
    use `su -l` for execuing jenkins for fresh environment [3]
  
  PR:		ports/178948 [1] ports/179456 [2] ports/178197 [3]
  Submitted by:	Volodymyr Kostyrko <c.kworr@gmail.com> [1]
  		skreuzer [2]
  		Mikhail Krasilnikov <mk@dvaslona.ru> [3]

Modified:
  head/UIDs
  head/devel/jenkins/Makefile
  head/devel/jenkins/distinfo
  head/devel/jenkins/files/jenkins.in

Modified: head/UIDs
==============================================================================
--- head/UIDs	Fri Jul  5 19:12:56 2013	(r322349)
+++ head/UIDs	Fri Jul  5 19:15:48 2013	(r322350)
@@ -196,7 +196,7 @@ bnetd:*:700:700::0:0:Bnetd user:/nonexis
 bopm:*:717:717::0:0:Blitzed Open Proxy Monitor:/nonexistent:/bin/sh
 openxpki:*:777:777::0:0:OpenXPKI Owner:/nonexistent:/usr/sbin/nologin
 puppet:*:814:814::0:0:Puppet Daemon:/nonexistent:/usr/sbin/nologin
-jenkins:*:818:818::0:0:Jenkins CI:/usr/local/jenkins:/usr/sbin/nologin
+jenkins:*:818:818::0:0:Jenkins CI:/usr/local/jenkins:/bin/sh
 openacs:*:820:820::0:0:OpenACS Daemon User:/nonexistent:/usr/sbin/nologin
 dotlrn:*:821:821::0:0:.LRN Daemon User:/nonexistent:/usr/sbin/nologin
 polw:*:825:825::0:0:Policyd-weight Cache Owner:/nonexistent:/sbin/nologin

Modified: head/devel/jenkins/Makefile
==============================================================================
--- head/devel/jenkins/Makefile	Fri Jul  5 19:12:56 2013	(r322349)
+++ head/devel/jenkins/Makefile	Fri Jul  5 19:15:48 2013	(r322350)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	jenkins
-PORTVERSION=	1.514
+PORTVERSION=	1.521
 CATEGORIES=	devel java
 MASTER_SITES=	http://mirrors.jenkins-ci.org/war/${PORTVERSION}/
 DISTNAME=	jenkins

Modified: head/devel/jenkins/distinfo
==============================================================================
--- head/devel/jenkins/distinfo	Fri Jul  5 19:12:56 2013	(r322349)
+++ head/devel/jenkins/distinfo	Fri Jul  5 19:15:48 2013	(r322350)
@@ -1,2 +1,2 @@
-SHA256 (jenkins/1.514/jenkins.war) = a1511e3926dbead09f9f4cf7a3f81e0953a415e070d800c04755ae8efd056475
-SIZE (jenkins/1.514/jenkins.war) = 56824686
+SHA256 (jenkins/1.521/jenkins.war) = a48d8f82de2c96e09977f22b1bbb024c13066b2e75e734a0c5aa1cf980ade88c
+SIZE (jenkins/1.521/jenkins.war) = 61308761

Modified: head/devel/jenkins/files/jenkins.in
==============================================================================
--- head/devel/jenkins/files/jenkins.in	Fri Jul  5 19:12:56 2013	(r322349)
+++ head/devel/jenkins/files/jenkins.in	Fri Jul  5 19:15:48 2013	(r322350)
@@ -64,6 +64,7 @@ command_args="-p ${pidfile} ${java_cmd} 
 required_files="${java_cmd}"
 
 start_precmd="jenkins_prestart"
+start_cmd="jenkins_command start"
 
 jenkins_prestart() {
 	if [ ! -f "${jenkins_log_file}" ]; then
@@ -79,4 +80,13 @@ jenkins_prestart() {
 	fi
 }
 
+jenkins_command()
+{
+	check_startmsgs && echo "Starting ${name}."
+	su -l ${jenkins_user} -c "exec ${command} ${command_args} ${rc_arg}"
+}
+
+export HOME=${jenkins_home}
+cd ${HOME}
+
 run_rc_command "$1"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Li-Wen Hsu freebsd_committer 2013-07-05 20:17:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!