Xymon Mailing List Archive search

Building hobbit 4.1.4 ~/client/Makefile should not execute "chown" when PKGBUILD is defined.

3 messages in this thread

list Anton Burkhalter · Thu, 04 Aug 2005 00:33:07 +0200 ·
Hi,

It should be possible to use a make install without executing "chown" 
and "chgrp".
This is implemented in  ~/hobbitd/Makefile but not in ~/client/Makefile

ifndef PKGBUILD
     chown $(BBUSER) ....
     chgrp `$(IDTOOL) ...
endif

I build standard packages on Solaris (pkgadd) and Tru64 (setld). It 
would be great if this can be made with a non-privileged account.

Best regards,

Tony
list Daniel J McDonald · Wed, 03 Aug 2005 17:46:54 -0500 ·
quoted from Anton Burkhalter
On Thu, 2005-08-04 at 00:33 +0200, Anton Burkhalter wrote:
Hi,

It should be possible to use a make install without executing "chown" 
and "chgrp".
This is implemented in  ~/hobbitd/Makefile but not in ~/client/Makefile

ifndef PKGBUILD
     chown $(BBUSER) ....
     chgrp `$(IDTOOL) ...
endif

I build standard packages on Solaris (pkgadd) and Tru64 (setld). It 
would be great if this can be made with a non-privileged account.
I ran into that as well while building rpm's for Mandriva.  I also
separated the client part into a second RPM.  If anyone wants the
specfile I used, let me know.

-- 
Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281
Austin Energy

user-290ce4e24e19@xymon.invalid
list Henrik Størner · Sat, 6 Aug 2005 18:14:11 +0200 ·
quoted from Anton Burkhalter
On Thu, Aug 04, 2005 at 12:33:07AM +0200, Anton Burkhalter wrote:
It should be possible to use a make install without executing "chown" 
and "chgrp".
This is implemented in  ~/hobbitd/Makefile but not in ~/client/Makefile

ifndef PKGBUILD
    chown $(BBUSER) ....
    chgrp `$(IDTOOL) ...
endif
Will fix this.


Henrik