Yes, I realized it, see just committed change.

I'd appreciate if you could help here. As a general direction
IMO we should try to do such installation work in postinst phase
and now with .prg code this might actually be something more
convenient than before.

I don't know if this is useful in this specific case, but maybe.

On non-*nix it works that way already and it uses
./pkg/<plat>/<comp><name> dir to create dir layout required
for packaging. Maybe this idea can be used for *nix, too.

It's currently controlled by HB_BUILD_PKG=yes, but it can
be extended by addition values, like 'src-zip', 'src-tgz', 'src-bz2'
'bin-tgz', 'yes' could mean 'rpm', 'deb' or 'pkg' (or else)
depending on host/target platform.

HB_BUILD_PKG may be replaced by make target, but it seems
we'd lose some level of flexibility.

Brgds,
Viktor

On 2009 Sep 24, at 18:39, Przemyslaw Czerpak wrote:

On Thu, 24 Sep 2009, elart wrote:

Hi,

[...]
I think i might have something to dress into the /usr/bin/hbmk.cfg conf
file.
and there be something wrong during install process of harbour because it
change the /usr/include tree files and dirs permissions.

Viktor, Marco is right here. I haven't noticed it so far. I've only
seen similar problem with strip but because you removed 'strip *' command
from postinst.sh I haven't wrote about it.
I see that you copied from mpkg_tgz.sh/harbour.spec to postinst.ch
this line:
  chmod 644 $HB_INC_INSTALL/*
It has to be removed.
Both mpkg_tgz.sh and harbour.spec were working on local directories
only so it was safe to make such trick but here you are operating on
real system directories so it's very serious bug which have to be fixed.

There is also problem with current mpkg_tgz.sh. It was always operating on local directories only so user could execute it from non root account.
Now it operates on real system directories so it's not possible to
create packages without write permissions to system directories and
creating packages makes also hidden upgrade of Harbour system wide
installation.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to