[asterisk-dev] zaptel/libpri 1.4 Makefile: test for id = 0

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon May 12 09:55:21 CDT 2008


On Mon, May 12, 2008 at 04:31:24PM +0200, Patrick wrote:
> Hi,
> 
> Would the developers please consider adding a test for id = 0 to a
> couple of lines in the Makefiles of zaptel & libpri 1.4. This test is
> already done at a couple of places in the Makefiles. Before executing
> ldconfig for example (but not everywhere). Here are the occurrences
> where the test for id = 0 would be appreciated:

What happens when you run the build under fakeroot?

> 
> zaptel 1.4.10.1, Makefile, line 478
> 
> 	/sbin/restorecon -v $(DESTDIR)$(LIB_DIR)/$(LTZ_SO)
> 
> 
> libpri 1.4.4, Makefile, line 104:
> 
> 	if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux
> status:" | grep -q "enabled"); then /sbin/restorecon -v
> $(INSTALL_PREFIX)$(INSTALL_BASE)/lib/$(DYNAMIC_LIBRARY); fi
> 
> 
> libpri 1.4.4, Makefile, line 147
> 
> 	$(LDCONFIG) $(LDCONFIG_FLAGS) .

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list