what you think about a separated script called fixperms wich ends with
exit ( 0 ) ?



On Mon, Mar 30, 2009 at 12:29 AM, aledr <matrixworkstat...@gmail.com> wrote:
> I've wrote a patch to support DESTDIR and remove the "-o" and "-g"
> statements on the install commands (which should be removed from the
> install commands and let %files section on the spec file take care
> about files permissions and ownerships). It's a solution for packagers
> that have a %file section to write but how to deal with it when not
> packaging?
> I was testing my DESTDIR solution but you asked for it before I got it
> finished... I prefer to wait for a reply from Matt now.
>
> Thanks.
>
> On Mon, Mar 30, 2009 at 12:15 AM, Itamar Reis Peixoto
> <ita...@ispbrasil.com.br> wrote:
>> vpopmail make install should support DESTDIR
>>
>>
>> please take a look
>>
>> http://www.gnu.org/prep/standards/html_node/DESTDIR.html
>>
>>
>> [ita...@localhost vpopmail]$ make install
>> DESTDIR=/home/itamar/fedora/mail/vpopmail/svn/vpopmail/x
>>
>> Installing...
>>
>> for i in /home/vpopmail/bin /home/vpopmail/etc /home/vpopmail/include
>> /home/vpopmail/lib /home/vpopmail/domains; do if test ! -d ${i}; then
>> mkdir -p ${i}; chown vpopmail:vchkpw ${i}; fi; done
>> mkdir: cannot create directory `/home/vpopmail': Permission denied
>> chown: cannot access `/home/vpopmail/bin': No such file or directory
>> mkdir: cannot create directory `/home/vpopmail': Permission denied
>> chown: cannot access `/home/vpopmail/etc': No such file or directory
>> mkdir: cannot create directory `/home/vpopmail': Permission denied
>> chown: cannot access `/home/vpopmail/include': No such file or directory
>> mkdir: cannot create directory `/home/vpopmail': Permission denied
>> chown: cannot access `/home/vpopmail/lib': No such file or directory
>> mkdir: cannot create directory `/home/vpopmail': Permission denied
>> chown: cannot access `/home/vpopmail/domains': No such file or directory
>> make: *** [install] Error 1
>> [ita...@localhost vpopmail]$
>>
>>
>> --
>> ------------
>>
>> Itamar Reis Peixoto
>>
>> e-mail/msn: ita...@ispbrasil.com.br
>> sip: ita...@ispbrasil.com.br
>> skype: itamarjp
>> icq: 81053601
>> +55 11 4063 5033
>> +55 34 3221 8599
>>
>>
>>
> --
> [ ]'s
> Aledr - Alexandre
> "OpenSource Solutions for SmallBusiness Problems"
>
> 
>
>



-- 
------------

Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49d03e1132681457012234!

Reply via email to