Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2014 18:06:40 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371152 - head/devel/jenkins-lts
Message-ID:  <201410181806.s9II6e2h076067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Oct 18 18:06:39 2014
New Revision: 371152
URL: https://svnweb.freebsd.org/changeset/ports/371152
QAT: https://qat.redports.org/buildarchive/r371152/

Log:
  devel/jenkins-lts: Fix permissions on ${PREFIX}/jenkins
  
  While here, bring over other changes from devel/jenkins
  
  PR:		194274
  Reported by:	Holger Freyther <holger@freyther.de>

Added:
  head/devel/jenkins-lts/pkg-plist   (contents, props changed)
Modified:
  head/devel/jenkins-lts/Makefile

Modified: head/devel/jenkins-lts/Makefile
==============================================================================
--- head/devel/jenkins-lts/Makefile	Sat Oct 18 18:05:34 2014	(r371151)
+++ head/devel/jenkins-lts/Makefile	Sat Oct 18 18:06:39 2014	(r371152)
@@ -2,7 +2,7 @@
 
 PORTNAME=	jenkins
 PORTVERSION=	1.565.3
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	http://mirrors.jenkins-ci.org/war-stable/${PORTVERSION}/
 PKGNAMESUFFIX=	-lts
@@ -18,7 +18,6 @@ LICENSE=	MIT
 
 CONFLICTS=	jenkins-[0-9]*
 USE_JAVA=	yes
-JAVA_VERSION=	1.6+
 
 NO_BUILD=	yes
 
@@ -36,15 +35,19 @@ USERS=	jenkins
 GROUPS=	jenkins
 .endif
 
-PLIST_FILES=	%%DATADIR%%/${DISTNAME}${EXTRACT_SUFX}
-PLIST_DIRS=	%%DATADIR%%
-PLIST_DIRSTRY=	jenkins
-SUB_LIST+=	JENKINS_HOME=${JENKINS_HOME} JENKINS_USER=${JENKINS_USER} JENKINS_GROUP=${JENKINS_GROUP} JAVA_HOME=${JAVA_HOME} JENKINS_LOG_FILE=${JENKINS_LOG_FILE}
+SUB_LIST+=	JENKINS_HOME=${JENKINS_HOME} \
+		JENKINS_USER=${JENKINS_USER} \
+		JENKINS_GROUP=${JENKINS_GROUP} \
+		JAVA_HOME=${JAVA_HOME} \
+		JENKINS_LOG_FILE=${JENKINS_LOG_FILE}
+PLIST_SUB+=	JENKINS_USER=${JENKINS_USER} \
+		JENKINS_GROUP=${JENKINS_GROUP}
 
 .include <bsd.port.pre.mk>
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${JENKINS_HOME}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
+		${STAGEDIR}${DATADIR}
 
 .include <bsd.port.post.mk>

Added: head/devel/jenkins-lts/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/jenkins-lts/pkg-plist	Sat Oct 18 18:06:39 2014	(r371152)
@@ -0,0 +1,3 @@
+%%DATADIR%%/jenkins.war
+@dirrmtry(%%JENKINS_USER%%,%%JENKINS_GROUP%%,) jenkins
+@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410181806.s9II6e2h076067>