##############################
segatex
Copyright(C)Shintaro Fujiwara.All rights Reserved.
##############################
segatex2.01  07 Aug/06
segatex2.02  08 Aug/06 Bug fixed
segatex2.03  11 Aug/06 Bug fixed
segatex2.04  12 Aug/06 Bug fixed
segatex2.05  13 Aug/06 Bug fixed
segatex2.06  14 Aug/06 Bug fixed
segatex2.07  14 Aug/06 Added functions
##############################
This is segatex2.07,
SELinux tool.
You should your audit-system on,segatex reads /var/log/audit/audit.log .
From segatex1.4 I showed macros,and here I added interfaces.
segatex can show allow sentences including interfaces in GUI.
Please be aware that segatex makes files in the folder which it exists.
I recommend you to run segatex on root folder, which has sysadm role.

You should install boost library beforehand.
And Qt is needed,which you can install from FC5 CD.
I show you how to install boost library on your machine.
#################################
Go to
http://sourceforge.net/project/showfiles.php?group_id=7586
Download "boost-jam-3.1.13-1.i386.rpm"
also, "boost_1_33_1.tar.gz"
#mv /path/boost_1_33_1.tar.gz /usr/local/src/
#tar -zxvf boost_1_33_1.tar.gz
#rpm -ivh boost-jam-3.1.13-1.i386.rpm
#cd /usr/local/src/boost_1_33_1/tools/build/jam_src/
#./build.sh
#cp bin.linuxx86/bjam ../../../
#cd ../../../
#./bjam "-sTOOLS=gcc" install
#################################
If it worked out fine, let's compile segatex.

Type
#qmake -o Makefile segatex.pro
#vi Makefile
Add "-lboost_regex -lselinux" to LIBS line like this.
LIBS     = $(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lboost_regex -lselinux
#make
#./segatex

When recompiling,type make clean first.

Enjoy !!
#################################
segatex generates .te file in the current directory.
and you can edit your own .te file under my_data directory!
After editing your .te file, go down to
my_data directory and make a module and install !!
#################################
When making a module, you have to install checkpolicy beforehand.
#yum update selinux-policy\* libse\* policycoreutils checkpolicy
will help you I hope !

Thank you for using segatex.
Any comments gratefully recieved at,
shin216@xf7.so-net.ne.jp
#################################

