Vit Hrachovy wrote:
> I understand Danek's arguments and I withdraw the question.
>
> It's silly to try to modify perms automagically during import stage.
>
> I can now imagine something like debian helper tool dh_fixperms.
> http://www.fifi.org/cgi-bin/man2html/usr/share/man/man1/dh_fixperms.1.gz
>
> So the chain would be similar to:
>
> ./configure --prefix=/my/temp/dir
> make
> make install
> pfexec fixperms /my/temp/dir # chmod/chown
> eval `pkgsend open <packagename>@<version>`
> pkgsend import /my/temp/dir
> pkgsend close
>
>   
dh_fixperms works perfectly without root privileges, using fakeroot. As 
far as I remember the code, fakeroot is not linux-specific in any way, 
so it can be compiled on Solaris (if not yet)
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to