25 lines
821 B
Plaintext
25 lines
821 B
Plaintext
|
# Tanım: Linux kernel pax güvenlik testi
|
|||
|
# Url: http://codemonkey.org.uk/projects/trinity/
|
|||
|
# Paketçi: milisarge
|
|||
|
# Gerekler:
|
|||
|
# Grup: güvenlik
|
|||
|
|
|||
|
isim=paxtest
|
|||
|
surum=0.9.11
|
|||
|
devir=1
|
|||
|
kaynak=(https://github.com/j-0-t/staekka/raw/master/external/source/paxtest/paxtest-0.9.11.tar.gz
|
|||
|
paxtest.sh)
|
|||
|
|
|||
|
derle() {
|
|||
|
cd $isim-$surum
|
|||
|
make linux64
|
|||
|
mkdir -p $PKG/usr/share/paxtest
|
|||
|
for i in anonmap execbss execdata execheap execstack shlibbss shlibdata mprotanon mprotbss mprotdata mprotheap mprotstack mprotshbss mprotshdata writetext randamap randheap1 randheap2 randmain1 randmain2 randshlib randstack1 randstack2 randarg1 randarg2 randexhaust1 randexhaust2 rettofunc1 rettofunc2 rettofunc1x rettofunc2x
|
|||
|
do
|
|||
|
cp $i $PKG/usr/share/paxtest/
|
|||
|
done
|
|||
|
mkdir -p $PKG/usr/bin
|
|||
|
install -m755 $SRC/paxtest.sh $PKG/usr/bin/paxtest
|
|||
|
}
|
|||
|
|