[Asterisk-cvs] zaptel Makefile,1.52.2.4,1.52.2.5

russell at lists.digium.com russell at lists.digium.com
Sun Dec 26 19:04:48 CST 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv1014

Modified Files:
      Tag: v1-0
	Makefile 
Log Message:
Fix for SE Linux (bug #3147)


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/zaptel/Makefile,v
retrieving revision 1.52.2.4
retrieving revision 1.52.2.5
diff -u -d -r1.52.2.4 -r1.52.2.5
--- Makefile	7 Nov 2004 16:32:00 -0000	1.52.2.4
+++ Makefile	26 Dec 2004 23:59:53 -0000	1.52.2.5
@@ -281,7 +281,7 @@
 	fi
 
 	install -D -m 755 $(LIBTONEZONE) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE)
-	
+	if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE); fi
 	install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h
 	install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h
 	install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h




More information about the svn-commits mailing list