Re: ${INSTALL_DATA} problems

2016-09-10 Thread Aristedes Maniatis
My apologies for not explaining in enough detail. On 10/09/2016 10:18pm, Mathieu Arnold wrote: > The plist can be generated automatically with "make makeplist" there is > no way it is hard to do, or maintain. > >> > I really only want one folder installed with the correct permissions, but >> >

Re: ${INSTALL_DATA} problems

2016-09-10 Thread Mathieu Arnold
Le 10/09/2016 à 05:32, Aristedes Maniatis a écrit : > On 8/09/2016 10:47pm, Mathieu Arnold wrote: >> Now, I'm seeing something else that is a bad idea, it is using the -o >> flag. Ports must build as a regular user. A regular user will not be >> able to change the owner of the files. This must

Re: ${INSTALL_DATA} problems

2016-09-10 Thread Bob Eager
On Sat, 10 Sep 2016 13:32:30 +1000 Aristedes Maniatis wrote: > > https://www.freebsd.org/doc/en/books/porters-handbook/plist-keywords.html > > > I've just tried this but ran into some difficulty. Specifically I > have a plist which is many hundreds of lines long. There

Re: ${INSTALL_DATA} problems

2016-09-09 Thread Aristedes Maniatis
On 8/09/2016 10:47pm, Mathieu Arnold wrote: > Now, I'm seeing something else that is a bad idea, it is using the -o > flag. Ports must build as a regular user. A regular user will not be > able to change the owner of the files. This must be done in the > pkg-plist file, using @owner/@group as

Re: ${INSTALL_DATA} problems

2016-09-08 Thread Aristedes Maniatis
On 9/09/2016 9:13am, Mark Linimon wrote: > On Fri, Sep 09, 2016 at 08:29:12AM +1000, Aristedes Maniatis wrote: >> Maybe the Makefile language will become clearer to me one day, but >> I've been using FreeBSD since 4.0 and it hasn't clicked yet. > > Don't worry, the FreeBSD ports framework does

Re: ${INSTALL_DATA} problems

2016-09-08 Thread Mark Linimon
On Fri, Sep 09, 2016 at 08:29:12AM +1000, Aristedes Maniatis wrote: > Maybe the Makefile language will become clearer to me one day, but > I've been using FreeBSD since 4.0 and it hasn't clicked yet. Don't worry, the FreeBSD ports framework does things with the Makefile language that was never

Re: ${INSTALL_DATA} problems

2016-09-08 Thread Aristedes Maniatis
Thanks Mathieu On 8/09/2016 10:47pm, Mathieu Arnold wrote: > Like Matthew said, INSTALL_DATA is for installing one file, not a > directory hierarchy, this is done using COPYTREE_SHARE. As a side not, > we never use CP -R to install files. I'm trying to do my best to follow the rules, but the

Re: ${INSTALL_DATA} problems

2016-09-08 Thread Mathieu Arnold
Le 08/09/2016 à 14:27, Aristedes Maniatis a écrit : > I'm trying to create a port with a command like this: > > do-install: > ${MKDIR} ${STAGEDIR}${SOLR_HOME} > ${INSTALL_DATA} ${WRKSRC}/dist ${STAGEDIR}${SOLR_HOME} > > However the output is > > /bin/mkdir -p >

Re: ${INSTALL_DATA} problems

2016-09-08 Thread Matthew Seaman
On 09/08/16 13:27, Aristedes Maniatis wrote: > I'm trying to create a port with a command like this: > > do-install: > ${MKDIR} ${STAGEDIR}${SOLR_HOME} > ${INSTALL_DATA} ${WRKSRC}/dist ${STAGEDIR}${SOLR_HOME} > > However the output is > > /bin/mkdir -p >

${INSTALL_DATA} problems

2016-09-08 Thread Aristedes Maniatis
I'm trying to create a port with a command like this: do-install: ${MKDIR} ${STAGEDIR}${SOLR_HOME} ${INSTALL_DATA} ${WRKSRC}/dist ${STAGEDIR}${SOLR_HOME} However the output is /bin/mkdir -p /var/poudriere/ports/default/textproc/apache-solr/work/stage/usr/local/solr install -m