Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 14:21:42 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368760 - head/devel/jenkins
Message-ID:  <201409211421.s8LELgax015348@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Sun Sep 21 14:21:42 2014
New Revision: 368760
URL: http://svnweb.freebsd.org/changeset/ports/368760
QAT: https://qat.redports.org/buildarchive/r368760/

Log:
  - Fix ~jenkins ownership
  
  PR:		193670
  Submitted by:	ohauer

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

Modified: head/devel/jenkins/Makefile
==============================================================================
--- head/devel/jenkins/Makefile	Sun Sep 21 14:10:53 2014	(r368759)
+++ head/devel/jenkins/Makefile	Sun Sep 21 14:21:42 2014	(r368760)
@@ -2,6 +2,7 @@
 
 PORTNAME=	jenkins
 PORTVERSION=	1.580
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	http://mirrors.jenkins-ci.org/war/${PORTVERSION}/
 DISTNAME=	jenkins
@@ -34,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/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/jenkins/pkg-plist	Sun Sep 21 14:21:42 2014	(r368760)
@@ -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?201409211421.s8LELgax015348>