svn commit: r328675 - head/devel/jenkins

Bryan Drewery bdrewery at FreeBSD.org
Sat Oct 5 11:43:06 UTC 2013


On 10/5/2013 6:35 AM, Li-Wen Hsu wrote:
> On Fri, Oct 04, 2013 at 11:26:54 -0500, Bryan Drewery wrote:
>> Because PREFIX/jenkins is in the PLIST_DIRSTRY, it must actually exist 
>> during packaging packaging phase or pkgng will complain.
>>
>>    =======================<phase: package        
>>  >============================
>>    ===>  Building package for jenkins-1.532
>>    pkg-static: 
>> lstat(/wrkdirs/usr/ports/devel/jenkins/work/stage/usr/local/jenkins/): 
>> No such file or directory
>>    pkg-static: DEVELOPER_MODE: Plist error: @dirrm jenkins
>>    *** [do-package] Error code 1
>>
>> This fixes:
>>
>>   do-install:
>> -       ${MKDIR} ${STAGEDIR}/${DATADIR}
>> +       ${MKDIR} ${STAGEDIR}/${DATADIR} ${STAGEDIR}${JENKINS_HOME}
>>
>>
> 
> Thanks for the patch, this really helps me realizing what's wrong here.
> However I found this creates ${JENKINS_HOME} with wrong ownership.
> 
> Using this in do-install:
> 
> 	${INSTALL} -d -o ${JENKINS_USER} -g ${JENKINS_GROUP} -m 750 ${JENKINS_HOME}
> 
> doesn't help, because the system don't know jenkins user and group at
> stage time.  So my final choice this using pkg-deinstall instead.

Great, thanks!

> 
> Thanks,
> Li-Wen
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20131005/6099e608/attachment.sig>


More information about the svn-ports-all mailing list