##############################
segatex
Copyright(C)Shintaro Fujiwara.All rights Reserved.
##############################
segatex2.01  07 Aug/06 New version Released
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
segatex2.08  16 Aug/06 Added yum install/update audit2allow audit2why added role
...and finally...

segatex2.09  21 Aug/06

Established my_policy_segatex.te's consistency 
install/remove button will install/removes my_policy_segatex.pp

Don't delete a file named "audit_log_mine_must_be_here"!
segatex loads denied log everytime Green button is clicked !
Don't be afraid.
Only new denied log added to that file.
If you lost "audit_log_mine_must_be_here",you should make it again,
by touch command.
If "audit_log_mine_must_be_here" is not present,segatex does not work
because,segatex reads log not from audit.log but from "audit_log_mine_must_be_here",
i.e. your audit log in whole-system-time.
##############################
This is segatex2.09,
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 !!
As a matter of fact,you don't have to link selinux hedder file in this version,
but I recommend you do so,for the future releases.
#################################
When making a module, you have to install checkpolicy beforehand.
Just push yum install/update button!!

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

