Xymon Mailing List Archive search

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

list Daniel J McDonald
Wed, 03 Aug 2005 17:46:54 -0500
Message-Id: <user-542002d3303d@xymon.invalid>

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