[Asterisk-cvs] zaptel Makefile,1.59,1.60
markster at lists.digium.com
markster at lists.digium.com
Sun Dec 26 18:17:13 CST 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv760
Modified Files:
Makefile
Log Message:
Fix for SE Linux (bug #3147)
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/zaptel/Makefile,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- Makefile 24 Dec 2004 01:22:55 -0000 1.59
+++ Makefile 26 Dec 2004 23:12:18 -0000 1.60
@@ -293,7 +293,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